LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-14-2004, 09:52 PM   #1
freefall
LQ Newbie
 
Registered: Feb 2004
Distribution: RH73
Posts: 7

Rep: Reputation: 0
2D (and 3D) Radeon acceleration partially solved.


I finally managed to get my Radeon 9k pro up with XFree 4.2.

That involved:

- Carefully recompiling the 2.4 kernel and installing the newest
ATI 3.7.0 driver as prescribed, compiling the fglrx module.

- Commenting out a wrong "BusID 1:0:1" that fglrxconfig inserted
into /etc/X11/XF86Config-4.

Now OpenGL (Tuxracer) works fine, but 2D acceleration does not!

By modifying a line in the config file thus:

Option "no_dri" "yes"

I get this message in /var/log/XFree86.0.log :

(WW) fglrx(0): ***********************************
(WW) fglrx(0): * DRI initialization disabled! *
(WW) fglrx(0): * 2D acceleraton available (MMIO) *
(WW) fglrx(0): * no 3D acceleration available *
(WW) fglrx(0): ***********************************

and now 2D-blits go 13 times faster, but OpenGL almost stops!

I measure my 2D performance with "x11perf -copypixpix500"
and get about 2000 pr sec with accel, 150 without.

It is unbearable if one has to choose between 2D and 3D
acceleration, really. I'm writing a smooth scrolling routine for
our open source tile-based game (Freeciv), so this worries me a
litte; I'm not much for 3D.

My question is: Do GeForce users have the same problem?

More to the point, should I expect that most linux users lack 2D
hardware acceleration? I sort of hope that there may be something
lacking with my setup, but this doesn't seem to be documented
anywhere.

Any help much appreciated.


-ali
 
Old 03-15-2004, 06:20 PM   #2
MarkusL
LQ Newbie
 
Registered: Mar 2004
Posts: 1

Rep: Reputation: 0
My configuration shows exactly the same symptoms. Enabled 3D-Acceleration decreases 2D-Performance severely. The test "Copy 500x500 from pixmap to window" looses up to 92% performance.

Gnome's reactions when moving or resizing windows get very slow when 3D-Acceleration is enabled, especially when those cool window-decorations are enabled too.

I wonder why this thread got no replies, and I didnīt find a similar thread, so Iīm bumping it up again with the following questions:

- Do other Radeon-Users experience this too?
- Is this a general Radeon-driver problem, or do you think my configuration is faulty?

Thanks for any hints.

Some System-Infos:

Duron 1.2GHZ, 384MB Ram, SuSE9.0 with actual online-updates, XFree86 Version 4.3.0.1, Gnome 2.2.2 with metacity-WM, Radeon9500 128MB with 3.7.0-25 Drivers from SuSE-FTP Server. I followed SuSEīs Radeon driver-installation guide.

Last edited by MarkusL; 03-15-2004 at 06:23 PM.
 
Old 03-17-2004, 04:36 PM   #3
Valgar
Member
 
Registered: Feb 2004
Posts: 65

Rep: Reputation: 15
I have made several test with all the radeon driver that i have (all downloaded at ati)and i think that it's a driver issue......i have the same problems as your's......up to 93% performance loss!!!
I have a athlon 2100+ radeon 9700pro via kt400 mobo 512 meg ram and mandrake 9.2/9.1.
I hope someone is able to solve this....if there's a solution....
 
Old 03-24-2004, 11:32 AM   #4
bkp_42
LQ Newbie
 
Registered: Nov 2003
Posts: 4

Rep: Reputation: 0
Angry Similar problem here

I have Suse 9.0 with the latest updates installed. I installed the ATI 3.7.0 driver from Suse's ftp site.

Using KDE and glxgears to test 3d performance, I get 2100 frames per second.

For kicks, I decided to install Ximian Desktop (gnome based from what I can tell). With NO other changes, glxgears performance dropped to 300 frames per second.

I verified that the driver was still installed and dri was enabled, yet I cannot explain the huge degradation in performance.

I don't want to incite any linux desktop war, but is it possible that this is a Gnome issue? Or at the very least an interoperability problem between the ATI drivers and Gnome?
 
Old 03-26-2004, 03:00 PM   #5
Valgar
Member
 
Registered: Feb 2004
Posts: 65

Rep: Reputation: 15
I don't have tried gnome but i think that there are something wrong with the ati drivers....
 
Old 03-31-2004, 07:53 AM   #6
freefall
LQ Newbie
 
Registered: Feb 2004
Distribution: RH73
Posts: 7

Original Poster
Rep: Reputation: 0
This is not a desktop issue. It's XFree, your "windows", that communicates
with the hardware through the vendor-specific kernel-module driver.

Problem is, when 2D accelleration is not effective, all desktop performance
will suffer enormously, plus the CPU usage will increase a lot.

I've notified ATI about the problem, hoping they can fix it. I don't really
understand "DRI" or "MMIO", but since these messages from the ATI-
specific module appeared covertly in the logfile as described above, I'm
inclined to blame ATI. Still don't know if GeForce users have the same
problem..

I also have a huge problem with the fact that the "no_dri" trick was
not documented anywhere, and I had to find out the hard way in order
to make 2D work at all.
 
  


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
Radeon 9600. Want 3d acceleration. bigmetalrabbit Linux - Distributions 3 10-10-2005 04:33 PM
Radeon 9250 - no 3d acceleration ericthehammer Ubuntu 38 09-10-2005 06:55 PM
ATI Radeon 9800XT driver installation finally solved lightweave Linux - Hardware 4 01-07-2005 11:11 PM
Mandrake Linux 10 and radeon WITH 3d accelaration=solved! Braveheart1980 Linux - Hardware 56 09-13-2004 02:26 PM
Radeon 9700 and 2D acceleration (Yes, 2D;)) Rav Linux - Hardware 12 03-31-2004 05:48 PM

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

All times are GMT -5. The time now is 05:46 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
Open Source Consulting | Domain Registration