Bug 868

Summary: nvidia driver no longer works with current CVS
Product: xorg Reporter: Stefan Dirsch <sndirsch>
Component: Server/GeneralAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high CC: dberkholz, eich
Version: git   
Hardware: Other   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Stefan Dirsch 2004-07-14 07:07:02 UTC
I just updated to current CVS and recognized that the (binary-only) 
nvidia driver for Linux no longer works with that version. Error 
messages are: 
 
Symbol vgaHWGetIndex from module /usr/X11R6/lib/modules/drivers/nvidia_drv.o is 
unresolved! 
Symbol vgaHWSave from module /usr/X11R6/lib/modules/drivers/nvidia_drv.o is 
unresolved! 
Symbol vgaHWRestore from module /usr/X11R6/lib/modules/drivers/nvidia_drv.o is 
unresolved! 
Symbol vgaHWUnmapMem from module /usr/X11R6/lib/modules/drivers/nvidia_drv.o is 
unresolved! 
Symbol fbCloseScreen from module /usr/X11R6/lib/modules/drivers/nvidia_drv.o is 
unresolved! 
Symbol fbWinPrivateIndex from 
module /usr/X11R6/lib/modules/drivers/nvidia_drv.o is 
nresolved! 
Symbol fbCreateWindow from module /usr/X11R6/lib/modules/drivers/nvidia_drv.o 
is 
nresolved! 
Symbol fbCreateGC from module /usr/X11R6/lib/modules/drivers/nvidia_drv.o is 
unresolved! 
Symbol fbGCPrivateIndex from module /usr/X11R6/lib/modules/drivers/nvidia_drv.o 
is 
nresolved! 
Symbol fbValidateGC from module /usr/X11R6/lib/modules/drivers/nvidia_drv.o is 
unresolved! 
Symbol fbPictureInit from module /usr/X11R6/lib/modules/drivers/nvidia_drv.o is 
unresolved! 
 
   *** If unresolved symbols were reported above, they might not 
   *** be the reason for the server aborting. 
 
Fatal server error: 
Caught signal 11.  Server aborting 
 
I verified that the nvidia driver still works with CVS of 04-06-27, 
but is at least broken with CVS of 04-07-07 and later. Simply using 
the Xorg binary of 04-06-27 fixes the problem.
Comment 1 Stefan Dirsch 2004-07-14 07:07:37 UTC
Meanwhile it could be reproduced. 
 
====================================================================== 
From: dave ! <ag051379@hotmail.com> 
To: sndirsch@suse.de 
Subject: Re: [Xorg] nvidia driver no longer works with current CVS? 
Date: Wed, 14 Jul 2004 21:08:22 +1000 
 
Hi 
 
I built xorg CVS this past weekend and got the same error's trying to 
use nvidia's driver. I'm not signed up for the mailing-list but feel 
free to forward this email there. 
====================================================================== 
 
Comment 2 Joseph Felps 2004-07-14 22:59:51 UTC
I can also confirm nvidia driver doesn't work with the cvs build from 07-11 I built.
Comment 3 Stefan Dirsch 2004-07-18 03:26:32 UTC
[...] 
From: Kevin E Martin <martin@XFree86.Org> 
To: devel@xfree86.org 
[...] 
On Sat, Jul 17, 2004 at 12:59:04PM -0700, Mark Vojkovich wrote: 
> DMX unconditionally changed MAXFORMATS in misc.h which modified 
> the ScreenRec and broke binary compatiblity. No third party drivers 
> will work with XFree86 after the DMX integration.  I think it was 
> a mistake to unconditionally break binary compatibility in this way. 
> DMX should be a build option and off by default so that third 
> party drivers will still work. 
 
This can be very easily changed back, which I have now done.  In the 
future, if you find other areas where the code has caused ABI problems, 
please let me know and I will fix the problems. 
 
------------------------------------------------------------------------ 
 
CVSROOT:        /cvs/xorg 
Module name:    xc 
Changes by:     kem@pdx.        04/07/17 13:44:14 
 
Log message: 
  Revert change to MAXFORMATS to maintain binary compatibility 
 
Modified files: 
      xc/programs/Xserver/include/: 
        misc.h 
 
  Revision      Changes    Path 
  1.4           +1 -1      xc/programs/Xserver/include/misc.h 
 
 
Comment 4 Stefan Dirsch 2004-07-18 03:27:54 UTC
I still need to investigate if this really fixes the problem. Should be done 
in some hours. 
Comment 5 Stefan Dirsch 2004-07-18 05:13:39 UTC
Just verified. The reverted change fixes the problem. :-) 

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.