Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nvidia-drivers-195.36.31 against gentoo-sources-2.6.36-r5
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
lyallp
Veteran
Veteran


Joined: 15 Jul 2004
Posts: 1635
Location: Adelaide/Australia

PostPosted: Thu Dec 16, 2010 8:45 am    Post subject: nvidia-drivers-195.36.31 against gentoo-sources-2.6.36-r5 Reply with quote

Anyone know how to get nvidia-drivers-195.36.31 to build against gentoo-sources-2.6.36-r5 ?

I tried building whilst booted under 2.6.36-r5 and also under 2.6.35-r12

The error is
Code:
/tmp/portage/x11-drivers/nvidia-drivers-195.36.24/work/NVIDIA-Linux-x86-195.36.24-pkg0/usr/src/nv/nv.c:417: error: unknown field 'ioctl' specified in initializer


The same version of nvidia-drivers builds fine against gentoo-sources-2.6.35-r12.

Maybe one of my .config settings is wrong?
_________________
...Lyall
Back to top
View user's profile Send private message
ssteinberg
Apprentice
Apprentice


Joined: 09 Jul 2010
Posts: 206
Location: Israel

PostPosted: Thu Dec 16, 2010 12:58 pm    Post subject: Reply with quote

You either need to patch the driver to allow building against 2.6.36, use 2.6.35, or use more recent driver.
Back to top
View user's profile Send private message
psheldon
n00b
n00b


Joined: 02 Apr 2006
Posts: 53
Location: South Africa

PostPosted: Thu Dec 16, 2010 4:38 pm    Post subject: Reply with quote

Thanks ssteinberg,
/etc/portage/package.keywords
x11drivers/nvidia-drivers ~x86
media-video/nvidia-settings ~x86

and

/etc/portage/package.unmask
x11-drivers/nvidia-drivers
media-video/nvidia-settings

did the trick
Back to top
View user's profile Send private message
lyallp
Veteran
Veteran


Joined: 15 Jul 2004
Posts: 1635
Location: Adelaide/Australia

PostPosted: Thu Dec 16, 2010 10:22 pm    Post subject: Reply with quote

Well, actually, I did try using ~x86 drivers, I did try masking the particular nvidia drivers. I concluded it's the latest kernel sources that are the problem and have reverted to the previous kernel, for the time being.
_________________
...Lyall
Back to top
View user's profile Send private message
castor_fou
Apprentice
Apprentice


Joined: 23 May 2002
Posts: 249
Location: Clermont-Ferrand, France

PostPosted: Sat Dec 18, 2010 12:03 pm    Post subject: Reply with quote

same as lyalip, I already use the very last version of nvidia drivers (195.36.31) and it fails against 2.6.36-r5.
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2665
Location: Slovenia

PostPosted: Sat Dec 18, 2010 2:47 pm    Post subject: Reply with quote

The latest nvidia driver is 260.19.29. If you're using the 2.6.36 kernel, that's what you should be using.
Back to top
View user's profile Send private message
Shining Arcanine
Veteran
Veteran


Joined: 24 Sep 2009
Posts: 1110

PostPosted: Sat Dec 18, 2010 6:00 pm    Post subject: Reply with quote

I suggest that you file a bug report regarding this at bugs.gentoo.org. The maintainer might write a patch for it.

Something else you can do in parallel to that would be to ask on nvnews.net:

http://www.nvnews.net/vbulletin/forumdisplay.php?f=14

One of the people there might have written a patch for the driver.
Back to top
View user's profile Send private message
hujuice
Guru
Guru


Joined: 16 Oct 2007
Posts: 352
Location: Nicosia, Cyprus

PostPosted: Sun Dec 19, 2010 2:55 pm    Post subject: Reply with quote

For the new readers...
...the bug is filed here: 334223
(See the related bugs also.)

If you don't want to rise until the top of the masked packages forever, I set succefully:
Code:
echo "=x11-drivers/nvidia-drivers-260.19.29 ~x86" >> /etc/portage/package.keyword
echo "=media-video/nvidia-settings-256.52 ~x86" >> /etc/portage/package.keyword

Edit: the above lines lack a final "s" each...
Code:
echo "=x11-drivers/nvidia-drivers-260.19.29 ~x86" >> /etc/portage/package.keywords
echo "=media-video/nvidia-settings-256.52 ~x86" >> /etc/portage/package.keywords



Regards,
HUjuice
_________________
Who hasn't a spine, should have a method.
Chi non ha carattere, deve pur avere un metodo.


Last edited by hujuice on Tue Dec 21, 2010 8:59 pm; edited 2 times in total
Back to top
View user's profile Send private message
sleepingsun
Guru
Guru


Joined: 03 May 2006
Posts: 477
Location: Bosnia

PostPosted: Mon Dec 20, 2010 8:41 pm    Post subject: Reply with quote

Edited

Thanks !

I also fix this with emerge latest nvidia-driers and settings in 64bit

i just change ~x86 to ~amd6 !

Also i must unmerge older nvidia-settings that i can upgrade to new ... than reboot and works

Thanks !
_________________
Gentoo is Rocks


Last edited by sleepingsun on Mon Dec 20, 2010 9:18 pm; edited 1 time in total
Back to top
View user's profile Send private message
hujuice
Guru
Guru


Joined: 16 Oct 2007
Posts: 352
Location: Nicosia, Cyprus

PostPosted: Mon Dec 20, 2010 9:17 pm    Post subject: Reply with quote

The simplest solution for amd64 is
Code:
echo "x11-drivers/nvidia-drivers ~amd64" >> /etc/portage/package.keyword
echo "media-video/nvidia-settings ~amd64" >> /etc/portage/package.keyword

Edit: the above lines lack a final "s" each...
Code:
echo "x11-drivers/nvidia-drivers ~amd64" >> /etc/portage/package.keywords
echo "media-video/nvidia-settings ~amd64" >> /etc/portage/package.keywords

and then emerge again.

Regards,
HUjuice
_________________
Who hasn't a spine, should have a method.
Chi non ha carattere, deve pur avere un metodo.


Last edited by hujuice on Tue Dec 21, 2010 8:59 pm; edited 1 time in total
Back to top
View user's profile Send private message
gerard27
Advocate
Advocate


Joined: 04 Jan 2004
Posts: 2377
Location: Netherlands

PostPosted: Mon Dec 20, 2010 10:55 pm    Post subject: Reply with quote

I was faced by the same problems.
I found this thread and followed the advice and managed to get it working.
Glxgears don't run smooth but the framerate is the same as before.
When I do "glxinfo" I get the message
Code:

name of display: :0.0
NVIDIA: could not open the device file /dev/nvidiactl (Permission denied).
display: :0  screen: 0
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)

Eselect opengl list gives me nvidia*.

Gerard.
_________________
To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2665
Location: Slovenia

PostPosted: Mon Dec 20, 2010 11:00 pm    Post subject: Reply with quote

@gerard82: You need to be in the 'video' group.

Just curious: Have you tried running something OpenGL that's not glxgears?
Back to top
View user's profile Send private message
gerard27
Advocate
Advocate


Joined: 04 Jan 2004
Posts: 2377
Location: Netherlands

PostPosted: Mon Dec 20, 2010 11:13 pm    Post subject: Reply with quote

You were right Gusar.
After I added myself to the video group all is ok.

I know very well glxgears is no benchmark but it's quick to do.
It now runs smooth while before it was jerky.

Why do I have to add myself to the video group all of a sudden?

Gerard.
Edit: Almost forgot:Thanks a heap.
_________________
To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download


Last edited by gerard27 on Mon Dec 20, 2010 11:19 pm; edited 1 time in total
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2665
Location: Slovenia

PostPosted: Mon Dec 20, 2010 11:18 pm    Post subject: Reply with quote

gerard82 wrote:
I know very well glxgears is no benchmark but it's quick to do.

This case clearly showed glxgears told you nothing! It doesn't matter that it's "quick to do", what it spits out has no relevance whatsoever for *actual* apps.

gerard82 wrote:
Why do I have to add myself to the video group all of a sudden?

It's not all of a sudden, it's been a requirement for a long time now.
Back to top
View user's profile Send private message
sleepingsun
Guru
Guru


Joined: 03 May 2006
Posts: 477
Location: Bosnia

PostPosted: Tue Dec 21, 2010 9:40 am    Post subject: Reply with quote

hujuice wrote:
The simplest solution for amd64 is
Code:
echo "x11-drivers/nvidia-drivers ~amd64" >> /etc/portage/package.keyword
echo "media-video/nvidia-settings ~amd64" >> /etc/portage/package.keyword

and then emerge again.

Regards,
HUjuice


Doesnt no why this doesnt work i add also latest version also and not worked i installed with ACCEPT_KEYWORDS="~amd64" emerge.....

and works
_________________
Gentoo is Rocks
Back to top
View user's profile Send private message
SkyLine
n00b
n00b


Joined: 11 Oct 2006
Posts: 36

PostPosted: Tue Dec 21, 2010 4:17 pm    Post subject: Reply with quote

Today, after emerge -uvDN world, I just upgrade kernel (gentoo-sources) with genkernel. Then I run module-rebuild rebuild, but it gives nvidia-drivers errors.

I Just added two line in /etc/portage/package.keywords ( Please Check Your File Name, /etc/portage/package.keyword is mistake file name )

    x11-drivers/nvidia-drivers
    media-video/nvidia-settings


And re emerge -uvDN world, then newly nvidia-drivers emerged.

    Mon Nov 1 12:17:02 2010 >>> x11-drivers/nvidia-drivers-195.36.31
    Tue Dec 21 15:04:12 2010 >>> x11-drivers/nvidia-drivers-260.19.29


After rebooting machine, gdm/xdm with nvidia-drivers works with 2.6.36-r5

machine uname -a is
    Linux h2a 2.6.36-gentoo-r5 #1 SMP Tue Dec 21 13:47:02 EET 2010 x86_64 AMD Sempron(tm) Processor 3200+ AuthenticAMD GNU/Linux
Back to top
View user's profile Send private message
sleepingsun
Guru
Guru


Joined: 03 May 2006
Posts: 477
Location: Bosnia

PostPosted: Tue Dec 21, 2010 5:39 pm    Post subject: Reply with quote

Didnt see too much works :oops:

Works like you sad ! :wink:

Thankie

Hope so that will be unmasked work like charm
_________________
Gentoo is Rocks
Back to top
View user's profile Send private message
hujuice
Guru
Guru


Joined: 16 Oct 2007
Posts: 352
Location: Nicosia, Cyprus

PostPosted: Tue Dec 21, 2010 8:56 pm    Post subject: Reply with quote

Sorry, I've lost an "s"... :oops:
HUjuice
_________________
Who hasn't a spine, should have a method.
Chi non ha carattere, deve pur avere un metodo.
Back to top
View user's profile Send private message
g3om1s
n00b
n00b


Joined: 21 Feb 2010
Posts: 8

PostPosted: Tue Dec 21, 2010 10:00 pm    Post subject: Reply with quote

sleepingsun wrote:
hujuice wrote:
The simplest solution for amd64 is
Code:
echo "x11-drivers/nvidia-drivers ~amd64" >> /etc/portage/package.keyword
echo "media-video/nvidia-settings ~amd64" >> /etc/portage/package.keyword

and then emerge again.

Regards,
HUjuice


Doesnt no why this doesnt work i add also latest version also and not worked i installed with ACCEPT_KEYWORDS="~amd64" emerge.....

and works


Hi guys on issue here that in portage-2.1.9 and newer versions of portage the package.keywords configuration file in /etc/portage/ is now deprecated.
Instead use the package.accept_keywords file which has the same format and behavior
Back to top
View user's profile Send private message
hujuice
Guru
Guru


Joined: 16 Oct 2007
Posts: 352
Location: Nicosia, Cyprus

PostPosted: Tue Dec 21, 2010 10:37 pm    Post subject: Reply with quote

g3om1s wrote:

Hi guys on issue here that in portage-2.1.9 and newer versions of portage the package.keywords configuration file in /etc/portage/ is now deprecated.
Instead use the package.accept_keywords file which has the same format and behavior


8O

man portage wrote:

...
package.accept_keywords and package.keywords
...
The package.accept_keywords file is intended to replace the package.keywords file.
...


Thank you g3om1s,
HUjuice
_________________
Who hasn't a spine, should have a method.
Chi non ha carattere, deve pur avere un metodo.
Back to top
View user's profile Send private message
psdasilva
Apprentice
Apprentice


Joined: 03 Sep 2005
Posts: 239

PostPosted: Wed Dec 22, 2010 2:07 am    Post subject: Reply with quote

gerard82 wrote:

Glxgears don't run smooth but the framerate is the same as before.
Gerard.


What package does glxgears belong to? I don't have it anymore!
Back to top
View user's profile Send private message
psheldon
n00b
n00b


Joined: 02 Apr 2006
Posts: 53
Location: South Africa

PostPosted: Wed Dec 22, 2010 4:22 am    Post subject: Reply with quote

x11-apps/mesa-progs
Available versions: 7.7
Installed versions: 7.7(16:53:41 10/28/10)
Homepage: http://mesa3d.sourceforge.net/
Description: Mesa's OpenGL utility and demo programs (glxgears and glxinfo)
Back to top
View user's profile Send private message
psdasilva
Apprentice
Apprentice


Joined: 03 Sep 2005
Posts: 239

PostPosted: Wed Dec 22, 2010 11:24 pm    Post subject: Reply with quote

@psheldon
Thank you.
Back to top
View user's profile Send private message
lyallp
Veteran
Veteran


Joined: 15 Jul 2004
Posts: 1635
Location: Adelaide/Australia

PostPosted: Fri Jan 21, 2011 1:45 pm    Post subject: Reply with quote

g3om1s wrote:


Hi guys on issue here that in portage-2.1.9 and newer versions of portage the package.keywords configuration file in /etc/portage/ is now deprecated.
Instead use the package.accept_keywords file which has the same format and behavior


man portage( 8 )

/etc/portage/package.accept_keywords can be a directory, not just a file.
_________________
...Lyall
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum