You are not logged in.

#1 2009-09-19 01:30:25

Stromblad
Member
Registered: 2009-09-12
Posts: 70

I hope this helps fellow unlucky, ati linux users

Im fairly new at arch linux, well at linux in general but after toiling for many (seemingly) hopeless days trying to get the abobination that is "fglrx" to function properly,
it would seem that I have bee mostly successful.

SO HERE IT IS ill save fellow newbies the time and headache of desperately searching for answers.

First, im fairly certain you need an "HD" card for this to work, so make sure that yours is before attempting

NOTE: the steps presented in this guide will be presented from a clean install of arch!

1. Install arch and upgrade the system
$pacman -Sy
$pacman -Syu

2. Make sure to get mesa (if you want to use compiz and intent to use the propietary ati drivers)
$pacman -S mesa
This will provide you with Mesa's OpenGL library which are what Compiz Fusion's binary is compiled against

3. Move "libGL.so.1.2" (for safe keeping)
$mkdir /lib/mesa
$cp /usr/lib/libGL.so.1.2 /lib/mesa

When you want to use cmpiz in all its glory use this command
$LD_PRELOAD=/lib/mesa/libGL.so.1.2 compiz --replace &
to point compiz to the file that you just moved instead of the ones you will be installing with catalyst-utils
and then..

LIBGL_ALWAYS_INDIRECT=1 compiz --replace --indirect-rendering ccp

to ensure that you are indirectly rendering the windows decorator


Step 4 will be the drivers themselves, but before that
$pacman -Rd libgl (this step removes mesa's libgl which would conflict with fglrx's)
or the package will not install at all

4. Now for the drivers themselves, if you have yaourt
$yaourt catalyst catalyst-utils (alternatively you can build them yourself, and if you dont have yaour and want yaourt http://wiki.archlinux.org/index.php/Yaourt use the wiki)

NOTE: make sure to add "fglrx" to the list of modules to be loaded in your /etc/rc.conf

5. Next you will have to remove lib32 on your system (the exact filename im not sure of, will update when I get home)
after you have removed this package, use yaourt to install

lib32-catalyst-utils 9.8-1

6. Use ati to configure a very minimalist xorg.conf (I know this isnt the most desirable way but I spent HOURS trying to configure it myself only to realize that ati uses this annoying method of IGNORING xorg.conf and overwriting the settings with its own)

So you are almost done!
run a few commands to make sure everything is working properly

$glxinfo | grep direct
if it says yes, you are solid there

$glxgears
$fgl_glxgears
will show you some quick and dirty opengl tests

if at this point you dont have errors, you should be able to watch videos and play games some windows games with wine

Currently I have Max Payne 2 maxed out running flawlesslym steam games...not so much..but at least it works, a year ago, all of this was just a pipe-dream

I will try and update this as much as possible as I correct a few more problems and hopefully discover some performance tweaking

My relevant hardware and setup

Arch x86_64
4870+4870 crossfire (not yet working)
Phenom II 720

Currenly amdcccle only sees one card, even though I have 2 and have configured the second one in xorg.conf

Im sorry if this is inaccurate, ill be sure to fix anything I forgot to include as soon as I get home but I just wanted you all to know that it is,  infact possible

Last edited by Stromblad (2009-09-19 05:21:50)

Offline

#2 2009-09-19 03:47:32

Akshr
Member
Registered: 2009-01-21
Posts: 3

Re: I hope this helps fellow unlucky, ati linux users

Well Thanks, but I have the same issues, I can't see the Window Top borders and not move them to.
I tired loading with mesa driver. I just grabbed the libGL from pacman cache instead of re-installing mesa, since initially i had open source drivers, mesa,libgl,ati-dri, later on top of that installed fglrx.

Still not able to figure out how to get compiz working.

I get the following output in terminal when i exec fusion-icon

No GLX_EXT_texture_from_pixmap with direct rendering context
 ... present with indirect rendering, exporting: LIBGL_ALWAYS_INDIRECT=1

Also this output when with glxgears

[akshay@arch ~]$ fgl_glxgears
Using GLX_SGIX_pbuffer
1788 frames in 5.0 seconds = 357.600 FPS
2100 frames in 5.0 seconds = 420.000 FPS
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"
      after 39 requests (39 known processed) with 0 events remaining.

Some lame error, I have the gigabyte AMD 780G ! So its HD3200.

Last edited by Akshr (2009-09-19 03:51:16)

Offline

#3 2009-09-19 05:21:24

Stromblad
Member
Registered: 2009-09-12
Posts: 70

Re: I hope this helps fellow unlucky, ati linux users

No GLX_EXT_texture_from_pixmap with direct rendering context
... present with indirect rendering, exporting: LIBGL_ALWAYS_INDIRECT=1

SORRY! my fault lol

I posted the wrong 2nd command (will edit thread)

the second one is

LIBGL_ALWAYS_INDIRECT=1 compiz --replace --indirect-rendering ccp

that should work! again sorry for the mix up, wasnt home...working on memory

Offline

#4 2009-09-19 06:35:11

Akshr
Member
Registered: 2009-01-21
Posts: 3

Re: I hope this helps fellow unlucky, ati linux users

hey thanks !! I still have those errors, but with some plugins enabled in compiz settings manager things are fine now.
I am not using this command to start though
LD_PRELOAD=/lib/mesa/libGL.so.1.2 compiz --replace &

now i hope to understand and fix this error. been googling that.

[akshay@arch ~]$ glxgears
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"
      after 38 requests (38 known processed) with 0 events remaining.
[akshay@arch ~]$ fgl_glxgears
Using GLX_SGIX_pbuffer
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"
      after 40 requests (39 known processed) with 0 events remaining.
[akshay@arch ~]$

Offline

#5 2009-09-21 04:41:36

Stromblad
Member
Registered: 2009-09-12
Posts: 70

Re: I hope this helps fellow unlucky, ati linux users

bump just in case someone needs it

Offline

#6 2009-09-21 05:50:08

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: I hope this helps fellow unlucky, ati linux users

yikes

Are you planning to bump this every few days, "just in case someone needs it"??!

If it's that important, put it in the wiki.

See here for further details.

Offline

#7 2009-09-21 05:52:12

Gen2ly
Member
From: Sevierville, TN
Registered: 2009-03-06
Posts: 1,529
Website

Re: I hope this helps fellow unlucky, ati linux users

Just read a post about this:

http://blog.jasondonenfeld.com/190

What a bummer this fglrx thing is turning out to be.


Setting Up a Scripting Environment | Proud donor to wikipedia - link

Offline

#8 2009-09-22 03:15:59

Stromblad
Member
Registered: 2009-09-12
Posts: 70

Re: I hope this helps fellow unlucky, ati linux users

No not at all, but much of this I had to figure out my self finding no post which directly related to it.
I hardly consider bumping it once indicative of how I am going to bump it every couple of days. Im just trying to help fellow nubs out.

Last edited by Stromblad (2009-09-22 03:16:37)

Offline

#9 2009-09-22 04:09:14

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,354

Re: I hope this helps fellow unlucky, ati linux users

If you want to help others, go edit the wiki. Or choose a better thread title, something which will turn up on a forum/google search.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#10 2009-09-22 04:27:55

eirika
Member
From: New York
Registered: 2009-09-14
Posts: 65

Re: I hope this helps fellow unlucky, ati linux users

I guess the biggest problem is not that it can't work. It works, but leaves you grave pain. I can't remember how many times it crashes my X server.
To get it working is not the whole story...

So finally I choose a simple solution: buy an nVidia card smile

However nVidia drivers are not devoid of problems. I soon figured that I had a bunch of new problems to fight against. But at least my X server
doesn't crash any more. tongue

Fairly speaking radeonhd behaves quite well and I give my vote to it because it also has XVideo support.

Offline

#11 2009-09-22 05:23:02

jarryson
Member
Registered: 2007-02-18
Posts: 298

Re: I hope this helps fellow unlucky, ati linux users

seems this method is too old, i have had seen this long time ago

Offline

Board footer

Powered by FluxBB