LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-20-2010, 01:12 PM   #1
replica9000
Member
 
Registered: Jul 2006
Location: Quahog, Rhode Island
Distribution: Debian 'Sid', FreeBSD, Android
Posts: 703
Blog Entries: 2

Rep: Reputation: 127Reputation: 127
radeonhd driver @ 1920x1080


I have built a media PC for my TV. I am using the on-board video which is a RadeonHD 3200. I am currently using the radeonhd driver. I am trying to get smooth full screen video playback at 1920x1080 resolution. I've had to overclock the video to almost twice it's stock speed to get mostly smooth playback with DVDs and other video at SD resolution.

I'm assuming if I have trouble playing SD video at 1920x1080 resolution, playing HD video or Blu-Ray is going to be much worse.

So my question is, is anyone using a stand alone ATI card with the radeonhd driver for HD video? If so, what model/card etc...

I'm not looking for a high end gaming card, just great HD video playback. BTW, I'd like not to use the FGLRX driver unless necessary.
 
Old 05-20-2010, 08:30 PM   #2
Electro
Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Over clocking the video card will not help with video playback. Also Xorg drivers does not support VA API or XvMC for ATI graphic cards, so your processor is doing all the work. Make sure your media players includes multi-threaded H.264 and they are accelerated using MMX and SSE or else you will see the computer to crawl.

In order to get smooth video make sure you understand to use pull-up and setting the FPS correctly that relates to the monitor's refresh rate when playing movies. This means both the monitor's refresh rate and the FPS of the video have to about the same. If there the difference is fractions, there will be problems. Also try using XVideo or OpenGL as the video output device. Third set the kernel in any preemptive mode (I use voluntary preemptive) and the timer interrupt frequency to 1000 Hz. These two options for the kernel gets Linux closer to low latency.

I have ATI graphic cards using Xorg drivers (radeon) and they have no problems with video playback. If you have problems then you are paranoid with the video playback which is giving you an illusion that the video is not smooth.
 
Old 05-20-2010, 09:10 PM   #3
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
I regularly use my radeon cards for HD playback with the open source 'radeon' driver. I do not use 'radeonhd' (and generally don't recommend it) though that should work, as well.

You haven't given us much to go on to figure out what your problem is. We should see your /var/log/Xorg.0.log file, at the very least.

Adam
 
Old 05-21-2010, 02:41 AM   #4
replica9000
Member
 
Registered: Jul 2006
Location: Quahog, Rhode Island
Distribution: Debian 'Sid', FreeBSD, Android
Posts: 703
Blog Entries: 2

Original Poster
Rep: Reputation: 127Reputation: 127
The hardware is a Biostar TA780G M2+ with an AMD Athlon X2 5000+ BE @ 3000 and 4 GB DDR2 800. The media player is SMPlayer. I've done a few tweaks to SMPlayer which helps. I switched from Xv to Xv radeon textured and post processing, multi-threading for mpeg1/2 and h.264. I also tried using the radeon driver instead of radeonhd, doesn't seem to make a difference.
Attached Files
File Type: log Xorg.0.log (152.5 KB, 3 views)
 
Old 05-21-2010, 04:49 AM   #5
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
Well I honestly don't know what's going on. I've never tried fullscreen video at 1920x1080, fullscreen at 1600x1200 works just fine here. Your drivers appear to be setup properly.

Have you tried a different media player or even a different output renderer (such as opengl)?

Adam
 
Old 05-21-2010, 10:18 AM   #6
replica9000
Member
 
Registered: Jul 2006
Location: Quahog, Rhode Island
Distribution: Debian 'Sid', FreeBSD, Android
Posts: 703
Blog Entries: 2

Original Poster
Rep: Reputation: 127Reputation: 127
If I set the resolution to 1440x900, full screen video is fine, but of course things like fonts and other small things aren't as sharp. I tried opengl output, it works, but it flickers whenever the mouse moves, and the video sits on top of everything, even when not in full screen.
 
Old 05-21-2010, 10:24 AM   #7
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
Are you using compositing? If so, disable compositing and try both opengl output and Xv output again.
 
Old 05-21-2010, 10:43 AM   #8
replica9000
Member
 
Registered: Jul 2006
Location: Quahog, Rhode Island
Distribution: Debian 'Sid', FreeBSD, Android
Posts: 703
Blog Entries: 2

Original Poster
Rep: Reputation: 127Reputation: 127
I have compositing because I am using KDE 4. But I suspended compositing and opengl output works fine, but doesn't improve performance over Xv output. Xv output with compositing was the original settings. Oh, output seems to play fine at 1680x1050 resolution.
 
Old 05-21-2010, 10:53 AM   #9
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
OK, so maybe textured Xv just has issues at such a high resolution, unfortunately. You could get away with opengl output, with compositing, if you enable KMS and DRI2, though I can't say whether or not there would be a performance hit.

I guess you could open a bug report or even try asking on #radeon on the Freenode irc network (just make sure you use a registered nick or you can't speak in #radeon).

Adam
 
Old 05-21-2010, 11:04 AM   #10
replica9000
Member
 
Registered: Jul 2006
Location: Quahog, Rhode Island
Distribution: Debian 'Sid', FreeBSD, Android
Posts: 703
Blog Entries: 2

Original Poster
Rep: Reputation: 127Reputation: 127
Opengl output wasn't any better than Xv at 1920x1080. I tried KMS with the radeon driver and it broke compositing, radeonhd wouldn't even work with KMS. Maybe there are some tweaks I can do in xorg.conf.

Code:
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# Note that some configuration settings that could be done previously
# in this file, now are automatically configured by the server and settings
# here are ignored.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Module"
	Load "i2c"
	Load "extmod"
	Load "radeon"
EndSection

Section "Device"
	Identifier	"Configured Video Device"
	Driver		"radeon"
#	Option	"AccelMethod"	"EXA"
#	Option	"ColorTiling"	"1"
#	Option	"GARTSize"	"64"
# 	Option	"BusType"	"PCIE"
#	Option	"AccelDFS"	"1"
#	Option	"EnableDepthMoves" "1"
#	Option	"EnablePageFlip" "1"
EndSection

Section "Monitor"
	Identifier	"Configured Monitor"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Monitor		"Configured Monitor"
	Device		"Configured Video Device"
EndSection

Section "Extensions"
	Option	"Composite" "Enable"
EndSection

Section "DRI"
	Group	"video"
	Mode	0660
EndSection
 
Old 05-21-2010, 11:16 AM   #11
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
Yes, radeonhd does not support KMS. If you want to use KMS you'd have to use radeon. If you do try KMS with radeon, and still run into problems, post your /var/log/Xorg.0.log file here again. Having said that, I doubt that using KMS will improve the video playback problems you are having at that resolution.

Adam
 
Old 05-21-2010, 12:20 PM   #12
replica9000
Member
 
Registered: Jul 2006
Location: Quahog, Rhode Island
Distribution: Debian 'Sid', FreeBSD, Android
Posts: 703
Blog Entries: 2

Original Poster
Rep: Reputation: 127Reputation: 127
I'm just wondering if a better ATI card would help. My laptop is a 1800mhz Turion (1 core) with a radeon xpress 200M, and that can barely run KDE 4s effects at 1920x1080, but has no issues @ 1280x800 with the radeon driver.
 
Old 05-21-2010, 12:26 PM   #13
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,091

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
Wait, I thought you were trying to play these videos on an HD3300?

Adam
 
Old 05-21-2010, 01:03 PM   #14
replica9000
Member
 
Registered: Jul 2006
Location: Quahog, Rhode Island
Distribution: Debian 'Sid', FreeBSD, Android
Posts: 703
Blog Entries: 2

Original Poster
Rep: Reputation: 127Reputation: 127
Sorry for the confusion, this is for a HD3200. The Xpress 200M is my laptop, the HD3200 is the media center and the HD3300 is my desktop.

I was trying to say 1920x1080 is a tough resolution, especially for my laptop.
 
Old 05-22-2010, 12:29 PM   #15
replica9000
Member
 
Registered: Jul 2006
Location: Quahog, Rhode Island
Distribution: Debian 'Sid', FreeBSD, Android
Posts: 703
Blog Entries: 2

Original Poster
Rep: Reputation: 127Reputation: 127
Today I was able to try an HD 1080p movie, encoded with h264 in mkv (8135MB for 103 minutes). It played well, even in scenes with lots of motion. Only in one scene some frames were dropped, and that might just be the encoding.

At the moment, it seems only XviD has the playback issues. It's not bad, but in scenes with a lot of action, I get a little video tearing? (top of video sometimes lags a couple frames behind in some spots).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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/Novell 0 08-25-2008 12:22 AM
LXer: RadeonHD Driver To Use AtomBIOS LXer Syndicated Linux News 0 07-04-2008 08:13 PM
LXer: RadeonHD 1.2 Driver Released LXer Syndicated Linux News 0 04-12-2008 01:50 AM
LXer: RadeonHD 1.0.0 Driver Released LXer Syndicated Linux News 0 11-30-2007 09:30 AM
LXer: The Progress Of The RadeonHD Driver LXer Syndicated Linux News 0 09-29-2007 08:00 PM


All times are GMT -5. The time now is 11:49 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration