public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Nvidia-drivers + kernel 3.4
@ 2012-06-15  5:19 Philip Webb
  2012-06-15 11:42 ` microcai
  0 siblings, 1 reply; 19+ messages in thread
From: Philip Webb @ 2012-06-15  5:19 UTC (permalink / raw
  To: Gentoo User

I haven't seen any mention of the problem here,
but after installing Kernel 3.4 , Nvidia-drivers 295.49 wouldn't compile.
The solution (via Google + Launchpad bugzilla) is to copy  4  header files
from  /usr/src/linux/arch/arm/include/asm  to  -/-/-/-/x86/include/asm :
 system.h compiler.h system_info.h system_misc.h .

Also the Ethernet kernel config lines have changed a bit
& I had to ask explicitly for my mobo's version with 'r8169'.

HTH others

-- 
========================,,============================================
SUPPORT     ___________//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT    `-O----------O---'   purslowatchassdotutorontodotca




^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [gentoo-user] Nvidia-drivers + kernel 3.4
  2012-06-15  5:19 [gentoo-user] Nvidia-drivers + kernel 3.4 Philip Webb
@ 2012-06-15 11:42 ` microcai
  2012-06-15 15:14   ` Philip Webb
  0 siblings, 1 reply; 19+ messages in thread
From: microcai @ 2012-06-15 11:42 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 807 bytes --]

don't, use 295.59 :)

2012/6/15 Philip Webb <purslow@ca.inter.net>

> I haven't seen any mention of the problem here,
> but after installing Kernel 3.4 , Nvidia-drivers 295.49 wouldn't compile.
> The solution (via Google + Launchpad bugzilla) is to copy  4  header files
> from  /usr/src/linux/arch/arm/include/asm  to  -/-/-/-/x86/include/asm :
>  system.h compiler.h system_info.h system_misc.h .
>
> Also the Ethernet kernel config lines have changed a bit
> & I had to ask explicitly for my mobo's version with 'r8169'.
>
> HTH others
>
> --
> ========================,,============================================
> SUPPORT     ___________//___,   Philip Webb
> ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
> TRANSIT    `-O----------O---'   purslowatchassdotutorontodotca
>
>
>

[-- Attachment #2: Type: text/html, Size: 1217 bytes --]

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [gentoo-user] Nvidia-drivers + kernel 3.4
  2012-06-15 11:42 ` microcai
@ 2012-06-15 15:14   ` Philip Webb
  2012-06-15 15:35     ` [gentoo-user] " Nikos Chantziaras
  0 siblings, 1 reply; 19+ messages in thread
From: Philip Webb @ 2012-06-15 15:14 UTC (permalink / raw
  To: gentoo-user

120615 microcai wrote:
> 2012/6/15 Philip Webb <purslow@ca.inter.net>
>> after installing Kernel 3.4 , Nvidia-drivers 295.49 wouldn't compile.
>> The solution (via Google + Launchpad bugzilla) is to copy  4  header files
>> from  /usr/src/linux/arch/arm/include/asm  to  -/-/-/-/x86/include/asm :
>>  system.h compiler.h system_info.h system_misc.h .
>> Also the Ethernet kernel config lines have changed a bit
>> & I had to ask explicitly for my mobo's version with 'r8169'.
> don't, use 295.59 :)

Do you mean "Don't use 295.59" or "Don't use 295.49, use 295.59" ?
In any case, do you mean '295.49' or '295.53', the only versions available ?

-- 
========================,,============================================
SUPPORT     ___________//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT    `-O----------O---'   purslowatchassdotutorontodotca




^ permalink raw reply	[flat|nested] 19+ messages in thread

* [gentoo-user] Re: Nvidia-drivers + kernel 3.4
  2012-06-15 15:14   ` Philip Webb
@ 2012-06-15 15:35     ` Nikos Chantziaras
  2012-06-18  9:29       ` Philip Webb
  0 siblings, 1 reply; 19+ messages in thread
From: Nikos Chantziaras @ 2012-06-15 15:35 UTC (permalink / raw
  To: gentoo-user

On 15/06/12 18:14, Philip Webb wrote:
> 120615 microcai wrote:
>> 2012/6/15 Philip Webb <purslow@ca.inter.net>
>>> after installing Kernel 3.4 , Nvidia-drivers 295.49 wouldn't compile.
>>> The solution (via Google + Launchpad bugzilla) is to copy  4  header files
>>> from  /usr/src/linux/arch/arm/include/asm  to  -/-/-/-/x86/include/asm :
>>>   system.h compiler.h system_info.h system_misc.h .
>>> Also the Ethernet kernel config lines have changed a bit
>>> & I had to ask explicitly for my mobo's version with 'r8169'.
>> don't, use 295.59 :)
>
> Do you mean "Don't use 295.59" or "Don't use 295.49, use 295.59" ?
> In any case, do you mean '295.49' or '295.53', the only versions available ?

I can see that 295.53 and 295.59 are available.  Use 295.59.




^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [gentoo-user] Re: Nvidia-drivers + kernel 3.4
  2012-06-15 15:35     ` [gentoo-user] " Nikos Chantziaras
@ 2012-06-18  9:29       ` Philip Webb
  2012-06-20  1:28         ` Walter Dnes
                           ` (2 more replies)
  0 siblings, 3 replies; 19+ messages in thread
From: Philip Webb @ 2012-06-18  9:29 UTC (permalink / raw
  To: gentoo-user

120615 Nikos Chantziaras wrote:
> 2012/6/15 Philip Webb <purslow@ca.inter.net>
>> after installing Kernel 3.4 , Nvidia-drivers 295.49 wouldn't compile.
> I can see that 295.53 and 295.59 are available.  Use 295.59.

I've updated to the latest testing 302.17 & it's working ok so far.

-- 
========================,,============================================
SUPPORT     ___________//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT    `-O----------O---'   purslowatchassdotutorontodotca




^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [gentoo-user] Re: Nvidia-drivers + kernel 3.4
  2012-06-18  9:29       ` Philip Webb
@ 2012-06-20  1:28         ` Walter Dnes
  2012-06-20 14:04         ` walt
  2012-06-21  8:00         ` Daniel Troeder
  2 siblings, 0 replies; 19+ messages in thread
From: Walter Dnes @ 2012-06-20  1:28 UTC (permalink / raw
  To: gentoo-user

On Mon, Jun 18, 2012 at 05:29:13AM -0400, Philip Webb wrote

> I've updated to the latest testing 302.17 & it's working ok so far.

<AOL> Me too </AOL>.  Thanks for starting the thread, and giving the
answer.  I ran an update last night, and X wouldn't restart today.  I
remembered the thread, keyworded 302.17, and am back up and running.

-- 
Walter Dnes <waltdnes@waltdnes.org>



^ permalink raw reply	[flat|nested] 19+ messages in thread

* [gentoo-user] Re: Nvidia-drivers + kernel 3.4
  2012-06-18  9:29       ` Philip Webb
  2012-06-20  1:28         ` Walter Dnes
@ 2012-06-20 14:04         ` walt
  2012-06-20 14:46           ` Nikos Chantziaras
  2012-06-21  2:47           ` Walter Dnes
  2012-06-21  8:00         ` Daniel Troeder
  2 siblings, 2 replies; 19+ messages in thread
From: walt @ 2012-06-20 14:04 UTC (permalink / raw
  To: gentoo-user

On 06/18/2012 02:29 AM, Philip Webb wrote:
> 120615 Nikos Chantziaras wrote:
>> 2012/6/15 Philip Webb <purslow@ca.inter.net>
>>> after installing Kernel 3.4 , Nvidia-drivers 295.49 wouldn't compile.
>> I can see that 295.53 and 295.59 are available.  Use 295.59.
> 
> I've updated to the latest testing 302.17 & it's working ok so far.

I just did the same update.  I thought at first everything was okay,
then I ran glxgears, which runs at 1/5 normal speed.  Going back to
295.59 fixed it.  Very puzzling, since there was nothing unusual in
Xorg.0.log.







^ permalink raw reply	[flat|nested] 19+ messages in thread

* [gentoo-user] Re: Nvidia-drivers + kernel 3.4
  2012-06-20 14:04         ` walt
@ 2012-06-20 14:46           ` Nikos Chantziaras
  2012-06-21 19:47             ` walt
  2012-06-21  2:47           ` Walter Dnes
  1 sibling, 1 reply; 19+ messages in thread
From: Nikos Chantziaras @ 2012-06-20 14:46 UTC (permalink / raw
  To: gentoo-user

On 20/06/12 17:04, walt wrote:
> On 06/18/2012 02:29 AM, Philip Webb wrote:
>> 120615 Nikos Chantziaras wrote:
>>> 2012/6/15 Philip Webb <purslow@ca.inter.net>
>>>> after installing Kernel 3.4 , Nvidia-drivers 295.49 wouldn't compile.
>>> I can see that 295.53 and 295.59 are available.  Use 295.59.
>>
>> I've updated to the latest testing 302.17 & it's working ok so far.
>
> I just did the same update.  I thought at first everything was okay,
> then I ran glxgears, which runs at 1/5 normal speed.  Going back to
> 295.59 fixed it.  Very puzzling, since there was nothing unusual in
> Xorg.0.log.

http://www.nvnews.net/vbulletin/showthread.php?t=176815




^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [gentoo-user] Re: Nvidia-drivers + kernel 3.4
  2012-06-20 14:04         ` walt
  2012-06-20 14:46           ` Nikos Chantziaras
@ 2012-06-21  2:47           ` Walter Dnes
  2012-06-21  3:28             ` João Matos
  2012-06-21  8:00             ` Alan McKinnon
  1 sibling, 2 replies; 19+ messages in thread
From: Walter Dnes @ 2012-06-21  2:47 UTC (permalink / raw
  To: gentoo-user

On Wed, Jun 20, 2012 at 07:04:13AM -0700, walt wrote

> I just did the same update.  I thought at first everything was okay,
> then I ran glxgears, which runs at 1/5 normal speed.  Going back to
> 295.59 fixed it.  Very puzzling, since there was nothing unusual in
> Xorg.0.log.

  What does glxgears prove anyways?  With 295.59 I get 5300 fps, and
302.17 gives me 3 spf (yes... seconds per frame!!!).  But Youtube, etc
seems to function the same.  So I'm wondering about the point of
glxgears.

-- 
Walter Dnes <waltdnes@waltdnes.org>



^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [gentoo-user] Re: Nvidia-drivers + kernel 3.4
  2012-06-21  2:47           ` Walter Dnes
@ 2012-06-21  3:28             ` João Matos
  2012-06-21 16:16               ` Peter Humphrey
  2012-06-21  8:00             ` Alan McKinnon
  1 sibling, 1 reply; 19+ messages in thread
From: João Matos @ 2012-06-21  3:28 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 992 bytes --]

*glxgears is not a benchmark.
http://wiki.cchtml.com/index.php/Glxgears_is_not_a_Benchmark

 I've heard that this http://www.phoronix-test-suite.com/?k=downloads is a
good option*, but I still didn't have time to try it.


2012/6/20 Walter Dnes <waltdnes@waltdnes.org>

> On Wed, Jun 20, 2012 at 07:04:13AM -0700, walt wrote
>
> > I just did the same update.  I thought at first everything was okay,
> > then I ran glxgears, which runs at 1/5 normal speed.  Going back to
> > 295.59 fixed it.  Very puzzling, since there was nothing unusual in
> > Xorg.0.log.
>
>   What does glxgears prove anyways?  With 295.59 I get 5300 fps, and
> 302.17 gives me 3 spf (yes... seconds per frame!!!).  But Youtube, etc
> seems to function the same.  So I'm wondering about the point of
> glxgears.
>
> --
> Walter Dnes <waltdnes@waltdnes.org>
>
>


-- 
João de Matos
Linux User #461527
Graduando em Engenharia de Computação
UEFS - Universidade Estadual de Feira de Santana

[-- Attachment #2: Type: text/html, Size: 1636 bytes --]

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [gentoo-user] Re: Nvidia-drivers + kernel 3.4
  2012-06-18  9:29       ` Philip Webb
  2012-06-20  1:28         ` Walter Dnes
  2012-06-20 14:04         ` walt
@ 2012-06-21  8:00         ` Daniel Troeder
  2012-06-21  9:49           ` Philip Webb
  2 siblings, 1 reply; 19+ messages in thread
From: Daniel Troeder @ 2012-06-21  8:00 UTC (permalink / raw
  To: gentoo-user

On 18.06.2012 11:29, Philip Webb wrote:
> I've updated to the latest testing 302.17 & it's working ok so far.
Just wanted to let you know, that there is a bug that affects lots of
people with 302.xx: X-console-switch and resume-from-suspend are broken.

http://www.nvnews.net/vbulletin/showthread.php?t=179956
http://www.nvnews.net/vbulletin/showthread.php?t=179891

I have to revert back to 295.xx for my notebook to suspend again :(

Greetings,
Daniel



^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [gentoo-user] Re: Nvidia-drivers + kernel 3.4
  2012-06-21  2:47           ` Walter Dnes
  2012-06-21  3:28             ` João Matos
@ 2012-06-21  8:00             ` Alan McKinnon
  1 sibling, 0 replies; 19+ messages in thread
From: Alan McKinnon @ 2012-06-21  8:00 UTC (permalink / raw
  To: gentoo-user

On Wed, 20 Jun 2012 22:47:08 -0400
"Walter Dnes" <waltdnes@waltdnes.org> wrote:

> On Wed, Jun 20, 2012 at 07:04:13AM -0700, walt wrote
> 
> > I just did the same update.  I thought at first everything was okay,
> > then I ran glxgears, which runs at 1/5 normal speed.  Going back to
> > 295.59 fixed it.  Very puzzling, since there was nothing unusual in
> > Xorg.0.log.
> 
>   What does glxgears prove anyways?  With 295.59 I get 5300 fps, and
> 302.17 gives me 3 spf (yes... seconds per frame!!!).  But Youtube, etc
> seems to function the same.  So I'm wondering about the point of
> glxgears.
> 

glx gears shows you that stuff works or not.

So it's a quick go-no go test, just not useful for measuring anything.
It's designed for the scenario where you want to judge relatively how
well things are working today video-wise. Now, you could run a 3D
rendering app, or play a video, or something like that and see how it
performs compared to the same thing yesterday. But those apps all do
many other things as well as drive the video card so you don't really
know what is influencing the mix.

With glxgears, all it does is drive the video and draw spinning gears,
nothing else. So if version X-1 yesterday worked fine and the video was
smooth, but version X today plays very jerkily, and nothing else
changed, then you know your system does not like version X.

It's a perfectly valid test, just don't trust the numbers - trust what
your eyes tell you.



-- 
Alan McKinnnon
alan.mckinnon@gmail.com




^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [gentoo-user] Re: Nvidia-drivers + kernel 3.4
  2012-06-21  8:00         ` Daniel Troeder
@ 2012-06-21  9:49           ` Philip Webb
  2012-06-21 12:15             ` Hartmut Figge
  2012-06-22  6:53             ` Walter Dnes
  0 siblings, 2 replies; 19+ messages in thread
From: Philip Webb @ 2012-06-21  9:49 UTC (permalink / raw
  To: gentoo-user

120621 Daniel Troeder wrote:
> On 18.06.2012 11:29, Philip Webb wrote:
>> I've updated to the latest testing 302.17 & it's working ok so far.
> that there is a bug that affects lots of people with 302.xx:
> X-console-switch and resume-from-suspend are broken.
> http://www.nvnews.net/vbulletin/showthread.php?t=179956
> http://www.nvnews.net/vbulletin/showthread.php?t=179891
> I have to revert back to 295.xx for my notebook to suspend again :(

I don't suspend on my machines: Nvidia is running on my desktop PC.

Commenting on the other msgs re Glxgears, (1) which pkg is it in ?
(2) there's a Gears screen in Xscreensaver, which I've seen today & is ok ;
(3) I managed to get a bit of video to run using Flash today.

I do have a problem that occasionally an image on Firefox overflows
& this then infects all the other desktop displays:
it is cured by killing FF & re-opening it.
That seems, however, to be due to Firefox 13 or possibly Flash,
not to Nvidia, which I've only just updated.

Thanks to both.

-- 
========================,,============================================
SUPPORT     ___________//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT    `-O----------O---'   purslowatchassdotutorontodotca




^ permalink raw reply	[flat|nested] 19+ messages in thread

* [gentoo-user] Re: Nvidia-drivers + kernel 3.4
  2012-06-21  9:49           ` Philip Webb
@ 2012-06-21 12:15             ` Hartmut Figge
  2012-06-22  6:53             ` Walter Dnes
  1 sibling, 0 replies; 19+ messages in thread
From: Hartmut Figge @ 2012-06-21 12:15 UTC (permalink / raw
  To: gentoo-user

Philip Webb:

>Commenting on the other msgs re Glxgears, (1) which pkg is it in ?

hafi@i5_64 ~ $ equery b glxgears
 * Searching for glxgears ...
x11-apps/mesa-progs-8.0.1 (/usr/bin/glxgears)

Hartmut
-- 
Usenet-ABC-Wiki http://www.usenet-abc.de/wiki/
Von Usern fuer User  :-)




^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [gentoo-user] Re: Nvidia-drivers + kernel 3.4
  2012-06-21  3:28             ` João Matos
@ 2012-06-21 16:16               ` Peter Humphrey
  0 siblings, 0 replies; 19+ messages in thread
From: Peter Humphrey @ 2012-06-21 16:16 UTC (permalink / raw
  To: gentoo-user

On Thursday 21 June 2012 04:28:35 João Matos wrote:

> I've heard that this http://www.phoronix-test-suite.com/?k=downloads
> is a good option

Portage includes app-benchmarks/phoronix-test-suite but it's keyworded. 
On this box 21 other packages need installing first, including PHP, MySQL 
and Apache. Perhaps I'll do it anyway just for fun.

-- 
Rgds
Peter



^ permalink raw reply	[flat|nested] 19+ messages in thread

* [gentoo-user] Re: Nvidia-drivers + kernel 3.4
  2012-06-20 14:46           ` Nikos Chantziaras
@ 2012-06-21 19:47             ` walt
  2012-06-22 12:30               ` walt
  0 siblings, 1 reply; 19+ messages in thread
From: walt @ 2012-06-21 19:47 UTC (permalink / raw
  To: gentoo-user

On 06/20/2012 07:46 AM, Nikos Chantziaras wrote:
> On 20/06/12 17:04, walt wrote:
>> On 06/18/2012 02:29 AM, Philip Webb wrote:
>>> 120615 Nikos Chantziaras wrote:
>>>> 2012/6/15 Philip Webb <purslow@ca.inter.net>
>>>>> after installing Kernel 3.4 , Nvidia-drivers 295.49 wouldn't compile.
>>>> I can see that 295.53 and 295.59 are available.  Use 295.59.
>>>
>>> I've updated to the latest testing 302.17 & it's working ok so far.
>>
>> I just did the same update.  I thought at first everything was okay,
>> then I ran glxgears, which runs at 1/5 normal speed.  Going back to
>> 295.59 fixed it.  Very puzzling, since there was nothing unusual in
>> Xorg.0.log.
> 
> http://www.nvnews.net/vbulletin/showthread.php?t=176815

Would you mind translating that bulletin into Greek so I can
understand it? ;)




^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [gentoo-user] Re: Nvidia-drivers + kernel 3.4
  2012-06-21  9:49           ` Philip Webb
  2012-06-21 12:15             ` Hartmut Figge
@ 2012-06-22  6:53             ` Walter Dnes
  1 sibling, 0 replies; 19+ messages in thread
From: Walter Dnes @ 2012-06-22  6:53 UTC (permalink / raw
  To: gentoo-user

On Thu, Jun 21, 2012 at 05:49:39AM -0400, Philip Webb wrote

> I don't suspend on my machines: Nvidia is running on my desktop PC.

  I live in a condo building, with a separate electric meter for each
suite.  I'm conserving a valuable resource, i.e. my bank account <G>, by
shutting down the machine overnight, etc.  I noticed a problem with
suspend, but I didn't realize the connection with Nvidia 302.17.

> I do have a problem that occasionally an image on Firefox overflows
> & this then infects all the other desktop displays: it is cured by
> killing FF & re-opening it.  That seems, however, to be due to Firefox
> 13 or possibly Flash, not to Nvidia, which I've only just updated.

  It seems to be a problem with Nvidia+Flash.  E.g. start a Youtube
Flash video in FF.  Then drag an xterm over the FF window.  You've seen
the images where xterms have a background image?  Well this goes one
step further... there's actually a live video image playing under the
text.  Somewhat distracting, to say the least.

-- 
Walter Dnes <waltdnes@waltdnes.org>



^ permalink raw reply	[flat|nested] 19+ messages in thread

* [gentoo-user] Re: Nvidia-drivers + kernel 3.4
  2012-06-21 19:47             ` walt
@ 2012-06-22 12:30               ` walt
  2012-06-22 16:45                 ` Nikos Chantziaras
  0 siblings, 1 reply; 19+ messages in thread
From: walt @ 2012-06-22 12:30 UTC (permalink / raw
  To: gentoo-user

On 06/21/2012 12:47 PM, walt wrote:
> On 06/20/2012 07:46 AM, Nikos Chantziaras wrote:
>> On 20/06/12 17:04, walt wrote:
>>> On 06/18/2012 02:29 AM, Philip Webb wrote:
>>>> 120615 Nikos Chantziaras wrote:
>>>>> 2012/6/15 Philip Webb <purslow@ca.inter.net>
>>>>>> after installing Kernel 3.4 , Nvidia-drivers 295.49 wouldn't compile.
>>>>> I can see that 295.53 and 295.59 are available.  Use 295.59.
>>>>
>>>> I've updated to the latest testing 302.17 & it's working ok so far.
>>>
>>> I just did the same update.  I thought at first everything was okay,
>>> then I ran glxgears, which runs at 1/5 normal speed.  Going back to
>>> 295.59 fixed it.  Very puzzling, since there was nothing unusual in
>>> Xorg.0.log.
>>
>> http://www.nvnews.net/vbulletin/showthread.php?t=176815
>
> Would you mind translating that bulletin into Greek so I can
> understand it? ;)

Aha.  I re-emerged nvidia-drivers-302.17 and the lightbulb lit up:

$glxgears
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
302 frames in 5.0 seconds = 60.292 FPS

Sure enough, my monitor's vertical refresh rate is 60Hz.  I guess the
logic is that the video card needn't render more frames than the monitor
can display each second?







^ permalink raw reply	[flat|nested] 19+ messages in thread

* [gentoo-user] Re: Nvidia-drivers + kernel 3.4
  2012-06-22 12:30               ` walt
@ 2012-06-22 16:45                 ` Nikos Chantziaras
  0 siblings, 0 replies; 19+ messages in thread
From: Nikos Chantziaras @ 2012-06-22 16:45 UTC (permalink / raw
  To: gentoo-user

On 22/06/12 15:30, walt wrote:
> On 06/21/2012 12:47 PM, walt wrote:
>> On 06/20/2012 07:46 AM, Nikos Chantziaras wrote:
>>> On 20/06/12 17:04, walt wrote:
>>>> On 06/18/2012 02:29 AM, Philip Webb wrote:
>>>>> 120615 Nikos Chantziaras wrote:
>>>>>> 2012/6/15 Philip Webb <purslow@ca.inter.net>
>>>>>>> after installing Kernel 3.4 , Nvidia-drivers 295.49 wouldn't
>>>>>>> compile.
>>>>>> I can see that 295.53 and 295.59 are available.  Use 295.59.
>>>>>
>>>>> I've updated to the latest testing 302.17 & it's working ok so far.
>>>>
>>>> I just did the same update.  I thought at first everything was okay,
>>>> then I ran glxgears, which runs at 1/5 normal speed.  Going back to
>>>> 295.59 fixed it.  Very puzzling, since there was nothing unusual in
>>>> Xorg.0.log.
>>>
>>> http://www.nvnews.net/vbulletin/showthread.php?t=176815
>>
>> Would you mind translating that bulletin into Greek so I can
>> understand it? ;)
>
> Aha.  I re-emerged nvidia-drivers-302.17 and the lightbulb lit up:
>
> $glxgears
> Running synchronized to the vertical refresh.  The framerate should be
> approximately the same as the monitor refresh rate.
> 302 frames in 5.0 seconds = 60.292 FPS
>
> Sure enough, my monitor's vertical refresh rate is 60Hz.  I guess the
> logic is that the video card needn't render more frames than the monitor
> can display each second?

Yes.  You can set this stuff up in the nvidia-settings control panel. 
Unfortunately, the Gentoo nvidia-drivers ebuild isn't the best, and it 
doesn't install a start-up launch script for nvidia-settings (like 
Ubuntu and other distros do.)  So when you change settings, you need to 
manually run nvidia-settings to restore them again after every login.

I solved this problem by creating an executable file:

   /etc/X11/xinit/xinitrc.d/95-nvidia-settings

with the following contents:

#!/bin/sh
[ -x /opt/bin/nvidia-settings ] &&
     /opt/bin/nvidia-settings --load-config-only > /dev/null 2>&1

This restores the settings automatically on every X11 login.  Ah well, 
welcome to Gentoo :-P




^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2012-06-22 16:48 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-15  5:19 [gentoo-user] Nvidia-drivers + kernel 3.4 Philip Webb
2012-06-15 11:42 ` microcai
2012-06-15 15:14   ` Philip Webb
2012-06-15 15:35     ` [gentoo-user] " Nikos Chantziaras
2012-06-18  9:29       ` Philip Webb
2012-06-20  1:28         ` Walter Dnes
2012-06-20 14:04         ` walt
2012-06-20 14:46           ` Nikos Chantziaras
2012-06-21 19:47             ` walt
2012-06-22 12:30               ` walt
2012-06-22 16:45                 ` Nikos Chantziaras
2012-06-21  2:47           ` Walter Dnes
2012-06-21  3:28             ` João Matos
2012-06-21 16:16               ` Peter Humphrey
2012-06-21  8:00             ` Alan McKinnon
2012-06-21  8:00         ` Daniel Troeder
2012-06-21  9:49           ` Philip Webb
2012-06-21 12:15             ` Hartmut Figge
2012-06-22  6:53             ` Walter Dnes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox