<---- template headericclude ----->
Nvidia driver & its farcical FUD
FedoraForum.org - Fedora Support Forums and Community
Page 1 of 2 12 LastLast
Results 1 to 15 of 19
  1. #1
    Join Date
    Apr 2008
    Posts
    558
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Nvidia driver & its farcical FUD

    A continuation of this thread. Presumably so that Hlingler can speak without being spanked by the Fedora overlords, but this all seems like a huge farce to me, so I could be totally wrong.

    Edit: I'll kick-off. Do you realize that the nvidia driver prevents xorg from compiling? It's true! How horrendous. And, and..., well, that's about all. It works with everything else AFAIK.
    Last edited by brebs; 2nd October 2008 at 12:30 AM.

  2. #2
    Join Date
    Sep 2006
    Location
    Connellsville, PA, USA
    Posts
    11,309
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well, let's start with the following: First, I'll say yet again that I very much like NVidia's support of Linux, regardless of the "FOSS" debate, and therefore I prefer and recommend their products highest of all graphics vendors (for whatever that's worth). IMO, however, the binary installer leaves much to be desired.

    It would help if you could refute the "official" Fedora position on the issue as stated here: http://fedoraproject.org/wiki/Xorg/3rdPartyVideoDrivers. I have found the info there to be true, exactly as stated.

    Regards,
    V

  3. #3
    leigh123linux Guest
    Quote Originally Posted by brebs
    Edit: I'll kick-off. Do you realize that the nvidia driver prevents xorg from compiling? It's true! How horrendous. And, and..., well, that's about all. It works with everything else AFAIK.


    I have never had any issues compiling xorg-x11-server with the nvidia driver installed .
    Have you got a link to back it up .

  4. #4
    Join Date
    Apr 2008
    Posts
    558
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Hlingler
    refute
    The page looks good to me. Correct, just as you say. What exactly do you want me to refute, and why?

    Were you expecting me to claim that the nvidia driver is perfect and holy? It's not. Which is obvious by the fact that it prevents the compilation of xorg - and I'd love to know the reason why. I suspect it's because the nvidia guys and the xorg free-zealots have had a lovers' tiff, just like the kernel zealots tried to do, until the sane distros said that they'd just unpatch the zealots' patches anyway.

  5. #5
    Join Date
    Apr 2008
    Posts
    558
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by leigh123@linux
    I have never had any issues compiling xorg-x11-server with the nvidia driver installed .
    Have you got a link to back it up .
    My own experience with koji's xorg-x11-server-1.5.0-2.fc9.src.rpm:
    Code:
    $ rpmbuild -ba xorg-x11-server.spec
    ... (shown at the end, with the failure)
    
    /bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -I../hw/xfree86/common -I../hw/xfree86/dri -I../hw/xfree86/dri2 -I../mi   -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/pixman-1 -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include   -I/usr/kerberos/include   -I../include -I../include -I../Xext -I../composite -I../damageext -I../xfixes -I../Xi -I../mi -I../miext/shadow  -I../miext/damage -I../render -I../randr -I../fb -I/usr/include/drm -I/usr/include/X11/dri -DXFree86Server -D__GLX_ALIGN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wstrict-overflow -MT single2swap.lo -MD -MP -MF .deps/single2swap.Tpo -c -o single2swap.lo single2swap.c
     gcc -DHAVE_CONFIG_H -I. -I../include -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -I../hw/xfree86/common -I../hw/xfree86/dri -I../hw/xfree86/dri2 -I../mi -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/pixman-1 -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/kerberos/include -I../include -I../include -I../Xext -I../composite -I../damageext -I../xfixes -I../Xi -I../mi -I../miext/shadow -I../miext/damage -I../render -I../randr -I../fb -I/usr/include/drm -I/usr/include/X11/dri -DXFree86Server -D__GLX_ALIGN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wstrict-overflow -MT single2.lo -MD -MP -MF .deps/single2.Tpo -c single2.c  -fPIC -DPIC -o .libs/single2.o
    rensize.c: In function '__glXImageSize':
    rensize.c:227: error: 'GL_DEPTH_STENCIL_MESA' undeclared (first use in this function)
    rensize.c:227: error: (Each undeclared identifier is reported only once
    rensize.c:227: error: for each function it appears in.)
    rensize.c:266: error: 'GL_UNSIGNED_SHORT_15_1_MESA' undeclared (first use in this function)
    rensize.c:267: error: 'GL_UNSIGNED_SHORT_1_15_REV_MESA' undeclared (first use in this function)
    rensize.c:281: error: 'GL_UNSIGNED_INT_24_8_MESA' undeclared (first use in this function)
    rensize.c:282: error: 'GL_UNSIGNED_INT_8_24_REV_MESA' undeclared (first use in this function)
    make[1]: *** [rensize.lo] Error 1
    make[1]: *** Waiting for unfinished jobs....
     gcc -DHAVE_CONFIG_H -I. -I../include -I../hw/xfree86/os-support -I../hw/xfree86/os-support/bus -I../hw/xfree86/common -I../hw/xfree86/dri -I../hw/xfree86/dri2 -I../mi -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/pixman-1 -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/kerberos/include -I../include -I../include -I../Xext -I../composite -I../damageext -I../xfixes -I../Xi -I../mi -I../miext/shadow -I../miext/damage -I../render -I../randr -I../fb -I/usr/include/drm -I/usr/include/X11/dri -DXFree86Server -D__GLX_ALIGN64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wstrict-overflow -MT single2swap.lo -MD -MP -MF .deps/single2swap.Tpo -c single2swap.c  -fPIC -DPIC -o .libs/single2swap.o
    mv -f .deps/single2.Tpo .deps/single2.Plo
    mv -f .deps/single2swap.Tpo .deps/single2swap.Plo
    make[1]: Leaving directory `/home/builder/rpmbuild/BUILD/xorg-server-1.5.0/glx'
    make: *** [all-recursive] Error 1
    error: Bad exit status from /var/tmp/rpm-tmp.43522 (%build)
    
    
    RPM build errors:
        Bad exit status from /var/tmp/rpm-tmp.43522 (%build)
    nvidia driver installed
    Now let's be clear, because we don't want to add yet more layers of FUD now do we? Of course not. So answer the question - are you referring to the nvidia drivers that Nvidia require to be installed before they will look at your problem, or the stupid Linux zealots who are holding back Linux progress version (not that I'm biased at all - I'm just enlightened).
    Last edited by brebs; 2nd October 2008 at 01:14 AM.

  6. #6
    leigh123linux Guest
    xorg compiles here OK with the livna nvidia driver installed ( it also work with the freshrpms dkms nvidia driver )!

    Code:
    [leigh05@localhost Desktop]$ rpmbuild --rebuild '/home/leigh05/Desktop/xorg-x11-server-1.5.0-2.fc9.src.rpm'
    
    Requires: bt829_drv.so()(64bit) fi1236_drv.so()(64bit) libdbe.so()(64bit) libdri.so()(64bit) libexa.so()(64bit) libextmod.so()(64bit) libfb.so()(64bit) libfbdevhw.so()(64bit) libfreetype.so()(64bit) libglx.so()(64bit) libint10.so()(64bit) libshadow.so()(64bit) libshadowfb.so()(64bit) libvbe.so()(64bit) libvgahw.so()(64bit) libwfb.so()(64bit) libxaa.so()(64bit) libxf8_16bpp.so()(64bit) msp3430_drv.so()(64bit) tda8425_drv.so()(64bit) tda9850_drv.so()(64bit) tda9885_drv.so()(64bit) uda1380_drv.so()(64bit)
    Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/xorg-x11-server-1.5.0-2.fc9-root-leigh05
    Wrote: /home/leigh05/development/rpmbuild/RPMS/x86_64/xorg-x11-server-common-1.5.0-2.fc9.x86_64.rpm
    Wrote: /home/leigh05/development/rpmbuild/RPMS/x86_64/xorg-x11-server-Xorg-1.5.0-2.fc9.x86_64.rpm
    Wrote: /home/leigh05/development/rpmbuild/RPMS/x86_64/xorg-x11-server-Xnest-1.5.0-2.fc9.x86_64.rpm
    Wrote: /home/leigh05/development/rpmbuild/RPMS/x86_64/xorg-x11-server-Xdmx-1.5.0-2.fc9.x86_64.rpm
    Wrote: /home/leigh05/development/rpmbuild/RPMS/x86_64/xorg-x11-server-Xvfb-1.5.0-2.fc9.x86_64.rpm
    Wrote: /home/leigh05/development/rpmbuild/RPMS/x86_64/xorg-x11-server-Xephyr-1.5.0-2.fc9.x86_64.rpm
    Wrote: /home/leigh05/development/rpmbuild/RPMS/x86_64/xorg-x11-server-devel-1.5.0-2.fc9.x86_64.rpm
    Wrote: /home/leigh05/development/rpmbuild/RPMS/x86_64/xorg-x11-server-source-1.5.0-2.fc9.x86_64.rpm
    Wrote: /home/leigh05/development/rpmbuild/RPMS/x86_64/xorg-x11-server-debuginfo-1.5.0-2.fc9.x86_64.rpm
    Executing(&#37;clean): /bin/sh -e /var/tmp/rpm-tmp.77790
    + umask 022
    + cd /home/leigh05/development/rpmbuild/BUILD
    + cd xorg-server-1.5.0
    + rm -rf /var/tmp/xorg-x11-server-1.5.0-2.fc9-root-leigh05
    + exit 0
    Executing(--clean): /bin/sh -e /var/tmp/rpm-tmp.77790
    + umask 022
    + cd /home/leigh05/development/rpmbuild/BUILD
    + rm -rf xorg-server-1.5.0
    + exit 0
    [leigh05@localhost Desktop]$ rpm -qa |grep nvidia
    xorg-x11-drv-nvidia-173.14.12-1.lvn9.x86_64
    xorg-x11-drv-nvidia-libs-173.14.12-1.lvn9.x86_64
    xorg-x11-drv-nvidia-libs-173.14.12-1.lvn9.i386
    kmod-nvidia-2.6.26.5-47.fc9.x86_64-173.14.12-5.fc9.x86_64
    kmod-nvidia-173.14.12-5.fc9.x86_64
    [leigh05@localhost Desktop]$

  7. #7
    Join Date
    Apr 2008
    Posts
    558
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I can compile xorg again, after reinstalling mesa-libGL-devel-7.1-1.fc9.i386.rpm

    Nvidia's own installer replaces /usr/include/GL/gl.h, which is what caused the compilation errors - it contains e.g.:
    Code:
    ** THE INFORMATION CONTAINED HEREIN IS PROPRIETARY AND CONFIDENTIAL TO
    ** NVIDIA, CORPORATION.  USE, REPRODUCTION OR DISCLOSURE TO ANY THIRD PARTY
    ** IS SUBJECT TO WRITTEN PRE-APPROVAL BY NVIDIA, CORPORATION.
    Now this actually works:
    Code:
    $ find /usr/include/ -type f | xargs grep GL_DEPTH_STENCIL_MESA
    /usr/include/GL/gl.h:#define GL_DEPTH_STENCIL_MESA			0x8750
    So, what I'd like to know is, why does nvidia deem it necessary to replace that file?

  8. #8
    leigh123linux Guest
    Quote Originally Posted by brebs
    So, what I'd like to know is, why does nvidia deem it necessary to replace that file?
    This is the reason why I wont use the nvidia run file ( it also replaces other files )
    The livna or freshrpms nvidia driver doesn't replace any system files.

  9. #9
    Join Date
    Sep 2006
    Location
    Connellsville, PA, USA
    Posts
    11,309
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That file (/usr/include/GL/gl.h) may or may not be the only file replaced by the binary installer, but that's enough for me: the Xorg server is not the only source code that needs that file to compile - all the Xorg video drivers and mesa (at least mesa-libGL and mesa-dri-drivers) need it, plus certain games and other source code.

    Again: most users, who don't compile stuff (or: don't compile video drivers and certain games/apps) might never miss that file. For me, it's a show-stopper.

    V

  10. #10
    Join Date
    Apr 2008
    Posts
    558
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This option looks interesting:
    Code:
    --no-opengl-headers

  11. #11
    Join Date
    Apr 2008
    Posts
    558
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    OK, I'm much happier with --no-opengl-headers and mesa check. xorg-x11-server compiles, /usr/include/GL/gl.h is Mesa's, and all is well.

    Nvidia could save people a ton of confusion if they wrote to their own filenames, e.g. nvidia-gl.h, rather than stomping over the already-present files by default.

  12. #12
    Join Date
    Sep 2006
    Location
    Connellsville, PA, USA
    Posts
    11,309
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I suspect that all four files (gl.h, glx.h, glext.h, glxext.h) are replaced. A quick diff shows huge divergences. The options shown above should apply to all four files. But the question still remains: why?

    V

  13. #13
    Join Date
    Apr 2008
    Posts
    558
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I've filed an nvidia bug.

  14. #14
    Join Date
    Aug 2005
    Location
    Ann Arbor
    Age
    58
    Posts
    3,947
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    (/usr/include/GL/gl.h)
    this being replaced is one of the reasons that my svn builds of celestia encounters a " seg fault " without building / installing the devel mesa .
    OpenSUSE 13.2-64bit & Scientific Linux 6.6-64bit ( fedora 4 to 11) and 20 on KVM
    My Celestia Downloads

    h t t p ://celestiamotherlode.net/catalog/show_creator_details.php?creator_id=10

  15. #15
    Join Date
    Mar 2005
    Age
    50
    Posts
    4,342
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    So what about us guys that do not wish to compile anything? What do we use?
    SFF Desktop | Quad Core Intel N100 - 3.4 GHz | 16 GB DDR5 RAM | 256 GB SSD | Intel HD Graphics | Windows 11

    No fate but what we make...
    My Blog: kona0197.wordpress.com

Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 0
    Last Post: 16th October 2009, 12:46 AM
  2. nvidia driver does not work (akmod-nvidia)
    By zuargo in forum Hardware
    Replies: 4
    Last Post: 14th June 2009, 07:11 AM
  3. nvidia driver version / nvidia kernel conflict
    By Wangberg in forum Using Fedora
    Replies: 16
    Last Post: 13th June 2007, 09:57 AM
  4. NVidia driver: kernel driver compilation
    By DJ Wings in forum Hardware
    Replies: 21
    Last Post: 23rd November 2006, 06:15 PM
  5. Replies: 9
    Last Post: 6th April 2005, 08:50 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
[[template footer(Guest)]]