← Back to team overview

desktop-packages team mailing list archive

[Bug 1432949] Re: r300 Mesa driver not loading with KMS enabled

 

Launchpad has imported 12 comments from the remote bug at
https://bugs.freedesktop.org/show_bug.cgi?id=71789.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2013-11-19T14:05:03+00:00 Mpi-g wrote:

Created attachment 89467
Xorg.log without configuration file

Without xorg.conf or with a pixel depth of 24 bits, any application
linked to libGL will fails to load the "r300" driver and after it the
"swarst" driver with the following message:

  libGL error: failed to load driver: r300
  libGL error: Try again with LIBGL_DEBUG=verbose for more details.
  libGL error: failed to load driver: swrast
  libGL error: Try again with LIBGL_DEBUG=verbose for more details.

This problem is present in all the Mesa 9.x release up to 9.2.3.  But it
is not in the 8 (which segfault at some point), 7.11 was working without
config file.

After a bit of investigation, I found that driConvertConfigs() returns
NULL in  dri2CreateScreen() when trying to find matching visuals
(src/glx/dri_glx.c:450).  However if I specify a depth of 16 bits in my
xorg.conf I cannot reproduce this problem.

This problem is present on OpenBSD -current (future 5.5) which has the
drm drivers synced with Ubuntu's linux 3.8 kernel.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1432949/comments/0

------------------------------------------------------------------------
On 2013-11-19T14:06:02+00:00 Mpi-g wrote:

Created attachment 89468
Xorg.log with 16 bits depth in xorg.conf

Reply at:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1432949/comments/1

------------------------------------------------------------------------
On 2014-01-06T15:47:17+00:00 Mpi-g wrote:

FWIW the patches mentionned in http://lists.freedesktop.org/archives
/mesa-dev/2013-December/050218.html work for me.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1432949/comments/2

------------------------------------------------------------------------
On 2015-06-04T03:10:35+00:00 Herminio wrote:

I am seeing the same thing in Debian Testing. Those patches woorked all
the way up to mesa 10.5.5 then they began to fail.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1432949/comments/6

------------------------------------------------------------------------
On 2015-06-04T03:15:03+00:00 Herminio wrote:

Created attachment 116274
glxinfo output

Reply at:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1432949/comments/7

------------------------------------------------------------------------
On 2015-11-18T04:11:26+00:00 Herminio wrote:

I noticed in the 11.0.3 release notes that this issue was fix. However I
am running Lubuntu 16.04 (development) on my iBook G4 and I am still.
Getting the same issue. When I change to Defaul Depth 16 I get 3D
acceleration. I ran strace under both conditions and am post them plus
my Xorg.0.log

Reply at:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1432949/comments/13

------------------------------------------------------------------------
On 2015-11-18T04:12:17+00:00 Herminio wrote:

Created attachment 119753
strace default depth 24

Reply at:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1432949/comments/14

------------------------------------------------------------------------
On 2015-11-18T04:13:21+00:00 Herminio wrote:

Created attachment 119754
strace default depth 16

Reply at:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1432949/comments/15

------------------------------------------------------------------------
On 2015-11-18T04:14:23+00:00 Herminio wrote:

Created attachment 119755
xorg log

Reply at:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1432949/comments/16

------------------------------------------------------------------------
On 2015-12-19T12:16:45+00:00 Mpi-g wrote:

I confirm that this bug is still present with Mesa 11.0.6.

Without forcing "DefaultDepth" to 16, I get:

  $ glxgears
  libGL error: No matching fbConfigs or visuals found
  libGL error: failed to load driver: r300
  libGL error: No matching fbConfigs or visuals found
  libGL error: failed to load driver: swrast

Reply at:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1432949/comments/17

------------------------------------------------------------------------
On 2016-02-13T15:05:32+00:00 Max May wrote:

With Ubuntu Mate 16.04a2 on a G4 PowerBook5,8 I have to confirm, that
this bug is still present with Mesa 11.1.1.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1432949/comments/18

------------------------------------------------------------------------
On 2016-02-14T13:49:12+00:00 ernsteiswuerfel wrote:

Can confirm this bug on Ubuntu MATE 16.04 daily, Mesa 11.1.1. On a
PowerBook 5,6.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1432949/comments/20


** Changed in: mesa
       Status: Unknown => Confirmed

** Changed in: mesa
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to mesa in Ubuntu.
https://bugs.launchpad.net/bugs/1432949

Title:
  r300 Mesa driver not loading with KMS enabled

Status in Mesa:
  Confirmed
Status in mesa package in Ubuntu:
  Confirmed

Bug description:
  I cannot get 3D acceleration to work. I was expecting to see the gears
  via the command 'glxgears' I have KMS enable on my iBook G4 by using
  the following parameter

  Linux radeon.modeset=1 video=offb:off video=1024x768-32
  video=radeonfb:off radeon.agpmode=-1

  Here are my Mesa and Xorg output

  rican-linux@ibookG4-UbuntuMATE:~$ cat /var/log/Xorg.0.log |grep -e radeon -e dri2 -e drm -e KMS
  [    32.774] Kernel command line: root=UUID=fadadc01-6fd5-49fa-85f3-9e52d0fe6155 ro quiet splash video=offb:off video=1024x768-32 video=radeonfb:off radeon.modeset=1 video=offb:off video=1024x768-32 video=radeonfb:off radeon.agpmode=-1
  [    33.203] (II) xfree86: Adding drm device (/dev/dri/card0)
  [    35.011] (II) LoadModule: "radeon"
  [    35.012] (II) Loading /usr/lib/xorg/modules/drivers/radeon_drv.so
  [    35.337] (II) Module radeon: vendor="X.Org Foundation"
  [    35.604] (II) [KMS] Kernel modesetting enabled.
  [    35.697] (II) Loading sub module "dri2"
  [    35.697] (II) LoadModule: "dri2"
  [    35.697] (II) Module "dri2" already built-in
  [    35.870] (II) RADEON(0): KMS Color Tiling: enabled
  [    35.870] (II) RADEON(0): KMS Color Tiling 2D: disabled
  [    35.870] (II) RADEON(0): KMS Pageflipping: enabled
  rican-linux@ibookG4-UbuntuMATE:~$ LIBGL_DEBUG=verbose glxinfo |grep render
  libGL: screen 0 does not appear to be DRI3 capable
  libGL: pci id for fd 4: 1002:4e56, driver r300
  libGL: OpenDriver: trying /usr/lib/powerpc-linux-gnu/dri/tls/r300_dri.so
  libGL: OpenDriver: trying /usr/lib/powerpc-linux-gnu/dri/r300_dri.so
  libGL error: No matching fbConfigs or visuals found
  libGL error: failed to load driver: r300
  libGL: OpenDriver: trying /usr/lib/powerpc-linux-gnu/dri/tls/swrast_dri.so
  libGL: OpenDriver: trying /usr/lib/powerpc-linux-gnu/dri/swrast_dri.so
  libGL error: No matching fbConfigs or visuals found
  libGL error: failed to load driver: swrast
  Error: couldn't find RGB GLX visual or fbconfig
  rican-linux@ibookG4-UbuntuMATE:~$ dpkg -l libgl1-mesa-dri
  Desired=Unknown/Install/Remove/Purge/Hold
  | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
  |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
  ||/ Name           Version      Architecture Description
  +++-==============-============-============-=================================
  ii  libgl1-mesa-dr 10.5.0~rc1-0 powerpc      free implementation of the OpenGL
  rican-linux@ibookG4-UbuntuMATE:~$ 

  rican-linux@ibookG4-UbuntuMATE:~$ lsb_release -rd
  Description:	Ubuntu Vivid Vervet (development branch)
  Release:	15.04

  rican-linux@ibookG4-UbuntuMATE:~$ apt-cache policy libgl1-mesa-dri
  libgl1-mesa-dri:
    Installed: 10.5.0~rc1-0ubuntu1
    Candidate: 10.5.0-0ubuntu1
    Version table:
       10.5.0-0ubuntu1 0
          500 http://ports.ubuntu.com/ubuntu-ports/ vivid/main powerpc Packages
   *** 10.5.0~rc1-0ubuntu1 0
          100 /var/lib/dpkg/status

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: libgl1-mesa-dri 10.5.0~rc1-0ubuntu1
  ProcVersionSignature: Ubuntu 3.18.0-13.14-powerpc-smp 3.18.5
  Uname: Linux 3.18.0-13-powerpc-smp ppc
  ApportVersion: 2.16.1-0ubuntu2
  Architecture: powerpc
  CurrentDesktop: MATE
  Date: Tue Mar 17 00:58:43 2015
  InstallationDate: Installed on 2015-03-17 (0 days ago)
  InstallationMedia: Ubuntu-MATE 15.04 "Vivid Vervet" - Alpha powerpc (20150225)
  SourcePackage: mesa
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/mesa/+bug/1432949/+subscriptions


References