Showing posts with label drivers. Show all posts
Showing posts with label drivers. Show all posts

Monday, April 8, 2013

Fedora 18 Xorg Segmentation Fault - NVidia Driver Configuration

I just encountered an extremely odd issue with my Fedora 18 this morning:

  • First, I noticed that the grey background of the log in screen had been replaced by the blue "falling stars" image that's the default desktop wallpaper for the OS.
  • Secondly, when logging into my usual Cinnamon session, the menu bar had switched from the Windows-esque "start" menu located at the bottom of the screen to a Gnome 2.x style menu at the top.
  • Finally, when I tried to navigate to Delicious in Google Chrome, the screen blanked and returned to the log in menu!

Checking the Xorg log file showed a segmentation fault had occurred:

[ 192.214] (EE)
[ 192.215] (EE) Backtrace:
[ 192.230] (EE) 0: /usr/bin/Xorg (OsLookupColor+0x139) [0x472509]
[ 192.230] (EE) 1: /lib64/libpthread.so.0 (__restore_rt+0x0) [0x3f6080efff]
[ 192.230] (EE)
[ 192.230] (EE) Segmentation fault at address 0x0
[ 192.230]
Fatal server error:
[ 192.230] Caught signal 11 (Segmentation fault). Server aborting
[ 192.230]
[ 192.230] (EE)
Please consult the Fedora Project support
at http://wiki.x.org
for help.
[ 192.230] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 192.230] (EE)
[ 192.236] (II) evdev: Power Button: Close
[ 192.236] (II) UnloadModule: "evdev"
[ 192.243] (II) evdev: Power Button: Close
[ 192.243] (II) UnloadModule: "evdev"
[ 192.257] (II) evdev: Sleep Button: Close
[ 192.257] (II) UnloadModule: "evdev"
[ 192.274] (II) evdev: Apple Inc. Apple Internal Keyboard / Trackpad: Close
[ 192.274] (II) UnloadModule: "evdev"
[ 192.318] (II) UnloadModule: "synaptics"
[ 192.332] (II) evdev: Built-in iSight: Close
[ 192.332] (II) UnloadModule: "evdev"
[ 192.345] (II) evdev: Logitech USB Receiver: Close
[ 192.345] (II) UnloadModule: "evdev"
[ 192.367] (II) evdev: Logitech USB Receiver: Close
[ 192.367] (II) UnloadModule: "evdev"
[ 192.877] Server terminated with error (1). Closing log file.

Thinking this would be some strange transient error, I logged in again and found that I was able to replicate the issue by simply visiting delicious.com again! Googling around on the subject pulled up a couple of forum posts that suggested adding / amending the Files section in the /etc/X11/xorg.conf file to the following:

Section "Files"
  ModulePath "/usr/lib64/nvidia/xorg"
  ModulePath "/usr/lib64/xorg/modules"
EndSection

Once I restarted the X Server, I was greeted by the original log in screen with the grey background. Logging into the system yielded another success: my Windows-style menu had returned! The final check was also a success: I was able to visit delicious.com without the X Server crashing.

Wednesday, May 2, 2012

Post Upgrade Woes - Part 1: Display Corruption

As mentioned in my previous post, following my GPU upgrade, I experienced some odd behaviour. Strangely enough, the computer worked perfectly directly after the upgrade; I was even able to jump into a game of Skyrim (and be wowed with the massive increase in performance, I might add). However, when I logged into another account, strange artifacts appeared on screen, the screen flickered off and back on and, finally, the whole rig spontaneously rebooted!

Extremely worried there was an issue with the card, I logged back into my account; no artifacts appeared and I was able to run FurMark for an extended period without any problems. However, logging out and back into the secondary account immediately resulted in the same problem. After the machine rebooted again, I tried logging in as the "Admin" account I have configured; same problem. This time I was able to see a message briefly pop up on screen, which I later tracked down in the Event Viewer:

"Display driver stopped responding and has recovered"

Researching online brought up a host of reasons why this message might appear, but considering the issue only occurred in certain user accounts, I was fairly certain that some remnants of the previous card's drivers were causing the issue, and that running the driver installation in my user account had not cleared up other accounts on the system. To test my theory, I booted into safe mode, logged into the "Admin" account and used the msconfig tool to stop the AMD/ATI Catalyst Control Centre from starting when logging in. Sure enough, I was able to reboot and log into the "Admin" account with no problems at all.

After a bit more reading around I discovered a tool named "Driver Sweeper" that some people claimed to have helped them with similar problems. I'm very sceptical about installing any sort of 3rd party utilities on my machine; usually they don't uninstall properly, don't work, or you get more than you bargained for (i.e. ad/mal/spy-ware)! However, given the number of times the tool was referenced on forums, I decided to give it a go.

Once Driver Sweeper was installed, I executed a scan for video drivers and it located several files that I hadn't been aware of and even the installation files that are extracted to C:\ATI! After clearing away all the driver remnants, I rebooted and performed a fresh install of the AMD catalyst drivers in the "Admin" account, before rebooting and testing that I could log into each of the three accounts on the system without issue. This test proved successful, with no re-occurrence of the artifacts or rebooting, and I was safe to use the system normally again!