Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved][dri] glxinfo said no but xorg.log said yes
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
ticapix
Tux's lil' helper
Tux's lil' helper


Joined: 18 Dec 2003
Posts: 138
Location: France, Paris

PostPosted: Sat Sep 25, 2004 7:06 am    Post subject: [solved][dri] glxinfo said no but xorg.log said yes Reply with quote

Hello,

I have yesterday moved from xfree to xorg. Every thing is ok (expect xterm config changed - but the way do you know where is the xterm config file)

The problem is that I made
Code:

emerge -C xfree
emerge -b xorg-x11
opengl-update xorg-x1

and I get no direct rendering activation.
My kernel version is 2.6.8-gentoo-r4.
My video card is based on the rage128 chipset (ati all in wonder pro 128 - an old one)
I don't know where the problem comes from.

Code:

ticapix\:0>glxinfo | grep render
direct rendering: No
OpenGL renderer string: Mesa GLX Indirect

but
Code:

ticapix\:0>cat /var/log/Xorg.0.log | grep -i drm
(II) Loading sub module "drm"
(II) LoadModule: "drm"
(II) Loading /usr/X11R6/lib/modules/linux/libdrm.a
(II) Module drm: vendor="X.Org Foundation"
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 5, (OK)
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 5, (OK)
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 5, (OK)
drmGetBusid returned ''
(II) R128(0): [drm] created "r128" driver at busid "PCI:1:0:0"
(II) R128(0): [drm] added 8192 byte SAREA at 0xe3977000
(II) R128(0): [drm] mapped SAREA 0xe3977000 to 0x421c8000
(II) R128(0): [drm] framebuffer handle = 0xd4000000
(II) R128(0): [drm] added 1 reserved context for kernel
(II) R128(0): [drm] register handle = 0xd9000000
(II) R128(0): [drm] installed DRM signal handler
(II) R128(0): [drm] Added 128 16384 byte vertex/indirect buffers
(II) R128(0): [drm] Mapped 128 vertex/indirect buffers
(II) R128(0): [drm] dma control initialized, using IRQ 5

Code:

ticapix\:0>cat /var/log/Xorg.0.log | grep -i dri
        X.Org Video Driver: 0.7
        X.Org XInput driver : 0.4
        ABI class: X.Org Video Driver, version 0.7
(II) LoadModule: "dri"
(II) Loading /usr/X11R6/lib/modules/extensions/libdri.a
(II) Module dri: vendor="X.Org Foundation"
(II) Loading extension XFree86-DRI
(II) Loading /usr/X11R6/lib/modules/drivers/r128_drv.o
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 0.7
(II) Loading /usr/X11R6/lib/modules/drivers/ati_drv.o
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 0.7
        Module class: X.Org XInput Driver
        ABI class: X.Org XInput driver, version 0.4
(II) ATI: ATI driver (version 6.5.6) for chipsets: ati, ativga
(II) R128: Driver for ATI Rage 128 chipsets:
(II) RADEON: Driver for ATI Radeon chipsets: ATI Radeon QD (AGP),
(II) Reloading /usr/X11R6/lib/modules/drivers/r128_drv.o
        ABI class: X.Org Video Driver, version 0.7
        ABI class: X.Org Video Driver, version 0.7
        ABI class: X.Org Video Driver, version 0.7
        ABI class: X.Org Video Driver, version 0.7
        ABI class: X.Org Video Driver, version 0.7
        ABI class: X.Org Video Driver, version 0.7
        ABI class: X.Org Video Driver, version 0.7
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: node name is /dev/dri/card0
(II) R128(0): [drm] created "r128" driver at busid "PCI:1:0:0"
(II) R128(0): [dri] Visual configs initialized
(II) R128(0): [DRI] installation complete
(II) Keyboard "Keyboard1" handled by legacy driver
ticapix\:0>


For xorg it seems ok, but I get no direct rendering.

Any Ideas ?
(I saw the same problem with nvidia https://forums.gentoo.org/viewtopic.php?t=210520.)

Thanks


Last edited by ticapix on Sun Aug 21, 2005 10:09 am; edited 2 times in total
Back to top
View user's profile Send private message
fctk
Veteran
Veteran


Joined: 28 Jan 2004
Posts: 1424
Location: Milan, Italy, EU

PostPosted: Sat Sep 25, 2004 7:33 am    Post subject: Re: [direct rendering] glxinfo said no but xorg.log said yes Reply with quote

ticapix wrote:
Every thing is ok (expect xterm config changed - but the way do you know where is the xterm config file)

it is in ~/.Xdefaults

anyway make sure you have read: http://www.gentoo.org/doc/en/xorg-config.xml
Back to top
View user's profile Send private message
ticapix
Tux's lil' helper
Tux's lil' helper


Joined: 18 Dec 2003
Posts: 138
Location: France, Paris

PostPosted: Sat Sep 25, 2004 2:17 pm    Post subject: Reply with quote

In fact I know what is wrong.

I used to follow this indications: http://www.gentoo.org/doc/en/ati-faq.xml on my old kernel
and it worked
I move form xfree+kernel2.4 to xorg+kernel2.6 at the same time

Now when I made:
Code:

VIDEO_CARDS="rage128" emerge x11-drm

I get:
Code:

!!! ERROR: x11-base/x11-drm-4.3.0-r7 failed.
!!! Function pkg_setup, Line 72, Exitcode 0
!!! Please link //usr/src/linux to 2.4 kernel sources. x11-drm does not yet work
 with 2.6 kernels, use the DRM in the kernel.

In the kernel I get:
Code:

 x       [*] Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)   
 x x       <M>   ATI Rage 128   

What can I do ?

Thanks

(I have no .Xdefaults anywhere on my system, any other ideas ?)

--edit--
apparently, I not the only one : https://forums.gentoo.org/viewtopic.php?t=214971
Back to top
View user's profile Send private message
fctk
Veteran
Veteran


Joined: 28 Jan 2004
Posts: 1424
Location: Milan, Italy, EU

PostPosted: Sat Sep 25, 2004 2:51 pm    Post subject: Reply with quote

well... i'm a nvidia user so don't know about ati... anyway .Xdefaults should be in your home directory (but what has changed in xterm? colors? fonts? don't understood)...
Back to top
View user's profile Send private message
ticapix
Tux's lil' helper
Tux's lil' helper


Joined: 18 Dec 2003
Posts: 138
Location: France, Paris

PostPosted: Sat Sep 25, 2004 3:17 pm    Post subject: Reply with quote

When I moved to xorg I get 34 config files to merge with etc-update
I take a quick look to some of then and (like a stupid guy) enter -5. So I didn't see which file was concern about the xterm configuration.

I used to have a scrollbar in my xterm and 200 lines history (not the last 200 commands but scrolling)
Some colors change from blue to black, things like that.
There is no problem, just a lack of configuration and I'm looking for the config file, for example adding 200 lines scroll and not only 64.
someone said me $> echo 'xterm*saveLines: 200' | xrdb -merge but it doesn't seems to work.
there is no .Xdefaults in my home directory neither.
As root I made a $> find / -name "*Xdefault*" with no results. I know it is weird.
Back to top
View user's profile Send private message
ticapix
Tux's lil' helper
Tux's lil' helper


Joined: 18 Dec 2003
Posts: 138
Location: France, Paris

PostPosted: Sun Sep 26, 2004 9:33 pm    Post subject: [direct rendering] glxinfo said no but xorg.log (solved) Reply with quote

Hello
I recompile xorg-x11 with this use flag
USE="sse mmx 3dnow" emerge -b xorg-x11

First of all , it is quicker than before,
Secondly, at the beginning of the recompilation emerge said: PAM actived (or something like that)
without any reboot
i made a
Code:

glxinfo | grep render

and get
Code:

direct rendering: Yes
OpenGL renderer string: Mesa DRI Rage 128 Pro 20030328 AGP 1x x86/MMX+/3DNow!+/SSE


so it is working. I m not sure of where the pb comes from. Maybe of the fact that the first time it didn't activate PAM.

Well now it is working.

I love Gentoo.
Back to top
View user's profile Send private message
fctk
Veteran
Veteran


Joined: 28 Jan 2004
Posts: 1424
Location: Milan, Italy, EU

PostPosted: Sun Sep 26, 2004 10:24 pm    Post subject: Reply with quote

i'm happy you solved
Back to top
View user's profile Send private message
ticapix
Tux's lil' helper
Tux's lil' helper


Joined: 18 Dec 2003
Posts: 138
Location: France, Paris

PostPosted: Thu Sep 30, 2004 9:17 am    Post subject: Reply with quote

just for information, when I play cube it is no as fast and fluid then with the old configuration with x11-drm.
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