unity does not start on multi graphic card system

Bug #773065 reported by Andreas
30
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Compiz
Invalid
Undecided
Unassigned
Unity
Invalid
Undecided
Unassigned
unity (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: unity

I have a computer with two graphic cards installed, one Nvidia GeForce 6200 and one Nvidia GeForce 9500GT. I try to use the default "Ubuntu" session but unity3d never starts. I only see the desktop and my desktop icons and the mouse pointer.
I'm attaching the .xsession-errors file.

$ /usr/lib/nux/unity_support_test -p

OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce 9500 GT/PCI/SSE2
OpenGL version string: 3.3.0 NVIDIA 270.41.06

Not software rendered: yes
Not blacklisted: yes
GLX fbconfig: yes
GLX texture from pixmap: yes
GL npot or rect textures: yes
GL vertex program: yes
GL fragment program: yes
GL vertex buffer object: yes
GL framebuffer object: yes
GL version is 1.4+: yes

Unity supported: yes
---
.proc.driver.nvidia.gpus.0: Error: [Errno 21] Is a directory: '/proc/driver/nvidia/gpus/0'
.proc.driver.nvidia.gpus.1: Error: [Errno 21] Is a directory: '/proc/driver/nvidia/gpus/1'
.proc.driver.nvidia.registry: Binary: ""
.proc.driver.nvidia.version:
 NVRM version: NVIDIA UNIX x86_64 Kernel Module 270.41.06 Mon Apr 18 14:53:56 PDT 2011
 GCC version: gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4)
Architecture: amd64
CompizPlugins: [core,bailer,detection,composite,opengl,decor,mousepoll,vpswitch,regex,animation,snap,expo,move,compiztoolbox,place,grid,imgpng,gnomecompat,wall,ezoom,workarounds,staticswitcher,resize,fade,unitymtgrabhandles,scale,session,unityshell]
CompositorRunning: None
DistUpgraded: Log time: 2011-04-28 15:08:14.568103
DistroCodename: natty
DistroRelease: Ubuntu 11.04
DistroVariant: ubuntu
DkmsStatus:
 nvidia-current, 270.41.06, 2.6.38-8-generic, x86_64: installed
 vboxhost, 4.0.6, 2.6.38-8-generic, x86_64: installed
EcryptfsInUse: Yes
GraphicsCard:
 nVidia Corporation G96 [GeForce 9500 GT] [10de:0640] (rev a1) (prog-if 00 [VGA controller])
   Subsystem: eVga.com. Corp. Device [3842:c954]
 nVidia Corporation NV44A [GeForce 6200] [10de:0221] (rev a1) (prog-if 00 [VGA controller])
   Subsystem: ZOTAC International (MCO) Ltd. Device [19da:3036]
JockeyStatus:
 xorg:nvidia_173 - NVIDIA accelerated graphics driver (Proprietary, Disabled, Not in use)
 xorg:nvidia_current - NVIDIA accelerated graphics driver (Proprietary, Enabled, Not in use)
MachineType: Dell Inc. OptiPlex 960
NonfreeKernelModules: nvidia
Package: unity 3.8.10-0ubuntu2
PackageArchitecture: amd64
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-2.6.38-8-generic root=UUID=27600731-8251-4ac4-8ddf-a33d5d9f3f9a ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
ProcVersionSignature_: Ubuntu 2.6.38-8.42-generic 2.6.38.2
ProcVersionSignature__: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Renderer: Unknown
Tags: unity-2d natty unity-2d natty unity-2d natty possible-manual-nvidia-install ubuntu regression-update
Uname: Linux 2.6.38-8-generic x86_64
UpgradeStatus: Upgraded to natty on 2011-04-28 (0 days ago)
UserGroups: adm admin audio cdrom dialout fuse lpadmin netdev plugdev sambashare vboxusers video
dmi.bios.date: 04/29/2009
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A04
dmi.board.name: 0Y958C
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 6
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA04:bd04/29/2009:svnDellInc.:pnOptiPlex960:pvr:rvnDellInc.:rn0Y958C:rvrA00:cvnDellInc.:ct6:cvr:
dmi.product.name: OptiPlex 960
dmi.sys.vendor: Dell Inc.
version.compiz: compiz 1:0.9.4+bzr20110415-0ubuntu2
version.ia32-libs: ia32-libs 20090808ubuntu13
version.libdrm2: libdrm2 2.4.23-1ubuntu6
version.libgl1-mesa-dri: libgl1-mesa-dri 7.10.2-0ubuntu2
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 7.10.2-0ubuntu2
version.nvidia-graphics-drivers: nvidia-graphics-drivers N/A
version.xserver-xorg: xserver-xorg 1:7.6+4ubuntu3
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.0-0ubuntu4
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.14.0-4ubuntu7
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110107+b795ca6e-0ubuntu7

Revision history for this message
Andreas (andreas-kotowicz) wrote :
Revision history for this message
Andreas (andreas-kotowicz) wrote :

As you can see from the .xsession-errors file, compiz complains about 'Warn: No GLXFBConfig for depth 32'.
But if you have a look at my xorg.conf file, I only have depth 24 configured.

Revision history for this message
Andreas (andreas-kotowicz) wrote :

I forgot to mention, disabling the GeForce 6200 doesn't help. Unity3d still won't start.
Unity2D works fine with both graphic cards enabled.

Revision history for this message
Andreas (andreas-kotowicz) wrote :

I've managed to convince unity to at least start with the following commands:

$ export DISPLAY=:0
$ export COMPIZ_CONFIG_PROFILE=ubuntu
$ compiz --replace 2>&1 | tee compizlog

but the GUI becomes super slow and there are now window borders.

Revision history for this message
Andreas (andreas-kotowicz) wrote :

I'm attaching the compizlog file generated, with only one graphics card enabled.

Revision history for this message
Andreas (andreas-kotowicz) wrote :

and here some output from $ dmesg that might (or might not) be relevant.

[65656.709087] compiz[15321]: segfault at 19 ip 00007fdc502a7394 sp 00007fffdaa0f1e0 error 4 in libpthread-2.13.so[7fdc5029e000+18000]
[65753.562733] compiz[16046] general protection ip:7fe52e85a394 sp:7fff7b3235e0 error:0 in libpthread-2.13.so[7fe52e851000+18000]
[66187.972129] compiz[18408] general protection ip:7fbaa1f62f45 sp:7ffff6074f08 error:0 in libglib-2.0.so.0.2800.6[7fbaa1f22000+ed000]
[68191.787683] compiz[26407]: segfault at 0 ip 00007f21b81bcea9 sp 00007fff6d9ba210 error 4 in libwall.so[7f21b81ac000+24000]
[68515.598511] compiz[27613]: segfault at 58 ip 00007fb6729f1c51 sp 00007ffff62a4fd8 error 4 in libnvidia-glcore.so.270.41.06[7fb671a5f000+144e000]
[68572.300079] polkit-gnome-au[27200]: segfault at 48 ip 00007fbf379669d8 sp 00007fff4e054f40 error 4 in libglib-2.0.so.0.2800.6[7fbf3793f000+ed000]
[68624.361108] compiz[28602]: segfault at 58 ip 00007fda3ebfbc51 sp 00007fff2cd1d848 error 4 in libnvidia-glcore.so.270.41.06[7fda3dc69000+144e000]

Revision history for this message
Andreas (andreas-kotowicz) wrote :

If I disable the graphics card that has two monitors connected and only use one graphic card with a single monitor connected to it, unity3d starts as expected. Here's the output from unity_support_test:

$ /usr/lib/nux/unity_support_test -p
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce 6200/PCI/SSE2
OpenGL version string: 2.1.2 NVIDIA 270.41.06

Not software rendered: yes
Not blacklisted: yes
GLX fbconfig: yes
GLX texture from pixmap: yes
GL npot or rect textures: yes
GL vertex program: yes
GL fragment program: yes
GL vertex buffer object: yes
GL framebuffer object: yes
GL version is 1.4+: yes

Unity supported: yes

Revision history for this message
Andreas (andreas-kotowicz) wrote :

to summarize:

unity3d won't start up with:
- two graphic cards, three screens
- one graphic card, two screens

it will start up with:
- one graphic card, one screen.

Revision history for this message
Andreas (andreas-kotowicz) wrote :

it seems like the 'enable xinerama' option in 'nvidia-settings' kills the window borders. If I disable xinerama, unity seems to start and window borders are correctly displayed on screen 1 & 2 (graphics card 1). But apps started on screen 3 (graphics card 2) come without window borders. This makes the 3rd screen useless.

Revision history for this message
Andreas (andreas-kotowicz) wrote :

this bug seems to be similar to bug #770619

Revision history for this message
Andreas (andreas-kotowicz) wrote : .proc.driver.nvidia.params.txt

apport information

tags: added: apport-collected natty possible-manual-nvidia-install regression-update ubuntu unity-2d
description: updated
Revision history for this message
Andreas (andreas-kotowicz) wrote : BootDmesg.txt

apport information

Revision history for this message
Andreas (andreas-kotowicz) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Andreas (andreas-kotowicz) wrote : Dependencies.txt

apport information

Revision history for this message
Andreas (andreas-kotowicz) wrote : DpkgLog.txt

apport information

Revision history for this message
Andreas (andreas-kotowicz) wrote : GconfCompiz.txt

apport information

Revision history for this message
Andreas (andreas-kotowicz) wrote : GlConf.txt

apport information

Revision history for this message
Andreas (andreas-kotowicz) wrote : Lspci.txt

apport information

Revision history for this message
Andreas (andreas-kotowicz) wrote : Lsusb.txt

apport information

Revision history for this message
Andreas (andreas-kotowicz) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Andreas (andreas-kotowicz) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Andreas (andreas-kotowicz) wrote : ProcModules.txt

apport information

Revision history for this message
Andreas (andreas-kotowicz) wrote : UdevDb.txt

apport information

Revision history for this message
Andreas (andreas-kotowicz) wrote : UdevLog.txt

apport information

Revision history for this message
Andreas (andreas-kotowicz) wrote : UnitySupportTest.txt

apport information

Revision history for this message
Andreas (andreas-kotowicz) wrote : XorgConf.txt

apport information

Revision history for this message
Andreas (andreas-kotowicz) wrote : XorgLog.txt

apport information

Revision history for this message
Andreas (andreas-kotowicz) wrote : XorgLogOld.txt

apport information

Revision history for this message
Andreas (andreas-kotowicz) wrote : nvidia-installer.log.txt

apport information

Revision history for this message
Andreas (andreas-kotowicz) wrote : nvidia-settings.txt

apport information

Revision history for this message
Andreas (andreas-kotowicz) wrote : peripherals.txt

apport information

Revision history for this message
Andreas (andreas-kotowicz) wrote : xdpyinfo.txt

apport information

Revision history for this message
Andreas (andreas-kotowicz) wrote : xinput.txt

apport information

affects: unity → compiz
Revision history for this message
DarkJavi (darkjavi) wrote :

I'm affected too. Have 2x Nvidia gts450 with 4 screens.

If login into unity, desktop shows but mouse and keyboard does not interacts with icons.
If login into gnome with xinerama enabled, the same.
If login into gnome without xinerama(separate X screens) I have acceleration and can work on the first screen, but the other 3 windows have no borders and can't use the keyboard.

Revision history for this message
Victor Serrano (lyndros) wrote :

Having the same problem here with Ubuntu Natty and Unity Enable,

My setup is the following PC with two graphics card,

ATI HD 6950
ATI HD 4670

Both graphics are properly working monitors are detected and configurable, but when Xinerama is enabled then unity is not booting and X crashes, the only way to login is restarting gdm from a terminal and setting as session ubuntu with no effects.

it seems that unity and compiz is not properly working in multiple monitors environment.

Revision history for this message
nullchar (z-launchpad-nullchar-net) wrote :

Compiz and Xinerama have not been compatible for a long time. (And they were only compatible based on a fork.)

Try Unity 2D if you want to keep using the Unity UI with Xinerama, else use Gnome without Compiz with Xinerama:

http://packages.ubuntu.com/natty/unity-2d

Revision history for this message
Andreas (andreas-kotowicz) wrote :

I think this problem is more complicated, because even with the standard ubuntu desktop session (no effects) I get very poor GUI performance. see bug #776198.

Revision history for this message
Omer Akram (om26er) wrote :

Andreas, as you mentioned yourself the performance issue in classic desktop I think we can conclude that the issue is with the drivers so I think we should close this bug for the time being, what do you think?

Revision history for this message
Andreas (andreas-kotowicz) wrote :

Why should we close this bug? The problem is real, we just don't know yet for sure what's causing it. Yes, it could be a non unity3d bug, but I can't prove it.

Revision history for this message
Andreas (andreas-kotowicz) wrote :

I've installed the latest NVIDIA drivers from https://launchpad.net/~portis25/+archive/test/+packages/ and things have improved for me. Can anyone else confirm this?

Revision history for this message
Alex Launi (alexlauni) wrote :

The fact that there are massive issues outside of unity shows that this is clearly not a unity bug. Marking invalid for Unity, but there is an issue with compiz or drivers.

Changed in unity:
status: New → Invalid
Changed in unity (Ubuntu):
status: New → Invalid
Revision history for this message
Eleni Maria Stea (hikiko) wrote :

This bug is quite old and we didn't manage to reproduce it. Therefore I will change its status to invalid. If you still experience the issue in one of the supported Ubuntu releases please feel free to re-open it and update the description. Thank you!

Changed in compiz:
status: New → Invalid
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.