You are not logged in.
Greetings!
I'm not sure about my video system is set up and working properly. After installing the following packages: lib32-nvidia-utils lib32-opencl-nvidia nvidia-dkms nvidia-settings nvidia-utils opencl-nvidia it seems that the system started using dGPU instead of the default iGPU. I need to use only the iGPU by default (window manager, browser, etc.)
And the use of dGPU only happened after an explicit call through a prime-run. When using glxinfo | grep "OpenGL renderer" with or without prime-run I always get only dGPU:
glxinfo | grep "OpenGL renderer"
prime-run glxinfo | grep "OpenGL renderer"
lspci -k | grep -A 2 -E "(VGA|3D)"
Additional installed packages: mesa vulkan-radeon lib32-vulkan-radeon
Last edited by BackToUSSR (2023-05-20 21:51:48)
Offline
Please post your Xorg log, https://wiki.archlinux.org/title/Xorg#General
Online
Please post your Xorg log, https://wiki.archlinux.org/title/Xorg#General
Offline
[ 7.855] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 7.855] (II) Platform probe for /sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/drm/card0
[ 7.855] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 7.855] (II) Platform probe for /sys/devices/pci0000:00/0000:00:08.1/0000:05:00.0/drm/card1
[ 7.857] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/xorg/modules"
[ 7.858] (--) PCI:*(1@0:0:0) 10de:2520:1043:1e8c rev 161, Mem @ 0xfb000000/16777216, 0x7c00000000/8589934592, 0x7e00000000/33554432, I/O @ 0x0000f000/128, BIOS @ 0x????????/524288
[ 7.858] (--) PCI: (5@0:0:0) 1002:1681:1043:1e8c rev 200, Mem @ 0x7e10000000/268435456, 0x7e20000000/2097152, 0xfc500000/524288, I/O @ 0x0000d000/256
It's not an X11 config thing, the nvidia GPU runs as card0
Remove the kms hook and add i915 to the MODULES in your mkinitcpio.conf, rebuild the initramfs => consequence?
Online
Remove the kms hook
I'm sorry, but I didn't add it manually, as far as I remember, how to do it? I use nvidia-dkms, and i only added changes to files: /etc/mkinitcpio.conf: MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm) and /etc/default/grub: GRUB_CMDLINE_LINUX_DEFAULT="nvidia_drm.modeset=1 loglevel=3 quiet"
We are talking about the line "kms" in the HOOK= section in mkinitcpio.conf?
Last edited by BackToUSSR (2023-05-20 21:17:43)
Offline
We are talking about the line "kms" in the HOOK= Section in mkinitcpio.conf?
Yes.
kms is there by default, it adds the GPU modules.
Since you're adding them manually anyway, yo ucan just as much remove the hook, but ensure the intel module (i915) is there to hopefully restore the proper GPU order.
Otherwise we'll have to tell the X11 server which chip to prefer.
Online
=> consequence?
I apologize for my carelessness. The problem was related to the fact that in the Armory Crate application (Windows). There, the maximum performance mode was selected, (only dGPU). After choosing standard mode, Arch started using the default iGPU and dGPU only when summoned via prime-run. I returned kms to hooks, and removed the i915 module.
Offline
Also see the 3rd link below. Mandatory.
Disable it (it's NOT the BIOS setting!) and reboot windows and linux twice for voodo reasons.
Online
Also see the 3rd link below. Mandatory.
Disable it (it's NOT the BIOS setting!) and reboot windows and linux twice for voodo reasons.
This was done at the preparatory stage, before installation, Thank you!
Offline
Hey there OP, Is there a way to use iGPU for the internal monitor and use the dGPU for the external monitor? I'm having troubles with my dual-monitor setup. I can only use one monitor, either internal with AMD, or the External with Nvidia. And if I delete xorg.conf.d and restart sddm then only I can use the laptop's monitor. Help
Offline