You are not logged in.

#1 2006-09-30 15:06:06

souls-seb
Member
Registered: 2006-09-30
Posts: 26

fglrx - no direct rendering

I had direct rendering with fglrx, and decided to try the open source drivers - don't ask me why roll
But now I've removed the open source drivers with
pacman -R xf86-video-ati
and reinstalled fglrx with
pacman S ati-fglrx

I changed my xorg.conf to load fglrx, the same with rc.conf.
Xorg launches fine, but there is no direct rendering and I cannot find anything in Xorg.0.log related to DRI. Only "DRI installation succeeded!", which has me baffled.
glxgears runs really slow.

I have an ATI Radeon Xpress 200M with 128mb shared memory in a Toshiba laptop. Latest arch kernel and fglrx.

glxinfo output
xorg.conf
Xorg.0.log

I wish to run XGL on this machine, is that possible? I can't find anything on ATI Radeon Xpress 200M support.

Offline

#2 2006-09-30 18:12:30

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

Re: fglrx - no direct rendering

What do you get when you run

$ sudo updatedb
$ locate libGL

?

Try reinstalling ati-fglrx-utils with

pacman -S ati-fglrx-utils

- reinstall even if it says it's up to date.

Offline

#3 2006-09-30 18:23:45

souls-seb
Member
Registered: 2006-09-30
Posts: 26

Re: fglrx - no direct rendering

I need to be in windows atm, but I already tried that.

locate libGL outputs:
/usr/lib/libGL.so
/usr/lib/libGL.so.1
/usr/lib/libGL.so.1.2

I just saw this on the Wiki, I'll report back later when I've had the chance to try it out.

Offline

#4 2006-09-30 21:43:51

souls-seb
Member
Registered: 2006-09-30
Posts: 26

Re: fglrx - no direct rendering

The Wiki-tip didn't help, neither did a reinstall of fglrx an fglrx-utils.

However, locate libGL outputs:

/usr/lib/xorg/modules/extensions/libGLcore.xorg
/usr/lib/xorg/modules/extensions/libGLcore.so
/usr/lib/libGL.so.1.2
/usr/lib/libGL.so
/usr/lib/libGL.so.1
/usr/lib/libGLU.so
/usr/lib/libGLU.so.1
/usr/lib/libGLU.so.1.3.060501
/usr/lib/libGLw.so
/usr/lib/libGLw.so.1
/usr/lib/libGLw.so.1.0.0
/usr/lib/libGLEW.so.1.3.4
/usr/lib/libGLEW.so
/usr/lib/libGLEW.a
/usr/lib/libGLEW.so.1.3

Should I rm everything but libGL.so, libGL.so.1 and libGL.so.1.2 ?

Offline

#5 2006-09-30 22:13:21

tardo
Member
Registered: 2006-07-15
Posts: 526

Re: fglrx - no direct rendering

mm, are you running XGL? or regular X?
try running a regular X session and see if dri works.
also, make sure you're in the video group (not sure if that has any effect)

Offline

#6 2006-09-30 22:26:04

souls-seb
Member
Registered: 2006-09-30
Posts: 26

Re: fglrx - no direct rendering

Regular X. When I get DRI going I'll attempt XGL. Atm, XGL won't start but that will be the next project smile

And I'm in the video group.

Offline

#7 2006-10-01 01:18:46

tardo
Member
Registered: 2006-07-15
Posts: 526

Re: fglrx - no direct rendering

Here's my xorg.conf, perhaps it might help. I'm running an ATI 9600 pro.

http://nagi-fanboi.net/xorg.conf

Offline

#8 2006-10-02 07:40:46

souls-seb
Member
Registered: 2006-09-30
Posts: 26

Re: fglrx - no direct rendering

Didn't help hmm

I think it has something to do with the libGL files, but I have no idea how to fix it. sad
Upgrading to fglrx-8.29.6 atm, maybe that helps.

Offline

#9 2006-10-02 08:15:26

vacant
Member
From: downstairs
Registered: 2004-11-05
Posts: 816

Re: fglrx - no direct rendering

How about

pacman -Sf xorg-server

Offline

#10 2006-10-02 14:51:06

souls-seb
Member
Registered: 2006-09-30
Posts: 26

Re: fglrx - no direct rendering

Nope sad

Xorg.0.log has

(II) fglrx(0): DRI initialization successfull!

but glxinfo still prints

libGL: XF86DRIGetClientDriverName: 8.29.6 fglrx (screen 0)
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri//fglrx_dri.so
direct rendering: No
OpenGL renderer string: Mesa GLX Indirect

If i remove all libGL's but libGL.so, libGL.so.1 and libGL.so.1.2, it complains about missing libGLU.so.

Offline

#11 2006-10-02 15:00:42

Sigi
Member
From: Thurgau, Switzerland
Registered: 2005-09-22
Posts: 1,131

Re: fglrx - no direct rendering

What does a

pacman -Ql /usr/lib/libGL.so

report?


Haven't been here in a while. Still rocking Arch. smile

Offline

#12 2006-10-02 15:01:57

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

Re: fglrx - no direct rendering

souls-seb wrote:

Should I rm everything but libGL.so, libGL.so.1 and libGL.so.1.2 ?

No, definitely not.  Those files look fine, and shouldn't be your problem.

What's your output of:

$ LIBGL_DEBUG=verbose glxinfo

Offline

#13 2006-10-02 15:06:06

souls-seb
Member
Registered: 2006-09-30
Posts: 26

Re: fglrx - no direct rendering

@ Sigi:
Package "/usr/lib/libGL.so" was not found.

@ Cerebral:

name of display: :0.0
libGL: XF86DRIGetClientDriverName: 8.29.6 fglrx (screen 0)
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri//fglrx_dri.so
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_EXT_texture_from_pixmap, GLX_OML_swap_method,
    GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_hyperpipe,
    GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig, GLX_MESA_copy_sub_buffer
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_SGI_video_sync, GLX_ARB_multisample,
    GLX_ATI_pixel_format_float, GLX_ATI_render_texture
GLX version: 1.2
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
OpenGL version string: 1.2 (1.5 Mesa 6.5.1)
OpenGL extensions:
    GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_texture_border_clamp,
    GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
    GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3,
    GL_ARB_transpose_matrix, GL_EXT_abgr, GL_EXT_blend_color,
    GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_texture_env_add,
    GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
    GL_EXT_texture_lod_bias
glu version: 1.3
glu extensions:
    GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

...

Offline

#14 2006-10-02 15:36:25

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

Re: fglrx - no direct rendering

I think what sigi meant was pacman -Qo /usr/lib/libGL.so

In any case, I'm stumped... I can't figure out what's going on here.  It seems like you're using the libGL.so from libgl-dri, maybe, but if you reinstalled ati-fglrx-utils then the output of locate libGL.so would indicate this isn't the problem.

This may sound silly, but have you quit/restart X since you reinstalled ati-fglrx-utils?

Offline

#15 2006-10-02 21:08:03

souls-seb
Member
Registered: 2006-09-30
Posts: 26

Re: fglrx - no direct rendering

pacman -Qo /usr/lib/libGL.so prints

/usr/lib/libGL.so is owned by ati-fglrx-utils 8.29.6-1

So it seems like it's the right libGL, but with mesa? :shock:

Cerebral, yes, I've restarted X several times.

Maybe the easiest solution is to simply reinstall arch...

Offline

#16 2006-10-03 07:25:36

souls-seb
Member
Registered: 2006-09-30
Posts: 26

Re: fglrx - no direct rendering

Here might be something ..

I found this in Xorg.0.log

(II) fglrx(0): Acceleration enabled
(II) fglrx(0): X context handle = 0x1
(II) fglrx(0): [DRI] installation complete
(II) fglrx(0): Direct rendering enabled

And a couple lines after that, it says

(II) Loading local sub module "GLcore"
(II) LoadModule: "GLcore"
(II) Loading /usr/lib/xorg/modules/extensions/libGLcore.so
(II) Module GLcore: vendor="X.Org Foundation"
        compiled for 7.1.1, module version = 1.0.0
        ABI class: X.Org Server Extension, version 0.3
(II) GLX: Initialized MESA-PROXY GL provider for screen 0

Is it the wrong version of libGLcore.so I have? If so, how do I fix it?

Offline

#17 2006-10-03 07:32:17

Sigi
Member
From: Thurgau, Switzerland
Registered: 2005-09-22
Posts: 1,131

Re: fglrx - no direct rendering

Cerebral wrote:

I think what sigi meant was pacman -Qo /usr/lib/libGL.so

:oops: my fault


Haven't been here in a while. Still rocking Arch. smile

Offline

#18 2006-10-03 11:20:16

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

Re: fglrx - no direct rendering

souls-seb wrote:

Is it the wrong version of libGLcore.so I have? If so, how do I fix it?

Nope, that's the correct version of GLcore - ati doesn't ship with its own version, so it uses the standard Xorg 7.1 version of that library.

Offline

#19 2006-10-04 08:57:43

souls-seb
Member
Registered: 2006-09-30
Posts: 26

Re: fglrx - no direct rendering

Reinstalled Arch, without ever installing the open-source ati drivers. Now there seems to be DRI, though glxinfo is not installed. But fgl_glxgears runs smoothly, where it crashed before smile

Offline

#20 2006-10-04 15:56:49

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

Re: fglrx - no direct rendering

glxinfo is part of the mesa-apps package

Offline

Board footer

Powered by FluxBB