Stellaris - Paradox Launcher [v2.2022.3] black screen on linux with nvidia gpu offloading

  • We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

petete2

Private
35 Badges
Dec 13, 2018
14
1
  • Stellaris: Megacorp
  • Surviving Mars
  • Age of Wonders III
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Stellaris: Distant Stars
  • Shadowrun Returns
  • Shadowrun: Dragonfall
  • BATTLETECH: Flashpoint
  • BATTLETECH
  • Prison Architect
  • Stellaris: Ancient Relics
  • Age of Wonders: Planetfall
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Stellaris: Necroids
  • Stellaris: Nemesis
  • Stellaris - Path to Destruction bundle
  • Teleglitch: Die More Edition
  • Warlock: Master of the Arcane
  • War of the Roses
  • Cities: Skylines
  • Cities: Skylines - After Dark
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris: Galaxy Edition
  • Stellaris: Synthetic Dawn
  • The Showdown Effect
  • Crusader Kings II
  • Magicka
  • Leviathan: Warships
  • Knights of Pen and Paper +1 Edition
  • Dungeonland
Description
Paradox Launcher [v2.2022.3] black screen on linux with nvidia gpu offloading

Game Version


What version do you use?
Steam

What expansions do you have installed?
(DID NOT ANSWER QUESTION)

Do you have mods enabled?
No

Please explain your issue is in as much detail as possible.
In a linux laptop with an intel integrated GPU + nvidia GPU running hybrid mode, when you launch stellaris on the dGPU you get a black screen. This is a know bug of chromium or nvidia. You can work around this by editing the launcher and adding --disable-gpu. This probably affects other games that use paradox's launcher.

Steps to reproduce the issue.
1-Setup nvidia hybrid mode. 2-Launch stellaris with "__NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only __GLX_VENDOR_LIBRARY_NAME=nvidia "$@"" 3-Get a black screen

Upload Attachment
File(s) attached
 

Attachments

  • Captura de pantalla de 2022-02-23 18-36-56.png
    Captura de pantalla de 2022-02-23 18-36-56.png
    496,7 KB · Views: 0
This is an easy fix.
Replace this line on the "Paradox Launcher" linux script:
Code:
"${SCRIPTPATH}"/Launcher --no-sandbox "$@"
with this:
Code:
"${SCRIPTPATH}"/Launcher --no-sandbox --disable-gpu "$@"

This has the side effect of disabling gpu acceleration on the launcher, but nobody will notice.