Skip to content

Need some help with dedicated NVIDIA gpu

Hi there, I have a notebook with a NVIDIA GeForce MX330. I'm trying to use it but I'm having some issues and I need some help.

I've followed the guide on the wiki, so I checked if the card was supported and it is, then I've installed the drivers/packages and rebooted. Now comes the strange part: when I generate the xorg configuration with nvidia-xconfig and reboot, the system doesn't even load, it get stuck after I choose Arch in grub menu. If I delete the configuration file, everything start working again

​

Edit:

/etc/X11/xorg.conf

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

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"
EndSection

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

​

Xorg log after rebooting with that configuration. To get it I just used a Arch live usb

[     7.154] (--) Log file renamed from "/var/log/Xorg.pid-563.log" to "/var/log/Xorg.0.log"
[     7.155] 
X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
[     7.155] Build Operating System: Linux Archlinux
[     7.155] Current Operating System: Linux hidan0-pc 5.10.43-1-lts #1 SMP Thu, 10 Jun 2021 12:32:16 +0000 x86_64
[     7.155] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux-lts root=UUID=1e3112f8-0ead-446c-9024-017118dbdf73 rw nvme_load=YES loglevel=3 quiet
[     7.155] Build Date: 13 April 2021  03:12:10PM
[     7.155]  
[     7.155] Current version of pixman: 0.40.0
[     7.155] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[     7.155] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     7.155] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Jun 13 01:31:29 2021
[     7.155] (==) Using config file: "/etc/X11/xorg.conf"
[     7.155] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[     7.156] (==) ServerLayout "Layout0"
[     7.156] (**) |-->Screen "Screen0" (0)
[     7.156] (**) |   |-->Monitor "Monitor0"
[     7.156] (**) |   |-->Device "Device0"
[     7.156] (**) |-->Input Device "Keyboard0"
[     7.156] (**) |-->Input Device "Mouse0"
[     7.156] (==) Automatically adding devices
[     7.156] (==) Automatically enabling devices
[     7.156] (==) Automatically adding GPU devices
[     7.156] (==) Automatically binding GPU devices
[     7.156] (==) Max clients allowed: 256, resource mask: 0x1fffff
[     7.156] (WW) The directory "/usr/share/fonts/misc" does not exist.
[     7.156] 	Entry deleted from font path.
[     7.156] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[     7.156] 	Entry deleted from font path.
[     7.156] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[     7.156] 	Entry deleted from font path.
[     7.156] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[     7.156] 	Entry deleted from font path.
[     7.156] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[     7.156] 	Entry deleted from font path.
[     7.156] (==) FontPath set to:
	/usr/share/fonts/TTF
[     7.156] (==) ModulePath set to "/usr/lib/xorg/modules"
[     7.156] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[     7.156] (WW) Disabling Keyboard0
[     7.156] (WW) Disabling Mouse0
[     7.156] (II) Module ABI versions:
[     7.156] 	X.Org ANSI C Emulation: 0.4
[     7.156] 	X.Org Video Driver: 24.1
[     7.156] 	X.Org XInput driver : 24.1
[     7.156] 	X.Org Server Extension : 10.0
[     7.157] (++) using VT number 1

[     7.157] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[     7.158] (II) xfree86: Adding drm device (/dev/dri/card0)
[     7.168] (--) PCI:*(0@0:2:0) 8086:9a49:1028:0a05 rev 1, Mem @ 0x6034000000/16777216, 0x4000000000/268435456, I/O @ 0x00004000/64, BIOS @ 0x????????/131072
[     7.168] (--) PCI: (43@0:0:0) 10de:1d16:1028:0a05 rev 161, Mem @ 0x81000000/16777216, 0x6020000000/268435456, 0x6030000000/33554432, I/O @ 0x00003000/128
[     7.168] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[     7.168] (II) LoadModule: "glx"
[     7.168] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[     7.170] (II) Module glx: vendor="X.Org Foundation"
[     7.170] 	compiled for 1.20.11, module version = 1.0.0
[     7.170] 	ABI class: X.Org Server Extension, version 10.0
[     7.170] (II) LoadModule: "nvidia"
[     7.170] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[     7.170] (II) Module nvidia: vendor="NVIDIA Corporation"
[     7.170] 	compiled for 1.6.99.901, module version = 1.0.0
[     7.170] 	Module class: X.Org Video Driver
[     7.170] (II) NVIDIA dlloader X Driver  465.31  Thu May 13 22:19:15 UTC 2021
[     7.170] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[     7.170] (EE) No devices detected.
[     7.170] (EE) 
Fatal server error:
[     7.170] (EE) no screens found(EE) 
[     7.170] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[     7.170] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[     7.170] (EE) 
[     7.221] (EE) Server terminated with error (1). Closing log file.

​

Something that Ive just noticed is that output of lspci -k | grep -A 2 -E "(VGA|3D)":

0000:00:02.0 VGA compatible controller: Intel Corporation Iris Xe Graphics (rev 01)
	DeviceName: Onboard - Video
	Subsystem: Dell Device 0a05
--
0000:2b:00.0 3D controller: NVIDIA Corporation GP108M [GeForce MX330] (rev a1)
	Subsystem: Dell Device 0a05
	Kernel modules: nouveau

It says that the nvidia kernel module is nouveau, even though Im using proprietary drivers (nvidia nvidia-utils lib32-nvidia-utils)

Edited 12 Jun 2021. We only hold this version.

4 points4 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
4 · 84% up
Kind
Text
ID
nye35f

Author

3
posts
13
comments
0
media
View profile

4 comments

Maybe post your xorg config? The xorg error log? Then maybe... Just maybe... We might be able to help you sir.

2 points
unknown author

Deleted before we saved it.

1 points

Maybe try optimus-manager? (And optimus-manager-qt if you like a gui for it)

For me it works with no problems at all(I have a laptop with Intel and gtx1050), both with kde and gnome (with the qt thing to make it ez to switch mode from gui) and in i3, it basically allows you to choose 1 of 3 modes: igpu, hybrid, dgpu, and to set up what you have when booting, depends on plugged in or battery, really cool and nice

2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.