LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-01-2014, 09:23 AM   #1
bogzab
Member
 
Registered: Mar 2006
Location: Dyserth, Wales
Distribution: Slackware 14.0, Slackware 14.1, Slackware-current
Posts: 306

Rep: Reputation: 33
Radeon HD 7540D hardware gives sluggish X performance using radeon driver


Slackware 14.1. X version, radeon driver etc all as supplied.

I recently replaced my motherboard and now have a new all-AMD setup (A6-5400 CPU) and lspci reports that the VGA-compatible controller is the HD 7540D.

The radeon driver gives a perfectly good looking X display (KDE) but is sluggish if you try and fancy animations (some don't work at all) and even glxgears runs with tears in the frames and at a low frame rate:

Code:
glxgears
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
281 frames in 5.0 seconds = 56.026 FPS
299 frames in 5.0 seconds = 59.631 FPS
283 frames in 5.0 seconds = 56.441 FPS
Anybody know what to tweak to improve performance. Looks to me as though acceleration needs to be enabled, but not sure how this should be done.

Thanks
 
Old 12-01-2014, 09:51 AM   #2
STDOUBT
Member
 
Registered: May 2010
Location: Stumptown
Distribution: Slackware64
Posts: 583

Rep: Reputation: 242Reputation: 242Reputation: 242
Have you tried "radeonhd" in place of "radeon" in your xorg.conf?
Have you tried running without an xorg.conf altogether?
Did you try xorgsetup?
 
Old 12-01-2014, 10:20 AM   #3
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
Originally Posted by bogzab View Post
Slackware 14.1. X version, radeon driver etc all as supplied.

I recently replaced my motherboard and now have a new all-AMD setup (A6-5400 CPU) and lspci reports that the VGA-compatible controller is the HD 7540D.

The radeon driver gives a perfectly good looking X display (KDE) but is sluggish if you try and fancy animations (some don't work at all) and even glxgears runs with tears in the frames and at a low frame rate:

Code:
glxgears
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
281 frames in 5.0 seconds = 56.026 FPS
299 frames in 5.0 seconds = 59.631 FPS
283 frames in 5.0 seconds = 56.441 FPS
Anybody know what to tweak to improve performance. Looks to me as though acceleration needs to be enabled, but not sure how this should be done.

Thanks
Well, you'll want to look to the DRM and MESA guys to yell for your sluggish display. You should wait for them to tweak the things. Because, the Linux video cards, as usefully drivers, are just like the wine. A relative old one is better.

And you are one of those lucky who can expect future enhancements. Before lamentations, think one second WHAT IF you have a SiS video on-board and no AGP/PCI-E slot for a real video card. And you'll be a very happy... happy owner of a HD 7540D integrated video, running Linux.
 
1 members found this post helpful.
Old 12-01-2014, 10:47 AM   #4
bogzab
Member
 
Registered: Mar 2006
Location: Dyserth, Wales
Distribution: Slackware 14.0, Slackware 14.1, Slackware-current
Posts: 306

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by STDOUBT View Post
Have you tried "radeonhd" in place of "radeon" in your xorg.conf?
Have you tried running without an xorg.conf altogether?
Did you try xorgsetup?
1. "radeonhd" did not help - X refused to start

2. Have not tried removing the xorg.conf yet

3. xorgsetup helped - it has written me a new xorg.conf file which immediately bumped up graphics performance so that glxgears reports 220 fps and looks like it should do. Also there are a number of commented options in xorg.conf now that I will be able to have a go at adjusting.

Many thanks STDOUBT...
 
Old 12-01-2014, 11:31 AM   #5
linuxtinker
Member
 
Registered: Dec 2013
Location: NJ / USA
Distribution: Slackware 64 -Current
Posts: 232

Rep: Reputation: 99
Radeon HD 7540D hardware gives sluggish X performance using radeon driver

take a look at the -current build of slackware it works better with my a6-6400k probably due to the newer kernel and mesa builds
 
Old 12-01-2014, 03:19 PM   #6
bogzab
Member
 
Registered: Mar 2006
Location: Dyserth, Wales
Distribution: Slackware 14.0, Slackware 14.1, Slackware-current
Posts: 306

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by linuxtinker View Post
take a look at the -current build of slackware it works better with my a6-6400k probably due to the newer kernel and mesa builds
Thanks, that's good to know. I might wait until -current becomes 14.2 (various rumours suggest might be soon...). If there is no 14.2 in the new year I will probably try updating this machine to -current.
 
Old 12-01-2014, 06:52 PM   #7
Nille_kungen
Member
 
Registered: Jul 2005
Distribution: Slackware64-current
Posts: 587

Rep: Reputation: 201Reputation: 201Reputation: 201
Quote:
Originally Posted by bogzab View Post
Thanks, that's good to know. I might wait until -current becomes 14.2 (various rumours suggest might be soon...). If there is no 14.2 in the new year I will probably try updating this machine to -current.
I second that you should use current.
In current you get a lot of things that's not in 14.1 like DPM (Dynamic Power Management), VDPAU (needs libvdpau and recompilation of mesa but it's worth it) and a lot of other things like OpenGL 3.3 and OpenGL ES 3.0
I use an ARUBA GPU myself (8650G) and it works great.

It's the lack of DPM that makes the graphics sluggish but i think that only need an newer kernel and firmware.
The easiest way to install the firmware would be to run the buildscript for it that will grab the latest git and create a package or upgrade to the kernel-firmware package from current.
http://slackware.osuosl.org/slackwar...rnel-firmware/
If you stay on 14.1 then you want to get DPM working since it makes a big difference in performance and fan control.
 
Old 12-01-2014, 07:52 PM   #8
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
You also should look into if you may have missing firmware modules for your Radeon. The HD7x00 series is rather recent in addition, but it should have a halfway decent support basis. You may want to also rebuild LibMesa to use libclc for OpenCL support as well. Using the latest kernel is advised also.
 
  


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
[SOLVED] X.Org X Server 1.7.3.901 + Radeon 9200 + driver radeon - low performance MichalKvacek Linux - Software 11 12-23-2009 04:35 PM
ATI Radeon 3100 Performance Issues w/ Proprietary Driver dudeman41465 Linux - Hardware 2 05-09-2009 01:04 PM
ATI Radeon 7000 AGP 64 MB - Xorg 7.4 won't load with 'radeon' driver highowl Linux - Hardware 2 02-23-2009 09:31 AM
LXer: AMD Catalyst vs. X.Org Radeon Driver 2D Performance LXer Syndicated Linux News 0 01-18-2009 10:30 AM
Possible Radeon 9800 driver issues, really low performance (other causes possible) SeanWcisel Linux - General 7 06-18-2007 03:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:51 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