[Bug 755791] Re: No 3d acceleration in Radeon X1200 with new Gallium 3d drivers in 11.04 Beta 1

2011-04-20 Thread Bryce Harrington
Two answer one of your questions, the gallium driver does not have a
non-KMS mode, so the modeset=0 workaround isn't available there.  (With
some work you may be able to revert to using the non-gallium radeon
driver, but let's focus this bug report on fixing the bug itself.)

** Description changed:

  Binary package hint: xorg
  
  I installed Ubuntu 11.04 Beta 1, and I'm not able to run Unity and
  Compiz, because I have no 3d acceleration. However, I was able to run
  Compiz once, the next time I booted, I don't know why, Compiz doesn't
  work. After several reboots, I see the following:
  
  1. Sometimes (?), I have 3d acceleration via software rendering. When I run 
`glxinfo | grep render` I get:
  direct rendering: Yes
  OpenGL renderer string: Software Rasterizer
- GL_NV_conditional_render, GL_NV_depth_clamp, GL_NV_fragment_program, 
+ GL_NV_conditional_render, GL_NV_depth_clamp, GL_NV_fragment_program,
  And if I run `compiz --replace`, I get the following error:
  
  Backend : gconf
  Integration : true
  Profile : default
  Adding plugins
  Initializing core options...done
  Initializing bailer options...done
  Initializing detection options...done
  Initializing composite options...done
  Compiz (opengl) - Fatal: GLX_EXT_texture_from_pixmap is missing
  Compiz (opengl) - Fatal: Software rendering detected
  Compiz (bailer) - Info: Ensuring a shell for your session
  prueba@prueba:~$ Window manager warning: Locale not understood by C library, 
internationalization will not work
  
  (metacity:2357): Gtk-WARNING **: Locale not supported by C library.
-   Using the fallback 'C' locale.
+  Using the fallback 'C' locale.
  Window manager warning: last_user_time (1302379766) is greater than 
comparison timestamp (1200358).  This most likely represents a buggy client 
sending inaccurate timestamps in messages such as _NET_ACTIVE_WINDOW.  Trying 
to work around...
  Window manager warning: 0x3401006 (prueba@pru) appears to be one of the 
offending windows with a timestamp of 1302379766.  Working around...
  Window manager warning: 0x340103e (prueba@pru) appears to be one of the 
offending windows with a timestamp of 1302379766.  Working around...
  
  prueba@prueba:~$ Window manager warning: last_user_time (1302379766) is 
greater than comparison timestamp (1228188).  This most likely represents a 
buggy client sending inaccurate timestamps in messages such as 
_NET_ACTIVE_WINDOW.  Trying to work around...
  Window manager warning: 0x340103e (prueba@pru) appears to be one of the 
offending windows with a timestamp of 1302379766.  Working around...
  Window manager warning: Received a NET_CURRENT_DESKTOP message from a broken 
(outdated) client who sent a 0 timestamp
  Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a 
timestamp of 0 for 0x340103e (prueba@pru)
  Window manager warning: meta_window_activate called by a pager with a 0 
timestamp; the pager needs to be fixed.
  
+ From Xorg.0.log:
+ [   261.329] (II) AIGLX: Screen 0 is not DRI2 capable
+ [   261.329] drmOpenDevice: node name is /dev/dri/card0
+ [   261.329] drmOpenDevice: open result is 12, (OK)
+ [   261.330] drmOpenByBusid: Searching for BusID pci::01:05.0
+ [   261.330] drmOpenDevice: node name is /dev/dri/card0
+ [   261.330] drmOpenDevice: open result is 12, (OK)
+ [   261.330] drmOpenByBusid: drmOpenMinor returns 12
+ [   261.330] drmOpenByBusid: Interface 1.4 failed, trying 1.1
+ [   261.330] drmOpenByBusid: drmGetBusid reports pci::01:05.0
+ [   261.330] (II) AIGLX: Trying DRI driver /usr/lib/dri/r300_dri.so
+ [   261.394] (EE) AIGLX error: Calling driver entry point failed
+ [   261.420] (EE) AIGLX: reverting to software rendering
+ 
  
  2. Sometimes, I have direct 3d acceleration, but it's unusable. glxgears 
doesn't work (black window). Also, if I run compiz, I get a blank screen (no 
Unity, no windows, just the mouse pointer and the background image). In this 
case, if I run `glxinfo | grep render`, I get:
  
  direct rendering: Yes
  OpenGL renderer string: Gallium 0.4 on ATI RS690
- GL_NV_blend_square, GL_NV_conditional_render, GL_NV_light_max_exponent, 
+ GL_NV_blend_square, GL_NV_conditional_render, GL_NV_light_max_exponent,
  
  So, I'm using the Gallium driver. I had a similar problem with Maverick
  and the radeon driver. I solved the problem turning off the Kernel Mode
  Setting (# echo options radeon modeset=0 > /etc/modprobe.d/radeon-
  kms.conf). I don't know how to do that with the Gallium driver. I want
  also to try using the radeon driver, but I don't know how to do it.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: xorg 1:7.6+4ubuntu3
  ProcVersionSignature: Ubuntu 2.6.38-8.41-generic 2.6.38.2
  Uname: Linux 2.6.38-8-generic i686
  NonfreeKernelModules: wl
  Architecture: i386
  CompizPlugins: 
[core,bailer,detection,composite,opengl,decor,mousepoll,vpswitch,regex,animation,snap,expo,move,compiztoolbox,place,grid,imgpng,gnomecompat,w

[Bug 755791] Re: No 3d acceleration in Radeon X1200 with new Gallium 3d drivers in 11.04 Beta 1

2011-04-10 Thread André Oliva
This is my Xorg.0.log when I have software rendering. I see that there
is an error in the line 746, that forces to revert to software rendering
(line 747), but the lines 663, 671 and 674 show that the direct
rendering was enabled. What does it mean?

** Attachment added: "Xorg.0.log"
   
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/755791/+attachment/2012372/+files/Xorg.0.log

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/755791

Title:
  No 3d acceleration in Radeon X1200 with new Gallium 3d drivers in
  11.04 Beta 1

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 755791] Re: No 3d acceleration in Radeon X1200 with new Gallium 3d drivers in 11.04 Beta 1

2011-04-10 Thread bugbot
** Tags added: 3d

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/755791

Title:
  No 3d acceleration in Radeon X1200 with new Gallium 3d drivers in
  11.04 Beta 1

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 755791] Re: No 3d acceleration in Radeon X1200 with new Gallium 3d drivers in 11.04 Beta 1

2011-04-09 Thread André Oliva
I see that this bug is closely related to Bug #715330 , but even if the
symptoms are the same, I'm running the version of the Kernel that they
say has the fix released, and also, I tried the workaround described on
comment #17 and that doesn't solve my problem.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/755791

Title:
  No 3d acceleration in Radeon X1200 with new Gallium 3d drivers in
  11.04 Beta 1

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 755791] Re: No 3d acceleration in Radeon X1200 with new Gallium 3d drivers in 11.04 Beta 1

2011-04-09 Thread André Oliva
** Package changed: xorg (Ubuntu) => xserver-xorg-video-ati (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/755791

Title:
  No 3d acceleration in Radeon X1200 with new Gallium 3d drivers in
  11.04 Beta 1

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 755791] Re: No 3d acceleration in Radeon X1200 with new Gallium 3d drivers in 11.04 Beta 1

2011-04-09 Thread André Oliva
-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/755791

Title:
  No 3d acceleration in Radeon X1200 with new Gallium 3d drivers in
  11.04 Beta 1

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs