https://bugs.kde.org/show_bug.cgi?id=521914

VinVel <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
           Platform|Arch Linux                  |Fedora RPMs

--- Comment #4 from VinVel <[email protected]> ---
> > Would it be possible to add a way to completely hide a GPU from KWin like 
> > we could before?
> I'd much rather not. What problems is this actually causing for you?
I came here because I can name one: When I try to start a game (run through
proton/wine) it has a habit of selecting the wrong GPU. I have two dGPUs: RTX
3060, Intel Arc a310. Even though my primary one is the RTX 3060 (it is set
that way via UEFI Settings, KWIN_DRM_DEVICES override (not working), first pcie
slot,  connected to all my monitors while a310 is connected to nothing) it does
not reliably get selected. 

It doesn't help that kwin_wayland PID is the same when tying to both gpus
(renderD128 is the intel arc a310), because that way killing the process does
not help.

```
$ sudo fuser -v /dev/dri/*            
                     BEN.        PID ZUGR.  BEFEHL
/dev/dri/card0:      root          1 F.... systemd
                     root       1045 F.... systemd-logind
                     vinvel    17996 F.... kwin_wayland
                     vinvel    18057 F.... Xwayland
/dev/dri/renderD128: vinvel    17996 F.... kwin_wayland
                     vinvel    18350 F.... brave
                     vinvel    18394 F.... brave
/dev/dri/renderD129: vinvel    13961 F.... bridge-gui
                     vinvel    14570 F.... drkonqi-coredum
                     vinvel    17996 F.... kwin_wayland
                     vinvel    18011 F.... plasmashell
                     vinvel    18056 F.... plasma-keyboard
                     vinvel    18057 F.... Xwayland
                     vinvel    18394 F.... brave
                     vinvel    20353 F.... thunderbird
                     vinvel    21152 F.... keepassxc


```

The only reliable workaround I currently found was to unbind the intel gpu
which is... inconvenient to say the least. Trying to set Environment variables
for the specific games that were affeced (VR-Chat (VR-Mode) and Star Citizen)
did also not help.

Might just be user error, but still, I could benefit of being able to specify
which gpu to use.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to