You are not logged in.

#51 2006-01-15 17:31:21

Jacek Poplawski
Member
From: Poland
Registered: 2006-01-10
Posts: 736
Website

Re: Anyone got ATI direct rendering working with Xorg 7.0???

In 16-bit mode mine is light blue, in 24-bit mode it is dark-blue. Yours green? Interesting smile
I wonder if anyone else is using DRI with xorg7 and could check it...

Offline

#52 2006-01-16 00:46:10

BroodingDogma
Member
Registered: 2005-03-31
Posts: 13

Re: Anyone got ATI direct rendering working with Xorg 7.0???

Well, I finally got everything working.  Heres what I did.

     I had to recompile my kernel, so I just did it as a package.  I used this PKGBUILD, this kernel26.install., and this config.  All I borrowed from _Gandalf_, so many thanks to him.
     You do need to go into the config file and change this line

CONFIG_AGP=m to CONFIG_AGP=y

  And if you want, you can change the module for your specific chipset a to be built into the kernel.  It's just a little bit further down in the config.  Then run

md5sum config

and change the one in the PKGBUILD.  (This has to be done since we edited the config file.  And now you can run makepkg to compile a new kernel 2.6.15 with the latest archck patch, and agpgart support built in.  Then install your package.  Don't forget to edit your bootloader so it will use the vmlinuz26archck to boot with.  I just added another entry.  Then reboot.
     Next, I had to install the nforce drivers since I have an nforce2 motherboard.  Then I rebooted, just to be on the safe side.  wink   Now comes the fun part, I downloaded the ati drivers from their website.  I tried to just straight install the driver, but it needed a Makefile.cpu file that unfortunately wasn't in the kernel source directory, so I had to find one and copy it over.  I borrowed it from the vanilla arch kernel directory.  Then it went through just fine for me.  You might have to use this patch 
     Well, that's how I got it working.  I used this post and these webpages to fix my problem:
http://www.thinkwiki.org/wiki/Fglrx
http://www.thinkwiki.org/wiki/Problems_with_fglrx
http://www.rage3d.com/content/articles/atilinuxhowto/
     Hopefully they'll help you.

Dogma
PS As soon as I get the money, I'm going back to Nvidia.  It just feels like, after this, my computer is being help together with duct tape and bubblegum.  :shock:

Offline

#53 2006-01-16 18:47:15

brutus
Member
From: DK
Registered: 2005-08-03
Posts: 15

Re: Anyone got ATI direct rendering working with Xorg 7.0???

Which package is Xorg 7 ??
If I activate the testing repo and installs xorg like normal, I will hopefully get 6.8.2 ?

Offline

#54 2006-01-16 19:01:07

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: Anyone got ATI direct rendering working with Xorg 7.0???

yes, 'pacman -S xorg' will give you xorg 6.8.2

Offline

#55 2006-01-16 19:17:22

brutus
Member
From: DK
Registered: 2005-08-03
Posts: 15

Re: Anyone got ATI direct rendering working with Xorg 7.0???

Okay, just found out that the ATI driver _is_ working with xorg 7.. So it's just x-server or???

Offline

#56 2006-01-19 00:06:35

Bralkein
Member
Registered: 2004-10-26
Posts: 354

Re: Anyone got ATI direct rendering working with Xorg 7.0???

Hi! I am having a problem making the ATI proprietary drivers work under X.org 7.0, kernel 2.6.15.1

The last message that crops up in my Xorg.0.log pertaining to direct rendering says:

(II) fglrx(0): [DRI] installation complete
(II) fglrx(0): Direct rendering enabled

which suggests that direct rendering should work, but glxinfo says:

name of display: :0.0
display: :0  screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
    GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
    GLX_EXT_import_context, GLX_OML_swap_method, GLX_SGI_make_current_read,
    GLX_SGIS_multisample, GLX_SGIX_hyperpipe, GLX_SGIX_swap_barrier,
    GLX_SGIX_fbconfig
client glx vendor string: ATI
client glx version string: 1.3
client glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_ATI_pixel_format_float,
    GLX_ATI_render_texture
GLX extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
    GLX_ARB_multisample
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
...
...
... 

(it goes on and displays some weird table too)

Can anybody please help me?

Offline

#57 2006-01-19 03:30:32

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: Anyone got ATI direct rendering working with Xorg 7.0???

Bralkein, sounds like your /usr/lib/libGL.so isn't set up properly.  The fglrx module is loading fine, but it uses libGL to do its openGL rendering.  If the mesa version of libGL is at /usr/lib/libGL.so or linked from there, then you'll get the error you see.
Make sure the libGL.so.1.2 that came with the ATI drivers in /usr/lib and there's a symlink from /usr/lib/libGL.so to it.

Offline

#58 2006-01-19 09:45:42

matsche
Member
From: .at
Registered: 2004-04-27
Posts: 120

Re: Anyone got ATI direct rendering working with Xorg 7.0???

hi, the new driver version 8.21.7 does NOT compile with kernel 2.6.15! mhh... that make me so sad.  :cry:


THX!!
cu matsche

Offline

#59 2006-01-19 13:07:08

Bralkein
Member
Registered: 2004-10-26
Posts: 354

Re: Anyone got ATI direct rendering working with Xorg 7.0???

Gah, thanks very much Cerebral... I had actually made the symlinks to the file correctly, but I must have deleted it or something because they were pointing to nothing :?

Man do I feel stupid right now...

Matsche, I am using kernel 2.6.15.1 and the kernel module compiles and loads correctly, I get about 4500 FPS in glxgears. Are you using some kind of extra patches on your kernel? Maybe there is something else wrong with your build environment.

What does the error say?

Offline

#60 2006-01-19 13:42:43

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: Anyone got ATI direct rendering working with Xorg 7.0???

matsche wrote:

hi, the new driver version 8.21.7 does NOT compile with kernel 2.6.15! mhh... that make me so sad.  :cry:

8.20.8 didn't either, and needed to be patched.  I wonder if there's a patch available for the new version yet...
What disappoints me is that they don't have an Xorg7-compatible driver yet.  Forshame!

Offline

#61 2006-01-19 16:26:32

Bralkein
Member
Registered: 2004-10-26
Posts: 354

Re: Anyone got ATI direct rendering working with Xorg 7.0???

Well the question still remains, how come it worked with my kernel 2.6.15.x?

Also, now that I have direct rendering working, I notice that I can't shut down or restart Xorg without my PC locking up hard. Is... is this normal? It happens on kernel 2.6.14.x too. Is there a way to fix this?

Offline

#62 2006-01-19 17:03:55

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: Anyone got ATI direct rendering working with Xorg 7.0???

Bralkein, I haven't seen this issue.  However, I believe there is a thread elsewhere about that problem - give the forums a search and you'll probably find it.

Offline

#63 2006-01-19 20:29:15

jesus franco
Member
From: PA, USA
Registered: 2005-05-17
Posts: 66

Re: Anyone got ATI direct rendering working with Xorg 7.0???

Bralkein wrote:

Well the question still remains, how come it worked with my kernel 2.6.15.x?

Also, now that I have direct rendering working, I notice that I can't shut down or restart Xorg without my PC locking up hard. Is... is this normal? It happens on kernel 2.6.14.x too. Is there a way to fix this?

It's also happening to me!
I reinstalled arch just because of that and it still happens. It doesn't happen if I use Entrance with e17 though, but it does happen with gdm>gnome,kdm>kde. It's very annoying. I belive it's related to the hal update 2 weeks ago. Thats when I first started seeing the problem.

Another note, it doesn't happen at all if I'm not using the fglrx driver. And it doesn't happen  if I init 3 and then start x as my user. It only happens when I init to run level 5 at startup, and use a "display manager" sad

I might also add this has happend to me using stable xorg and xorg from testing.

Offline

#64 2006-01-20 16:45:20

jinn
Member
From: Gothenburg
Registered: 2005-12-10
Posts: 506

Re: Anyone got ATI direct rendering working with Xorg 7.0???

anyone with a ati x600 with working dri? I am thinking of buying a laptop with ati x600.. what glxgears do you guys get with x600?

cheers
Jinn


The ultimate Archlinux release name: "I am your father"

Offline

#65 2006-01-26 09:17:18

mouse256
Member
From: Antwerpen, Belgium
Registered: 2005-08-24
Posts: 247

Re: Anyone got ATI direct rendering working with Xorg 7.0???

Bralkein wrote:

Well the question still remains, how come it worked with my kernel 2.6.15.x?

Also, now that I have direct rendering working, I notice that I can't shut down or restart Xorg without my PC locking up hard. Is... is this normal? It happens on kernel 2.6.14.x too. Is there a way to fix this?

I think that IS the problem with the ati drivers and kernel 2.6.15, I had the same problems here. They worked (even 8.21.7) perfect on 2.6.14, but 2.6.15 gave problem. fgl_glxgears and glxgears works under 2.6.15, but shutting down gives a hard freeze. Using the patch (you can find it somewhere on the forum, it works for both 8.21.7 and the older 8.20.?) you can shut down without problem on 2.6.15
(But I'm using archck kernel and still using X.org 6.8 wink )

Offline

#66 2006-01-26 12:32:37

lumiwa
Member
Registered: 2005-12-26
Posts: 712

Re: Anyone got ATI direct rendering working with Xorg 7.0???

mouse256 wrote:
Bralkein wrote:

Well the question still remains, how come it worked with my kernel 2.6.15.x?

Also, now that I have direct rendering working, I notice that I can't shut down or restart Xorg without my PC locking up hard. Is... is this normal? It happens on kernel 2.6.14.x too. Is there a way to fix this?

I think that IS the problem with the ati drivers and kernel 2.6.15, I had the same problems here. They worked (even 8.21.7) perfect on 2.6.14, but 2.6.15 gave problem. fgl_glxgears and glxgears works under 2.6.15, but shutting down gives a hard freeze. Using the patch (you can find it somewhere on the forum, it works for both 8.21.7 and the older 8.20.?) you can shut down without problem on 2.6.15
(But I'm using archck kernel and still using X.org 6.8 wink )

I don't know if ATI drivers are problem. My brother has Radeon 9700, last ATI drivers and kernel 2.6.15 on SuSE beta and it works.

Offline

#67 2006-01-26 13:07:50

mouse256
Member
From: Antwerpen, Belgium
Registered: 2005-08-24
Posts: 247

Re: Anyone got ATI direct rendering working with Xorg 7.0???

and where did he get the drivers from? from the ati site, of from suse itself? in that case it might be that suse patched them?
Otherwise he's lucky :-p

Offline

#68 2006-01-26 14:17:34

lumiwa
Member
Registered: 2005-12-26
Posts: 712

Re: Anyone got ATI direct rendering working with Xorg 7.0???

mouse256 wrote:

and where did he get the drivers from? from the ati site, of from suse itself? in that case it might be that suse patched them?
Otherwise he's lucky :-p

I talked with him and he said that he did from instructions:
http://www.suse.de/~sndirsch/ati-installer-HOWTO.html

He downloaded drivers from ATI site.
I wrote what he said to me.

Offline

#69 2006-01-27 00:25:00

napoleon
Member
Registered: 2005-04-03
Posts: 176

Re: Anyone got ATI direct rendering working with Xorg 7.0???

hey guys i have been searching for how to get the latest ATI driver working woith xorg 7.0. and i think i have found something in the following 2 links:
http://forums.gentoo.org/viewtopic-t-42 … +21+7.html and http://www.thinkwiki.org/wiki/Problems_with_fglrx. Am not very comfortable with all this pacthing and compiling stuff so i thought a braveheart will check them out and see they can cook sothing for us.

Right now i have DRI working using the radeon drivers that comes with xorg but I have very low glxgears values:

3502 frames in 5.0 seconds = 700.197 FPS
3521 frames in 5.0 seconds = 704.004 FPS

So i figured i should try the proprietory drivers may be. My only real problem with my system now is when i modelling on blener. The whole system becomes sluggish and the model lags behind the cursor when i move it around the screen.

Thankx.


A good friend will come and bail you out of jail...BUT a true friend will be sitting next to you saying, "Damn...that was fun!"

Offline

#70 2006-01-27 12:32:35

lumiwa
Member
Registered: 2005-12-26
Posts: 712

Re: Anyone got ATI direct rendering working with Xorg 7.0???

3502 frames in 5.0 seconds = 700.197 FPS
3521 frames in 5.0 seconds = 704.004 FPS

Which ATI cards do you have? I have Radeon 9000 and I have:

13717 frames in 5.0 seconds = 2743.325 FPS
13700 frames in 5.0 seconds = 2739.844 FPS
13709 frames in 5.0 seconds = 2741.759 FPS

I have also:
glxinfo | grep direct
direct rendering: Yes

I have Xorg 7.0 and I Installed their ATI driver and in the xorg.conf I have:
Section "Module"
        Load  "ddc"  # ddc probing of monitor
    Load  "GLcore"
    Load  "dbe"
    Load  "dri"
    Load  "extmod"
    Load  "glx"
        Load  "bitmap" # bitmap-fonts
    Load  "type1"
    Load  "freetype"
    Load  "record"
EndSection

and on the end:
Section "DRI"
    Mode 0666
EndSection

Offline

#71 2006-01-27 13:32:48

matsche
Member
From: .at
Registered: 2004-04-27
Posts: 120

Re: Anyone got ATI direct rendering working with Xorg 7.0???

hey thanx lumiwa,
this solution works for me too!!
I got
15757 frames in 5.0 seconds = 3150.036 FPS
25643 frames in 5.0 seconds = 5128.446 FPS
28269 frames in 5.0 seconds = 5653.613 FPS
27256 frames in 5.0 seconds = 5451.142 FPS
28091 frames in 5.0 seconds = 5618.100 FPS

Maybe you will add this to the wiki!?


THX!!
cu matsche

Offline

#72 2006-01-28 21:21:52

lumiwa
Member
Registered: 2005-12-26
Posts: 712

Re: Anyone got ATI direct rendering working with Xorg 7.0???

matsche wrote:

Maybe you will add this to the wiki!?

I am not a Linux guru smile. I just combined my xorg.conf with old one which I had on Debian...

Offline

#73 2006-01-28 23:09:10

napoleon
Member
Registered: 2005-04-03
Posts: 176

Re: Anyone got ATI direct rendering working with Xorg 7.0???

I am going to try to install the latest ati drivers with Xorg7 using kernel 2.6.15 from stock. I am supposed to apply a patch to avoid lockup but i don't know how to apply it, to what and at what stage in the process. Do i apply it to the kernel source? what command do i use please?

Also from http://wiki.archlinux.org/index.php/ATI … and_Xorg_7 it says

Save this file (ati-driver-installer-8.20.8-i386.run) somewhere you'll remember, like in your home or a temp folder.

then it goes on to say

X_VERSION=x690 ati-drivers/ati-driver-installer-8.20.8-i386.run

. In which folder should i be before typing the command? And i suppose i need to type it as root right.?

Some of the questions might seem trivial but it will help me a lot if somebody can explained the above for me.

Thnx


A good friend will come and bail you out of jail...BUT a true friend will be sitting next to you saying, "Damn...that was fun!"

Offline

#74 2006-01-29 00:30:44

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: Anyone got ATI direct rendering working with Xorg 7.0???

1) 8.20.8 isn't the newest version of ATI's drivers.  I just haven't tried installing the newer one under Xorg 7.. it probably works the same.

2)

In which folder should i be before typing the command? And i suppose i need to type it as root right.?

Yup, you'll need to be root.  Seems I typo'd there, omit the ati-drivers/ part and just run

X_VERSION=x690 ati-driver-installer-8.20.8-i386.run

from wherever you saved it.

3) The patch to prevent lockups is here: http://bbs.archlinux.org/viewtopic.php?t=17668&
fglrx-2.6.15.diff

--- firegl_public.c.old    2005-12-09 19:21:33.000000000 +0100
+++ firegl_public.c    2005-12-18 14:44:15.000000000 +0100
@@ -2621,7 +2621,7 @@
 
     pMmPage = virt_to_page(kaddr);
 
-#if 0
+#if LINUX_VERSION_CODE >= 0x02060f
     // WARNING WARNINIG WARNNING WARNNING WARNNING WARNNING WARNNING WARNNING
     // Don't increment page usage count, cause ctx pages are allocated
     // with drm_alloc_pages, which marks all pages as reserved. Reserved

You'd have to patch the kernel module code provided with the installer.

patch -p0 < fglrx-2.6.15.diff

in the folder containing the kernel module.

PKGBUILD removed... I was dumb and used the .rpm which version-checks... if you don't have Xorg 6.8, the module wouldn't load.

Offline

#75 2006-01-29 09:36:57

napoleon
Member
Registered: 2005-04-03
Posts: 176

Re: Anyone got ATI direct rendering working with Xorg 7.0???

Well when i try to install with pacman, i get the ff:

[napoleon@archlinux ati-8.21.7]$ sudo pacman -U ./ati-drivers-8.21.7-1.pkg.tar.gz
loading package data... done.
:: ati-drivers conflicts with libgl-dri. Remove libgl-dri? [Y/n]
error: this will break the following dependencies:
  libgl-dri: is required by mesa

upgrade aborted.

What next please? Considering mesa itself is required by other programs so i cannot remove it.


A good friend will come and bail you out of jail...BUT a true friend will be sitting next to you saying, "Damn...that was fun!"

Offline

Board footer

Powered by FluxBB