Bugs in latest xorg & intel

Maxim Levitsky maximlevitsky at gmail.com
Fri Feb 8 20:11:55 PST 2008


On Friday, 8 February 2008 04:48:25 Maxim Levitsky wrote:
> Hi, 
> 
> I am testing again the intel driver on my system, and I like it,
> the compiz works almost perfectly, and relatively fast (~30 FPS)
> 

I tested latest intel driver & xorg like Timo Jyrinki suggested:

I installed to system from git those modules:

libpciaccess
xf86-input-keyboard
xf86-input-mouse
xserver
xf86-video-intel
mesa
drm

I checked that :
*kernel uses new drm modules. I compiled kernel without dri, and installed it separately from git
(copied the drivers to /lib/modules/2.6.24/...),
and dmesg confirms that dri module is loaded)

*applications use new mesa and libdrm (/usr/local/... tested with using ldd)
*xorg load new modules, and initializes dri (according to Xorg.0.log)
*applications use dri for rendering (pmap shows that /usr/local/lib/dri/i965_dri.so module is loaded inside application)

*New Xorg is used (explictly set it to /usr/local/bin/Xorg in /etc/kde3/kdm/kdmrc, and confirmed by 'top')
*TTM is used (confirmed by both ./configure, and /usr/local/var/log/Xorg.0.log)

Thus I am confident that there are no conflicts between distribution and new modules.
The xorg.conf is simple, using 'intel' driver without any customization (same as was used before too)

Results:

1) Performance is worse:
The 'neverball' for example gives about 15 FPS instead of 25
(But clearly hw accelerated rendering is used, since without it I get less that 1 FPS (I once tested this))

2) The compiz doesn't work:
It starts, but can't show any window, just black screen
When I rotate the cube I see it, but without textures.
No error messages from compiz, launched using LBGL_ALWAYS_INDIRECT=1 compiz --replace ccp

3) The console isn't restored when I switch to it, just stays black, like in ubuntu driver

4) Modesetting (using krandrtray) is a bit better, since it sometimes work.
But sometimes I get almost same flashing screen.
Almost, since I see the display picture, but it is shifted in all directions, and flashes, and most importantly it moves as I move the mouse and flashes even more.
Something with viewports I think (I have only a VGA port with LCD)
Also this isn't fixed by server restart

5) Resistance to Ctlr+Bksp, and SAK is better, they don't trigger the above bug anymore.


6) Couldn't test the shaders, since compiz doesn't work.

7) After suspend to ram the screen restores, but an attempt to start a OpenGL game froze the system


The system is intel DG965RY
The kernel is 2.6.24 vanilla + latest drm


Best regards,
	Maxim Levitsky



More information about the xorg mailing list