You are not logged in.

#1 2021-12-27 23:32:30

maddingl
Member
Registered: 2018-02-18
Posts: 11

[SOLVED] Cannot get NVIDIA GeForce MX450 to work

I have an integrated graphics card in my Intel i7 CPU and a dedicated NVIDIA GeForce MX450 graphics card.

$ lspci -k | grep -A 2 -E "(VGA|3D)"
00:02.0 VGA compatible controller: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] (rev 01)
	Subsystem: Lenovo Device 5088
	Kernel modules: i915
--
05:00.0 3D controller: NVIDIA Corporation TU117M [GeForce MX450] (rev a1)
	Subsystem: Lenovo Device 5088
	Kernel driver in use: nvidia

I am trying to run startx from a tty using my NVIDIA graphics card, I have set it up as described in the arch wiki pages for NVIDIA and NVIDIA_Optimus#Use_NVIDIA_graphics_only.

I tried all kinds of different setups (also following some advice from the wiki page for NVIDIA/Troubleshooting), but nothing worked.

This is the current setup I have:

/etc/mkinitcpio.conf (If anyone asks, yes, I have regenerated the initramfs after editing):

[...]
MODULES=(i915 nvidia nvidia_modeset nvidia_uvm nvidia_drm)
[...]

/etc/X11/xorg.conf:

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 495.46

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BusID	   "PCI:5:0:0"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

/etc/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf:

Section "OutputClass"
    Identifier "intel"
    MatchDriver "i915"
    Driver "modesetting"
EndSection

Section "OutputClass"
    Identifier "nvidia"
    MatchDriver "nvidia-drm"
    Driver "nvidia"
    Option "AllowEmptyInitialConfiguration"
    Option "PrimaryGPU" "yes"
    ModulePath "/usr/lib/nvidia/xorg"
    ModulePath "/usr/lib/xorg/modules"
EndSection

/etc/modprobe.d/blacklist.conf:

install i915 /usr/bin/false
install intel_agp /usr/bin/false

$HOME/.xinitrc:

#!/bin/sh

xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then
    xrdb -merge $sysresources
fi

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f "$userresources" ]; then
    xrdb -merge "$userresources"

fi

if [ -f "$usermodmap" ]; then
    xmodmap "$usermodmap"
fi

# start some nice programs

if [ -d /etc/X11/xinit/xinitrc.d ] ; then
 for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
  [ -x "$f" ] && . "$f"
 done
 unset f
fi

exec i3


What happens when I startx is the following: I get the log output until the line '(==) Using system config direcotry "/usr/share/X11/xorg.conf.d"', then the tty freezes in that state. I can switch to other ttys (with a couple of seconds of a black screen in between). When I switch back the to tty where I did startx, I still see the screen from the tty I was on before, but except for switching ttys, no keyboard input does anything.



I get the following Xorg-log after a fresh reboot from another tty (you can also see the kernel parameters I set there):

[    83.843] 
X.Org X Server 1.21.1.2
X Protocol Version 11, Revision 0
[    83.846] Current Operating System: Linux maddins-thinkpad 5.15.11-arch2-1 #1 SMP PREEMPT Wed, 22 Dec 2021 09:23:54 +0000 x86_64
[    83.846] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=702789b8-6895-4117-98f3-56908ea027d0 rw loglevel=3 vt.global_cursor_default=0 rcutree.rcu_idle_gp_delay=1 nvidia-drm.modeset=1
[    83.848]  
[    83.849] Current version of pixman: 0.40.0
[    83.851] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    83.851] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    83.854] (==) Log file: "/home/maddin/.local/share/xorg/Xorg.0.log", Time: Tue Dec 28 00:14:12 2021
[    83.856] (==) Using config file: "/etc/X11/xorg.conf"
[    83.857] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    83.858] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    83.859] (==) ServerLayout "Layout0"
[    83.859] (**) |-->Screen "Screen0" (0)
[    83.859] (**) |   |-->Monitor "Monitor0"
[    83.859] (**) |   |-->Device "Device0"
[    83.859] (**) |-->Input Device "Keyboard0"
[    83.859] (**) |-->Input Device "Mouse0"
[    83.859] (==) Automatically adding devices
[    83.859] (==) Automatically enabling devices
[    83.859] (==) Automatically adding GPU devices
[    83.859] (==) Automatically binding GPU devices
[    83.859] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    83.859] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[    83.859] 	Entry deleted from font path.
[    83.859] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[    83.859] 	Entry deleted from font path.
[    83.860] (==) FontPath set to:
	/usr/share/fonts/misc,
	/usr/share/fonts/TTF,
	/usr/share/fonts/100dpi,
	/usr/share/fonts/75dpi
[    83.860] (==) ModulePath set to "/usr/lib/xorg/modules"
[    83.860] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[    83.860] (WW) Disabling Keyboard0
[    83.860] (WW) Disabling Mouse0
[    83.860] (II) Module ABI versions:
[    83.860] 	X.Org ANSI C Emulation: 0.4
[    83.860] 	X.Org Video Driver: 25.2
[    83.860] 	X.Org XInput driver : 24.4
[    83.860] 	X.Org Server Extension : 10.0
[    83.860] (++) using VT number 1

[    83.861] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[    83.861] (II) xfree86: Adding drm device (/dev/dri/card0)
[    83.861] (II) Platform probe for /sys/devices/pci0000:00/0000:00:1c.4/0000:05:00.0/drm/card0
[    83.861] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 11 paused 0
[    83.862] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/xorg/modules"
[    83.862] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/xorg/modules"
[    83.862] (**) OutputClass "nvidia" setting /dev/dri/card0 as PrimaryGPU
[    83.863] (--) PCI: (0@0:2:0) 8086:9a49:17aa:5088 rev 1, Mem @ 0x6032000000/16777216, 0x4000000000/268435456, I/O @ 0x00005000/64, BIOS @ 0x????????/131072
[    83.863] (--) PCI:*(5@0:0:0) 10de:1f97:17aa:5088 rev 161, Mem @ 0x8f000000/16777216, 0x6020000000/268435456, 0x6030000000/33554432, I/O @ 0x00003000/128
[    83.863] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    83.863] (II) LoadModule: "glx"
[    83.863] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    83.866] (II) Module glx: vendor="X.Org Foundation"
[    83.866] 	compiled for 1.21.1.2, module version = 1.0.0
[    83.866] 	ABI class: X.Org Server Extension, version 10.0
[    83.866] (II) LoadModule: "nvidia"
[    83.866] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[    83.868] (II) Module nvidia: vendor="NVIDIA Corporation"
[    83.868] 	compiled for 1.6.99.901, module version = 1.0.0
[    83.868] 	Module class: X.Org Video Driver
[    83.868] (II) NVIDIA dlloader X Driver  495.46  Wed Oct 27 16:28:42 UTC 2021
[    83.868] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    83.868] xf86EnableIO: failed to enable I/O ports 0000-03ff (Operation not permitted)
[    83.868] (II) systemd-logind: releasing fd for 226:0
[    83.869] (II) Loading sub module "fb"
[    83.869] (II) LoadModule: "fb"
[    83.869] (II) Module "fb" already built-in
[    83.869] (II) Loading sub module "wfb"
[    83.869] (II) LoadModule: "wfb"
[    83.869] (II) Loading /usr/lib/xorg/modules/libwfb.so
[    83.869] (II) Module wfb: vendor="X.Org Foundation"
[    83.869] 	compiled for 1.21.1.2, module version = 1.0.0
[    83.869] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    83.869] (II) Loading sub module "ramdac"
[    83.869] (II) LoadModule: "ramdac"
[    83.869] (II) Module "ramdac" already built-in
[    83.870] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[    83.870] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[    83.870] (==) NVIDIA(0): RGB weight 888
[    83.870] (==) NVIDIA(0): Default visual is TrueColor
[    83.870] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[    83.871] (II) Applying OutputClass "nvidia" options to /dev/dri/card0
[    83.871] (II) Applying OutputClass "nvidia" options to /dev/dri/card0
[    83.871] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration"
[    83.871] (**) NVIDIA(0): Enabling 2D acceleration
[    83.871] (II) Loading sub module "glxserver_nvidia"
[    83.871] (II) LoadModule: "glxserver_nvidia"
[    83.871] (II) Loading /usr/lib/nvidia/xorg/libglxserver_nvidia.so
[    83.893] (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
[    83.893] 	compiled for 1.6.99.901, module version = 1.0.0
[    83.893] 	Module class: X.Org Server Extension
[    83.893] (II) NVIDIA GLX Module  495.46  Wed Oct 27 16:26:03 UTC 2021
[    83.894] (II) NVIDIA: The X server supports PRIME Render Offload.
[    83.896] (II) NVIDIA(0): NVIDIA GPU NVIDIA GeForce MX450 (TU117-A) at PCI:5:0:0
[    83.896] (II) NVIDIA(0):     (GPU-0)
[    83.896] (--) NVIDIA(0): Memory: 2097152 kBytes
[    83.896] (--) NVIDIA(0): VideoBIOS: 90.17.68.00.16
[    83.896] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[    83.896] (II) NVIDIA(0): Validated MetaModes:
[    83.896] (II) NVIDIA(0):     "NULL"
[    83.896] (II) NVIDIA(0): Virtual screen size determined to be 640 x 480
[    83.896] (WW) NVIDIA(0): Unable to get display device for DPI computation.
[    83.896] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
[    83.896] (WW) NVIDIA: Failed to bind sideband socket to
[    83.896] (WW) NVIDIA:     '/var/run/nvidia-xdriver-14bbb1cb' Permission denied
[    83.897] (II) NVIDIA: Reserving 24576.00 MB of virtual memory for indirect memory
[    83.897] (II) NVIDIA:     access.
[    83.911] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[    83.911] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[    83.911] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[    83.911] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[    83.911] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[    83.911] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[    83.911] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[    83.911] (II) NVIDIA(0):     Config Options in the README.
[    83.929] (II) NVIDIA(0): Setting mode "NULL"
[    83.935] (==) NVIDIA(0): Disabling shared memory pixmaps
[    83.935] (==) NVIDIA(0): Backing store enabled
[    83.935] (==) NVIDIA(0): Silken mouse enabled
[    83.935] (**) NVIDIA(0): DPMS enabled
[    83.935] (WW) NVIDIA(0): Option "PrimaryGPU" is not used
[    83.935] (II) Loading sub module "dri2"
[    83.935] (II) LoadModule: "dri2"
[    83.935] (II) Module "dri2" already built-in
[    83.935] (II) NVIDIA(0): [DRI2] Setup complete
[    83.935] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[    83.935] (II) Initializing extension Generic Event Extension
[    83.935] (II) Initializing extension SHAPE
[    83.935] (II) Initializing extension MIT-SHM
[    83.935] (II) Initializing extension XInputExtension
[    83.935] (II) Initializing extension XTEST
[    83.935] (II) Initializing extension BIG-REQUESTS
[    83.935] (II) Initializing extension SYNC
[    83.935] (II) Initializing extension XKEYBOARD
[    83.935] (II) Initializing extension XC-MISC
[    83.935] (II) Initializing extension SECURITY
[    83.935] (II) Initializing extension XFIXES
[    83.935] (II) Initializing extension RENDER
[    83.935] (II) Initializing extension RANDR
[    83.935] (II) Initializing extension COMPOSITE
[    83.936] (II) Initializing extension DAMAGE
[    83.936] (II) Initializing extension MIT-SCREEN-SAVER
[    83.936] (II) Initializing extension DOUBLE-BUFFER
[    83.936] (II) Initializing extension RECORD
[    83.936] (II) Initializing extension DPMS
[    83.936] (II) Initializing extension Present
[    83.936] (II) Initializing extension DRI3
[    83.936] (II) Initializing extension X-Resource
[    83.936] (II) Initializing extension XVideo
[    83.936] (II) Initializing extension XVideo-MotionCompensation
[    83.936] (II) Initializing extension GLX
[    83.936] (II) Initializing extension GLX
[    83.936] (II) Indirect GLX disabled.
[    83.936] (II) GLX: Another vendor is already registered for screen 0
[    83.936] (II) Initializing extension XFree86-VidModeExtension
[    83.936] (II) Initializing extension XFree86-DGA
[    83.936] (II) Initializing extension XFree86-DRI
[    83.936] (II) Initializing extension DRI2
[    83.936] (II) Initializing extension NV-GLX
[    83.936] (II) Initializing extension NV-CONTROL
[    83.978] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[    83.978] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[    83.978] (II) LoadModule: "libinput"
[    83.978] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[    83.979] (II) Module libinput: vendor="X.Org Foundation"
[    83.979] 	compiled for 1.21.1, module version = 1.2.0
[    83.979] 	Module class: X.Org XInput Driver
[    83.979] 	ABI class: X.Org XInput driver, version 24.4
[    83.979] (II) Using input driver 'libinput' for 'Power Button'
[    83.980] (II) systemd-logind: got fd for /dev/input/event0 13:64 fd 34 paused 0
[    83.980] (**) Power Button: always reports core events
[    83.980] (**) Option "Device" "/dev/input/event0"
[    83.980] (**) Option "_source" "server/udev"
[    83.983] (II) event0  - Power Button: is tagged by udev as: Keyboard
[    83.983] (II) event0  - Power Button: device is a keyboard
[    83.983] (II) event0  - Power Button: device removed
[    83.983] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0/event0"
[    83.983] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[    83.983] (II) event0  - Power Button: is tagged by udev as: Keyboard
[    83.983] (II) event0  - Power Button: device is a keyboard
[    83.983] (II) config/udev: Adding input device Lid Switch (/dev/input/event2)
[    83.983] (II) No input driver specified, ignoring this device.
[    83.983] (II) This device may have been added with another device file.
[    83.984] (II) config/udev: Adding input device Sleep Button (/dev/input/event1)
[    83.984] (**) Sleep Button: Applying InputClass "libinput keyboard catchall"
[    83.984] (II) Using input driver 'libinput' for 'Sleep Button'
[    83.984] (II) systemd-logind: got fd for /dev/input/event1 13:65 fd 37 paused 0
[    83.984] (**) Sleep Button: always reports core events
[    83.984] (**) Option "Device" "/dev/input/event1"
[    83.984] (**) Option "_source" "server/udev"
[    83.984] (II) event1  - Sleep Button: is tagged by udev as: Keyboard
[    83.984] (II) event1  - Sleep Button: device is a keyboard
[    83.984] (II) event1  - Sleep Button: device removed
[    83.984] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input1/event1"
[    83.984] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 7)
[    83.985] (II) event1  - Sleep Button: is tagged by udev as: Keyboard
[    83.985] (II) event1  - Sleep Button: device is a keyboard
[    83.985] (II) config/udev: Adding input device Integrated Camera: Integrated C (/dev/input/event4)
[    83.985] (**) Integrated Camera: Integrated C: Applying InputClass "libinput keyboard catchall"
[    83.985] (II) Using input driver 'libinput' for 'Integrated Camera: Integrated C'
[    83.986] (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 38 paused 0
[    83.986] (**) Integrated Camera: Integrated C: always reports core events
[    83.986] (**) Option "Device" "/dev/input/event4"
[    83.986] (**) Option "_source" "server/udev"
[    83.986] (II) event4  - Integrated Camera: Integrated C: is tagged by udev as: Keyboard
[    83.986] (II) event4  - Integrated Camera: Integrated C: device is a keyboard
[    83.986] (II) event4  - Integrated Camera: Integrated C: device removed
[    83.986] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb3/3-8/3-8:1.0/input/input5/event4"
[    83.986] (II) XINPUT: Adding extended input device "Integrated Camera: Integrated C" (type: KEYBOARD, id 8)
[    83.987] (II) event4  - Integrated Camera: Integrated C: is tagged by udev as: Keyboard
[    83.987] (II) event4  - Integrated Camera: Integrated C: device is a keyboard
[    83.987] (II) config/udev: Adding input device Integrated Camera: Integrated I (/dev/input/event5)
[    83.987] (**) Integrated Camera: Integrated I: Applying InputClass "libinput keyboard catchall"
[    83.987] (II) Using input driver 'libinput' for 'Integrated Camera: Integrated I'
[    83.988] (II) systemd-logind: got fd for /dev/input/event5 13:69 fd 39 paused 0
[    83.988] (**) Integrated Camera: Integrated I: always reports core events
[    83.988] (**) Option "Device" "/dev/input/event5"
[    83.988] (**) Option "_source" "server/udev"
[    83.988] (II) event5  - Integrated Camera: Integrated I: is tagged by udev as: Keyboard
[    83.988] (II) event5  - Integrated Camera: Integrated I: device is a keyboard
[    83.988] (II) event5  - Integrated Camera: Integrated I: device removed
[    83.989] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb3/3-8/3-8:1.2/input/input6/event5"
[    83.989] (II) XINPUT: Adding extended input device "Integrated Camera: Integrated I" (type: KEYBOARD, id 9)
[    83.989] (II) event5  - Integrated Camera: Integrated I: is tagged by udev as: Keyboard
[    83.989] (II) event5  - Integrated Camera: Integrated I: device is a keyboard
[    83.990] (II) config/udev: Adding input device sof-hda-dsp Mic (/dev/input/event10)
[    83.990] (II) No input driver specified, ignoring this device.
[    83.990] (II) This device may have been added with another device file.
[    83.990] (II) config/udev: Adding input device sof-hda-dsp Headphone (/dev/input/event11)
[    83.990] (II) No input driver specified, ignoring this device.
[    83.990] (II) This device may have been added with another device file.
[    83.990] (II) config/udev: Adding input device Elan Touchpad (/dev/input/event8)
[    83.990] (**) Elan Touchpad: Applying InputClass "libinput touchpad catchall"
[    83.990] (**) Elan Touchpad: Applying InputClass "touchpad catchall"
[    83.990] (**) Elan Touchpad: Applying InputClass "Default clickpad buttons"
[    83.990] (II) LoadModule: "synaptics"
[    83.990] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[    83.990] (II) Module synaptics: vendor="X.Org Foundation"
[    83.990] 	compiled for 1.21.1.1, module version = 1.9.1
[    83.990] 	Module class: X.Org XInput Driver
[    83.991] 	ABI class: X.Org XInput driver, version 24.4
[    83.991] (II) Using input driver 'synaptics' for 'Elan Touchpad'
[    83.991] (II) systemd-logind: got fd for /dev/input/event8 13:72 fd 40 paused 0
[    83.991] (**) Elan Touchpad: always reports core events
[    83.991] (**) Option "Device" "/dev/input/event8"
[    83.991] (II) synaptics: Elan Touchpad: found clickpad property
[    83.991] (--) synaptics: Elan Touchpad: x-axis range 0 - 3075 (res 31)
[    83.991] (--) synaptics: Elan Touchpad: y-axis range 0 - 2039 (res 31)
[    83.991] (--) synaptics: Elan Touchpad: pressure range 0 - 255
[    83.991] (--) synaptics: Elan Touchpad: finger width range 0 - 15
[    83.991] (--) synaptics: Elan Touchpad: buttons: left double triple
[    83.991] (--) synaptics: Elan Touchpad: Vendor 0x4f3 Product 0x1b
[    83.991] (**) Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
[    83.991] (--) synaptics: Elan Touchpad: touchpad found
[    83.991] (**) Elan Touchpad: always reports core events
[    83.991] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1f.4/i2c-3/3-0015/input/input10/event8"
[    83.991] (II) XINPUT: Adding extended input device "Elan Touchpad" (type: TOUCHPAD, id 10)
[    83.991] (**) synaptics: Elan Touchpad: (accel) MinSpeed is now constant deceleration 2.5
[    83.991] (**) synaptics: Elan Touchpad: (accel) MaxSpeed is now 1.75
[    83.991] (**) synaptics: Elan Touchpad: (accel) AccelFactor is now 0.054
[    83.991] (**) Elan Touchpad: (accel) keeping acceleration scheme 1
[    83.991] (**) Elan Touchpad: (accel) acceleration profile 1
[    83.991] (**) Elan Touchpad: (accel) acceleration factor: 2.000
[    83.991] (**) Elan Touchpad: (accel) acceleration threshold: 4
[    83.991] (--) synaptics: Elan Touchpad: touchpad found
[    83.991] (II) config/udev: Adding input device Elan Touchpad (/dev/input/mouse0)
[    83.991] (**) Elan Touchpad: Ignoring device from InputClass "touchpad ignore duplicates"
[    83.992] (II) config/udev: Adding input device Elan TrackPoint (/dev/input/event9)
[    83.992] (**) Elan TrackPoint: Applying InputClass "libinput pointer catchall"
[    83.992] (II) Using input driver 'libinput' for 'Elan TrackPoint'
[    83.992] (II) systemd-logind: got fd for /dev/input/event9 13:73 fd 41 paused 0
[    83.992] (**) Elan TrackPoint: always reports core events
[    83.992] (**) Option "Device" "/dev/input/event9"
[    83.992] (**) Option "_source" "server/udev"
[    83.993] (II) event9  - Elan TrackPoint: is tagged by udev as: Mouse Pointingstick
[    83.993] (II) event9  - Elan TrackPoint: device is a pointer
[    83.993] (II) event9  - Elan TrackPoint: device removed
[    83.993] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1f.4/i2c-3/3-0015/input/input11/event9"
[    83.993] (II) XINPUT: Adding extended input device "Elan TrackPoint" (type: MOUSE, id 11)
[    83.993] (**) Option "AccelerationScheme" "none"
[    83.993] (**) Elan TrackPoint: (accel) selected scheme none/0
[    83.993] (**) Elan TrackPoint: (accel) acceleration factor: 2.000
[    83.993] (**) Elan TrackPoint: (accel) acceleration threshold: 4
[    83.994] (II) event9  - Elan TrackPoint: is tagged by udev as: Mouse Pointingstick
[    83.994] (II) event9  - Elan TrackPoint: device is a pointer
[    83.994] (II) config/udev: Adding input device Elan TrackPoint (/dev/input/mouse1)
[    83.994] (II) No input driver specified, ignoring this device.
[    83.994] (II) This device may have been added with another device file.
[    83.994] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event3)
[    83.994] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[    83.994] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[    83.995] (II) systemd-logind: got fd for /dev/input/event3 13:67 fd 42 paused 0
[    83.995] (**) AT Translated Set 2 keyboard: always reports core events
[    83.995] (**) Option "Device" "/dev/input/event3"
[    83.995] (**) Option "_source" "server/udev"
[    83.995] (II) event3  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[    83.995] (II) event3  - AT Translated Set 2 keyboard: device is a keyboard
[    83.996] (II) event3  - AT Translated Set 2 keyboard: device removed
[    83.996] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input3/event3"
[    83.996] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 12)
[    83.996] (II) event3  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[    83.996] (II) event3  - AT Translated Set 2 keyboard: device is a keyboard
[    83.997] (II) config/udev: Adding input device PC Speaker (/dev/input/event7)
[    83.997] (II) No input driver specified, ignoring this device.
[    83.997] (II) This device may have been added with another device file.
[    83.998] (II) config/udev: Adding input device ThinkPad Extra Buttons (/dev/input/event6)
[    83.998] (**) ThinkPad Extra Buttons: Applying InputClass "libinput keyboard catchall"
[    83.998] (II) Using input driver 'libinput' for 'ThinkPad Extra Buttons'
[    83.998] (II) systemd-logind: got fd for /dev/input/event6 13:70 fd 43 paused 0
[    83.998] (**) ThinkPad Extra Buttons: always reports core events
[    83.998] (**) Option "Device" "/dev/input/event6"
[    83.998] (**) Option "_source" "server/udev"
[    83.998] (II) event6  - ThinkPad Extra Buttons: is tagged by udev as: Keyboard Switch
[    83.998] (II) event6  - ThinkPad Extra Buttons: device is a keyboard
[    83.999] (II) event6  - ThinkPad Extra Buttons: device is a switch device
[    83.999] (II) event6  - ThinkPad Extra Buttons: device removed
[    83.999] (**) Option "config_info" "udev:/sys/devices/platform/thinkpad_acpi/input/input7/event6"
[    83.999] (II) XINPUT: Adding extended input device "ThinkPad Extra Buttons" (type: KEYBOARD, id 13)
[    83.999] (II) event6  - ThinkPad Extra Buttons: is tagged by udev as: Keyboard Switch
[    83.999] (II) event6  - ThinkPad Extra Buttons: device is a keyboard
[    83.999] (II) event6  - ThinkPad Extra Buttons: device is a switch device
[   300.793] (**) Option "fd" "34"
[   300.793] (II) event0  - Power Button: device removed
[   300.793] (**) Option "fd" "37"
[   300.793] (II) event1  - Sleep Button: device removed
[   300.793] (**) Option "fd" "38"
[   300.793] (II) event4  - Integrated Camera: Integrated C: device removed
[   300.793] (**) Option "fd" "39"
[   300.793] (II) event5  - Integrated Camera: Integrated I: device removed
[   300.793] (**) Option "fd" "41"
[   300.793] (II) event9  - Elan TrackPoint: device removed
[   300.793] (**) Option "fd" "42"
[   300.793] (II) event3  - AT Translated Set 2 keyboard: device removed
[   300.793] (**) Option "fd" "43"
[   300.793] (II) event6  - ThinkPad Extra Buttons: device removed
[   300.801] (II) systemd-logind: got pause for 13:70
[   300.801] (II) systemd-logind: got pause for 13:65
[   300.801] (II) systemd-logind: got pause for 13:67
[   300.801] (II) systemd-logind: got pause for 13:73
[   300.801] (II) systemd-logind: got pause for 13:72
[   300.801] (II) systemd-logind: got pause for 13:69
[   300.801] (II) systemd-logind: got pause for 13:68
[   300.801] (II) systemd-logind: got pause for 13:64
[   310.267] (II) UnloadModule: "libinput"
[   310.267] (II) systemd-logind: releasing fd for 13:70
[   310.294] (II) UnloadModule: "libinput"
[   310.294] (II) systemd-logind: releasing fd for 13:67
[   310.304] (II) UnloadModule: "libinput"
[   310.304] (II) systemd-logind: releasing fd for 13:73
[   310.354] (II) UnloadModule: "libinput"
[   310.354] (II) systemd-logind: releasing fd for 13:69
[   310.400] (II) UnloadModule: "libinput"
[   310.400] (II) systemd-logind: releasing fd for 13:68
[   310.458] (II) UnloadModule: "libinput"
[   310.458] (II) systemd-logind: releasing fd for 13:65
[   310.475] (II) UnloadModule: "libinput"
[   310.475] (II) systemd-logind: releasing fd for 13:64
[   310.491] (II) UnloadModule: "synaptics"
[   310.491] (II) systemd-logind: releasing fd for 13:72
[   310.536] (II) NVIDIA(GPU-0): Deleting GPU-0
[   310.538] (WW) xf86CloseConsole: KDSETMODE failed: Input/output error
[   310.538] (WW) xf86CloseConsole: VT_GETMODE failed: Input/output error
[   310.538] (WW) xf86OpenConsole: VT_GETSTATE failed: Input/output error
[   310.539] (II) Server terminated successfully (0). Closing log file.

There does not seem to be any errors, just some warnings that I am unable to asses the relevance of.

If I remove /etc/X11/xorg.conf, /etc/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf, the contents of /etc/modprobe.d/blacklist.conf, and the xrandr-lines in $HOME/.xinitrc, I can startx using my integrated Intel - graphics card successfully.

What is going wrong here with NVIDIA?

Last edited by maddingl (2021-12-28 07:15:25)

Offline

#2 2021-12-28 01:40:16

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,287

Re: [SOLVED] Cannot get NVIDIA GeForce MX450 to work

Remove the blacklist.conf and the xorg.conf it breaks everything else you are setting up. You need the intel card for displaying the screen and blacklisting it's modules breaks everything. Keep the 10-drm-nvidia it is what makes sure that the nvidia card takes over the rendering assuming you want to make it your primary.

FWIW that card is new enough that you could just do https://wiki.archlinux.org/title/PRIME# … er_offload with full power saving support which might lead to generally better results (... in which case you'd also want to remove the 10-drm-nvidia and the added xrandr lines in your .xinitrc) but the above doesn't change, your nvidia card does not have a screen you need the intel card for providing the display, blacklisting i915 modules will not work.

Last edited by V1del (2021-12-28 01:45:20)

Offline

#3 2021-12-28 07:15:00

maddingl
Member
Registered: 2018-02-18
Posts: 11

Re: [SOLVED] Cannot get NVIDIA GeForce MX450 to work

V1del wrote:

Remove the blacklist.conf and the xorg.conf it breaks everything else you are setting up. You need the intel card for displaying the screen and blacklisting it's modules breaks everything. Keep the 10-drm-nvidia it is what makes sure that the nvidia card takes over the rendering assuming you want to make it your primary.

FWIW that card is new enough that you could just do https://wiki.archlinux.org/title/PRIME# … er_offload with full power saving support which might lead to generally better results (... in which case you'd also want to remove the 10-drm-nvidia and the added xrandr lines in your .xinitrc) but the above doesn't change, your nvidia card does not have a screen you need the intel card for providing the display, blacklisting i915 modules will not work.


Thank you, this did fix it, and with 'glxinfo | grep NVIDIA' I can verify that the card is indeed being used. I guess I wanted to do too much at once. Thanks smile

I wanted to verify general functionality first, as suggested in https://wiki.archlinux.org/title/NVIDIA … le_methods. Now I can explore the other methods listed there, such as PRIME render offload.

Last edited by maddingl (2021-12-28 07:19:26)

Offline

Board footer

Powered by FluxBB