VAAPI, 24p, vsync, Ubuntu
#16
My guess: missing modelines.

This guide and google should help:
http://forum.xbmc.org/showthread.php?tid=54685
Reply
#17
Well okay, u have been right, the error in 50p and 60p mode was caused by modlines.

It is fixed now. But the stuttering in 24p is still the same.

I can check using O and xbmc tells me it runs with 24p, but my tv says it is 50 / 60 hz so... thats why ihave this slight stuttering if i leave the "change of framerate " disabled.

The questions / bug is why it is stuttering that much in real 24p mode.

Edit:

yeahyeah, i know that already.

Quote: 8.778] (II) fglrx(0): Monitor name: LG TV
[ 8.778] (II) fglrx(0): Number of EDID sections to follow: 1
[ 8.778] (II) fglrx(0): EDID (in hex):
[ 8.778] (II) fglrx(0): 00000000000000003a20454449442028
[ 8.778] (II) fglrx(0): 696e20686578293a0a000a00000a0026
[ 8.778] (II) fglrx(0): 0f5054a10800714f5100000000000000
[ 8.778] (II) fglrx(0): 00000000000000003a204e756d626572
[ 8.778] (II) fglrx(0): 206f6620454449442073656374696f6e
[ 8.778] (II) fglrx(0): 7320746f20666f6c6c6f773a2025690a
[ 8.778] (II) fglrx(0): 007669643a2025690a002020000000fc
[ 8.778] (II) fglrx(0): 004c472054560a204100000000000000
[ 8.778] (II) fglrx(0): EDID vendor "GSM", prod id 1
[ 8.778] (II) fglrx(0): Using EDID range info for horizontal sync
[ 8.778] (II) fglrx(0): Using EDID range info for vertical refresh
[ 8.778] (II) fglrx(0): Printing DDC gathered Modelines:
[ 8.778] (II) fglrx(0): Modeline "1920x1080"x0.0 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync (67.5 kHz)
[ 8.778] (II) fglrx(0): Modeline "1280x720"x0.0 74.25 1280 1390 1430 1650 720 725 730 750 +hsync +vsync (45.0 kHz)
[ 8.778] (II) fglrx(0): Modeline "800x600"x0.0 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz)
[ 8.778] (II) fglrx(0): Modeline "640x480"x0.0 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz)
[ 8.778] (II) fglrx(0): Modeline "720x400"x0.0 28.32 720 738 846 900 400 412 414 449 -hsync +vsync (31.5 kHz)
[ 8.778] (II) fglrx(0): Modeline "1024x768"x0.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz)
[ 8.778] (II) fglrx(0): Modeline "1152x864"x0.0 108.00 1152 1216 1344 1600 864 865 868 900 +hsync +vsync (67.5 kHz)
[ 8.778] (II) fglrx(0): Modeline "1280x1024"x0.0 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync (64.0 kHz)
[ 8.824] (II) fglrx(0): Printing probed modes for output DFP1
[ 8.824] (II) fglrx(0): Modeline "1920x1080@50p"x50.0 148.50 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync (56.2 kHz)
[ 8.824] (II) fglrx(0): Modeline "1920x1080"x60.0 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync (67.5 kHz)
[ 8.824] (II) fglrx(0): Modeline "1920x1080@60p"x60.0 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync (67.5 kHz)
[ 8.824] (II) fglrx(0): Modeline "1920x1080"x50.0 148.50 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync (56.2 kHz)
[ 8.824] (II) fglrx(0): Modeline "1920x1080"x59.9 148.35 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync (67.4 kHz)
[ 8.824] (II) fglrx(0): Modeline "[email protected]"x59.9 148.35 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync (67.4 kHz)
[ 8.824] (II) fglrx(0): Modeline "1920x1080@24p"x24.0 74.25 1920 2558 2602 2750 1080 1084 1089 1125 +hsync +vsync (27.0 kHz)
[ 8.824] (II) fglrx(0): Modeline "1920x1080"x60.0 74.25 1920 2008 2052 2200 1080 1085 1095 1125 interlace +hsync +vsync (33.8 kHz)
[ 8.824] (II) fglrx(0): Modeline "1920x1080"x50.0 74.25 1920 2448 2492 2640 1080 1085 1095 1125 interlace +hsync +vsync (28.1 kHz)
[ 8.824] (II) fglrx(0): Modeline "1920x1080"x30.0 74.25 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync (33.8 kHz)
[ 8.824] (II) fglrx(0): Modeline "1920x1080"x25.0 74.25 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync (28.1 kHz)
[ 8.824] (II) fglrx(0): Modeline "1920x1080"x24.0 74.25 1920 2558 2602 2750 1080 1084 1089 1125 +hsync +vsync (27.0 kHz)
[ 8.824] (II) fglrx(0): Modeline "1920x1080"x59.9 74.18 1920 2008 2052 2200 1080 1085 1095 1125 interlace +hsync +vsync (33.7 kHz)
[ 8.824] (II) fglrx(0): Modeline "1920x1080"x30.0 74.18 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync (33.7 kHz)
[ 8.824] (II) fglrx(0): Modeline "1920x1080"x24.0 74.18 1920 2558 2602 2750 1080 1084 1089 1125 +hsync +vsync (27.0 kHz)

so i changed my config file to this:

Quote:root@htpc:/home/xbmc# more /etc/X11/xorg.conf
Section "ServerLayout"
Identifier "aticonfig Layout"
Screen 0 "aticonfig-Screen[0]-0" 0 0
EndSection

Section "Module"
EndSection

Section "Monitor"
Identifier "aticonfig-Monitor[0]-0"
Option "VendorName" "ATI Proprietary Driver"
# Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
Modeline "1920x1080@24p" 74.25 1920 2558 2602 2750 1080 1084 1089 1125 +hsync +vsync
Modeline "1920x1080@50p" 148.50 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync
Modeline "[email protected]" 148.35 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync
Modeline "1920x1080@60p" 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync
EndSection

Section "Device"
Identifier "aticonfig-Device[0]-0"
Driver "fglrx"
BusID "PCI:0:1:0"
EndSection

Section "Screen"
Identifier "aticonfig-Screen[0]-0"
Device "aticonfig-Device[0]-0"
Monitor "aticonfig-Monitor[0]-0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1920x1080@50p" "[email protected]" "1920x1080@24p" "1920x1080@60p"
EndSubSection
EndSection

root@htpc:/home/xbmc#


correct?
Reply
#18
a full debog log would help. ALso Xorg.log is usefull. And also you should check EDID for correct info. And as always with Linux debugging: dmesg is a great help in seeing what is happening.
Reply
#19
hmm i think the modlines are correct as they are working with my nvidia card.
And they did a fine job on my zacate fixing this line bug on top in 50p and 60p mode.

Second strange thing is, that if i am watching avatar for example, i have this heavy stuttering in 24p mode... but after a few minutes of whatching ithe movie the problem is gone...

If i forward via keystroke, it stutters again....

Edit: ist seems like vsync tries to sync and cant sync, and after a while it becomes better and better and then, gone... smooth playback after ~ 3 minutes...
Reply
#20
Modelines seem ok. But I can't tell anything without logging? Xorg.0.log, aticonfig, glxinfo, xbmc.log

see:
https://wiki.ubuntu.com/X/Config/Resolution#statically setup in xorg.conf
https://wiki.ubuntu.com/X/Debugging
Reply
#21
okay.

xbmc.log
http://dl.dropbox.com/u/21136636/xbmc.log
aticonfig
http://dl.dropbox.com/u/21136636/aticonfig

edit
glxinfo
http://dl.dropbox.com/u/21136636/glxinfo.txt


anything else? =)


Edit: i have to say that the first time i had zacate msi running fine here on my desk, i was having my older Tv and could not check 24p mode...
Reply
#22
Looks like audio and video are out of sync...
Reply
#23
Did you test all settings in playback settings (xbmc, settings)? A/V sync method?
Reply
#24
i only tested in system setings vsync on off and in video settings vaapi on off and "change of frame rate" on off

The av sync problem could be there because i did not fix the sound yet so the message "could not initialize" appears... but that should not be the stuttering problem in 24p
Reply
#25
I have the sound working on my machine, and still have the problem.
I tested basically all settings, except the one that syncs to the audio clock.
Reply
#26
=/

Does anybody have experience with older drivers, XBMC and libva versions? In my first test on February i tested the MSI but only on a 25hz TV and it worked fine so far, i had some artifacts in some, rare movies.

I think this is no libva problem as the movie plays fine with having vsync disabled. Maybe a newer XBMC bug?
Reply
#27
Krautmaster Wrote:I think this is no libva problem as the movie plays fine with having vsync disabled. Maybe a newer XBMC bug?

No, it's not, and neither driver problem. I tested the same driver, same libva with mplayer, and it works fine. It's something with XBMC...
Reply
#28
okay thanks. Do u know if it is a new bug in Eden or is it already in Dharma? I know that i have to patch the normal Dharma version with a VAAPI patch to avoid stuttering on AMD Systems.
Reply
#29
Krautmaster Wrote:okay thanks. Do u know if it is a new bug in Eden or is it already in Dharma? I know that i have to patch the normal Dharma version with a VAAPI patch to avoid stuttering on AMD Systems.

This is a different issue. I tried Dharma 10.0 with the framebuffer patch you mention, and built the latest git version (which suppose to have the patch), and both have this problem. I guess it's a similar issue, because from what i see it seems to be a reused framebuffer problem, but of course I'm just guessing.

The point is, no matter what version I try, the problem is there, but only with vaapi+24p+vsync-on combination. Any other combination works.

ps.
Btw, have you seen the clip that i have recorded demonstrating the problem? Are you sure you experience the same issue? This is a very bad stuttering, the movie is practically unwatchable. And i try to play a move for 10 minutes and the problem didn't go at all. It's just as bad after 10 minutes as in the first few seconds.
Reply
#30
so whats going on here ? =/ fixed?
Reply

Logout Mark Read Team Forum Stats Members Help
VAAPI, 24p, vsync, Ubuntu0