glamoregl fails to load with binary drivers

Bug #1232658 reported by A.R.NARESH
38
This bug affects 7 people
Affects Status Importance Assigned to Milestone
glamor-egl (Ubuntu)
Fix Released
Critical
Maarten Lankhorst
Raring
Won't Fix
Low
Unassigned
Saucy
Fix Released
High
Maarten Lankhorst

Bug Description

mir errors on ubuntu please check it

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: xorg 1:7.7+1ubuntu5
ProcVersionSignature: Ubuntu 3.8.0-31.46-generic 3.8.13.8
Uname: Linux 3.8.0-31-generic x86_64
NonfreeKernelModules: nvidia
.proc.driver.nvidia.gpus.0: Error: [Errno 21] Is a directory: '/proc/driver/nvidia/gpus/0'
.proc.driver.nvidia.registry: Binary: ""
.proc.driver.nvidia.version:
 NVRM version: NVIDIA UNIX x86_64 Kernel Module 304.108 Wed Jul 31 19:35:17 PDT 2013
 GCC version: gcc version 4.8.1 (Ubuntu/Linaro 4.8.1-10ubuntu4)
.tmp.unity.support.test.0:

ApportVersion: 2.12.5-0ubuntu1
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: compiz
CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
CompositorUnredirectFSW: true
Date: Sun Sep 29 12:14:37 2013
DistUpgraded: 2013-09-29 11:56:17,514 DEBUG enabling apt cron job
DistroCodename: saucy
DistroVariant: ubuntu
DkmsStatus: nvidia-304-updates, 304.108, 3.8.0-31-generic, x86_64: installed
GraphicsCard:
 NVIDIA Corporation C61 [GeForce 6150SE nForce 430] [10de:03d0] (rev a2) (prog-if 00 [VGA controller])
   Subsystem: Elitegroup Computer Systems Device [1019:2242]
InstallationDate: Installed on 2013-09-09 (19 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
Lsusb:
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 002 Device 002: ID 413c:2107 Dell Computer Corp.
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: ECS MCP61M-M3
MarkForUpload: True
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.8.0-31-generic root=UUID=015ddc9e-da48-41e0-ab06-8dea432d2f3a ro quiet splash
SourcePackage: xorg
UpgradeStatus: Upgraded to saucy on 2013-09-29 (0 days ago)
dmi.bios.date: 11/03/2010
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 080015
dmi.board.name: MCP61M-M3
dmi.board.vendor: ECS
dmi.board.version: 7.0
dmi.chassis.type: 3
dmi.chassis.vendor: ECS
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr080015:bd11/03/2010:svnECS:pnMCP61M-M3:pvr7.0:rvnECS:rnMCP61M-M3:rvr7.0:cvnECS:ct3:cvr:
dmi.product.name: MCP61M-M3
dmi.product.version: 7.0
dmi.sys.vendor: ECS
version.compiz: compiz 1:0.9.10+13.10.20130927.1-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.46-1
version.libgl1-mesa-dri: libgl1-mesa-dri 9.2-1ubuntu2
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 9.2-1ubuntu2
version.nvidia-graphics-drivers: nvidia-graphics-drivers N/A
version.xserver-xorg-core: xserver-xorg-core 2:1.14.2.901-2ubuntu6
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.3-0ubuntu3.1
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.2.0-0ubuntu9
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.21.14-4ubuntu4
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.9-2ubuntu1
xserver.bootTime: Sun Sep 29 11:57:01 2013
xserver.configfile: /etc/X11/xorg.conf
xserver.devices:
 input Power Button KEYBOARD, id 6
 input Power Button KEYBOARD, id 7
 input Dell Dell USB Entry Keyboard KEYBOARD, id 8
 input ImPS/2 Generic Wheel Mouse MOUSE, id 9
xserver.errors:
 Failed to load /usr/lib/xorg/modules/libglamoregl.so: /usr/lib/xorg/modules/libglamoregl.so: undefined symbol: _glapi_tls_Context
 Failed to load module "glamoregl" (loader failed, 7)
xserver.logfile: /var/log/Xorg.0.log
xserver.outputs:

xserver.version: 2:1.14.2.901-2ubuntu6

Revision history for this message
A.R.NARESH (naresh14334) wrote :
information type: Private Security → Public
summary: - xorg errors
+ glamoregl fails to load with binary drivers
Revision history for this message
Maarten Lankhorst (mlankhorst) wrote :

glamor-egl is not useful with binary drivers because they don't use glamor. The fix here is to link against libglapi directly, similar to #1232000. After fixing that bug libglx no longer exports the tls symbols, so link against libglapi directly. This is a temporary fix, because in the future glamor will be used directly by xserver's glx, at which point the patch can be dropped.

affects: xorg (Ubuntu) → glamor-egl (Ubuntu)
Changed in glamor-egl (Ubuntu):
assignee: nobody → Maarten Lankhorst (mlankhorst)
importance: Undecided → Critical
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package glamor-egl - 0.5.1-0ubuntu4

---------------
glamor-egl (0.5.1-0ubuntu4) saucy; urgency=low

  * Link against libglapi to fix a symbol error. (LP: #1232658)
 -- Maarten Lankhorst <email address hidden> Tue, 01 Oct 2013 13:51:50 +0200

Changed in glamor-egl (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Dave Chiluk (chiluk) wrote :

As far as I can tell the above fix did not fix the issue. I still get the below error out of /var/log/syslog

Oct 24 13:59:57 colt bumblebeed[1123]: [XORG] (WW) "xmir" is not to be loaded by default. Skipping.
Oct 24 13:59:57 colt bumblebeed[1123]: [XORG] (EE) Failed to load /usr/lib/xorg/modules/libglamoregl.so: /usr/lib/xorg/modules/libglamoregl.so: undefined symbol: _glapi_tls_Context
Oct 24 13:59:57 colt bumblebeed[1123]: [XORG] (EE) Failed to load module "glamoregl" (loader failed, 7)
Oct 24 13:59:57 colt bumblebeed[1123]: [XORG] (WW) Unresolved symbol: fbGetGCPrivateKey
Oct 24 13:59:57 colt bumblebeed[1123]: [XORG] (WW) NVIDIA(0): Failed to enable display hotplug notification
Oct 24 13:59:57 colt bumblebeed[1123]: [XORG] (WW) NVIDIA(0): Unable to get display device for DPI computation.
Oct 24 13:59:57 colt bumblebeed[1123]: [XORG] (EE) NVIDIA(0): Failed to initiate mode change.
Oct 24 13:59:57 colt bumblebeed[1123]: [XORG] (EE) NVIDIA(0): Failed to complete mode change

$ dpkg -l | grep glamor
ii libglamor0:amd64 0.5.1-0ubuntu4 amd64 shared graphics acceleration library based on OpenGL
ii xserver-xorg-glamoregl:amd64 0.5.1-0ubuntu4 amd64 X.Org X server -- graphics acceleration module based on OpenGL

Revision history for this message
Maarten Lankhorst (mlankhorst) wrote :

Sigh! Thanks for catching it. It turns out the order in debian/rules matters.

Fixed by calling autoreconf after quilt

Changed in glamor-egl (Ubuntu):
status: Fix Released → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package glamor-egl - 0.5.1-0ubuntu5

---------------
glamor-egl (0.5.1-0ubuntu5) trusty; urgency=low

  * Actually link against glapi to fix a symbol error. (LP: #1232658)
 -- Maarten Lankhorst <email address hidden> Mon, 28 Oct 2013 11:27:08 +0100

Changed in glamor-egl (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Dave Chiluk (chiluk) wrote :

Can we get this sru'd into at least saucy please?

Revision history for this message
Maarten Lankhorst (mlankhorst) wrote :

Already uploaded, you can grab the one from trusty for now, or wait for the sru to get accepted.. https://launchpad.net/ubuntu/saucy/+queue?queue_state=1

Revision history for this message
Chris Halse Rogers (raof) wrote : Please test proposed package

Hello A.R.NARESH, or anyone else affected,

Accepted glamor-egl into saucy-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/glamor-egl/0.5.1-0ubuntu4.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

tags: added: verification-needed
Revision history for this message
Maarten Lankhorst (mlankhorst) wrote :

Using -0ubuntu4.1 should allow saucy xorg-server to start again when having binary drivers installed, if it was broken before. I'll also test the case with no binary drivers.

Revision history for this message
Dave Chiluk (chiluk) wrote :

I tested saucy with this new glamor-egl. It appears to be loading cleanly now as I no longer have errors related to it in my logs.

Congrats!

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in glamor-egl (Ubuntu Raring):
status: New → Confirmed
Changed in glamor-egl (Ubuntu Saucy):
status: New → Confirmed
Changed in glamor-egl (Ubuntu Saucy):
status: Confirmed → Fix Committed
assignee: nobody → Maarten Lankhorst (mlankhorst)
Revision history for this message
de2Zotjes (de2zotjes) wrote :

I tested the new glamor-egl on saucy. Binary nvidia driver (called through optirun) loads without problems. Look like the patch is good.

Changed in glamor-egl (Ubuntu Raring):
importance: Undecided → Low
Changed in glamor-egl (Ubuntu Saucy):
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package glamor-egl - 0.5.1-0ubuntu4.1

---------------
glamor-egl (0.5.1-0ubuntu4.1) saucy-proposed; urgency=low

  * Actually link against glapi to fix a symbol error. (LP: #1232658)
 -- Maarten Lankhorst <email address hidden> Mon, 28 Oct 2013 11:27:08 +0100

Changed in glamor-egl (Ubuntu Saucy):
status: Fix Committed → Fix Released
Revision history for this message
Stéphane Graber (stgraber) wrote : Update Released

The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

Revision history for this message
Rolf Leggewie (r0lf) wrote :

raring has seen the end of its life and is no longer receiving any updates. Marking the raring task for this ticket as "Won't Fix".

Changed in glamor-egl (Ubuntu Raring):
status: Confirmed → Won't Fix
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.