glxinfo "Error: couldn't find RGB GLX visual or fbconfig" afer upgrade to xserver-xorg 1.15 (radeon)

Bug #1278168 reported by Sebastian F
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
mesa (Ubuntu)
Fix Released
High
Canonical X.org

Bug Description

I use xserver-xorg-video-radeon (on a Radeon HD 5770) , so far without problems. After the upgrade to xserver-xorg 1.15 kwin wasn't able to switch to it's OpenGL backend anymore and used XRender instead. kwin isn't very informative why GL failed, however running glxinfo shows
Error: couldn't find RGB GLX visual or fbconfig

I don't know where the problem comes from, I don't get any other GLX-related errors

cat /var/log/Xorg.0.log | grep -i glx
[ 17.146] (II) LoadModule: "glx"
[ 17.172] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 17.290] (II) Module glx: vendor="X.Org Foundation"
[ 17.290] (==) AIGLX enabled
[ 17.290] Loading extension GLX
[ 17.676] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[ 17.676] (II) AIGLX: enabled GLX_ARB_create_context
[ 17.676] (II) AIGLX: enabled GLX_ARB_create_context_profile
[ 17.676] (II) AIGLX: enabled GLX_EXT_create_context_es2_profile
[ 17.676] (II) AIGLX: enabled GLX_INTEL_swap_event
[ 17.676] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[ 17.676] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
[ 17.676] (II) AIGLX: enabled GLX_ARB_fbconfig_float
[ 17.676] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[ 17.676] (II) AIGLX: Loaded and initialized r600
[ 17.676] (II) GLX: Initialized DRI2 GL provider for screen 0

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: xserver-xorg-core 2:1.15.0-1ubuntu3
ProcVersionSignature: Ubuntu 3.13.0-8.27-generic 3.13.2
Uname: Linux 3.13.0-8-generic x86_64
ApportVersion: 2.13.2-0ubuntu2
Architecture: amd64
Date: Sun Feb 9 20:45:48 2014
InstallationDate: Installed on 2014-01-30 (10 days ago)
InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140121.1)
ProcEnviron:
 LANGUAGE=de_DE
 TERM=xterm
 PATH=(custom, no user)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: xorg-server
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Revision history for this message
Sebastian F (sf-lp) wrote :
Revision history for this message
Sebastian F (sf-lp) wrote :

I could fix this problem by removing xserver-xorg-video-* except ati/radeon/modesetting.
Now I can reproduce the bug by installing xserver-xorg-video-vesa, so I suppose this is caused somehow by incorrect module initialisation. Looking at Xorg.0.log doesn't give me a hint, though.
I attached Xorg.0.log_noerror (xserver-xorg-video-vesa not installed)
and Xorg.0.log_error (xserver-xorg-video-vesa installed)

Revision history for this message
Sebastian F (sf-lp) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in xorg-server (Ubuntu):
status: New → Confirmed
Robert Hooker (sarvatt)
Changed in xorg-server (Ubuntu):
importance: Undecided → High
Revision history for this message
Robert Hooker (sarvatt) wrote :

I'm hitting this on intel also, upstream bug regarding this issue

https://bugs.freedesktop.org/show_bug.cgi?id=70706

Revision history for this message
Robert Hooker (sarvatt) wrote :
affects: xorg-server (Ubuntu) → mesa (Ubuntu)
Changed in mesa (Ubuntu):
assignee: nobody → Canonical X.org (canonical-x)
status: Confirmed → Triaged
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mesa - 10.1.0~rc1-1ubuntu1

---------------
mesa (10.1.0~rc1-1ubuntu1) trusty; urgency=low

  * First mesa 10.1 release candidate.
  * Refresh egl-platform-mir.patch and drop upstreamed bits.
  * Merge more upstream fixes post rc1.
  * Cherry pick some fixes for GLX fbconfig. (LP: #1278168)
 -- Maarten Lankhorst <email address hidden> Wed, 19 Feb 2014 17:19:12 +0100

Changed in mesa (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Doug McMahon (mc3man) wrote :

excellent, resolved here issues seen on Intel, now only returning FB configs that have visuals -

Getting matching framebuffer configs
Found 8 matching FB configs.
Getting XVisualInfos
fbconfig id: 0x8a
Chosen visual ID = 0xb0
fbconfig id: 0x8c
Chosen visual ID = 0x45
fbconfig id: 0x90
Chosen visual ID = 0x83
fbconfig id: 0x91
Chosen visual ID = 0xb3
fbconfig id: 0x98
Chosen visual ID = 0xb6
fbconfig id: 0x97
Chosen visual ID = 0xb5
fbconfig id: 0x96
Chosen visual ID = 0xb4
fbconfig id: 0x99
Chosen visual ID = 0xb7

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.