Problem with Ubuntu 8.04/nVidia: trashed video
#1
Question 
Hi,
I've upgraded my ubuntu to hardy heron 8.04 and recompiled XBMC.
The GUI and playing functions works well but I've a problem in full screen mode: when I hit "\" key to go in fullscreen mode the video in playback trash the screen and the monitor (1080p - 1920x1050) flicker. I think it loose a sort of sync.
I've a nVidia AGP video card (GeForce 7600 GS) and I use proprietary driver ("nvidia-glx-new" v. 169.12+2.6.24.12-16.34).
This is the xbmc.log:

Code:
[...]
16:04:49 T:3060312000 M: 22478848   DEBUG: OnKey: 65516 pressed, action is 199
16:04:49 T:3060312000 M: 21991424   DEBUG: Asking to resize surface to 1920 x 1080
16:04:50 T:2861300624 M: 21360640   ERROR:  - Timeout waiting for previous frame to be presented
16:04:51 T:2861300624 M: 21106688   ERROR:  - Timeout waiting for previous frame to be presented
16:04:52 T:2861300624 M: 20733952   ERROR:  - Timeout waiting for previous frame to be presented
16:04:53 T:2861300624 M: 20324352   ERROR:  - Timeout waiting for previous frame to be presented
16:04:53 T:2861300624 M: 20385792 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 2047, consumed: 8
16:04:54 T:2861300624 M: 19320832 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 2424, consumed: 8
16:04:54 T:2861300624 M: 19320832 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 2120, consumed: 8
16:04:54 T:3060312000 M: 20676608   DEBUG: Asking to resize surface to 1919 x 975
16:04:54 T:3060312000 M: 21053440   DEBUG: Load Scaled size of font .//media/Fonts/Arial.ttf (25.277777): width = 76, height = 35, lineheight = 29
16:04:54 T:2861300624 M: 21053440 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 2532, consumed: 8
16:04:54 T:2861300624 M: 21041152 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 2537, consumed: 8
16:04:54 T:2861300624 M: 21041152 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 2998, consumed: 8
16:04:54 T:2861300624 M: 21041152 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 2933, consumed: 8
16:04:54 T:2861300624 M: 21041152 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 2390, consumed: 8
16:04:54 T:2861300624 M: 21041152 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 2999, consumed: 8
16:04:54 T:2861300624 M: 21041152 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 3299, consumed: 8
16:04:54 T:2861300624 M: 21041152 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 2410, consumed: 8
16:04:54 T:2861300624 M: 21041152 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 2753, consumed: 8
16:04:54 T:2861300624 M: 21041152 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 3377, consumed: 8
16:04:54 T:2861300624 M: 21041152 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 2989, consumed: 8
16:04:54 T:2861300624 M: 21041152 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 4149, consumed: 8
16:04:54 T:2861300624 M: 21114880 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 3557, consumed: 8
16:04:54 T:2861300624 M: 21114880 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 3637, consumed: 8
16:04:54 T:2861300624 M: 21041152 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 3459, consumed: 8
16:04:54 T:2861300624 M: 21041152 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 4477, consumed: 8
16:04:54 T:2861300624 M: 21065728 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 3922, consumed: 8
16:04:54 T:2861300624 M: 21065728 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 4065, consumed: 8
16:04:54 T:2861300624 M: 21065728 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 4885, consumed: 8
16:04:54 T:2861300624 M: 21065728 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 4260, consumed: 8
16:04:54 T:2861300624 M: 21065728 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 5544, consumed: 8
[...]

Any help?
Thank you very much,
the_bis
Reply
#2
Upgrade is always bad. I tried updating and got the weirdest playback issues. Complete reinstall of ubuntu with hardy fixed it though.
Still, Hardy isn't supported as of yet so it's bound to be bugs in there.
Also, is the video flicker only when playing movies or is it always there when in fullscreen? a screenshot would be good. Just hit printscreen in fullscreen and XBMC will ask you were to save it.
If you have problems please read this before posting

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.

Image

"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
Reply
#3
Thumbs Up 
Topfs2 Wrote:Upgrade is always bad. I tried updating and got the weirdest playback issues. Complete reinstall of ubuntu with hardy fixed it though.
Still, Hardy isn't supported as of yet so it's bound to be bugs in there.

I know, I know... but I'm a bad gui Wink

Topfs2 Wrote:Also, is the video flicker only when playing movies or is it always there when in fullscreen? a screenshot would be good. Just hit printscreen in fullscreen and XBMC will ask you were to save it.

The video flicker is always when I'm in fullscreen. I can't grab a screenshot because when I hit "\" key I see the video flicking but the screenshot I take is ok...

But, try after try, a found the problem: if I run XBMC with compiz enabled I have the video flickering (XBMC isn't usable and after some seconds it crash) but if I disable desktop effects I have XBMC running very very well in Gutsy Nod

I hope this help,
the_bis
Reply
#4
the_bis Wrote:But, try after try, a found the problem: if I run XBMC with compiz enabled I have the video flickering (XBMC isn't usable and after some seconds it crash) but if I disable desktop effects I have XBMC running very very well in Gutsy Nod

I'm not sure if you fixed it by turning of it but if the screenshot XBMC took is ok then the problem is out of XBMC's hands and is probably graphiccard related.
This is a wild shoot but my fx 5600 have weird greenish artefacts if I don't force TripleBuffer on in xorg. might be worth a shoot on your card aswell.
I've added this into my monitor section:
Code:
Option         "TripleBuffer" "true"
If you have problems please read this before posting

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.

Image

"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
Reply
#5
Dear Topfs2,
I tried the TripleBuffer option but the problem is the same.
At the moment the only solution is to disable desktop effects...
Thanks,
the_bis
Reply
#6
Somthing has changed between Hardy and Gusty with ts Advanced Desktop effects and it no longer lets xbmc play well in fullscreen mode you have to disable it or the fullscreen window keeps getting kicked back to windowed mode. Real silly really ( on Ubuntu's side )
Reply
#7
Gotta keep up with vista Smile

Regardless, XBMC is intended for full screen in a dedicated environment so disabling desktop effects shouldn't be a problem.
Reply

Logout Mark Read Team Forum Stats Members Help
Problem with Ubuntu 8.04/nVidia: trashed video0