View Single Post
  #1   (View Single Post)  
Old 6th February 2009
BSDKaffee's Avatar
BSDKaffee BSDKaffee is offline
Real Name: Jason Hale
Coffee Addict
 
Join Date: May 2008
Location: Wintersville, Ohio
Posts: 212
Default HEADS UP: xorg 7.4, nvidia, and KDE 4.x

Just a heads up for anyone who upgraded Xorg to 7.4 and uses the proprietary NVidia driver with KDE 4.x.

I had upgraded Xorg to 7.4 an that's when all hell broke loose. I have spent much time trying to track down the problems I was having, but I think everything is ironed out now.

First, after I upgraded Xorg, X would not start at all with the NVidia driver. It would seem to start and then instantly crash with the error:
Code:
dlopen: /usr/local/lib/xorg/modules//libwfb.so: Undefined symbol 
 "miZeroLineScreenIndex" 
 (EE) Failed to load /usr/local/lib/modules//libfw.so 
 (EE) Failed to load module "wfb" (loader failed 7) 
 (EE) NVIDIA(0): Need libwfb but wfbScreenInit not found
It seems /usr/local/lib/xorg/modules/libwfb.so is replaced with the one from NVidia driver. I did read on the NVidia forums that the libwfb library supplied by the NVidia driver was only meant for older X implementations and the one from Xorg should be used anyways. So I copied the original libwfb from Xorg back to where it was.
Code:
# cd /usr/local/lib/xorg/modules
# rm libwfb.so    (this is actually a symlink to libnvidia-wfb.so.1)
# cp XXX-libwfb.so.%%.xorg-server-1.5.3_4,1 libwfb.so
That fixed that problem. X started now. Unfortunately I was experiencing random crashes that I could not track down. I could, however, faithfully reproduce the crash after opening Konsole and right-clicking in it. I spent a lot of time upgrading things again. I tried the latest drivers from NVidia and even tried upgrading KDE to 4.2.0 from the area51 repository (which was a pain, but KDE 4.2.0 is beautiful ). Unfortunately, none of these things were the issue. After much Googling and interpolation of my findings, I came to discover the cause of the crashes. In the "Device" section of my xorg.conf I had
Code:
Option         "BackingStore" "1"
After removing that line (which worked with Xorg 7.3), the crashes were no more.

Now, the only thing that does not work is gmplayer.
Code:
$ gmplayer                                      
MPlayer 1.0rc2-4.2.1 (C) 2000-2007 MPlayer Team                                    
CPU: Intel(R) Core(TM)2 Duo CPU     T7700  @ 2.40GHz (Family: 6, Model: 15, Stepping: 10)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
/usr/local/lib/X11/fonts/bitstream-vera/Vera.ttf doesn't look like a bitmap font description, ignoring.
Cannot load bitmap font: /usr/local/lib/X11/fonts/bitstream-vera/Vera.ttf
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
/home/Jason:1: error: unexpected character `\1', expected keyword - e.g. `style'
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
[ws] Error in display.
[ws]  Error code: 10 ( BadAccess (attempt to access private resource denied) )
[ws]  Request code: 146
[ws]  Minor code: 1
[ws]  Modules: (NULL)
I did find a PR, so I'm not the only one.

I hope this helps somebody.
Reply With Quote