Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 942486 - x11-drivers/nvidia-drivers game doesn't launch on dGPU when called on through wayland
Summary: x11-drivers/nvidia-drivers game doesn't launch on dGPU when called on through...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal major
Assignee: Ionen Wolkens
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-29 23:12 UTC by Tyler
Modified: 2024-10-31 14:34 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Emerge Info (emergeinfo.txt,19.41 KB, text/plain)
2024-10-29 23:12 UTC, Tyler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tyler 2024-10-29 23:12:33 UTC
Since updating my desktop and downgrading the nvidia-drivers package due to the security vulnerability I have been unable to launch games on my dedicated GPU in steam flatpak. They all launch from the AMD iGPU.

This was working up until I updated. I can confirm regular steam works fine with the below command, but it doesn't do anything in flatpak anymore:

__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia %command%

Reproducible: Always

Actual Results:  
Game does not launch on dedicated GPU.


Operating System: Gentoo Linux 2.15
KDE Plasma Version: 6.2.2
KDE Frameworks Version: 6.7.0
Qt Version: 6.7.2
Kernel Version: 6.11.5-gentoo-dist (64-bit)
Graphics Platform: Wayland
Processors: 32 × AMD Ryzen 9 7950X 16-Core Processor
Memory: 117.5 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: ASUS
Comment 1 Tyler 2024-10-29 23:12:54 UTC
Created attachment 907280 [details]
Emerge Info

Emerge Info
Comment 2 Ionen Wolkens gentoo-dev 2024-10-29 23:17:12 UTC
>downgrading
have you tried upgrading to 565.57.01? It's not affected by the vulnerability
Comment 3 Tyler 2024-10-31 00:25:37 UTC
I have not, because it's not available as an update in ~amd64 when performing a standard upgrade.
Comment 4 Ionen Wolkens gentoo-dev 2024-10-31 02:58:08 UTC
(In reply to Tyler from comment #3)
> I have not, because it's not available as an update in ~amd64 when
> performing a standard upgrade.
It is though? Assuming you've done emerge --sync since October 25, can see it for ~amd64 there [1]

[1] https://packages.gentoo.org/packages/x11-drivers/nvidia-drivers
Comment 5 Tyler 2024-10-31 03:28:36 UTC
Yeah I see it on there but it’s not being pulled in as an update. Maybe I’m on a bad mirror.
Comment 6 Tyler 2024-10-31 14:21:21 UTC
Alright I had to make a few new ~amd64 keywords to pull in the package.

Can confirm the new driver with updated flatpak fixes my issue.
Comment 7 Ionen Wolkens gentoo-dev 2024-10-31 14:33:21 UTC
Nice.

fwiw it's a beta driver which are not due to be stabled (we only stable production branches like 550, current 565 wasn't even meant to be keyworded due to being a beta but 560 getting driver pushed the need for it), so it'll be a while before we stable a >=565-based driver.

550 lacks a lot of wayland improvements and its users are generally expected to either use Xorg or have a simple single gpu setyo at the moment, not much we can do about that.
Comment 8 Ionen Wolkens gentoo-dev 2024-10-31 14:34:31 UTC
(In reply to Ionen Wolkens from comment #7)
> fwiw it's a beta driver which are not due to be stabled (we only stable
> production branches like 550, current 565 wasn't even meant to be keyworded
> due to being a beta but 560 getting driver pushed the need for it

560 driver getting dropped pushed the need for it*