LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-22-2010, 07:10 PM   #16
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled

Your video card has enough video memory bandwidth to handle 1920 by 1080 for video playback. You just have a problem with software efficiency. I recommend use Xfce and do not use Compiz or any compositing features.

Your notebook computer will not be able to handle the decoding for any higher than 480p. You may get 720p, but not well. The video codec Xvid is a form of MPEG-4, but it could also use H.264 which will need more processing power.

I recommend run mplayer from the command line. I suggest include direct rendering option for mplayer to it make faster to render the video. If you have not used OpenGL for video playback, try the following.

mplayer -dr -vo gl -vf scale=-1:-1 file

If you see tearing or the video playback is not playing well, I suggest include "-nosound" because the sound track could be causing the problem. If the video plays smooth, update the audio codec that the sound track uses.

I suggest go to the following page.

http://wiki.multimedia.cx/index.php?...eral_Questions

I think you are running too much services and your kernel is not set to any preemptive state. Also your kernel probably does not have polling interrupt set to 1000 Hz. Make sure cpufreq governor is set to performance.

Kernel mode setting is not a performance feature. It is an eye candy feature which will penalize performance. This feature tells the kernel use one resolution and let the video card handle the scaling when switching to different resolutions.

One thing to note. If you disable VSYNC for video playback, you are at the mercy of your own stupidity. By disabling VSYNC, video playback will have unlimited frames per second and your monitor has a limit for frames per second. Your problem may not be Linux, but your monitor not keeping up with the amount of frames that your video card is rendering.
 
Old 06-03-2010, 09:48 AM   #17
replica9000
Senior Member
 
Registered: Jul 2006
Distribution: Debian Unstable
Posts: 1,126

Original Poster
Blog Entries: 2

Rep: Reputation: 260Reputation: 260Reputation: 260
Quote:
Originally Posted by Electro View Post
Your video card has enough video memory bandwidth to handle 1920 by 1080 for video playback. You just have a problem with software efficiency. I recommend use Xfce and do not use Compiz or any compositing features.

Your notebook computer will not be able to handle the decoding for any higher than 480p. You may get 720p, but not well. The video codec Xvid is a form of MPEG-4, but it could also use H.264 which will need more processing power.

I recommend run mplayer from the command line. I suggest include direct rendering option for mplayer to it make faster to render the video. If you have not used OpenGL for video playback, try the following.

mplayer -dr -vo gl -vf scale=-1:-1 file

If you see tearing or the video playback is not playing well, I suggest include "-nosound" because the sound track could be causing the problem. If the video plays smooth, update the audio codec that the sound track uses.

I suggest go to the following page.

http://wiki.multimedia.cx/index.php?...eral_Questions

I think you are running too much services and your kernel is not set to any preemptive state. Also your kernel probably does not have polling interrupt set to 1000 Hz. Make sure cpufreq governor is set to performance.

Kernel mode setting is not a performance feature. It is an eye candy feature which will penalize performance. This feature tells the kernel use one resolution and let the video card handle the scaling when switching to different resolutions.

One thing to note. If you disable VSYNC for video playback, you are at the mercy of your own stupidity. By disabling VSYNC, video playback will have unlimited frames per second and your monitor has a limit for frames per second. Your problem may not be Linux, but your monitor not keeping up with the amount of frames that your video card is rendering.
I've been working on getting the performance out of my machine. I was having issues with the onboard video, apparently it can't handle being clocked @950mhz anymore, so it's @800mhz now. The processor does most of the work, but the higher GPU clock does help some.

I plan on continuing to use KDE 4 with compositing. Xv output seems to work best, OpenGL output works, but not so well with KDE 4 compositing. Also video seems to play better without direct rendering.

I've also found that I can use Greasemonkey and MPlayer to watch Youtube videos fullscreen smoothly, while not maxing out my CPU.
(I'm hoping HTML5 makes flash a thing of the past, and soon.)

I've disabled any services that didn't seem necessary.

I haven't had much issue with sound. Audio seemed to be off a little, but adding "-delay .1" to MPlayer seems to do the trick.

I tried using FGLRX, the radeon driver works better.

Also, I'm guessing I would need to recompile the kernel to set preemptive and the polling interupt?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
radeonhd driver STARHARVEST SUSE / openSUSE 0 08-24-2008 11:22 PM
LXer: RadeonHD Driver To Use AtomBIOS LXer Syndicated Linux News 0 07-04-2008 07:13 PM
LXer: RadeonHD 1.2 Driver Released LXer Syndicated Linux News 0 04-12-2008 12:50 AM
LXer: RadeonHD 1.0.0 Driver Released LXer Syndicated Linux News 0 11-30-2007 08:30 AM
LXer: The Progress Of The RadeonHD Driver LXer Syndicated Linux News 0 09-29-2007 07:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration