[mythtv-users] Enabiling OpenGL vertical sync

Jean-Yves Avenard jyavenard at gmail.com
Tue Sep 9 06:51:51 UTC 2008


Hi

2008/9/9 Mark Kendall <mark.kendall at gmail.com>:
> That's almost certainly your problem - the effect is not obvious but,
> as you say, irritating when you notice it.

xrandr reports:
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 1920 x 1920
VGA disconnected (normal left inverted right x axis y axis)
TMDS-1 connected 1920x1080+0+0 (normal left inverted right x axis y
axis) 1600mm x 900mm
   1920x1080      60.0*+
   1280x1024      59.9
   1280x720       60.0
   1024x768       60.0
   800x600        60.3
   640x480        60.0
TV disconnected (normal left inverted right x axis y axis)

When I try to force a modeline of 50Hz the TV reports incorrect input.

The manual also states that from a computer via HDMI the resolution
has to be set at 1920x1080 @ 60Hz.

The Samsung manual mentions the same thing too

However, I booted MacOS (it's a mac mini) and it did offer 50Hz PAL as an option
Using ResX I extracted the modeline...
Back to Linux:
xrandr --newmode "1920x1080_50" 148.5 1920 2448 2492 2640 1080 1084
1089 1125 +HSync +VSync
xrandr --addmode TMDS-1 "1920x1080_50"
xrandr --output TMDS-1 --mode "1920x1080_50"

And this time it worked !
Though I can't say for sure as all the TV will show is 1080p

Activating OpenGL vertical sync still shows the same issue:
2008-09-09 16:33:22.055 Using realtime priority.
greedyhdeint: size changed from 0 x 0 -> 720 x 576
2008-09-09 16:33:24.961 VideoOutputXv: XVideo Adaptor Name: 'Intel(R)
Video Overlay'
2008-09-09 16:33:25.081 OpenGLVideoSync()
2008-09-09 16:33:28.088 OpenGLVideoSync::Start(): A/V Sync reported
error: Bad Context
2008-09-09 16:33:28.089 Video timing method: SGI OpenGL
2008-09-09 16:33:31.088 OpenGLVideoSync::Start(): A/V Sync reported
error: Bad Context

However, the good news is: I've disabled OpenGL sync and now text
scrolling is finally perfect ! (well, there's jitter every 6s or so)
Damn, I've pulled my hair on that one for days !
Switching between the default mode (60Hz) and the 50Hz one and the
jitter is very obvious in 60Hz (it's news time, plenty of text
scrolling)

Edit: Actually, scrolling is perfect only of the "Motion Enhancer" is
set to High. Still not as good as what the built-in digital tuner is
doing (even with motion enhancer set to off) but much much better than
before

Thank you very much for suggesting 50Hz ....

Now if only I could set that modeline in xorg.conf, never managed to
get it working with ubuntu / intel (works perfectly as I want with
CentOS / nvidia)

>
> Is this over dvi-d or dvi-a? and is it going into a dvi port on the tv
> or hdmi (via adapter). I'd be very surprised if your tv doesn't accept
> 50hz setups - but you probably need to input via hdmi. (and if it
It's via DVI with a DVI->HDMI adapter.

I liked that TV because obviously it had the best picture in my
opinion (first wanted to get the Samsung 46" 650 TV) and it also has
an analog sound input for HDMI 1 so it made it very easy to hook up my
mini


> doesn't, I'm going to seriously reconsider buying the 46'' Sony i've
> been looking at!)

I wonder how they get 1080p24 working with a playstation 3 when the TV
isn't reporting it as available

>
> The intel driver should (I think) work out of the box with the dri
> vsync (no need to setup, just turn off opengl vsync).

Ok, I'll do that ; scrolling is pretty much to my satisfaction finally


More information about the mythtv-users mailing list