no OpenGLX with Nvidia-prime and the discrete card

Bug #1263458 reported by CedS
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nvidia-prime (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

System : Ubuntu 14.04 Trusty Thar Alpha 1
Package : Nvidia-prime 0.5.2, nvidia-331
Desktop : Unity or KDE, both malfunctionning

What I expect :

- Relogging after have choose the nvidia discrete card in nvidia-settings, and play my games on steam better than with my IntelHD4000

What I did :

- I installed nvidia-prime and all the needed package with the nvidia-331 drivers
- Choose "Nvidia GT740M" in Nvidia Settings for the next reboot/relogging
- Log out and log back, as I was ordered by nvidia-settings

What happened :

Bug : Unity doesn't run, because no OpenGLX
KDE is running but without any visual effects because of no OpenGLX.
Steam doesn't run.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: xorg 1:7.7+1ubuntu7
ProcVersionSignature: Ubuntu 3.12.0-7.15-generic 3.12.4
Uname: Linux 3.12.0-7-generic x86_64
.tmp.unity.support.test.0:

ApportVersion: 2.12.7-0ubuntu3
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: kwin
CurrentDesktop: KDE
Date: Sun Dec 22 10:10:51 2013
DistUpgraded: 2013-12-20 22:50:37,159 DEBUG enabling apt cron job
DistroCodename: trusty
DistroVariant: ubuntu
DkmsStatus:
 bbswitch, 0.7, 3.12.0-7-generic, x86_64: installed
 nvidia-331, 331.20, 3.12.0-7-generic, x86_64: installed
 nvidia-331-uvm, 331.20: added
GraphicsCard:
 Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09) (prog-if 00 [VGA controller])
   Subsystem: ASUSTeK Computer Inc. Device [1043:1587]
   Subsystem: ASUSTeK Computer Inc. Device [1043:1587]
InstallationDate: Installed on 2013-12-03 (18 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
MachineType: ASUSTeK COMPUTER INC. K56CB
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.12.0-7-generic.efi.signed root=UUID=565092ef-01c3-49a1-aa87-c7be5869a49d ro quiet splash vt.handoff=7
SourcePackage: xorg
Symptom: display
UnitySupportTest:
 Error: command ['/usr/lib/nux/unity_support_test', '-p', '-f'] failed with exit code 5: Xlib: extension "GLX" missing on display ":0".
 Error: GLX is not available on the system
UpgradeStatus: Upgraded to trusty on 2013-12-20 (1 days ago)
dmi.bios.date: 03/13/2013
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: K56CB.205
dmi.board.asset.tag: ATN12345678901234567
dmi.board.name: K56CB
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: 1.0
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK COMPUTER INC.
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrK56CB.205:bd03/13/2013:svnASUSTeKCOMPUTERINC.:pnK56CB:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnK56CB:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:
dmi.product.name: K56CB
dmi.product.version: 1.0
dmi.sys.vendor: ASUSTeK COMPUTER INC.
version.compiz: compiz 1:0.9.10+13.10.20131011-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.50-1
version.libgl1-mesa-dri: libgl1-mesa-dri 10.0.1-1ubuntu2
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 10.0.1-1ubuntu2
version.xserver-xorg-core: xserver-xorg-core 2:1.14.5-1ubuntu2
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.8.2-1ubuntu1
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.2.99~git20130816.d0323622-0ubuntu0smartboyhw
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.906+git20131213.f350a136-0ubuntu0sarvatt
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.10-1ubuntu1
xserver.bootTime: Sun Dec 22 10:01:33 2013
xserver.configfile: default
xserver.errors:
 NOUVEAU(G0): Failed to initialise context object: 2D_NVC0 (0)
 NOUVEAU(G0): Error initialising acceleration. Falling back to NoAccel
 Failed to initialize GLX extension (Compatible NVIDIA X driver not found)
xserver.logfile: /var/log/Xorg.0.log
xserver.outputs:
 product id 18156
 vendor AUO
xserver.version: 2:1.14.5-1ubuntu2

Revision history for this message
CedS (tumeprendslechou) wrote :
CedS (tumeprendslechou)
affects: xorg (Ubuntu) → nvidia-prime (Ubuntu)
Revision history for this message
Alberto Milone (albertomilone) wrote :

Please attach the following files:

/var/log/nvidia-prime-upstart.log
/var/log/prime-offload.log
/var/log/prime-switch.log
/var/log/prime-supported.log
/var/log/prime-quirks.log

Changed in nvidia-prime (Ubuntu):
status: New → Incomplete
Revision history for this message
CedS (tumeprendslechou) wrote :

This my nvidia-prime-upstart file

Revision history for this message
CedS (tumeprendslechou) wrote :
Revision history for this message
CedS (tumeprendslechou) wrote :

This is my prime-offload log.

Revision history for this message
CedS (tumeprendslechou) wrote :

This is my prime-switch log. I don't have a prime-quircks log in my /var/log

Hope that will help you.
The error is : extension GLX missing from screen 0
I think the nvidia driver erase the intel-nouveau configurations'files, so I don't have glx

Revision history for this message
Alberto Milone (albertomilone) wrote :

prime-offload.log reports that "the nvidia kernel module is not is loaded". This is the problem.

Revision history for this message
CedS (tumeprendslechou) wrote :

I have the solution for this bug !

1):

- In fact, the nvidia-331 driver erase the intel's driver configuration's files, that's the cause of "GLX extension missing on screen 0" and the unity's bug.

2)
- So we need to install nvidia-prime and nvidia-331. Don't log out !!!!

3)
- run terminal and execute : "sudo apt-get install --reinstall libgl1-mesa-glx"
this commande reinstall the configuration of intel's HD4000 driver.

4) - Then reboot your computer

- with this command, intel's driver seems to be correctly configured, unity is running, kde too, openglx is working and I can switch between this two cards, the discrete nvidia-card is perfectly working, and nvidia-prime too.

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

[Expired for nvidia-prime (Ubuntu) because there has been no activity for 60 days.]

Changed in nvidia-prime (Ubuntu):
status: Incomplete → Expired
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.