Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GLX Gears: 260.400 FPS Getting a few errors!
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
d0t1q
n00b
n00b


Joined: 14 Jun 2005
Posts: 18

PostPosted: Wed Jun 22, 2005 2:09 am    Post subject: GLX Gears: 260.400 FPS Getting a few errors! Reply with quote

Hardware: IBM T42 (Radeon 7500 I believe) :-\

Problem:
When running glxgears, I receive the following errror:
Xlib: extension "XFree86-DRI" missing on display ":0.0".
Followed by a horrible result :(
1364 frames in 5.0 seconds = 272.800 FPS
1364 frames in 5.0 seconds = 272.800 FPS
1364 frames in 5.0 seconds = 272.800 FPS


I've already emerged the ati-drivers package but when following other how-to's I get the following error when emerging this package again:
* You have DRM support enabled, the direct rendering
* will not work.
* X11 implementation is xorg-x11.


Here's my xorg.conf: http://xbeta.com/xorg.conf
Here's my kernel config: http://xbeta.com/.config
EDIT: Here's my lsmod also:
Code:
md5                     4032  1
ipv6                  270464  6
pcmcia                 25864  8
snd_pcm_oss            54368  0
snd_mixer_oss          20608  1 snd_pcm_oss
snd_seq_oss            36160  0
snd_seq_midi_event      8000  1 snd_seq_oss
snd_seq                55888  4 snd_seq_oss,snd_seq_midi_event
snd_seq_device          8716  2 snd_seq_oss,snd_seq
ohci_hcd               22600  0
ipw2200               181640  0
firmware_class         10560  1 ipw2200
ieee80211              47876  1 ipw2200
ieee80211_crypt         6344  2 ipw2200,ieee80211
e1000                  89588  0
yenta_socket           23304  2
rsrc_nonstatic         11072  1 yenta_socket
pcmcia_core            50996  3 pcmcia,yenta_socket,rsrc_nonstatic
8250_pci               18560  0
8250                   24708  1 8250_pci
serial_core            23680  1 8250
snd_intel8x0           33984  0
snd_ac97_codec         78968  1 snd_intel8x0
snd_pcm                96968  3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
snd_timer              26692  2 snd_seq,snd_pcm
snd                    57956  9 snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_seq_device,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
soundcore              10592  1 snd
snd_page_alloc         10116  2 snd_intel8x0,snd_pcm
i2c_i801                8716  0
i2c_core               23184  1 i2c_i801
ehci_hcd               33608  0
usbhid                 35008  0
usbmouse                6016  0
uhci_hcd               33424  0
shpchp                103076  0
pci_hotplug            12868  1 shpchp
dm_crypt               12808  0
dm_mod                 61436  1 dm_crypt
radeon                 78528  0
drm                    67924  1 radeon
joydev                 10048  0
evdev                   9664  0
psmouse                29960  0
nvram                   9672  0
ibm_acpi               16572  0
video                  16068  0
intel_agp              23132  1
agpgart                35240  2 drm,intel_agp
thermal                13448  0
processor              23028  1 thermal
fan                     4484  0
container               4416  0
button                  6608  0
battery                10116  0
ac                      4804  0


I'll give my left leg for the solution to this :roll:


-steve
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Wed Jun 22, 2005 1:00 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Desktop Environments.
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
monkey89
Guru
Guru


Joined: 08 Mar 2004
Posts: 596

PostPosted: Wed Jun 22, 2005 2:06 pm    Post subject: Reply with quote

7500? You shouldn't be using ati-drivers, or really x11-drm either.

Go in the kernel, Device Drivers -> Character devices, enable agpgart and DRM for your chipset, recompile and reboot, set the xorg driver to "radeon" and try again.

-Monkey
Back to top
View user's profile Send private message
d0t1q
n00b
n00b


Joined: 14 Jun 2005
Posts: 18

PostPosted: Thu Jun 23, 2005 3:23 am    Post subject: Reply with quote

I've done as suggested.. and I'm receiving the same results:
gentoo Xlib: extension "XFree86-DRI" missing on display ":0.0". 7500
when opening glxgears...

From my understanding, xorg is completely different from xfree86.. I'm running xorg.. so why would I need this xfree86 DRI stuff?
Back to top
View user's profile Send private message
brumbrum
n00b
n00b


Joined: 07 Jun 2005
Posts: 18

PostPosted: Thu Jun 23, 2005 7:25 am    Post subject: Reply with quote

Add
load "dri"
to the modules-section in your /etc/X11/xorg.conf
Back to top
View user's profile Send private message
Zanfib
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jun 2004
Posts: 87
Location: France - Blotzheim

PostPosted: Thu Jun 23, 2005 12:02 pm    Post subject: Reply with quote

Have you do a :

Code:
opengl-update xorg-x11


And restarted X ?

I confirm that ati-drivers isn't for radeon 7500, only up to 9000. If you're sure of you're hardware you can unmerge.
Back to top
View user's profile Send private message
d0t1q
n00b
n00b


Joined: 14 Jun 2005
Posts: 18

PostPosted: Thu Jun 23, 2005 12:06 pm    Post subject: Reply with quote

brumbrum wrote:
Add
load "dri"
to the modules-section in your /etc/X11/xorg.conf


I wish your suggestion worked but if you look in the xorg.conf I linked to in my original post, you'll see:

Quote:
Section "Module"

# This loads the DBE extension module.

Load "dbe" # Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection

# This loads the font modules
Load "type1"
Load "freetype"

# This loads the GLX module
Load "glx"
# This loads the DRI module
Load "dri"

EndSection


I hate shooting down suggestions because I really want to get this fixed but unfortunately I've already done that.

Thanks for the help anyways. Any other suggestions? I've recompiled my kernel but all the options that are suggested have been compiled in. See the config if needed.
Back to top
View user's profile Send private message
d0t1q
n00b
n00b


Joined: 14 Jun 2005
Posts: 18

PostPosted: Thu Jun 23, 2005 12:11 pm    Post subject: Reply with quote

Zanfib wrote:
Have you do a :

Code:
opengl-update xorg-x11


And restarted X ?

I confirm that ati-drivers isn't for radeon 7500, only up to 9000. If you're sure of you're hardware you can unmerge.



Ok.. I'll do that asap.

Thank you for the help.
Back to top
View user's profile Send private message
d0t1q
n00b
n00b


Joined: 14 Jun 2005
Posts: 18

PostPosted: Thu Jun 23, 2005 9:33 pm    Post subject: Reply with quote

Zanfib wrote:
Have you do a :

Code:
opengl-update xorg-x11


And restarted X ?

I confirm that ati-drivers isn't for radeon 7500, only up to 9000. If you're sure of you're hardware you can unmerge.


Your suggestion got rid of the error! However.... (notice the direct rendering section)

Code:
tux root # glxinfo
name of display: :0.0
display: :0  screen: 0
direct rendering: No


I'm still only pulling 297 frames per second. Is there anything I can redo that may fix this? Perhaps unemerge something I shouldnt have installed? I believe I installed ati-drivers .. but nothing in my modules list is showing up that says "ati-drivers". --Only radeon which is what I assume is correct.

Any other suggestions? Thanks for everyone's help
Back to top
View user's profile Send private message
brumbrum
n00b
n00b


Joined: 07 Jun 2005
Posts: 18

PostPosted: Thu Jun 23, 2005 11:45 pm    Post subject: Reply with quote

On this page: http://sourceforge.net/docman/display_doc.php?docid=26963&group_id=102048
there is some lines that is interresting for you, even that you do not use the unichrome-driver:
Quote:
Pull up a terminal and type "export LIBGL_DEBUG=verbose" (This is a holy mantra; do not forget it!) and then type "glxinfo". If you're rocking, you'll see a "direct rendering: Yes." If you see a "no" you should also see some reasons why.
Back to top
View user's profile Send private message
Mad Merlin
Veteran
Veteran


Joined: 09 May 2005
Posts: 1155

PostPosted: Fri Jun 24, 2005 5:10 am    Post subject: Reply with quote

Grab the latest DRI drivers and install them. You may also be interested in enabling S3TC. I'm using a Radeon 7500 in a Thinkpad T40 and have no issues with it.
Back to top
View user's profile Send private message
Zanfib
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jun 2004
Posts: 87
Location: France - Blotzheim

PostPosted: Fri Jun 24, 2005 7:46 am    Post subject: Reply with quote

So, it's a step in the right direction.

Have you the radeon module loaded in the kernel ?
And the agp-modules ??

What say a dmesg about radeon ?

Please provide your /var/log/Xorg.0.log.

Thanks for infos ;)
Back to top
View user's profile Send private message
d0t1q
n00b
n00b


Joined: 14 Jun 2005
Posts: 18

PostPosted: Fri Jun 24, 2005 8:55 pm    Post subject: Reply with quote

Zanfib wrote:
So, it's a step in the right direction.

Have you the radeon module loaded in the kernel ?
And the agp-modules ??

What say a dmesg about radeon ?

Please provide your /var/log/Xorg.0.log.

Thanks for infos ;)


I believe so.. I'm going to keep digging.. Here's my logs and dmesg though... Thanks for helping me here..

http://xbeta.com/dmesg
http://xbeta.com/Xorg.0.log
Back to top
View user's profile Send private message
brumbrum
n00b
n00b


Joined: 07 Jun 2005
Posts: 18

PostPosted: Sat Jun 25, 2005 1:21 am    Post subject: Reply with quote

Quote:
(WW) RADEON(0): Direct rendering not yet supported on Radeon 9500 and newer cards


I guess you have to wait until your card is supported... Else, if your card is a 7500 as you think it is, you can try to overwrite the cardID some way in you xorg.conf. Right now I dont know how to do so, but look for the documentation, I know I had to do so to get my Radeon 9200 to work before it was officealy supported by XFree86.
Good luck! Hope you fix it!
Back to top
View user's profile Send private message
d0t1q
n00b
n00b


Joined: 14 Jun 2005
Posts: 18

PostPosted: Sat Jun 25, 2005 1:29 am    Post subject: Reply with quote

brumbrum wrote:
Quote:
(WW) RADEON(0): Direct rendering not yet supported on Radeon 9500 and newer cards


I guess you have to wait until your card is supported... Else, if your card is a 7500 as you think it is, you can try to overwrite the cardID some way in you xorg.conf. Right now I dont know how to do so, but look for the documentation, I know I had to do so to get my Radeon 9200 to work before it was officealy supported by XFree86.
Good luck! Hope you fix it!


Also, I noticed in my dmesg, the following:
Code:
[drm] Initialized radeon 1.14.0 20050125 on minor 0: ATI Technologies Inc RV350 [Mobility Radeon 9600 M10]
device-mapper: 4.4.0-ioctl (2005-01-12) initialised: dm-devel@redhat.com


I have a ATI 7500 in a T42 laptop from my understanding...

I have another block device with debian on it that gets ~500fps in glxgears so.... I think I'll hop on it and compair the configurations.. --Don't konw why I didnt think of this before. brb
Back to top
View user's profile Send private message
d0t1q
n00b
n00b


Joined: 14 Jun 2005
Posts: 18

PostPosted: Sat Jun 25, 2005 7:27 pm    Post subject: Reply with quote

I couldnt find anything out of the ordinary.. My debian install is using xfree86 vs. xorg..

I guess I'll just wipe my install and try again.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum