You are not logged in.
Hello everyone, I’m new to Arch (and to this forum) and succeeded in setting up basically everything, apart from the drivers for my Nvidia card.
This is the output for “ lspci -k | grep -A 2 -E "(VGA|3D)" “
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09)
Subsystem: ASUSTeK Computer Inc. Device 131d
Kernel driver in use: i915
--
04:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 840M] (rev a2)
Subsystem: ASUSTeK Computer Inc. Device 131d
Kernel modules: nouveau
Both the Nouveau and the proprietary Nvidia drivers are not working. I’m not sure if I should split up this thread into 1 on the Nvidia drivers and 1 on the Nouveau ones, so if I have to please let me know.
I’m using the Intel card now, but would prefer to use my Nvidia card, preferably with the Nvidia drivers, but Nouveau would also be fine.
I’m a bit confused now, as I’ve followed the Arch Wiki and many, many other guides, but nothing seems to work.
I’m using an Acer X550LN notebook with 8GB RAM and some I7-4500 (for what it matters). I’m running XFCE with LXDM. Note that I’m dual booting with Ubuntu 16.04 now and both the proprietary and the nouveau drivers are working fine there. I have a monitor connected to my notebook (but have the notebook monitor turned off).
If I use the nouveau driver I see this error on boot and logout:
nouveau 0000:04:00:0 unknown chipset (118010a2)
With the Nvidia drivers things run like this:
When logging off I get an endless stream of the following error with kernel modules loaded (and a new mkinitcpio created):
[drm:nvidia_drm_master_drop [nvidia_drm]] *ERROR* [nvidia_drm] [GPU ID 0X00000400] nvidia_drm_shut_down_all_crtcs() failed with error code -22
I also have the kernel modules loaded and an executable file /etc/profile.d/display_setup.sh’ created (following the LXDM wiki), containing these two lines:
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto
I also created the following xorg file: /etc/X11/xorg.conf (again following the wiki)
Section "Module"
Load "modesetting"
EndSection
Section "Device"
Identifier "nvidia"
Driver "nvidia"
BusID "PCI:4:0:0"
Option "AllowEmptyInitialConfiguration"
EndSection
I really have no idea what to do. I’ve tried many other things, but nothing got close to working. Sometimes I get the above error, and sometimes the screen just turns black (both when booting, applies to the proprietary ones).
Does anyone know what to do? (Or at least what part is completely wrong?)
Last edited by Ashwin1982 (2016-05-20 05:49:53)
Offline
Please use code tags when pasting to the boards: https://wiki.archlinux.org/index.php/Fo … s_and_code
Read this: https://wiki.archlinux.org/index.php/NVIDIA_Optimus
Offline
Apologies, the original post has been edited.
I already read (and followed) the wiki-entry, but I will give it another try today.
I will rigidly follow every step, and post the results.
Last edited by Ashwin1982 (2016-05-19 06:07:49)
Offline
I got a lot further, but it's still not working. Below are the steps I ended up taking + the current errors + logfile:
1) migrated to lightdm (to be 100% sure that I was doing everything as it's supposed to be done).
2) uninstalled xf86-video-nouveau
3) removed the nouveau module out of /etc/mkinitcpio.conf
4) 'mkinitcpio -p linux'
5) reboot
6) installed nvidia nvidia-libgl xorg-xrandr xorg-server nvidia-settings
7) wrote /etc/X11/xorg.conf
Section "Module"
Load "modesetting"
EndSection
Section "Device"
Identifier "intel"
Driver "modesetting"
BusID "PCI:0:2:0"
Option "AccelMethod" "none"
EndSection
Section "Device"
Identifier "nvidia"
Driver "nvidia"
BusID "PCI:4:0:0"
Option "AllowEmptyInitialConfiguration"
EndSection
8) created /etc/lightdm/display_setup.sh
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto
9) Edited /etc/lightdm/lightdm.conf to make sure the script above is run.
10) reboot
Output of 'glxinfo | NVIDIA'
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Error: couldn't find RGB GLX visual or fbconfig
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Relevant output of 'lspci -k'
04:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 840M] (rev a2)
Subsystem: ASUSTeK Computer Inc. Device 131d
Kernel driver in use: nvidia
Kernel modules: nouveau, nvidia_drm, nvidia
/var/log/Xorg.0.log
Offline
Deleting all of the above and start using bumblebee straightaway did the trick. That turned out to be quite easy. Case solved and closed.
Offline
Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.
Offline
Your problem probably was missing greeter for lightdm.
Installing lightdm-gtk-greeter for example will solve the problem in that case.
Available greeters: https://wiki.archlinux.org/index.php/LightDM#Greeter
edit: your first config was ok, and seems missing greeter realy was your problem.
Last edited by object905 (2016-05-22 03:38:58)
Offline
I did install the gtk greeter actually. Switched to the pantheon one now.
Anyway, it's working! I cannot use the Nvidia settings program, but that's a minor issue.
Offline