You are not logged in.
I have a ThinkPad P51, which has two GPUs (one integrated: Intel; and one dedicated: Nvidia). I have followed the instructions on the Arch wiki on how to get Nvidia installed and working, and it seems as if it is working. However, adding the 'nvidia' to /etc/mkinitcpio.conf tells me that the hook is not found. I have tried adding all of the ones mentioned in the wiki (modeset, dkms etc.) but all seem to fail.
This is my mkinitcpio.conf:
MODULES=(btrfs)
BINARIES=(/usr/bin/btrfs)
FILES=()
HOOKS=(base systemd udev sd-plymouth autodetect keyboard keymap modconf block filesystems fsck nvidia)This is the output of glxinfo -B:
name of display: :1
display: :1 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: Intel (0x8086)
Device: Mesa Intel(R) HD Graphics 630 (KBL GT2) (0x591b)
Version: 22.3.1
Accelerated: yes
Video memory: 15730MB
Unified memory: yes
Preferred profile: core (0x1)
Max core profile version: 4.6
Max compat profile version: 4.6
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.2
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) HD Graphics 630 (KBL GT2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 22.3.1
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 4.6 (Compatibility Profile) Mesa 22.3.1
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 22.3.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20Output of lspci -k | grep -A 2 -E "(VGA|3D)":
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 630 (rev 04)
Subsystem: Lenovo Device 224d
Kernel driver in use: i915
--
01:00.0 3D controller: NVIDIA Corporation GM107GLM [Quadro M1200 Mobile] (rev a2)
Subsystem: Lenovo Device 224d
Kernel driver in use: nvidiaOutput of pacman -Q | grep nvidia:
lib32-nvidia-utils 525.60.11-1
nvidia 525.60.11-3
nvidia-utils 525.60.11-1Output of pacman -Q | grep linux:
...
linux 6.0.12.arch1-1
linux-api-headers 5.18.15-1
linux-firmware 20221109.60310c2-2
linux-firmware-bnx2x 20221109.60310c2-2
linux-firmware-liquidio 20221109.60310c2-2
linux-firmware-mellanox 20221109.60310c2-2
linux-firmware-nfp 20221109.60310c2-2
linux-firmware-qlogic 20221109.60310c2-2
linux-firmware-whence 20221109.60310c2-2
linux-headers 6.0.12.arch1-1
util-linux 2.38.1-1
util-linux-libs 2.38.1-1I created the pacman hook according to the wiki page, too.
-Any help is greatly appreciated!
Last edited by telometto (2022-12-20 20:40:52)
"Concern should drive us to action and not into depression."
-- Pythagoras
Offline
That's because it isn't a hook, you're putting it in the wrong place. It needs to go in the MODULES line...
https://wiki.archlinux.org/title/Kernel … _KMS_start
Offline
That's because it isn't a hook, you're putting it in the wrong place. It needs to go in the MODULES line...
https://wiki.archlinux.org/title/Kernel … _KMS_start
omg I can't believe I missed that... many thanks. Marking this as solved.
"Concern should drive us to action and not into depression."
-- Pythagoras
Offline