← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 755791] Re: [RS690M] No 3d acceleration in Radeon X1200 with new Gallium r300 / 3d drivers in 11.04

 

Compiz works after running "export vblank_mode=0", and then "compiz
--replace" or logging out and then logging into Unity 3d, for me that
works, but very slow. As noted in freedesktop.org, this is just a
*workaround* and something is bad at the moment. This issue is not
resolved.

** Description changed:

+ The bug is active also in Freedesktop.org :
+ https://bugs.freedesktop.org/show_bug.cgi?id=37679
+ 
  [edit]
  The bug description, updated:
  
  The symptoms: No 3d acceleration (glxgears shows a black window, Unity
  doesn't start), *but* no fallback into the software-rendering mode
  (glxinfo reports that the 3d acceleration is working)
  
  The hardware: ATI Radeon RS690M X1200 series
  
  The version of Ubuntu: Ubuntu 11.04 (final release) [and Maverick also].
  The behavior was also observed in Debian and Fedora 15, as noted below
  (so it seems not to be Ubuntu-specific).
  
  The version of xserver-xorg-video-ati: 1:6.14.0-0ubuntu4 (default in
  Natty). Same problems with the xorg-edgers PPA in Natty Beta2.
  
  The software affected: Compiz (doesn't start because requires direct
  rendering); then, Unity (just the wallpaper or black screen and the
  mouse pointer). glxgears, Stellarium, Blender, Adobe Flash Player in
  fullscreen mode and Visual module of Python work if software rendering
  is forced (but of course they run very very slow).
  
  The history of the bug: all worked as expected (out of the box) in
  10.04, but in 10.10 the problems started. The workaround was to disable
  KMS, but now, in Maverick, since the new Gallium driver doesn't have a
  non-KMS mode, that workaround is not available. This issue was reported
  when using 11.04 Beta 1 and Beta 2, then, in the descriptions below
  there are some strange things (xorg crash during startup, software
  rendering fallback), that don't occur any more. The issue is just the
  description given here.
  
  The exceptions: **sometimes** (??) the 3d acceleration does work as
  expected, but at the moment there is no way for us to know when it will
  work or not [help please!]. And, sometimes the 3d acceleration work but
  is so slow that it seems to be actually software rendering.
  
  The workarounds: `vblank_mode=0 glxgears` (or other program) gives
- correct 3d acceleration for some applications. Compiz doesn't start with
- this method.
+ correct 3d accelerated output. `export vblank_mode=0` also allows to
+ start Compiz and 3d acceleration works after running that. That is just
+ a workaround and the problem is not solved yet.
  
  [/edit]
  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,
  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.
  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:0000: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:0000: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,
  
  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,wall,ezoom,workarounds,staticswitcher,resize,fade,unitymtgrabhandles,scale,session,unityshell]
  CompositorRunning: None
  Date: Sat Apr  9 14:02:35 2011
  DistUpgraded: Fresh install
  DistroCodename: natty
  DistroVariant: ubuntu
  DkmsStatus:
   bcmwl, 5.100.82.38+bdcom, 2.6.38-7-generic, i686: installed
   bcmwl, 5.100.82.38+bdcom, 2.6.38-8-generic, i686: installed
  GraphicsCard:
   ATI Technologies Inc RS690M [Radeon X1200 Series] [1002:791f] (prog-if 00 [VGA controller])
     Subsystem: Dell Device [1028:01fd]
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Beta i386 (20110330)
  MachineType: Dell Inc. Inspiron 1721
  ProcEnviron:
   LANGUAGE=es_CR:en
   LANG=es_CR.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-8-generic root=UUID=f00be871-e8f8-4c57-83dc-3d166efb4e78 ro quiet splash vt.handoff=7
  Renderer: Software
  SourcePackage: xorg
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 02/03/2008
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A06
  dmi.board.name: 0UK441
  dmi.board.vendor: Dell Inc.
  dmi.chassis.type: 8
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: dmi:bvnDellInc.:bvrA06:bd02/03/2008:svnDellInc.:pnInspiron1721:pvr:rvnDellInc.:rn0UK441:rvr:cvnDellInc.:ct8:cvr:
  dmi.product.name: Inspiron 1721
  dmi.sys.vendor: Dell Inc.
  version.compiz: compiz 1:0.9.4+bzr20110407-0ubuntu2
  version.libdrm2: libdrm2 2.4.23-1ubuntu5
  version.libgl1-mesa-dri: libgl1-mesa-dri 7.10.1-0ubuntu3
  version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
  version.libgl1-mesa-glx: libgl1-mesa-glx 7.10.1-0ubuntu3
  version.xserver-xorg: xserver-xorg 1:7.6+4ubuntu3
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.0-0ubuntu4
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.14.0-4ubuntu6
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110107+b795ca6e-0ubuntu6

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xserver-xorg-video-ati in Ubuntu.
https://bugs.launchpad.net/bugs/755791

Title:
  [RS690M] No 3d acceleration in Radeon X1200 with new Gallium r300 / 3d
  drivers in 11.04


References