View previous topic :: View next topic |
Author |
Message |
sebfisch n00b
Joined: 10 Mar 2003 Posts: 45 Location: Kiel, Germany
|
Posted: Wed Apr 30, 2003 5:26 pm Post subject: No direct rendering with ATI Radeon 8500 |
|
|
hi,
direct rendering doesn't seem to work for me.. I have compiled mtrr and agpgart into my kernel, emerged xfree-drm, loaded dri in XFree86Conf an put the "DRI" Section there too. (I slightly followed the instructions in this tutorial)
I load the radeon module in /etc/modules.autoload, but still get the message
Quote: |
direct rendering: No
|
from glxinfo. i have a ati radeon 8500 card, and glxgears give me about 300 fps
any idea what's going wrong with direct rendering? thanks a lot! i appreceate any helpful comments..
sebastian |
|
Back to top |
|
|
Braempje l33t
Joined: 31 Jan 2003 Posts: 748
|
Posted: Thu May 01, 2003 9:22 am Post subject: |
|
|
What's your output from XFree? When it starts it produces a lot of output on the console you started it in, have a look there. Also the XFree log files are very usefull (/var/log/XFree86.0.log). |
|
Back to top |
|
|
sebfisch n00b
Joined: 10 Mar 2003 Posts: 45 Location: Kiel, Germany
|
Posted: Thu May 01, 2003 4:10 pm Post subject: XFree8.0.log |
|
|
i upped my XFree86.0.log here. I dont start xfree by hand, but with the xdm init skript (using gdm as login manager) I hope the log is helpful enough - I dont really understand what's in it.. so I would be happy to see anyone who does
thank you,
Sebastian |
|
Back to top |
|
|
Braempje l33t
Joined: 31 Jan 2003 Posts: 748
|
Posted: Thu May 01, 2003 4:34 pm Post subject: |
|
|
Very strange, because in your log:
Code: | (II) RADEON(0): Acceleration enabled
(==) RADEON(0): Backing store disabled
(==) RADEON(0): Silken mouse enabled
(II) RADEON(0): Using hardware cursor (scanline 1026)
(II) RADEON(0): Largest offscreen area available: 1280 x 7158
(II) RADEON(0): v4l[/dev/video0]: using hw video scaling [YUY2].
(II) RADEON(0): X context handle = 0x00000001
(II) RADEON(0): [drm] installed DRM signal handler
(II) RADEON(0): [DRI] installation complete
(II) RADEON(0): [drm] Added 32 65536 byte vertex/indirect buffers
(II) RADEON(0): [drm] Mapped 32 vertex/indirect buffers
(II) RADEON(0): [drm] dma control initialized, using IRQ 10
(II) RADEON(0): [drm] Initialized kernel agp heap manager, 5111808
(II) RADEON(0): Direct rendering enabled |
Do you have the latest Xfree and the latest XFree drm? |
|
Back to top |
|
|
sebfisch n00b
Joined: 10 Mar 2003 Posts: 45 Location: Kiel, Germany
|
Posted: Thu May 01, 2003 7:59 pm Post subject: |
|
|
Braempje wrote: | Do you have the latest Xfree and the latest XFree drm? |
yes - here what emerge search says:
Code: |
* x11-base/xfree
Latest version available: 4.3.0-r2
Latest version installed: 4.3.0-r2
Size of downloaded files: 70,846 kB
Homepage: http://www.xfree.org
Description: Xfree86: famous and free X server
* x11-base/xfree-drm
Latest version available: 4.3.0
Latest version installed: 4.3.0
Size of downloaded files: 196 kB
Homepage: http://www.xfree.org
Description: Xfree86 Kernel DRM modules
|
maybe the complete output of glxinfo helps?
What does this mean in XFree86.0.log?
Quote: | (WW) Open APM failed (/dev/apm_bios) (No such file or directory) |
thanks again,
Sebastian |
|
Back to top |
|
|
ehudokai n00b
Joined: 27 Dec 2002 Posts: 53 Location: Southern Cal, USA
|
Posted: Fri May 02, 2003 4:51 am Post subject: what about your config file? |
|
|
Ok in your config file usually found at
Code: | /etc/X11/XF86Config |
Do you have a section that says something like this?:
Code: | Section "DRI"
Mode 0666
EndSection
|
Without it, unless you are logging in as root, which is not a good idea, you will not have access to the DRI resources... If you don't have those lines... add them and restart your XServer... see if that helps. |
|
Back to top |
|
|
Braempje l33t
Joined: 31 Jan 2003 Posts: 748
|
Posted: Fri May 02, 2003 6:17 am Post subject: |
|
|
sebfisch wrote: | What does this mean in XFree86.0.log?
Quote: | (WW) Open APM failed (/dev/apm_bios) (No such file or directory) |
|
It means you have no Advanced Power Management compiled in your kernel, but somewhere in XFree you are asking for it. So recompile your kernel with apm or acpi support in it, and this error message should be gone. |
|
Back to top |
|
|
sebfisch n00b
Joined: 10 Mar 2003 Posts: 45 Location: Kiel, Germany
|
Posted: Fri May 02, 2003 8:51 am Post subject: Re: what about your config file? |
|
|
ehudokai wrote: | Do you have a section that says something like this?: .... |
yes I have this section in my config file.. seems to be a strange problem
thank you Braempje for your explanation, I'll recompile, but it doesn't seem to explain the dri problem, does it?
thanks to both of you,
Sebastian |
|
Back to top |
|
|
Braempje l33t
Joined: 31 Jan 2003 Posts: 748
|
Posted: Fri May 02, 2003 11:33 am Post subject: |
|
|
APM won't give DRI problems afaik. |
|
Back to top |
|
|
sebfisch n00b
Joined: 10 Mar 2003 Posts: 45 Location: Kiel, Germany
|
Posted: Sat May 03, 2003 2:06 pm Post subject: WOW!! |
|
|
hi there,
i solved my problem as follows:
I dont use the radeon card for long (had an nvidia card before) so I unmerged nvidia-kernel and nvidia-glx and ran opengl-update xfree, which was recommeded in this post.
After restarting X, glxinfo told me, that now direct rendering is used and running glxgears convinced me, that this is really the case! I get nearly 2400 fps (with the normal window size of glxgears) and didnt expect such an improvement..
Seems like he used the nvidia drivers although i emerged ati-drivers.
thanks for your help,
Sebastian |
|
Back to top |
|
|
|