Re: [gentoo-user] DRI doesn't work with xorg 7.4 and an intel chipset Q35 board

2009-03-30 Thread Wolfgang Liebich
Hi,

On Fri, Mar 27, 2009 at 05:51:02PM +, Momesso Andrea wrote:
 On Fri, Mar 27, 2009 at 02:05:14PM +0500, Mike Kazantsev wrote:
  On Fri, 27 Mar 2009 08:17:49 +0100
  wolfgang.lieb...@siemens.com wrote:
  
   I've upgraded to 2.6.27-gentoo-r10 - no change.
  
  Prehaps it'll help to upgrade to the latest developers-stable kernel
  (2.6.29), since there are quite a few changes, affecting intel video,
  most notable of which, of course, is GEM, which still (afaik) works
  only with intel.
  
  http://kernelnewbies.org/Linux_2_6_28#head-b957b19f6139b6bbbfabaf790bf643b1746985d6
  http://kernelnewbies.org/Linux_2_6_29#head-e1bab8dc862e3b477cc38d87e8ddc779a66509d1
  
 If you upgrade to 2.6.29 DO NOT enable modesetting by default... As the
 help says (and also my first hand experience) it will break things such
 as the intelfb.

Thanks for the tip. I do not use framebuffers at all, though.

 
 And, by the way, there are not yet drivers supporting it.

So it's somewhat useless - I see :-/

Some further experiences with other kernels:
- I've upgraded to the latest  greatest xorg-x11; this move DID solve
the instant crash on openGL usage bug, BUT it introduced some new
problems:
-- some calls to mplayer also instantly crash the X server. I did not
yet get around to pinning this problem down exactly.

-- Tests with glxgears show that as soon as I enable DRI, the
framerate DROPS from about 500 to 50. HUH???
-- Sometimes when shutting down, the shutdown of the X server does not
correctly reset the console - as soon as X-Server dies, some strange
color pattens are all that remain visible. As long as the shutdown
works, this is more of an annoyance than a problem, but if I want to
drop to console mode, this WOULD be a problem.


- Using kernel gentoo-sources-2.6.29-gentoo I get a problem during
shutdown: The shutdown of ALSA hangs, and I can only stop the computer
with the Alt-SysRq-Trick. The Alt-SysRQ shows that it seems to hang
during a rmmod - removing the ALSA modules has problems at this kernel
version. I'm using intel on board audio (intel-hda module). Sound
works - it's only a shutdown problem.

Ciao,
Wolfgang Liebich



[gentoo-user] DRI doesn't work with xorg 7.4 and an intel chipset Q35 board

2009-03-27 Thread Wolfgang . Liebich
Hi,
I've a (somewhat new) computer with an intel Q35 chipset graphics.
Until yesterday I ran the stable xorg-x11 version, with USE=dri and
USE=opengl enabled.
BUT as soon as I started a program which wanted to do something with
OpenGL (like google earth, amarok with openGL use flag, or just
glxgears),
the xorg-xserver crashed. Absolutely reliably.

I found a comment about the incomplete support for openGL/dri for i915
graphic cards in the stable xorg driver, so I upgraded to xorg-x11 7.4
(with a whole lot of unmasking).

Now I don't get a crash, BUT still dri don't work (didn't work earlier
on, too - but I have no traces).

I've loaded the drm module with debug=1, and found the syslog messages
(snipped):
[drm:i915_getparam] *ERROR* Unknown parameter 5
and

[drm:i915_initialize] *ERROR* can not ioremap virtual address for ring
buffer

In Xorg.0.log I found following warnings and errors:
(WW) intel(0): libpciaccess reported 0 rom size, guessing 64kB
and
(EE) intel(0): I830 Dma Initialization Failed

I've tried both XAA and EXA - didn't change a thing.

I've upgraded to 2.6.27-gentoo-r10 - no change.
xdriinfo says:
$xdriinfo
Screen 0: not direct rendering capable.

BUT:

$ glxinfo
name of display: :0.0
display: :0  screen: 0

direct rendering: Yes

What can I do now? 
What is going on here???

Puzzled,
Wolfgang



Re: [gentoo-user] DRI doesn't work with xorg 7.4 and an intel chipset Q35 board

2009-03-27 Thread Mike Kazantsev
On Fri, 27 Mar 2009 08:17:49 +0100
wolfgang.lieb...@siemens.com wrote:

 I've upgraded to 2.6.27-gentoo-r10 - no change.

Prehaps it'll help to upgrade to the latest developers-stable kernel
(2.6.29), since there are quite a few changes, affecting intel video,
most notable of which, of course, is GEM, which still (afaik) works
only with intel.

http://kernelnewbies.org/Linux_2_6_28#head-b957b19f6139b6bbbfabaf790bf643b1746985d6
http://kernelnewbies.org/Linux_2_6_29#head-e1bab8dc862e3b477cc38d87e8ddc779a66509d1

-- 
Mike Kazantsev // fraggod.net


signature.asc
Description: PGP signature


Re: [gentoo-user] DRI doesn't work with xorg 7.4 and an intel chipset Q35 board

2009-03-27 Thread Andrew Gaydenko
On Friday 27 March 2009 10:17:49 wolfgang.lieb...@siemens.com wrote:
 Hi,
 I've a (somewhat new) computer with an intel Q35 chipset graphics.
 Until yesterday I ran the stable xorg-x11 version, with USE=dri and
 USE=opengl enabled.
 BUT as soon as I started a program which wanted to do something with
 OpenGL (like google earth, amarok with openGL use flag, or just
 glxgears),
 the xorg-xserver crashed. Absolutely reliably.

 I found a comment about the incomplete support for openGL/dri for i915
 graphic cards in the stable xorg driver, so I upgraded to xorg-x11 7.4
 (with a whole lot of unmasking).

 Now I don't get a crash, BUT still dri don't work (didn't work earlier
 on, too - but I have no traces).

 I've loaded the drm module with debug=1, and found the syslog messages
 (snipped):
 [drm:i915_getparam] *ERROR* Unknown parameter 5
 and

 [drm:i915_initialize] *ERROR* can not ioremap virtual address for ring
 buffer

 In Xorg.0.log I found following warnings and errors:
 (WW) intel(0): libpciaccess reported 0 rom size, guessing 64kB
 and
 (EE) intel(0): I830 Dma Initialization Failed

 I've tried both XAA and EXA - didn't change a thing.

 I've upgraded to 2.6.27-gentoo-r10 - no change.
 xdriinfo says:
 $xdriinfo
 Screen 0: not direct rendering capable.

 BUT:

 $ glxinfo
 name of display: :0.0
 display: :0  screen: 0

 direct rendering: Yes

 What can I do now?
 What is going on here???

 Puzzled,
 Wolfgang

I'm not an x11 guru (also strugglimg with x from time to time), but if I 
understand well, there are important things in last kernels to support intel 
cards (mesa and kernel must be in sync some way).



Re: [gentoo-user] DRI doesn't work with xorg 7.4 and an intel chipset Q35 board

2009-03-27 Thread Momesso Andrea
On Fri, Mar 27, 2009 at 02:05:14PM +0500, Mike Kazantsev wrote:
 On Fri, 27 Mar 2009 08:17:49 +0100
 wolfgang.lieb...@siemens.com wrote:
 
  I've upgraded to 2.6.27-gentoo-r10 - no change.
 
 Prehaps it'll help to upgrade to the latest developers-stable kernel
 (2.6.29), since there are quite a few changes, affecting intel video,
 most notable of which, of course, is GEM, which still (afaik) works
 only with intel.
 
 http://kernelnewbies.org/Linux_2_6_28#head-b957b19f6139b6bbbfabaf790bf643b1746985d6
 http://kernelnewbies.org/Linux_2_6_29#head-e1bab8dc862e3b477cc38d87e8ddc779a66509d1
 
If you upgrade to 2.6.29 DO NOT enable modesetting by default... As the
help says (and also my first hand experience) it will break things such
as the intelfb.

And, by the way, there are not yet drivers supporting it.

---
TopperH
http://topperh.blogspot.com



pgpsrfmsdZkGG.pgp
Description: PGP signature