myunity reports unity is in 2d mode when it isn't

Bug #962102 reported by Anton Piatek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
myunity (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Trying to use myunity to disable the seconds launcher bar on my second screen, it pops up message saying that Unity is running in 2d mode, and most options are greyed out.

I believe unity is in 3d mode because neither the user or system lightdm config mentions 2d, and because of the following data I have tried to gather:

$glxinfo | grep rendering
direct rendering: Yes

$/usr/lib/nux/unity_support_test -p
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce 7300 LE/PCIe/SSE2
OpenGL version string: 2.1.2 NVIDIA 295.20

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 3D supported: yes

$ps -ef|grep "meta\|unity\|compiz"
anton 5795 5709 3 11:20 ? 00:00:47 unity-2d-shell
anton 5796 5709 1 11:20 ? 00:00:17 unity-2d-panel
anton 5927 1 3 11:21 ? 00:00:44 /usr/lib/unity/unity-panel-service
anton 6146 1 0 11:21 ? 00:00:00 /usr/lib/unity-lens-music/unity-music-daemon
anton 6147 1 0 11:21 ? 00:00:00 /usr/lib/unity-lens-files/unity-files-daemon
anton 6148 1 0 11:21 ? 00:00:01 /usr/lib/unity-lens-applications/unity-applications-daemon
anton 6204 1 0 11:21 ? 00:00:00 /usr/lib/gvfs/gvfsd-metadata
anton 10336 6255 0 11:32 pts/0 00:00:00 /usr/bin/python /usr/bin/unity --reset
anton 10340 10336 0 11:32 pts/0 00:00:00 /bin/sh -c compiz --replace
anton 10342 10340 32 11:32 pts/0 00:03:18 compiz --replace
anton 10379 10342 0 11:32 ? 00:00:00 /bin/sh -c /usr/bin/compiz-decorator
anton 10390 1 0 11:32 ? 00:00:00 /usr/bin/python /usr/lib/unity-lens-video/unity-lens-video
anton 10415 1 0 11:32 ? 00:00:00 /usr/bin/python /usr/lib/unity-scope-video-remote/unity-scope-video-remote
anton 12954 11660 0 11:42 pts/1 00:00:00 grep --color=auto meta\|unity\|compiz

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: myunity 3.1.0-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-19.31-generic 3.2.12
Uname: Linux 3.2.0-19-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 1.94.1-0ubuntu2
Architecture: amd64
Date: Thu Mar 22 11:50:34 2012
InstallationMedia: Kubuntu 10.10 "Maverick Meerkat" - Alpha amd64 (20100701)
PackageArchitecture: all
SourcePackage: myunity
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Anton Piatek (anton-piatek) wrote :
Revision history for this message
Andrea Colangelo (warp10) wrote :

Thank you for taking the time to report this bug and helping to make ubuntu better.
According to your findings, looks like you ar actually using unity-2d. You can infer this assumption from ps:

$ps -ef|grep "meta\|unity\|compiz"
anton 5795 5709 3 11:20 ? 00:00:47 unity-2d-shell
anton 5796 5709 1 11:20 ? 00:00:17 unity-2d-panel

unity-2d-{shell,panel} are binaries related to unity-2d, hence I guess myunity is right saying you that myunity is running in 2D mode.

I'm closing this bug as invalid. If you think this is wrong and it's an actual bug, please feel free to revert its status and reopen it to investigate further.

Changed in myunity (Ubuntu):
status: New → Invalid
Revision history for this message
Anton Piatek (anton-piatek) wrote :

Are you sure that is enough to determine it is 2d? Others on #ubuntu+1said that they had unity-2d process running, and that the presence of the compiz processes meant that it was running 3d:
anton 10340 10336 0 11:32 pts/0 00:00:00 /bin/sh -c compiz --replace
anton 10342 10340 32 11:32 pts/0 00:03:18 compiz --replace
anton 10379 10342 0 11:32 ? 00:00:00 /bin/sh -c /usr/bin/compiz-decorator

Revision history for this message
Andrea Colangelo (warp10) wrote :

Please, would you issue this command in the terminal:

echo $DESKTOP_SESSION

and paste the output here?

Revision history for this message
Anton Piatek (anton-piatek) wrote :

$echo $DESKTOP_SESSION
ubuntu

Revision history for this message
Andrea Colangelo (warp10) wrote :

Thank you for your follow-up.
This is pretty weird, since looks like you are actually using a unity3d session, despite unity2d-related processes are running on your system.
I'm seeing right now that a "/usr/bin/unity --reset" command has been issued. Did you tried to respawn a unity session manually?
Please, would you paste here the result of "ps -ef | grep unity" immediately after a reboot?
Since we need to investigate further about this bug, I'm reopening it right now.

Changed in myunity (Ubuntu):
status: Invalid → Incomplete
Revision history for this message
Anton Piatek (anton-piatek) wrote :

Ok, so I think it is something rather odd on my system. Rebooting produces a similar result, but I do get and X crash (possibly in the nvidia driver) and a unity crash on logging in. both recover and let me continue, but I think it is dropping me down to a partial unity-2d interface.

I have just disabled acpi with acpi=off on my grub options to work around another issue where my cpu was stuck at 800mhz scaling. This time, I no longer got crashes on login, and myunity now sees me as not being 2d.
ps also no longer shows any unity-2d processes.

ps -ef|grep "meta\|unity\|compiz"
anton 4533 4455 15 08:13 ? 00:00:09 compiz
anton 4762 1 0 08:14 ? 00:00:00 /usr/lib/gvfs/gvfsd-metadata
anton 4824 1 4 08:14 ? 00:00:01 /usr/lib/unity/unity-panel-service
anton 4935 4533 0 08:14 ? 00:00:00 /bin/sh -c /usr/bin/compiz-decorator
anton 4969 1 1 08:14 ? 00:00:00 /usr/lib/unity-lens-applications/unity-applications-daemon
anton 4971 1 0 08:14 ? 00:00:00 /usr/lib/unity-lens-files/unity-files-daemon
anton 4974 1 0 08:14 ? 00:00:00 /usr/bin/python /usr/lib/unity-lens-video/unity-lens-video
anton 4975 1 0 08:14 ? 00:00:00 /usr/lib/unity-lens-music/unity-music-daemon
anton 5070 1 0 08:14 ? 00:00:00 /usr/bin/python /usr/lib/unity-scope-video-remote/unity-scope-video-remote
anton 5724 5022 0 08:14 pts/0 00:00:00 grep --color=auto meta\|unity\|compiz

I am closing the bug as invalid.

Changed in myunity (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
Kurt Miller (miller-kurt-e) wrote :

If VNC is running you could have 2D running even if the console is 3D...

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.