Go Back   DriverHeaven.net > Forums > Graphics Cards > ATI Radeon Drivers > Linux Radeon Display Drivers

Notices

Reply
 
LinkBack Thread Tools Display Modes
Old Aug 31, 2005, 05:56 PM   #1 (permalink)
UberLord
A Legend in Underwear
 
UberLord's Avatar
 
Join Date: May 2002
Location: Unknown
Posts: 5,256
UberLord is on a distinguished road

arrow vsync howto

First off, kudos to ATI for embracing DRI
Second off, thanks for not telling anyone about the new vsync setting (not in the release notes afaik)

Starting with fglrx-8.16.20, you can now use the xdriinfo command. Lets ask the fglrx driver what options it has

Code:
uberpc roy # xdriinfo options fglrx
<driinfo>
<section>
<description lang="en" text="Performance"/>
<description lang="de" text="Leistung"/>
<option name="swap_on_vblank" type="bool" default="false">
<description lang="en" text="Synchronize buffer swap with vertical blank"/>
<description lang="de" text="Synchronosiere Pufferwechsel mit vertikalem Rücklauf"/>
</option>
</section>
</driinfo>
Weeeeeee - the vsync setting!
Now lets create /etc/dirrc or ~/.drirc to change it!

Code:
<driconf>
	<device driver="fglrx">
		<application name="all">
		    <!-- Always synchronize with vertical refresh to avoid tearing -->
			<option name="swap_on_vblank" value="true"/>
		</application>
	</device>
</driconf>
Now you can remove that nasty 'Option "Capabilities" "0x00000800"' line from /etc/X11/xorg.conf

All done

NOTES: Why is this better than xorg.conf? You can change settings on the fly, no need to reboot or restart X or the PC. Also these settings are per device, per screen or per application or a combination of all 3. Note the per application bit - suck that Windows users! Hopefully ATI can put ansio and fsaa settings there too

Why vsync? Because my system is fast enough not to need it and LCD without vsync looks awful!
__________________
Gentoo Linux - Developer (baselayout)
Read my blog

"I contend that we are both atheists. I just believe in one fewer god than you do. When you understand why you dismiss all the other possible gods, you will understand why I dismiss yours."
Stephen Roberts
UberLord is offline   Reply With Quote
Old Sep 14, 2005, 10:35 AM   #2 (permalink)
jec0s
DriverHeaven Junior Member
 
Join Date: Feb 2005
Posts: 45
jec0s is on a distinguished road

Or you can just install DRIconf off http://dri.freedesktop.org/wiki/DriConf and use the nice GUI to setup profiles for vertical sync.

Don't get too crazy with vsync b/c Stepmania sure won't run playably with it on.
jec0s is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump




 

 
Powered by: vBulletin
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
SporeHeaven skin by Allan "Zardon" Campbell, for Electronic Arts. vBulletin implementation by Craig '5320' Humphreys

All times are GMT -5. The time now is 05:38 AM. Copyright ©2008 DriverHeaven.net