How can I optimize video playback?

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help
linkmint
Level 1
Level 1
Posts: 12
Joined: Tue May 12, 2009 10:53 pm

How can I optimize video playback?

Postby linkmint » Tue Sep 08, 2009 3:15 pm

Hi,

I've been trying a couple of mint editions, Main, XFCE, and now fluxbox, on my Aspire One 150; so far it's a great distro (I've been using Elyssa since it's release on a laptop) that's why I would like to install it on my netbook but when I play a video, using any video player, (VLC, MPlayer, etc) I can clearly see the vertical screen refresh :?, So far I've configured and tried all video output modules, (X11, X11 extension, OpenGL, etc), disabled compiz, I even stopped extra services I don't need like bluetooth, printer; anyway, so I don't know what else to do I've googled for a solution for the past 2 months now, I even tried configuring the mttr with no results, except making general performance slow, so Is there a way to optimize video playback? If there is anything I need to post I will do it gladly because I truly want to have mint to work. Thanks beforehand.

igorzwx
Level 5
Level 5
Posts: 597
Joined: Sat Sep 05, 2009 3:13 pm

Re: How can I optimize video playback?

Postby igorzwx » Tue Sep 08, 2009 6:06 pm

The root cause of troubles seems to be the evil PulseAudio.

Withiout PulseAudio, all kinds of Ubuntu are working well on my old boxes (2003 and 2001).
Skype, Ekiga, Audacity, flash, video players, etc. Fantastic performance.

All howtos are here:
viewtopic.php?f=48&t=32173
Page 1 and 2

linkmint
Level 1
Level 1
Posts: 12
Joined: Tue May 12, 2009 10:53 pm

Re: How can I optimize video playback?

Postby linkmint » Tue Sep 08, 2009 11:43 pm

I read the post you suggested igorzwx, however pulseaudio is not installed on my system so it is not the cause, anyway I tried with ALSA and OSS as default audio mixers but it made no difference, if it's of any use, I have no sound problems at all. Thanks anyway for your time.

User avatar
lagagnon
Level 7
Level 7
Posts: 1886
Joined: Wed Jun 17, 2009 7:38 pm
Location: an island in the Pacific...

Re: How can I optimize video playback?

Postby lagagnon » Wed Sep 09, 2009 12:31 am

igorzwx: the OP has a video problem, not a sound problem, so I think your suggestion is misdirected.

linkmint: I think the solution is about halfway down this webpage: https://help.ubuntu.com/community/AspireOne

igorzwx
Level 5
Level 5
Posts: 597
Joined: Sat Sep 05, 2009 3:13 pm

Re: How can I optimize video playback?

Postby igorzwx » Wed Sep 09, 2009 8:34 am

As far as I know, in Linux, both audio and video playback means CPU.
That is why audio problem may create a video problem,
and other way round.
Do not forget that PulseAudio is both a network server and a sound server.
This means both CPU and RAM troubles.

The user seems to believe that ALSA emulattion of OSS is the real OSS.
I would not be surprised that he has PulseAudio installed, and believe that he has not.

florix
Level 1
Level 1
Posts: 7
Joined: Tue Sep 15, 2009 8:28 am

Re: How can I optimize video playback?

Postby florix » Sat Sep 19, 2009 4:02 pm

You need to enable "Sync to VBlank" in X Server XVideo Settings. You should use the tool corresponding to your graphic card - I use "NVIDIA X Server Settings".

Sync to VBlank is required so that no frame change will happen in the middle of a screen sync.
A+ Cupid1, Zotac ION ITX D-E, Intel Atom N330 @ 2GHz, nVidia GeForce 9400 IGP, 2GB OCZ Gold, Toshiba Regza 94cm FullHD

igorzwx
Level 5
Level 5
Posts: 597
Joined: Sat Sep 05, 2009 3:13 pm

Re: How can I optimize video playback?

Postby igorzwx » Sat Sep 19, 2009 6:26 pm

Hi florix!

Is it a problem of NVIDIA?
His netbook might be as powerful as my the most ancient box.
And no such problems with videos.

florix
Level 1
Level 1
Posts: 7
Joined: Tue Sep 15, 2009 8:28 am

Re: How can I optimize video playback?

Postby florix » Mon Sep 21, 2009 3:57 am

igorzwx wrote:Is it a problem of NVIDIA?

No, it's related to the LCD display of his netbook and the digital connection between the LCD and graphic card. If he connects the netbook to an analog monitor (vga) it won't have any problems.
A+ Cupid1, Zotac ION ITX D-E, Intel Atom N330 @ 2GHz, nVidia GeForce 9400 IGP, 2GB OCZ Gold, Toshiba Regza 94cm FullHD

linkmint
Level 1
Level 1
Posts: 12
Joined: Tue May 12, 2009 10:53 pm

Re: How can I optimize video playback?

Postby linkmint » Fri Oct 09, 2009 6:17 pm

Sorry for taking so long to answer but school and work don't get along very well. I tried all of your ideas, I enabled "Sync to VBlank" but it didn't work, I also used and external monitor but the Vertical refresh is still present :? According to Synaptic PulseAudio, as such, is not installed on my system however I can be wrong. I recently messed a little bit with "UXA" acceleration but it didn't help at all :(. Also I don't have an nVidia card, here is the output of "glxinfo | grep render" command:
"Mesa DRI Intel(R) 945GME GEM 20090326 2009Q1 RC2 x86/MMX/SSE2" maybe it can be useful. Thanks anyway to all of you for your time.


Return to “Hardware Support”

Who is online

Users browsing this forum: janivee and 3 guests