DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Ports and Packages

FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD.

Reply
 
Thread Tools Display Modes
  #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
Thanked 36 Times in 34 Posts
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
  #2   (View Single Post)  
Old 6th February 2009
jb_daefo jb_daefo is offline
Package Pilot
 
Join Date: May 2008
Posts: 196
Thanked 5 Times in 5 Posts
Default

if libdrm OR libGL OR dri are updated, please do
libdrm >> libGL and dri >> xorg-server
...................
I've put that procedure in /xorg-server/ as it seems
to fix X issues (newly).
.................
That might help people reading the first post in this thread, also
__________________
using /LOOKAT/ with /var/db/pkg files and portmaster/aliases/pipes/find/grep to meteorically speedup port upgrades/installs...
Reply With Quote
  #3   (View Single Post)  
Old 6th February 2009
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Real Name: Ben
Spam Refugee
 
Join Date: Jul 2008
Location: Rotterdam, The Netherlands
Posts: 337
Thanked 32 Times in 30 Posts
Default

Lots of additional information on this (including GLX conflicts between nv/NVIDIA) here:
http://forums.freebsd.org/showthread.php?t=1721
Reply With Quote
  #4   (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
Thanked 36 Times in 34 Posts
Default

Quote:
Originally Posted by DutchDaemon View Post
Lots of additional information on this (including GLX conflicts between nv/NVIDIA) here:
http://forums.freebsd.org/showthread.php?t=1721
I've added a hash to my /usr/local/etc/pkgtools.conf so that whenever xorg-server gets upgraded, nvidia-driver gets reinstalled. That will take care of GLX problems. Of course this only helps if you use portupgrade:
Code:
  AFTERINSTALL = {                                                                 
    # Re-install nvidia-driver after xorg-server                                   
    'x11-servers/xorg-server*' => localbase() + '/sbin/portupgrade -f nvidia-driver',                                                                                 
  }
I should probably have a hash to make that libwfb.so swap for me so I don't forget.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is nVidia driver stable? rex FreeBSD General 14 31st October 2008 06:40 PM
FreeBSD NVidia driver installation maxrussell FreeBSD Ports and Packages 44 15th July 2008 10:39 PM
NVidia 8600 maxrussell FreeBSD Installation and Upgrading 8 28th May 2008 07:57 AM
problems with nvidia-driver-169.12 greencross FreeBSD General 8 21st May 2008 01:41 PM
PAE and official Nvidia drivers rubenerd FreeBSD General 2 20th May 2008 10:53 PM


All times are GMT. The time now is 12:12 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick