Package breaks unity with i915 because GLX cannot be loaded

Bug #1244231 reported by mo
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers-319-updates (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When nvidia-graphics-drivers-319-updates is installed I cannot log in into Unity because GLX cannot be loaded:

From Xorg.0.log:
[ 4872.070] (EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)

This somewhat makes sense, because I do not have a NVIDIA card, but rather this:

00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07) (prog-if 00 [VGA controller])
        Subsystem: Lenovo Device 20e4
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 45
        Region 0: Memory at f2000000 (64-bit, non-prefetchable) [size=4M]
        Region 2: Memory at d0000000 (64-bit, prefetchable) [size=256M]
        Region 4: I/O ports at 1800 [size=8]
        Expansion ROM at <unassigned> [disabled]
        Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
                Address: fee0300c Data: 4152
        Capabilities: [d0] Power Management version 3
                Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
        Kernel driver in use: i915

Once nvidia-graphics-drivers-319-updates is removed I can log in to Unity again. XFCE would work fine even with the package installed, but GLX would not be available.

The reason nvidia-graphics-drivers-319-updates was installed is because I need libopencv-dev, which depends on nvidia-graphics-drivers-319-updates.

So the problem is either that libopencv-dev depends on nvidia-graphics-drivers-319-updates, or that nvidia-graphics-drivers-319-updates breaks logging in with the Intel i915 card.

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: nvidia-319-updates (not installed)
ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
Uname: Linux 3.11.0-12-generic x86_64
ApportVersion: 2.12.5-0ubuntu2
Architecture: amd64
Date: Thu Oct 24 15:18:49 2013
EcryptfsInUse: Yes
InstallationDate: Installed on 2013-01-25 (272 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
MarkForUpload: True
SourcePackage: nvidia-graphics-drivers-319-updates
UpgradeStatus: Upgraded to saucy on 2013-09-28 (25 days ago)

Revision history for this message
mo (deez) wrote :
Revision history for this message
mo (deez) wrote :

This dependency got introduced during the beta of saucy.

Revision history for this message
mo (deez) wrote :

I did some more digging, seems like a virtual package is to blame.

libopencv-dev depends on libopencv-ocl-dev
libopencv-ocl-dev depends on libopencv-ocl2.4

libopencv-ocl2.4 on the virtual package libopencl1, provided by nvidia-304, nvidia-304-updates, nvidia-319, nvidia-319-updates, ocl-icd-libopencl1

apt decided to use nvidia-319-updates, which broke the system.

To fix this I removed all nvidia packages, along with libopencv-dev. Then installed ocl-icd-libopencl1, then libopencv-dev. Now all is good.

In my opinion ocl-icd-libopencl1 should be chosen by default.

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in nvidia-graphics-drivers-319-updates (Ubuntu):
status: New → Confirmed
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.