You are not logged in.

#1 2006-03-09 23:16:31

_Gandalf_
Member
Registered: 2006-01-12
Posts: 735

xf82-video-i810(testing) and xgl problem

Hello,

I saw that xf82-video-driver has been updated today and it's in testing, but there is a problem with XGL, ok i know that xgl is not even near stable, but i think the problem worth mentioning...
here's what i get when i run <code>startxgl > /tmp/output 2>&1</code>

==>Starting XGL at display :1
==>Using card: other

X Window System Version 7.0.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 7.0
Build Operating System:Linux 2.6.15-ARCH i686
Current Operating System: Linux nasreddine 2.6.15-archck #1 SMP PREEMPT Sat Mar 4 13:38:43 EST 2006 i686
Build Date: 04 March 2006
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.93.log", Time: Fri Mar 10 00:11:06 2006
(==) Using config file: "/etc/X11/xorg.conf"
(EE) I810(0): [dri] I830DRIScreenInit failed because of a version mismatch.
[dri] i915 kernel module version is 1.1.0 but version 1.4 or greater is needed.
[dri] Disabling DRI.
==>Starting Compiz (window and composite manager)
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
Synaptics DeviceInit called
SynapticsCtrl called.
==>Starting gnome-window-decorator
==>Starting gnome-session
Synaptics DeviceOn called
X Error of failed request:  BadLength (poly request too large or internal Xlib length error)
  Major opcode of failed request:  157 (GLX)
  Minor opcode of failed request:  1 (X_GLXRender)
  Serial number of failed request:  101
  Current serial number in output stream:  102
Synaptics DeviceOff called
FreeFontPath: FPE "/usr/share/fonts/misc" refcount is 2, should be 1; fixing.
XIO:  fatal IO error 104 (Connection reset by peer) on X server ":1.0"

      after 0 requests (0 known processed) with 0 events remaining.

gnome-window-decorator: Fatal IO error 104 (Connection reset by peer) on X server :1.0.
gnome-session: Fatal IO error 104 (Connection reset by peer) on X server :1.0.

Same result with DRI on or off

Offline

#2 2006-03-10 00:18:23

Paul
Member
Registered: 2004-04-12
Posts: 72

Re: xf82-video-i810(testing) and xgl problem

What kernel are you using? Maybe try 2.6.16-rc*?

(EE) I810(0): [dri] I830DRIScreenInit failed because of a version mismatch.
[dri] i915 kernel module version is 1.1.0 but version 1.4 or greater is needed.

Offline

#3 2006-03-10 00:24:15

_Gandalf_
Member
Registered: 2006-01-12
Posts: 735

Re: xf82-video-i810(testing) and xgl problem

I'm using archck kernel and i don't think that it's the problem, because with the old driver i have the same line u're seeing above except that X does start

Offline

#4 2006-03-10 08:48:09

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: xf82-video-i810(testing) and xgl problem

The new i810 driver in testing requires a new DRM kerneldriver, which is included in 2.6.16-rc. I'll see what I can backport.

Offline

#5 2006-03-10 13:16:33

_Gandalf_
Member
Registered: 2006-01-12
Posts: 735

Re: xf82-video-i810(testing) and xgl problem

Thank you JGC smile

Offline

#6 2006-03-18 10:41:41

nightfrost
Member
From: Sweden
Registered: 2005-04-16
Posts: 647

Re: xf82-video-i810(testing) and xgl problem

These guys over at the gentoo forums seem to have been getting Xgl working on i810... at least somewhat better than I have. Check it out.

Offline

#7 2006-03-18 11:33:11

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: xf82-video-i810(testing) and xgl problem

The problem with the i810 driver in testing, at least for the i915 part, is that it requires updated mesa modules. I haven't had time to do some good backporting on it yet.

Offline

#8 2006-04-05 08:55:47

kr
Member
From: Poland
Registered: 2006-03-15
Posts: 11

Re: xf82-video-i810(testing) and xgl problem

Any progress?

ERROR!  sizeof(I830DRIRec) does not match passed size from device driver
libGL warning: 3D driver returned no fbconfigs.
libGL error: InitDriver failed
libGL error: reverting to (slow) indirect rendering
display: :0  screen: 0
direct rendering: No

Offline

#9 2006-04-05 11:06:32

nightfrost
Member
From: Sweden
Registered: 2005-04-16
Posts: 647

Re: xf82-video-i810(testing) and xgl problem

It would be really good if we could get a mesa-cvs PKGBUILD to replace mesa, and an xf86-video-i810 that uses mesa-cvs sources. This way, we could probably get AIGLX working as well (if we would get an xorg-server cvs PKGBUILD as well).

I would write these PKGBUILDs myself, but for some reasons I can never manage writing a cvs PKGBUILD that works :-?

However, I think xorg 7.1 will be out fairly soon together with mesa 6.5...

Offline

#10 2006-04-06 20:53:58

nightfrost
Member
From: Sweden
Registered: 2005-04-16
Posts: 647

Re: xf82-video-i810(testing) and xgl problem

mesa 6.5 is out since a few days. I've installed it using the 6.4.2 PKGBUILD, as well as xf86-video-i810 1.5.0.1 (edited the PKGBUILD to use mesa 6.5). But I'm still not getting dri. Is there anything else I need to rebuild against the mesa 6.5 sources, or any package I'm just forgetting about?

Any ideas?

Offline

#11 2006-04-06 20:55:16

Global Havok
Member
Registered: 2006-02-20
Posts: 79

Re: xf82-video-i810(testing) and xgl problem

Same issue as others above...

[tommy@laptop ~]$ glxinfo | grep rendering

ERROR!  sizeof(I830DRIRec) does not match passed size from device driver
libGL warning: 3D driver returned no fbconfigs.
libGL error: InitDriver failed
libGL error: reverting to (slow) indirect rendering
direct rendering: No
(II) Loading /usr/lib/xorg/modules/extensions/libGLcore.so
dlopen: /usr/lib/xorg/modules/extensions/libGLcore.so: undefined symbol: __glXLastContext
(EE) Failed to load /usr/lib/xorg/modules/extensions/libGLcore.so
(II) UnloadModule: "GLcore"
(EE) Failed to load module "GLcore" (loader failed, 7)

Running the beyond kernel, testing repo enabled(obviously) as well as Shadowhand(cairo-cvs, mesa-cvs...etc).  Any ideas?

Offline

#12 2006-04-07 07:47:21

nightfrost
Member
From: Sweden
Registered: 2005-04-16
Posts: 647

Re: xf82-video-i810(testing) and xgl problem

I've been trying to compile xorg-server against mesa 6.5 as well, but I'm getting this error:

        then mv -f ".deps/g_render.Tpo" ".deps/g_render.Plo"; else rm -f ".deps/g_render.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../include -I../../include -I../../include -I../../GL/include -I../../hw/xfree86/os-support -DHAVE_DIX_CONFIG_H -I/var/abs/local/repo/pkgbuilds/xorg-server/src/Mesa-6.5/include -DXFree86Server -DIN_MODULE -DXFree86Module -DXFree86LOADER -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I../../include -I../../include -I../../Xext -I../../composite -I../../damageext -I../../xfixes -I../../Xi -I../../mi -I../../miext/shadow -I../../miext/damage -I../../render -I../../randr -I../../fb -I../../lbx -march=pentium-m -O2 -pipe -fomit-frame-pointer -MT g_render.lo -MD -MP -MF .deps/g_render.Tpo -c g_render.c  -fPIC -DPIC -o .libs/g_render.o
In file included from g_render.c:42:
impsize.h:52:27: error: indirect_size.h: No such file or directory
g_render.c: In function '__glXDispSwap_PointParameterivNV':
g_render.c:2257: warning: implicit declaration of function '__glPointParameterivNV_size'
g_render.c:2257: warning: nested extern declaration of '__glPointParameterivNV_size'
make[2]: *** [g_render.lo] Error 1
make[2]: Leaving directory `/var/abs/local/repo/pkgbuilds/xorg-server/src/xorg-server-1.0.2/GL/glx'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/abs/local/repo/pkgbuilds/xorg-server/src/xorg-server-1.0.2/GL'
make: *** [all-recursive] Error 1
==> ERROR: Build Failed.  Aborting...

Any ideas of what can be done to evade it? I'm using the PKGBUILD from abs. I've just changed _mesaver to 6.5.

Offline

#13 2006-04-08 11:48:38

comick
Member
From: /dev/null
Registered: 2005-09-13
Posts: 11
Website

Re: xf82-video-i810(testing) and xgl problem

Hi guys, i can notice similia on my system, with a savage card (with savage driver).

The output launching an opengl app is the same above:

libGL warning: 3D driver returned no fbconfigs.
libGL error: InitDriver failed
libGL error: reverting to (slow) indirect rendering

Someone told me to remove Load "GLCore", i've done, bot nothing change.
I've reinstalled packages such "mesa", "libdrm", "libgl-dri", "xf86-video-savage". But nothing to do.

Immediatly after X7 upgrade the 3d acceleration worked fine. I can't tell if this problem went up after another upgrade or after the failed try to make xgl running on my laptop.

savage like i810 is a driver developed inside dri project, i think those problems could be linked. I tryed to install xgl here from shadowland repos. Could be some lib of cvs packages remained on the system?

thanks


PlayLINUX.net - the italian linux gamers community!

Offline

#14 2006-04-08 14:47:24

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: xf82-video-i810(testing) and xgl problem

Use the intel drivers from current, the one in testing is broken and will be removed soon. Not only does it depend on Mesa 6.5 (development snapshot) to get things working, it also needs Xorg 7.1 to give full functionality. Without Xorg 7.1, the added features in the new driver are useless.

About the GLCore error: you shouldn't try to load the GLCore module from xorg.conf, but load the glx module instead.

Offline

#15 2006-04-08 21:44:46

nightfrost
Member
From: Sweden
Registered: 2005-04-16
Posts: 647

Re: xf82-video-i810(testing) and xgl problem

JGC wrote:

Without Xorg 7.1, the added features in the new driver are useless.

The new features might be useless, but the new drivers allegedly fix a few serious issues with XGL on i810. The new kororaa liveCD, for example, runs XGL on my laptop (855GM) without a hick. And AFAIK, they kororaa uses xorg 7.0, but with mesa 6.5 and the new i810-drivers. So it should be possible, I just don't know why the compilation fails :-?

I've also recompiled libdrm and libgl-dri, using mesa 6.5.

Offline

Board footer

Powered by FluxBB