nvidia drivers don't work due to -Q in obsolete /etc/modprobe.d/lrm-video
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvidia-common (Ubuntu) |
Fix Released
|
High
|
Alberto Milone | ||
Karmic |
Won't Fix
|
Low
|
Unassigned | ||
Lucid |
Fix Released
|
High
|
Alberto Milone |
Bug Description
I am not sure what is going on here but I recently upgraded from 8.04 to 9.10 and my nvidia drivers aren't working. I couldn't add via the "hardware drivers" app. It just didn't work.
When I tried to add using apt-get it still didn't work. I tried inserting the nvidia module using modprobe and I got and error stating that "Q" was an invalid option. After some scouring of the web I found a reference suggesting that I comment out lines in /etc/modprobe.
# Make nvidia/
install fglrx /sbin/lrm-video fglrx $CMDLINE_OPTS
#install nvidia /sbin/lrm-video nvidia $CMDLINE_OPTS
install nvidia_legacy /sbin/lrm-video nvidia_legacy $CMDLINE_OPTS
install nvidia_new /sbin/lrm-video nvidia_new $CMDLINE_OPTS
So, now I have a working nvidia driver. However this seems to have broken my audio. :(
I have no idea what this file does or what I have done by commenting out this line other than getting the nvidia driver to finally load.
I have no idea why commenting this out would cause my audio to fail? Any help would be appreciated.
thanks,
--Ted
ProblemType: Bug
Architecture: i386
Date: Sat Oct 31 16:31:05 2009
DistroRelease: Ubuntu 9.10
GdmLog:
Fatal server error:
Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock
and start again.
GdmLogOld:
Fatal server error:
Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock
and start again.
MachineType: System manufacturer System Product Name
NonfreeKernelMo
Package: nvidia-glx-185 185.18.36-0ubuntu9
ProcCmdLine: root=UUID=
ProcEnviron:
LANGUAGE=en_US:en
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
RelatedPackageV
xserver-xorg 1:7.4+3ubuntu7
libgl1-mesa-glx 7.6.0-1ubuntu4
libdrm2 2.4.14-1ubuntu1
xserver-
xserver-
SourcePackage: nvidia-
Uname: Linux 2.6.31-
XsessionErrors: (polkit-
dmi.bios.date: 10/22/2008
dmi.bios.vendor: Phoenix Technologies, LTD
dmi.bios.version: ASUS M2A-VM ACPI BIOS Revision 2201
dmi.board.name: M2A-VM
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: 1.XX
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.
dmi.modalias: dmi:bvnPhoenixT
dmi.product.name: System Product Name
dmi.product.
dmi.sys.vendor: System manufacturer
fglrx: Not loaded
system:
distro: Ubuntu
architecture: i686kernel: 2.6.31-
Related branches
Changed in nvidia-graphics-drivers-180 (Ubuntu): | |
status: | New → Confirmed |
summary: |
- nvidia drivers don't work + nvidia drivers don't work due to line in /etc/modprobe.d/lrm-video |
Changed in nvidia-common (Ubuntu Lucid): | |
status: | Triaged → In Progress |
OK, I have done a little more digging into this. It seems that the problem lies in the /sbin/lrm-video script.
The script call modeprobe with a "-Q" option which is invalid.
if [ -e /etc/default/ envy-dkms ]; then
modprobe --ignore-install -Qb $@ $XORG
else
modprobe --ignore-install -Qb $@ $MODULE
fi
Commenting out the line in /etc/modprobe. d/lrm-video as far as I can figure, tells modeprobe not to call the lrm-video script and just loads the nvidia module into the kernel and all works.
As for the sound issue I think something must have gotten uninstalled when I was installing the envyng-core package or something else. I installed the linux-backports -modules- * packages and something in one of those got my sound working again.