PDA

View Full Version : Xorg.conf stopped working: no changes made


zyguli
2007-10-30, 06:02 AM CDT
Hi,

Recently my xorg.conf configuration stopped working, though I haven't made any changes to it.
My card is nvidia 6800, I've been using AIGLX+Compiz Fusion with TwinView configuration on Fedora 7 without any problems.

In my new, working configuration, the driver is 'nv' not 'nvidia' and manual change back to 'nvidia' causes X server to crash.

After entering "nVidia dispay settings" i get the "You do not appear to be using the NVIDIA X driver. Please edit your X configuration file (just run `nvidia-xconfig` as root), and restart the X server" message. When I do what I'm asked for, the X servers crashes after X's reload.

The resullt of "rpm -qa | grep nvidia":

xorg-x11-drv-nvidia-100.14.19-3.lvn7
kmod-nvidia-100.14.19-1.2.6.23.1_10.fc7
kmod-nvidia-100.14.19-1.2.6.22.9_91.fc7

I tried reintalling these packages with no luck on the topic.

Please help. Thanks in advance.

leigh123@linux
2007-10-30, 06:13 AM CDT
Post

rpm -qa | grep kernel

and

uname -r

zyguli
2007-10-30, 06:24 AM CDT
rpm -qa | grep kernel result:

kernel-headers-2.6.23.1-10.fc7
kernel-2.6.22.5-76.fc7
kernel-rt-2.6.22.6-1.rt9.5.fc7.ccrma
kernel-2.6.22.7-85.fc7
kernel-xen-2.6.20-2936.fc7
kernel-2.6.23.1-10.fc7
kernel-2.6.22.9-91.fc7



uname -r result:

2.6.22.9-91.fc7

leigh123@linux
2007-10-30, 06:43 AM CDT
Check to make sure livna-config-display is enabled

su -
livna-config-display

reboot


If it still doesn't work try

su -
/usr/sbin/nvidia-config-display enable
/sbin/service nvidia restart

restartX

zyguli
2007-10-30, 06:59 AM CDT
[root@zyguli-fedora ~]# /usr/sbin/nvidia-config-display enable
[root@zyguli-fedora ~]# /sbin/service nvidia restart
Disabling the nvidia driver: [ OK ]
Checking for module nvidia.ko: [FAILED]
nvidia.ko for kernel 2.6.22.9-91.fc7 was not found. [WARNING]
The nvidia driver will not be enabled until one is found. [WARNING]
Driver already disabled.


I had this "nvidia.ko for kernel 2.6.22.9-91.fc7 was not found" warning also on boot after I did:
livna-config-display
reboot

I didn't have this error before.

leigh123@linux
2007-10-30, 07:11 AM CDT
Try ( instutions for i686 )



su -
wget http://livna-dl.reloumirrors.net/fedora/7/i386/kmod-nvidia-100.14.19-1.2.6.22.9_91.fc7.i686.rpm
rpm -i --oldpackage --replacepkgs --replacefiles kmod-nvidia-100.14.19-1.2.6.22.9_91.fc7.i686.rpm
/usr/sbin/nvidia-config-display enable
/sbin/service nvidia restart

restartx

zyguli
2007-10-30, 07:18 AM CDT
I got ant error after
"rpm -i --oldpackage --replacepkgs -- replacefiles kmod-nvidia-100.14.19-1.2.6.22.9_91.fc7.i686.rpm"

rpm -i --oldpackage --replacepkgs -- replacefiles kmod-nvidia-100.14.19-1.2.6.22.9_91.fc7.i686.rpm
error: opening replacefiles failed: No such a file or directory

(I'm using polish in Fedora, so I have to translate every message, It might differ in english Fedora)

leigh123@linux
2007-10-30, 07:23 AM CDT
I got ant error after
"rpm -i --oldpackage --replacepkgs -- replacefiles kmod-nvidia-100.14.19-1.2.6.22.9_91.fc7.i686.rpm"

rpm -i --oldpackage --replacepkgs -- replacefiles kmod-nvidia-100.14.19-1.2.6.22.9_91.fc7.i686.rpm
error: opening replacefiles failed: No such a file or directory

(I'm using polish in Fedora, so I have to translate every message, It might differ in english Fedora)

I made a slight typing error ( it add a extra space that wasn't needed )

rpm -i --oldpackage --replacepkgs --replacefiles kmod-nvidia-100.14.19-1.2.6.22.9_91.fc7.i686.rpm

zyguli
2007-10-30, 07:31 AM CDT
The X server crashed after X restart.

strikeforce
2007-10-30, 07:35 AM CDT
wrong kernel? As in you have installed 2.6.23 but you are running in the other kernel.

leigh123@linux
2007-10-30, 07:44 AM CDT
wrong kernel? As in you have installed 2.6.23 but you are running in the other kernel.

I have four working kmod-nvidia 's + kernel's

[root@localhost ~]# rpm -qa | grep nvidia
kmod-nvidia-100.14.19-14.lvn8
kmod-nvidia-2.6.23.1-30.fc8-100.14.19-12.lvn8
xorg-x11-drv-nvidia-libs-32bit-100.14.19-3.lvn8
kmod-nvidia-2.6.23.1-37.fc8-100.14.19-14.lvn8
xorg-x11-drv-nvidia-100.14.19-3.lvn8
kmod-nvidia-100.14.19-1.2.6.23.1_41.fc8
kmod-nvidia-2.6.23.1-35.fc8-100.14.19-13.lvn8
[root@localhost ~]# rpm -qa | grep kernel
kernel-2.6.23.1-37.fc8
kernel-2.6.23.1-30.fc8
kernel-headers-2.6.23.1-41.fc8
kernel-2.6.23.1-41.fc8
kernel-devel-2.6.23.1-41.fc8
kernel-2.6.23.1-35.fc8
[root@localhost ~]#

zyguli
2007-10-30, 08:48 AM CDT
Another issue: X crashes after every computer reboot with working xorg, X restart is ok though.

zyguli
2007-10-30, 08:50 AM CDT
wrong kernel? As in you have installed 2.6.23 but you are running in the other kernel.
I switched to 2.6.23, though no results (as expected)

strikeforce
2007-10-30, 04:25 PM CDT
Have you done what Leigh suggesting /sbin/nvidia-config enable? Then restarted x.

Can you post the output again from rpm -qa | grep nvidia

zyguli
2007-10-31, 12:47 AM CDT
Have you done what Leigh suggesting /sbin/nvidia-config enable? Then restarted x.
Yes, I did that --> crash after x restart.


"rpm -qa | grep nvidia" result:

xorg-x11-drv-nvidia-100.14.19-3.lvn7
kmod-nvidia-100.14.19-1.2.6.23.1_10.fc7
kmod-nvidia-100.14.19-1.2.6.22.9_91.fc7

strikeforce
2007-10-31, 06:38 AM CDT
Can you post the output of the following commands run them as root.


cat /etc/X11/xorg.conf
cat /var/log/Xorg.0.log | grep EE

zyguli
2007-10-31, 09:38 AM CDT
Something strange happened. After booting I saw "Nvidia" splash; checked xorg.conf - the driver used was nvidia; checked nvidia-settings - working. I replaced xorg.conf with my old configuration and restarted X - it wasn't like it used to be, I had to do some combination of editing nvidia-setting and xorg to make it all work. I rebooted and everything seems to be ok! Compiz-fusion is working...

I had bad sectors report recently and my Windows XP stopped working properly so I switched to Fedora - but I guess the whole disk is corrupted here and there - could this be the cause of my nvidia drivers problem?
I'm using Seagate's disk and used Seatools - it allows me to write "zeros" to disk - but it writes on whole disk, not only bad sectors. Currently I am not able to find any disk quickly to backup 160 GB of data. Is there a software that can remap bad sectors on a chosen partition only?

strikeforce
2007-10-31, 04:19 PM CDT
Do you have internet explorer search bar installed in windows?

I had bad sectors and I think it's caused by that :(

zyguli
2007-11-01, 01:51 AM CDT
I don't have windows at all at the moment. I wiped the windows partition out and been trying to install XP since then with no luck - I assume It's because of the HD. Btw, I never use anything with Internet Explorer name in it ;) . I advice you same thing...