linux-surface / surface-hotplug

Hotplug and D3cold support for the discrete GPU on Microsoft Surface Book 2 and 3 devices.
GNU General Public License v2.0
5 stars 0 forks source link

Steam games not using dgpu #3

Open kachapman opened 3 years ago

kachapman commented 3 years ago

It doesn't look like the system is able to access the dpgu for programs, despite it being listed and recognized. Steam games are only accessing the integrated intel graphics. My system is a Surface Book 2 running Pop!_OS 20.10 on x11 with kernel 5.11.16-surface. Output for surface status is: Performance Mode: Better Performance

Discrete GPU: Vendor: 10de Device: 1c20 Power State: D3cold Runtime PM: On

Neofetch lists the dgpu: CPU: Intel i7-8650U (8) @ 4.200GHz GPU: Intel UHD Graphics 620 GPU: NVIDIA GeForce GTX 1060 Mobile

The only variable I've noticed is that Pop!'s hybrid graphics switching software (built-in), shows the current video state as "integrated". Trying to switch to Dedicated Only, or Hybrid Graphics (applies after restart) seems to just put it back to Integrated mode.

qzed commented 3 years ago

This should be a configuration problem. All we can do from the kernel is make the dGPU accessible via the driver. So as long as nvidia-smi works/the driver probes, there should be a way to configure it to be used accordingly. It could be that some manual configuration (maybe PM udev rules or modprobe config) interferes with the Pop!OS utility.

kachapman commented 3 years ago

Ok, Ill look into the Pop utility a little more and see if there is something conflicting there. Thanks!

On May 6 2021, at 6:40 am, Maximilian Luz @.***> wrote:

This should be a configuration problem. All we can do from the kernel is make the dGPU accessible via the driver. So as long as nvidia-smi works/the driver probes, there should be a way to configure it to be used accordingly. It could be that some manual configuration (maybe PM udev rules or modprobe config) interferes with the Pop!OS utility. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub (https://github.com/linux-surface/surface-hotplug/issues/3#issuecomment-833489888), or unsubscribe (https://github.com/notifications/unsubscribe-auth/APF2YD5QBDILWLUAYYRICJLTMKE4RANCNFSM44FQFPUA).