Open mrsteyk opened 1 year ago
If "distorted imagery" piques your interest (bg video works on discrete)
Not using NOVIDEO Optimus, as I am on a desktop with GTX 1060 6GB, but I had the same issue (no window with gamescope and app in background).
Followed this workaround; gamescope now pops up.
Basically, try to run bottles with (assuming Flatpak):
flatpak run --env=GBM_BACKENDS_PATH=/usr/lib/x86_64-linux-gnu/GL/nvidia-XXX-YY-ZZ/extra/gbm com.usebottles.bottles
Replace nvidia-XXX-YY-ZZ
with the version you find by running flatpak run --command=ls com.usebottles.bottles /usr/lib/x86_64-linux-gnu/GL
.
I recommend you try to run it again now with the new drivers, I couldn't even play with gamescope enabled now it seems to be working
Describe the bug
When using
gamescope
feature with discrete gpu option enabled (Intel+NVidia configuration) under Wayland,gamescope
reliably fails to make a window on the host to display anything.To Reproduce
Package
Flatpak from Flathub
Distribution
Arch Linux
Debugging Information
Troubleshooting Logs
Additional context
This was tested under
sway
,labwc
andweston
. Usingprime-run
to launch compositors didn't help. Log attached is from running a game launcher, when running game itself same "no gamescope window" thing happens, but you can hear the sound.nvidia_drm.modeset=1
is set in bootloader. Needless to say it works if you disable the discrete gpu feature, but imagery is distorted (doesn't happen when manually running with--command=/bin/bash
andWINEPREFIX=~/.var/app/com.usebottles.bottles/data/bottles/bottles/X/ gamescope -f -w 1920.0 -h 1080.0 -W 1920.0 -H 1080.0 -- /home/mrsteyk/.var/app/com.usebottles.bottles/data/bottles/runners/soda-7.0-9/bin/wine64 GAME
)