Public bug reported:

Binary package hint: nvidia-glx-180

Hello! I'm running up-to-date Jaunty on a machine with an nVidia 9600GT
card. It uses the nvidia-glx-180 binary driver. My screen is an HP
LP2475w.

Things mostly work great, but today I noticed something strange. Look at
what xrandr shows on my default configuration:

$ xrandr
Screen 0: minimum 320 x 175, current 1920 x 1200, maximum 1920 x 1200
default connected 1920x1200+0+0 0mm x 0mm
   1920x1200      50.0* 
[snipped lower res modes]

As far as I understand, that 50.0 should be the refresh rate. This is
weird, because my monitor claims it's receiving at 60Hz (which is the
monitor's recommended refresh rate). Also, when running glxgears with
__GL_SYNC_TO_VBLANK set I get ~60fps.

Not sure if related, but on some movies vlc (via XV output) shows
visible streaking as if the frames aren't flipped when they should be.
(Actually, __GL_SYNC_TO_VBLANK is always set, and in nvidia-settings
I've set the XVideo part to sync to vblank.) This isn't a performance
problem, for instance it happens repeatedly with some DVD-resolution
movies, but never on some HD movies.

Anyway, I've tried to tweak the refresh rate settings, with more strange
results. First I tried the nvidia-settings applet. It's display
configuration tab has an option for refresh rate. The default one is
"auto" (this gives me the strange 50/60Hz rate).

I tried setting it to "60Hz" (the only option available): xrandr now
shows "1920x1200      50.0    146.0* "; however, the monitor still
reports it's receiving at 60Hz. I've also tried other modes, without
much result. Look at this:

bogd...@mabelode:~$ xrandr --verbose
Screen 0: minimum 320 x 175, current 1920 x 1200, maximum 1920 x 1200
default connected 1920x1200+0+0 (0x209) normal (normal) 0mm x 0mm
        Identifier: 0x142
        Timestamp:  53627
        Subpixel:   unknown
        Clones:    
        CRTC:       0
        CRTCs:      0
  1920x1200 (0x143)  115.2MHz
        h: width  1920 start    0 end    0 total 1920 skew    0 clock   60.0KHz
        v: height 1200 start    0 end    0 total 1200           clock   50.0Hz
[snipped lower-res modes]
  1920x1200 (0x209)  336.4MHz *current
        h: width  1920 start    0 end    0 total 1920 skew    0 clock  175.2KHz
        v: height 1200 start    0 end    0 total 1200           clock  146.0Hz
  mymode (0x200)  154.0MHz +HSync -VSync
        h: width  1920 start 1968 end 2000 total 2080 skew    0 clock   74.0KHz
        v: height 1200 start 1203 end 1209 total 1235           clock   60.0Hz
  mymode2 (0x21b)  138.2MHz
        h: width  1920 start    0 end    0 total 1920 skew    0 clock   72.0KHz
        v: height 1200 start    0 end    0 total 1200           clock   60.0Hz

The first 1920x1200 is the "default" setting. The second 1920x1200 is
added by the driver, I think. It's selected by nvidia-settings when I
pick 60Hz as the resolution.

"mymode" was added manually by me using cvt. "mymode2" was also added by
me based on the existing 1920x1200 mode (just changed the clock speed to
get 60Hz). If I try to select one of these two with xrandr I always get
the 336.4MHz mode.

(It's also weird that xrandr reports my screen as 0mm×0mm.)

Does anyone have any idea what's going on?

The relevant portions of my xorg.conf are here:

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen         "Default Screen" 0 0
EndSection

Section "Module"
    Load           "glx"
EndSection

Section "Monitor"
    Identifier     "HP LP2475w"
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "nVidia 9600 GT"
    Driver         "nvidia"
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "nVidia 9600 GT"
    Monitor        "HP LP2475w"
    DefaultDepth    24
    
    Option         "NoLogo" "True"
    SubSection     "Display"
        Depth       24
        Modes      "1920x1200"
    EndSubSection
EndSection

** Affects: nvidia-graphics-drivers-180 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
[jaunty] weird refresh rate behavior with nvidia driver
https://bugs.launchpad.net/bugs/318511
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to