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

--- Comment #8 from Matti Rintala <mrintal...@gmail.com> ---
Here's what /sys/class/drm/card* show when only AMD iGPU is enabled
(prime-select amd):
/sys/class/drm/card0:          symbolic link to
../../devices/pci0000:00/0000:00:08.1/0000:05:00.0/drm/card0
/sys/class/drm/card0-DP-1:     symbolic link to
../../devices/pci0000:00/0000:00:08.1/0000:05:00.0/drm/card0/card0-DP-1
/sys/class/drm/card0-eDP-1:    symbolic link to
../../devices/pci0000:00/0000:00:08.1/0000:05:00.0/drm/card0/card0-eDP-1
/sys/class/drm/card0-HDMI-A-1: symbolic link to
../../devices/pci0000:00/0000:00:08.1/0000:05:00.0/drm/card0/card0-HDMI-A-1
(/sys/class/drm/card0/device/vendor is 0x1002)

Here's the same when Nvidia dGPU is enabled for offload use (prime-select
offload):
/sys/class/drm/card0:          symbolic link to
../../devices/pci0000:00/0000:00:08.1/0000:05:00.0/drm/card0
/sys/class/drm/card0-DP-1:     symbolic link to
../../devices/pci0000:00/0000:00:08.1/0000:05:00.0/drm/card0/card0-DP-1
/sys/class/drm/card0-eDP-1:    symbolic link to
../../devices/pci0000:00/0000:00:08.1/0000:05:00.0/drm/card0/card0-eDP-1
/sys/class/drm/card0-HDMI-A-1: symbolic link to
../../devices/pci0000:00/0000:00:08.1/0000:05:00.0/drm/card0/card0-HDMI-A-1
/sys/class/drm/card1:          symbolic link to
../../devices/pci0000:00/0000:00:01.1/0000:01:00.0/drm/card1
(/sys/class/drm/card0/device/vendor is still 0x1002,
/sys/class/drm/card1/device/vendor is 0x10de)

So, only /sys/class/drm/card1 was added.

However, System-monitor-amd.png is a screenshot snippet showing System monitor
when only AMD iGPU is enabled (I've added it to show GPU1 max RAM, which I've
limited to 512 MB for the iGPU). Then, when I just run enable the Nvidia dGPU
(run "prime-select offload") and log out and in again,
System-monitor-offload1.png snippet shows that now System monitor's GPU1 max
RAM is 4 GB (which is what the Nvidia dGPU has). And adding GPU2,
System-monitor-offload2.png shows that GPU2 max RAM is the iGPU's 512 MB.

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

Reply via email to