1 |
On 22/06/12 15:30, walt wrote: |
2 |
> On 06/21/2012 12:47 PM, walt wrote: |
3 |
>> On 06/20/2012 07:46 AM, Nikos Chantziaras wrote: |
4 |
>>> On 20/06/12 17:04, walt wrote: |
5 |
>>>> On 06/18/2012 02:29 AM, Philip Webb wrote: |
6 |
>>>>> 120615 Nikos Chantziaras wrote: |
7 |
>>>>>> 2012/6/15 Philip Webb <purslow@××××××××.net> |
8 |
>>>>>>> after installing Kernel 3.4 , Nvidia-drivers 295.49 wouldn't |
9 |
>>>>>>> compile. |
10 |
>>>>>> I can see that 295.53 and 295.59 are available. Use 295.59. |
11 |
>>>>> |
12 |
>>>>> I've updated to the latest testing 302.17 & it's working ok so far. |
13 |
>>>> |
14 |
>>>> I just did the same update. I thought at first everything was okay, |
15 |
>>>> then I ran glxgears, which runs at 1/5 normal speed. Going back to |
16 |
>>>> 295.59 fixed it. Very puzzling, since there was nothing unusual in |
17 |
>>>> Xorg.0.log. |
18 |
>>> |
19 |
>>> http://www.nvnews.net/vbulletin/showthread.php?t=176815 |
20 |
>> |
21 |
>> Would you mind translating that bulletin into Greek so I can |
22 |
>> understand it? ;) |
23 |
> |
24 |
> Aha. I re-emerged nvidia-drivers-302.17 and the lightbulb lit up: |
25 |
> |
26 |
> $glxgears |
27 |
> Running synchronized to the vertical refresh. The framerate should be |
28 |
> approximately the same as the monitor refresh rate. |
29 |
> 302 frames in 5.0 seconds = 60.292 FPS |
30 |
> |
31 |
> Sure enough, my monitor's vertical refresh rate is 60Hz. I guess the |
32 |
> logic is that the video card needn't render more frames than the monitor |
33 |
> can display each second? |
34 |
|
35 |
Yes. You can set this stuff up in the nvidia-settings control panel. |
36 |
Unfortunately, the Gentoo nvidia-drivers ebuild isn't the best, and it |
37 |
doesn't install a start-up launch script for nvidia-settings (like |
38 |
Ubuntu and other distros do.) So when you change settings, you need to |
39 |
manually run nvidia-settings to restore them again after every login. |
40 |
|
41 |
I solved this problem by creating an executable file: |
42 |
|
43 |
/etc/X11/xinit/xinitrc.d/95-nvidia-settings |
44 |
|
45 |
with the following contents: |
46 |
|
47 |
#!/bin/sh |
48 |
[ -x /opt/bin/nvidia-settings ] && |
49 |
/opt/bin/nvidia-settings --load-config-only > /dev/null 2>&1 |
50 |
|
51 |
This restores the settings automatically on every X11 login. Ah well, |
52 |
welcome to Gentoo :-P |