Mailinglist Archive: radeonhd (300 mails)

< Previous Next >
Re: [radeonhd] Repository with current DRM setup code
On Thu, 2008-05-15 at 12:56 +0200, Matthias Hopf wrote:
On May 14, 08 17:30:49 -0400, Coleman Kane wrote:
Okay, I still get this bug, but I did learn that I *do* need to install
xorg-server from git (I've been using 1.4 from the release). I also had

No, you don't. I'm running the one from the 7.2 release.

I am unable to build the Xorg server v1.4 against the latest mesa
library from git. It fails to compile the GL/glx/glxdri.c with the
following error output:
glxdri.c:73: error: field 'driScreen' has incomplete type
glxdri.c:90: error: field 'driContext' has incomplete type
glxdri.c: In function '__glXDRIdrawableSwapBuffers':
glxdri.c:247: error: dereferencing pointer to incomplete type
glxdri.c:248: error: dereferencing pointer to incomplete type
glxdri.c: In function '__glXDRIdrawableSwapInterval':
glxdri.c:261: error: dereferencing pointer to incomplete type
glxdri.c: In function '__glXDRIdrawableCopySubBuffer':
glxdri.c:274: error: dereferencing pointer to incomplete type
glxdri.c:275: error: dereferencing pointer to incomplete type
glxdri.c: At top level:
glxdri.c:736: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'ge
tProcAddress'
glxdri.c:745: error: expected ')' before '*' token
glxdri.c:752: error: expected ')' before '*' token
glxdri.c:766: error: expected ')' before '*' token
glxdri.c:795: error: expected ')' before '*' token
glxdri.c:807: error: expected ')' before '*' token
glxdri.c:825: error: expected ')' before '*' token
glxdri.c:842: error: expected ')' before '*' token
glxdri.c:947: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'in
terface_methods'
glxdri.c: In function '__glXDRIscreenProbe':
glxdri.c:999: error: 'PFNCREATENEWSCREENFUNC' undeclared (first use in
this func
tion)
glxdri.c:999: error: (Each undeclared identifier is reported only once
glxdri.c:999: error: for each function it appears in.)
glxdri.c:999: error: expected ';' before 'createNewScreen'
glxdri.c:1113: error: 'createNewScreen' undeclared (first use in this
function)
glxdri.c:1180: error: 'interface_methods' undeclared (first use in this
function
)
*** Error code 1



Previously, I would get the above bugs no matter if DRI was enabled or
not (but the RS690 error message would only be shown for the DRI case).
Since installing xorg-server from git, I can now use OpenGL from non-DRI
startup (which renders in software), but now I still get the error
messages when I try running with DRI enabled.

Ok, that's a different issue. Could be that non-DRI rendering was broken
in your old Xserver.

Yes, but now the breakage only happens in the direct-rendering case.

If I set LIBGL_ALWAYS_INDIRECT=yes, then I can get software-rendered
OpenGL on the DRI-enabled xserver. I am not quite sure what the message
means, though.

Do I want to use the git head, or some special branch of mesa, drm,
xorg-server ?


Matthias

--
Matthias Hopf <mhopf@xxxxxxx> __ __ __
Maxfeldstr. 5 / 90409 Nuernberg (_ | | (_ |__ mat@xxxxxxxxx
Phone +49-911-74053-715 __) |_| __) |__ R & D www.mshopf.de
--
Coleman Kane

--
To unsubscribe, e-mail: radeonhd+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: radeonhd+help@xxxxxxxxxxxx

< Previous Next >