Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Architectures & Platforms Gentoo on AMD64
  • Search

Chromium for AMD64

Have an x86-64 problem? Post here.
Locked
Advanced search
32 posts
  • Previous
  • 1
  • 2
Author
Message
dmpogo
Advocate
Advocate
Posts: 3713
Joined: Thu Sep 02, 2004 9:21 pm
Location: Canada

  • Quote

Post by dmpogo » Sat Jun 12, 2010 8:24 am

@linear

Could you check the dates on your .h files relative to the rest from nvidia-drivers ? Could it be that they are leftovers from some previous installation ?
I looked at nvidia-drivers ebuild and the only reference to glx headers I see is

Code: Select all

        # Use some more sensible gl headers and make way for new glext.h
        epatch "${FILESDIR}"/NVIDIA_glx-glheader.patch
BTW, your 185.18.36 is not in portage anymore, 185.18.36-r1 is. Could it be that the difference is this header patch ?
Top
linear
Apprentice
Apprentice
User avatar
Posts: 222
Joined: Thu Aug 12, 2004 11:31 pm

  • Quote

Post by linear » Mon Jun 14, 2010 7:02 pm

dmpogo wrote:Could you check the dates on your .h files relative to the rest from nvidia-drivers ? Could it be that they are leftovers from some previous installation ?
I looked at nvidia-drivers ebuild and the only reference to glx headers I see is

Code: Select all

        # Use some more sensible gl headers and make way for new glext.h
        epatch "${FILESDIR}"/NVIDIA_glx-glheader.patch
BTW, your 185.18.36 is not in portage anymore, 185.18.36-r1 is. Could it be that the difference is this header patch ?
Hmmmm... very possibly. Since, when I look in the ebuild for the drivers I have in, I find a couple of places where it discusses header files:

Code: Select all

 # Use some more sensible gl headers and make way for new glext.h
 	epatch "${FILESDIR}"/NVIDIA_glx-glheader.patch 
That one is the same as you found, but I also have these:

Code: Select all

                # don't ask me why the headers are there.. glxext.h is missing 
                incdir=doc
and

Code: Select all

        # Includes
       	insinto ${NV_ROOT}/include
        doins ${incdir}/*.h 
and then goes into the cuda.h and vdpau.h files that you were discussing earlier. As a note, the -r1 version's ebuild has the same entries as well. And, I still have not had a chance to log off my desktop as I have a couple of large projects I'm working on at this time. But, I will do so at my first available opportunity.
BTW, here is the dates for you on those header files compared to the other files:

Code: Select all

 # ls -l /usr/lib64/opengl/nvidia/include/total 588
-rw-r--r-- 1 root root  73062 Dec 11  2009 gl.h
-rw-r--r-- 1 root root 465838 Dec 11  2009 glext.h
-rw-r--r-- 1 root root  14049 Dec 11  2009 glx.h
-rw-r--r-- 1 root root  34430 Dec 11  2009 glxext.h
The rest of the fies:

Code: Select all

 # ls -l /usr/lib64/opengl/nvidia/       
total 20
drwxr-xr-x 2 root root 4096 Dec 11  2009 extensions
drwxr-xr-x 2 root root 4096 Dec 11  2009 include
drwxr-xr-x 2 root root 4096 Dec 11  2009 lib
drwxr-xr-x 2 root root 4096 Dec 11  2009 no-tls
drwxr-xr-x 2 root root 4096 Dec 11  2009 tls
and

Code: Select all

 # ls -l /usr/lib64/opengl/nvidia/lib/
total 19472
-rw-r--r-- 1 root root      715 Dec 11  2009 libGL.la
lrwxrwxrwx 1 root root       18 Dec 11  2009 libGL.so -> libGL.so.185.18.36
lrwxrwxrwx 1 root root       18 Dec 11  2009 libGL.so.1 -> libGL.so.185.18.36
-rwxr-xr-x 1 root root   792992 Dec 11  2009 libGL.so.185.18.36
lrwxrwxrwx 1 root root       22 Dec 11  2009 libGLcore.so -> libGLcore.so.185.18.36
lrwxrwxrwx 1 root root       22 Dec 11  2009 libGLcore.so.1 -> libGLcore.so.185.18.36
-rwxr-xr-x 1 root root 18972488 Dec 11  2009 libGLcore.so.185.18.36
lrwxrwxrwx 1 root root       26 Dec 11  2009 libnvidia-cfg.so -> libnvidia-cfg.so.185.18.36
lrwxrwxrwx 1 root root       26 Dec 11  2009 libnvidia-cfg.so.1 -> libnvidia-cfg.so.185.18.36
-rwxr-xr-x 1 root root   133896 Dec 11  2009 libnvidia-cfg.so.185.18.36
lrwxrwxrwx 1 root root       23 Dec 11  2009 libnvidia-tls.so -> ../tls/libnvidia-tls.so
lrwxrwxrwx 1 root root       25 Dec 11  2009 libnvidia-tls.so.1 -> ../tls/libnvidia-tls.so.1
lrwxrwxrwx 1 root root       33 Dec 11  2009 libnvidia-tls.so.185.18.36 -> ../tls/libnvidia-tls.so.185.18.36
So, they definitely came with the package and were copied in by portage. Now, the package I am planning to upgrade to (nvidia-drivers-195.36.15) has it the way you are describing, so we'll see what happens when I get to that point.

TTYL.
Top
NiLuJe
Guru
Guru
Posts: 303
Joined: Sat Nov 06, 2004 10:15 pm
Location: Paris, France
Contact:
Contact NiLuJe
Website

  • Quote

Post by NiLuJe » Tue Jun 22, 2010 4:16 am

Yep, nVidia's OpenGL headers aren't installed anymore since the 190.42-r2 ebuild. I don't know why that is though...

I updated the nvidia-drivers beta/rc ebuilds @bugzilla (http://bugs.gentoo.org/show_bug.cgi?id=321061#c50) to include back the ability to install them (but commented out by default for now), if anybody cares to try... ;)
Top
phajdan.jr
Retired Dev
Retired Dev
User avatar
Posts: 1777
Joined: Thu Mar 23, 2006 4:22 pm
Location: Poland
Contact:
Contact phajdan.jr
Website

  • Quote

Post by phajdan.jr » Tue Jun 22, 2010 6:11 am

NiLuJe wrote:Yep, nVidia's OpenGL headers aren't installed anymore since the 190.42-r2 ebuild. I don't know why that is though...
But then 195.x.x seems to install the headers again: https://bugs.gentoo.org/show_bug.cgi?id=324893. This is a bit strange. Maybe some of you who use nvidia-drivers, just still use xorg-x11 OpenGL implementation? That may explain the differences.
http://phajdan-jr.blogspot.com/
Top
dmpogo
Advocate
Advocate
Posts: 3713
Joined: Thu Sep 02, 2004 9:21 pm
Location: Canada

  • Quote

Post by dmpogo » Tue Jun 22, 2010 1:32 pm

phajdan.jr wrote:
NiLuJe wrote:Yep, nVidia's OpenGL headers aren't installed anymore since the 190.42-r2 ebuild. I don't know why that is though...
But then 195.x.x seems to install the headers again: https://bugs.gentoo.org/show_bug.cgi?id=324893. This is a bit strange. Maybe some of you who use nvidia-drivers, just still use xorg-x11 OpenGL implementation? That may explain the differences.
No, I don't for one. And no headers with neither nvidia-drivers-190.42-r3 nor nvidia-drivers-173.14.25
Top
NiLuJe
Guru
Guru
Posts: 303
Joined: Sat Nov 06, 2004 10:15 pm
Location: Paris, France
Contact:
Contact NiLuJe
Website

  • Quote

Post by NiLuJe » Wed Jun 23, 2010 1:23 am

phajdan.jr wrote:
NiLuJe wrote:Yep, nVidia's OpenGL headers aren't installed anymore since the 190.42-r2 ebuild. I don't know why that is though...
But then 195.x.x seems to install the headers again: https://bugs.gentoo.org/show_bug.cgi?id=324893. This is a bit strange. Maybe some of you who use nvidia-drivers, just still use xorg-x11 OpenGL implementation? That may explain the differences.
That may be because the 195.x drivers were rc/beta drivers released before the stable 190.42. I didn't check, but that's one possible reason ;).

EDIT: Err, actually, 195.36.31 is a 'stable' release, and we don't have an ebuild for it in the tree, so it's likely from a local overlay bumped from a recent ebuild which didn't install the headers. (It's been ~6 months since 190.42-r2).

And, yeah, what this means is that eselect-opengl setups it's 'global' OpenGL headers, which are likely slightly older snapshot of the xorg-x11 implementation. And so chrome builds successfully on those systems, and not on the ones using older nvidia-drivers ebuild, because eselect-opengl would then use nVidia's OpenGL implementation, which chrome doesn't seem to support.
Top
linear
Apprentice
Apprentice
User avatar
Posts: 222
Joined: Thu Aug 12, 2004 11:31 pm

  • Quote

Post by linear » Fri Jul 02, 2010 8:10 pm

Okay,

I got it running on nvidia-drivers-195.36.24. 8) Yeah!

@dmpogo: And on these drivers, it got rid of glx.h, vdpau.h but it still has the epatch line as well as the cuda.h and a new one, OpenCL headers under /usr/include/CL. Go figure.

@phajdan.jr: Thanks again. Both for here and at code.google.com. You rock!

Thanks for the assist, folks. Now having a blast exploring Chromium! W00T!
Top
Locked

32 posts
  • Previous
  • 1
  • 2

Return to “Gentoo on AMD64”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic