View previous topic :: View next topic |
Author |
Message |
Kaleidoscope06 n00b
Joined: 26 May 2017 Posts: 14
|
Posted: Thu Jun 08, 2017 2:33 pm Post subject: [SLVD]X nouveau '[drm] Failed to load DRM device for pci...' |
|
|
I was having some unrelated issues with the proprietary driver, so I switched to nouveau.
The relevant error message:
https://paste.pound-python.org/show/PuEcrZMPkktUXQ5JQtU2/
Details:
I compiled all programs with the nouveau VIDEO_CARDS value in make.conf.
I compiled the kernel with nouveau flags enabled, and no other nvidia flags.
I re-installed X. I deleted xorg.conf so that defaults would be loaded.
I deleted /etc/udev (after unmerge) then re-installed udev.
xf86-video-nouveau is installed.
Relevant card info:
Code: | 01:00.0 VGA compatible controller: NVIDIA Corporation G96 [GeForce GT 120] (rev a1) |
Has anyone encountered this error before? Nouveau seems to work in puppylinux and other distros I tried with this graphics card, so I don't think it's an official support problem.
Any help would be greatly appreciated.
Last edited by Kaleidoscope06 on Thu Jun 08, 2017 8:41 pm; edited 1 time in total |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
Kaleidoscope06 n00b
Joined: 26 May 2017 Posts: 14
|
|
Back to top |
|
|
Kaleidoscope06 n00b
Joined: 26 May 2017 Posts: 14
|
Posted: Thu Jun 08, 2017 3:09 pm Post subject: |
|
|
Jaglover wrote: | kernel is missing nouveau DRI. |
If this is case, how would one rectify this? |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
Kaleidoscope06 n00b
Joined: 26 May 2017 Posts: 14
|
Posted: Thu Jun 08, 2017 3:18 pm Post subject: |
|
|
Jaglover wrote: | I noticed you have also Intel DRI enabled, is this on Optimus hardware? |
No, but I occasionally switch the harddrive into another machine with intel graphics, so I decided to enable both options. Is that normally a problem? |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
Kaleidoscope06 n00b
Joined: 26 May 2017 Posts: 14
|
Posted: Thu Jun 08, 2017 4:39 pm Post subject: |
|
|
Jaglover wrote: | No, I do not think it would be a problem. Are you running the kernel you think you are? |
Yes, the kernel is installed correctly after compiling.
I have decided to have another go at the proprietary drivers, and after removing the Intel DRI (which you brought to my attention) the error I was receiving in the nvidia setup binary is gone (the message was very vague and said something along the lines of: the proprietary drivers can't be installed alongside X,Y, Z...). So, it appears their proprietary legacy install process fails if there are installed graphics drivers in the kernel already (even non-nvidia drivers it appears, but don't quote me on that). I recompiled the kernel without intel/nouveau, then installed the legacy drivers from their website. Alas, I will try again with nouveau in a few years times, when things run a little smoother. |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
Kaleidoscope06 n00b
Joined: 26 May 2017 Posts: 14
|
Posted: Thu Jun 08, 2017 5:08 pm Post subject: |
|
|
Jaglover wrote: | There is Gentoo wiki covering both proprietary driver and nouveau, have you looked at it? |
Yes, several times, in great detail.
Jaglover wrote: | In any case, do not install drivers you downloaded by hand, this is not the Gentoo way. |
Unfortunately, the proprietary nvidia drivers provided in the Gentoo mirrors do not cover my old card; the legacy drivers are required for my card. When things go wrong, they actually provide a URL in the xorg log files from which the driver can be downloaded, which is quite neat. |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
Posted: Thu Jun 08, 2017 5:15 pm Post subject: |
|
|
Code: | * x11-drivers/nvidia-drivers
Available versions: [M]96.43.23-r1(0/96)^msd [M]173.14.39-r1(0/173)^msd [M]173.14.39-r2(0/173)^msd 304.135(0/304)^md (~)304.135-r1(0/304)^md 340.102(0/340)^md (~)340.102-r1(0/340)^md 375.39(0/375)^md 375.66(0/375)^md (~)375.66-r1(0/375)^md 378.13(0/378)^md (~)378.13-r1(0/378)^md (~)381.09(0/381)^md 381.22(0/381)^md (~)381.22-r1(0/381)^md {+X acpi compat custom-cflags +driver gtk gtk3 +kms multilib pax_kernel static-libs (+)tools uvm wayland ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32" KERNEL="FreeBSD linux"}
Homepage: http://www.nvidia.com/ http://www.nvidia.com/Download/Find.aspx
Description: NVIDIA Accelerated Graphics Driver
|
Yes Gentoo has drivers for your card. _________________ My Gentoo installation notes.
Please learn how to denote units correctly! |
|
Back to top |
|
|
Kaleidoscope06 n00b
Joined: 26 May 2017 Posts: 14
|
Posted: Thu Jun 08, 2017 8:40 pm Post subject: |
|
|
Jaglover wrote: | Code: | * x11-drivers/nvidia-drivers
Available versions: [M]96.43.23-r1(0/96)^msd [M]173.14.39-r1(0/173)^msd [M]173.14.39-r2(0/173)^msd 304.135(0/304)^md (~)304.135-r1(0/304)^md 340.102(0/340)^md (~)340.102-r1(0/340)^md 375.39(0/375)^md 375.66(0/375)^md (~)375.66-r1(0/375)^md 378.13(0/378)^md (~)378.13-r1(0/378)^md (~)381.09(0/381)^md 381.22(0/381)^md (~)381.22-r1(0/381)^md {+X acpi compat custom-cflags +driver gtk gtk3 +kms multilib pax_kernel static-libs (+)tools uvm wayland ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32" KERNEL="FreeBSD linux"}
Homepage: http://www.nvidia.com/ http://www.nvidia.com/Download/Find.aspx
Description: NVIDIA Accelerated Graphics Driver
|
Yes Gentoo has drivers for your card. |
I momentarily tried this before receiving a wall of dependency conflicts.
Anyway, I went back to have another stab at nouveau, and the problem I was having turns out to be face-palm-level embarrassing: So I had /boot on sdc1 because I foresaw using RAID0 at some point, and I had forgotten to add /boot to the fstab. Thus, every time I was installing the newly compiled kernel, I was writing to sdc2, where / is mounted (essentially putting my changes into a sort of limbo, rather than the actual /boot). So, I added /boot to the fstab, did mount -a, then installed the new kernel again.
I apologize for miss-stating earlier that the kernel was installing correctly: I was using `ls -l /boot` to check the dates, rather than `uname -a`, as you suggested; I was, in fact, still using a kernel from yesterday. Lesson learned.
nouveau and X are now working fine, thank you |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
|