Gaming mode not starting with igpu and dgpu

So, I wanted to install bazzite on my laptop, but the dgpu gets in the way. I have an AMD cpu with radeon gfx, but also a discrete gtx 1650. I tried to install bbswitch to disable it but surprise, bazzite has read only which I cannot bypass. So could I disable my dgpu by any way? If not, can I run gaming mode with just my igpu? Because it just freezes on a black screen because of the dgpu (igpu is set to default)
9 Replies
HikariKnight
HikariKnight3w ago
iirc there is an upstream issue with gamescope (in session mode which is called gamemode) where it will not work on a laptop system with 2 amd gpus (igpu+dgpu) you would just have to use the desktop version
matt_schwartz
matt_schwartz3w ago
its possible its just a massive pain in the ass and will run rather poorly. you have to run it off the igpu with --prefer-vk-device pointed towards your iGPU's vulkan address. you can find that with lspci -nn | grep -E "VGA|3D|Display", it should look something like 1002:744c. then you use --prefer-vk-device 1002:744c as a part of your gamescope launch command which you can set according to https://github.com/ChimeraOS/gamescope-session?tab=readme-ov-file#user-configuration
GitHub
GitHub - ChimeraOS/gamescope-session: A gamescope based user session
A gamescope based user session. Contribute to ChimeraOS/gamescope-session development by creating an account on GitHub.
matt_schwartz
matt_schwartz3w ago
honestly i wouldnt bother if your laptop has a mux switch in the bios just use that to disable the igpu then game mode should just work ™️
HikariKnight
HikariKnight3w ago
export-gpu should set the vk-device for gamescope-session
Smiley
SmileyOP3w ago
Damn that’s a lot Lemme try that rq Also I have a weird bug In the grub there’s 4 bazzites ostree 0 and 1 and dupes that don’t work Ostree 0 gets me into bazzite with my router’s host name And the ostree 1 gets me into bazzite hostname
Smiley
SmileyOP3w ago
No description
Smiley
SmileyOP3w ago
Also, mux switch is not a thing here sadly Even tho bios is 2021 So, I tried both methods above, but nothing works It either freezes at the steam logo, or on a not blinking “_” (means it’s frozen) i tried running gamescope via terminal but it freezes on the resolution change
Smiley
SmileyOP3w ago
Smiley
SmileyOP3w ago
it does detect my igpu and indeed tries to do something with it but it just doesn't i did notice that it launches headless i tried —backend wayland but it still launches with the headless one

Did you find this page helpful?