You are not logged in.

#26 2006-01-07 12:55:37

Avenger
Member
Registered: 2005-11-11
Posts: 62

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

ok, first, are there any errors or warnings what so ever in you Xorg.0.log file that has anything to do with fglrx?

Offline

#27 2006-01-07 13:08:05

Komodo
Member
From: Oxford, UK
Registered: 2005-11-03
Posts: 674

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

Avenger wrote:

ok, first, are there any errors or warnings what so ever in you Xorg.0.log file that has anything to do with fglrx?

Huh, yeah there is:

(WW) fglrx(0): Kernel Module version does *not* match driver.
(EE) fglrx(0): incompatible kernel module detected - HW accelerated OpenGL will not work

This makes no sense to me though - why would I have an incompatible kernel module when I've had my card working with this kernel before?

lsmod shows only fglrx and ipv6:

Module                  Size  Used by
fglrx                 256960  0 
ipv6                  217856  17 

The ubuntu forums have this to say:

Note If you are having problems related to DRI or 3d acceleration and the following lines show up in your /var/log/Xorg.0.log

(WW) fglrx(0): Kernel Module version does *not* match driver.
(EE) fglrx(0): incompatible kernel module detected - HW accelerated OpenGL will not work

then make sure you have linux-restricted-modules installed for your kernel (type sudo apt-get install linux-restricted-modules-$(uname -r)). 

...but I don't understand what it means by 'linux-restricted-modules'.


.oO Komodo Dave Oo.

Offline

#28 2006-01-07 13:33:04

Komodo
Member
From: Oxford, UK
Registered: 2005-11-03
Posts: 674

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

Well I fixed it.

I recalled you saying that you still had the old drivers installed Avenger, so I did

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

...which reinstalled the drivers in the same place as for xorg 6.8.2

Moment of truth:

dave@kaminoitte:/var/abs/local$ glxinfo | grep direct
direct rendering: Yes

Boy oh boy, was I smiling at this point big_smile

I'd like to say a HUGE 'Thank you' Avenger - your aid has been invaluable, and there's no way I'd have got my drivers working without your help. Thank you so very much!

/me is a happy bunny  =oD


.oO Komodo Dave Oo.

Offline

#29 2006-01-07 13:37:49

Avenger
Member
Registered: 2005-11-11
Posts: 62

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

Hmm, neither do I, but you could try to build a new module.

go to this path, in the extracted directory;

common/lib/modules/fglrx/build_mod

and run

./make.sh

then go to the parent directory ( .. ) and run ./make_install.sh

You will probably have to chmod the files with execute permissions. This will build and install a new kernel module.

EDIT:

Oh, nice to see that you fixed it big_smile

Offline

#30 2006-01-10 17:40:34

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???

-=EDIT=-
ARGH! I didn't notice an earlier post saying that libfglrxdrm.so needed to be in /usr/X11R6/lib/modules/linux instead of /usr/lib/xorg/modules/linux.  Added an appropriate symlink and it's all working again.

Curse you, ATI! *shakes fist*
-=/edit=-

(problem removed for space concerns, involved everything being in the right place except for the above.)

Offline

#31 2006-01-10 19:51: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???

Hey guys, I Wikified this information.  Please look it over to make sure I didn't miss anything.

http://wiki.archlinux.org/index.php/ATI … and_Xorg_7

Offline

#32 2006-01-10 20:44:01

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

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

Does tv-out work as it should? any kinds of problems at all?


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

Offline

#33 2006-01-10 20:52:41

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???

jinn wrote:

Does tv-out work as it should? any kinds of problems at all?

I use a dual-head setup and my TV-out looks fine to me.

Offline

#34 2006-01-11 05:06:32

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

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

I have followed the exploits here in the forum.  And tried the install both Cerebral's way here http://wiki.archlinux.org/index.php/ATI … and_Xorg_7
and this way here http://wiki.archlinux.org/index.php/ATI … Kernel_2.6

Yet, I am still not getting the direct rendering.  Here are some of the errors from my /var/log/Xorg.0.log

(WW) fglrx: No matching Device section for instance (BusID PCI:2:0:1) found
EE) fglrx(0): [agp] unable to acquire AGP, error "xf86_ENOMEM"
(EE) fglrx(0): cannot init AGP
(II) fglrx(0): [drm] removed 1 reserved context for kernel
(II) fglrx(0): [drm] unmapping 8192 bytes of SAREA 0xf8e97000 at 0x40029000
(WW) fglrx(0): ***********************************************
(WW) fglrx(0): * DRI initialization failed!                  *
(WW) fglrx(0): * (maybe driver kernel module missing or bad) *
(WW) fglrx(0): * 2D acceleraton available (MMIO)             *
(WW) fglrx(0): * no 3D acceleration available                *
(WW) fglrx(0): ********************************************* *

A little information, I am using the community repository archck kernel, and the latest drivers from ati.  The card is a 9600xt.  The frustrating thing is everything worked hunky dory until last week when I switched kernels.  And before any asks, yes I did reinstall the drivers and such after changing kernels.  Hell, I even tried to use the old stock kernel with no success. 
I tried to just build the fglrx as Avenger suggeted earlier in this topic but had no success.  I recieved these errors:

ATI module generator V 2.0
==========================
initializing...
cleaning...
patching 'highmem.h'...
assuming new VMA API since we do have kernel 2.6.x...
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/2.6.14-archck/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-2.6.14-archck'
  Building modules, stage 2.
  MODPOST
make[1]: Leaving directory `/usr/src/linux-2.6.14-archck'
build succeeded with return value 0
 compiling fglrx_agp.ko module
make -C /lib/modules/2.6.14-archck/build SUBDIRS=/lib/modules/fglrx/build_mod/firegl_agpgart modules
make[1]: Entering directory `/usr/src/linux-2.6.14-archck'
  CC [M]  /lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.o
In file included from /lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.c:113:
/lib/modules/fglrx/build_mod/firegl_agpgart/firegl_agp.h:755:1: warning: "PCI_DEVICE_ID_INTEL_ICH7_1" redefined
In file included from include/linux/pci.h:26,
                 from /lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.c:74:
include/linux/pci_ids.h:2529:1: warning: this is the location of the previous definition
/lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.c:171: error: static declaration of 'errno' follows non-static declaration
include/linux/unistd.h:4: error: previous declaration of 'errno' was here
/lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.c: In function '__ke_phys_to_virt':
/lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.c:660: warning: passing argument 1 of 'phys_to_virt' makes integer from pointer without a cast
/lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.c:660: warning: return makes integer from pointer without a cast
/lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.c: In function '__ke_verify_area':
/lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.c:1123: warning: implicit declaration of function 'verify_area'
/lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.c: In function '__ke_get_vm_phys_addr':
/lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.c:1362: warning: passing argument 1 of 'pmd_offset' from incompatible pointer type
/lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.c: In function '__ke_vm_phys_addr_str':
/lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.c:1818: warning: passing argument 1 of 'pmd_offset' from incompatible pointer type
make[2]: *** [/lib/modules/fglrx/build_mod/firegl_agpgart/firegl_wrap.o] Error 1
make[1]: *** [_module_/lib/modules/fglrx/build_mod/firegl_agpgart] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.14-archck'
make: *** [default] Error 2
AGPGART module build failed with return value 2
duplicating results into driver repository...
done.
==============================
You must change your working directory to /lib/modules/fglrx
and then call ./make_install.sh in order to install the built module.

Well, any help would be appreciated.  Though I'm this close to putting the card up on eBay and buying a geforce 6600  I haven't seen near as many problems with them in my research trying to fix this. smile

Dogma

Offline

#35 2006-01-11 12:22:53

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???

Well, Dogma, it seems both problems stem from not being able to build/install the fglrx kernel module.. however I'm not sure how exactly to fix it.
Did you try following the lines listed at the bottom of that quote?

You must change your working directory to /lib/modules/fglrx
and then call ./make_install.sh in order to install the built module.

Offline

#36 2006-01-12 02:50:38

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

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

Yep, ran it again just now.  Then rebooted the whole system, still no go.  It looked like it finished correctly, I revieved no error messages.  The second of the my quotes above came from an attempt to follow Avenger's instructions, but apparently was a no go.
I was wondering if the bus id error from the xorg log file could be the culprit.  Keep in mind that those errors are excised from the log.  I figured it was to big to post the whole thing, so I just posted the WW and EE.  Oh well, if there are any further thoughts, let me know.  If worse comes to worse, when I get my other HDs back from RMA I'll transfer my data over there and reformat and install fresh.  (note:the drives failed under my old XP system, before I converted)

Later guys,
Dogma

Offline

#37 2006-01-13 23:57:17

sydney
Member
Registered: 2005-11-25
Posts: 63

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

this howto http://wiki.archlinux.org/index.php/ATI … and_Xorg_7
doesent work for me (radeon 9700)

How can i down grade xorg to 6.8.2?
i only get a screen if i delete the /etc/X11/xorg.conf
with my old xorg.conf (rename all path) geting many many errors.

Please Help me to Downgrade xorg.

Thank you.

Offline

#38 2006-01-14 00:09:26

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???

Hm... well, you can check /var/log/pacman.log to get a list of packages you installed when you upgraded to Xorg 7. 

I imagine if you remove all those packages with pacman -R, remove [testing] from pacman.conf and then pacman -S xorg you should get Xorg 6.8 back... couldn't say for sure though, since I didn't need to downgrade myself.

What errors are you getting with your old xorg.conf -- maybe we can help you fix them?  Can you post the output of

grep -E "(EE)|(WW)" /var/log/Xorg.0.log

so we can try to fix them?

Offline

#39 2006-01-14 11:12:17

sydney
Member
Registered: 2005-11-25
Posts: 63

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

Cerebral wrote:

Hm... well, you can check /var/log/pacman.log to get a list of packages you installed when you upgraded to Xorg 7. 

I imagine if you remove all those packages with pacman -R, remove [testing] from pacman.conf and then pacman -S xorg you should get Xorg 6.8 back... couldn't say for sure though, since I didn't need to downgrade myself.

What errors are you getting with your old xorg.conf -- maybe we can help you fix them?  Can you post the output of

grep -E "(EE)|(WW)" /var/log/Xorg.0.log

so we can try to fix them?

heres is the output

    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/".
(WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts".
(WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/".
(WW) xf86OpenConsole: Could not save ownership of VT
(WW) xf86OpenConsole: chown /dev/tty0 failed: No such file or directory
(WW) fglrx: No matching Device section for instance (BusID PCI:2:0:1) found
(WW) fglrx(0): Specified desktop setup not supported: 8
(WW) Couldn't load XKB keymap, falling back to pre-XKB keymap

I 100% Follow 3 Times the Wiki HowTo.
I hope we getting mz xorg7 working  roll

Offline

#40 2006-01-14 15:06:23

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???

sydney,
From that log I can see that:

· you have three font paths set up incorrectly
· ignore the "Could not save ownership" and following line, I get those too and they don't seem to hurt anything.
· fglrx seems to load fine
· In your keyboard InputDevice section, change "XkbRules" from "xfree86" to "xorg"
· In your "Device" section for your ATI card, you have your fglrx DesktopSetup set to "8" and it doesn't support that value.  What kind of a setup are you running?  Dual-screen?
· No critical errors happened.

Did you try making a new config with fglrxconfig and fixing the font/module paths in that?

Offline

#41 2006-01-14 21:02:15

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???

BroodingDogma wrote:

Yep, ran it again just now.  Then rebooted the whole system, still no go.

Hey Dogma, I was just poking around and found out from http://www.thinkwiki.org/wiki/Problems_with_fglrx that you need to patch the kernel fglrx driver to get it to compile properly with kernel 2.6.15.

Check out that wiki page for more info, that may be the solution to your problem.

Offline

#42 2006-01-14 21:57:56

sydney
Member
Registered: 2005-11-25
Posts: 63

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

Cerebral thank zou for your help

I have solved the problem (buy today a Nvidia 6600GT) and its working without any problem *and much more fast.

For 1-2 Years i have swear of ATI but since i am using linux i *hate* ATI.
Next Card for my Laptop is Nvidia sorry ATI you got more then 1 chance.

Really Thanks for helping Cerebral

Offline

#43 2006-01-14 23:07:30

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???

sydney wrote:

I have solved the problem (buy today a Nvidia 6600GT)

*lol* Great solution.  Unfortunately, I don't have the cash to spend on another card at the moment, heh.

Enjoy it. smile

Offline

#44 2006-01-14 23:10:40

sydney
Member
Registered: 2005-11-25
Posts: 63

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

Cerebral wrote:
sydney wrote:

I have solved the problem (buy today a Nvidia 6600GT)

*lol* Great solution.  Unfortunately, I don't have the cash to spend on another card at the moment, heh.

Enjoy it. smile

lol i think nvidia is the best choice for linux..
Someone need a ATI 9700 ?  roll

Offline

#45 2006-01-15 01:45:30

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

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

I installed 7,0 without any problems, every application is working correctly, DRI is also working and I can play Enemy Territory.
Only problem I have is Xvideo - stopped working after upgrade sad
I have just empty mplayer window when using xv, so I need to use x11...

PS. Radeon 9100, but I can't find anyone with similiar problem

Offline

#46 2006-01-15 03:09:51

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???

actually, Jacek, I have the same problem.  I switched my movie players to openGL to avoid it.

Offline

#47 2006-01-15 16:08:43

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

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

Great! Good to see that it is not limited to my hardware.
Could you show me your card information from logs?
Mine is:
(--) PCI:*(1:0:0) ATI Technologies Inc Radeon R200 QM [Radeon 9100] rev 0, Mem @ 0xd0000000/27, 0xd9000000/16, I/O @ 0xc000/8
I already posted to xorg mailing list, but received no response yet.

Offline

#48 2006-01-15 16:29:50

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???

Jacek:

(--) PCI:*(1:0:0) ATI Technologies Inc RV350 AR [Radeon 9600] rev 0, Mem @ 0xc0000000/28, 0xe9000000/16, I/O @ 0xa000/8
(--) PCI: (1:0:1) ATI Technologies Inc RV350 AR [Radeon 9600] (Secondary) rev 0, Mem @ 0xd0000000/28, 0xe9010000/16

Offline

#49 2006-01-15 16:56:14

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

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

Hm... two different cards, so we must have something else same...
your chipset?
agpgart: Detected VIA KT266/KY266x/KT333 chipset
cpu?
model name      : AMD Athlon(tm) XP 1800+

Offline

#50 2006-01-15 17:07:40

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???

agpgart: Detected VIA KT400/KT400A/KT600 chipset
cpu: AMD Athlon XP 2400+

Just to be clear, my video under xv isn't totally blank, it's totally green. tongue

Offline

Board footer

Powered by FluxBB