multitasking view doesn't work when nVidia is on [$15]

Bug #1393019 reported by Eka Cahya Pratama
194
This bug affects 40 people
Affects Status Importance Assigned to Milestone
Gala
Invalid
High
Unassigned
elementary OS
Fix Released
High
Cody Garver

Bug Description

my laptop using both intel and nvidia graphic. So i install nvidia driver from X server from X.org and bumblebee to switch it. When PRIME profile switched to nVidia and then log off, the multitasking view doesn't work. it just open an interface but there is no preview and cant switch workspaces. When PRIME profile swiched back to intel and then log off, the multitasking view work just fine.

ProblemType: Bug
DistroRelease: elementary OS 0.3
Package: elementary-desktop 1.350+394~ubuntu0.3.1 [origin: LP-PPA-elementary-os-daily]
ProcVersionSignature: Ubuntu 3.13.0-39.66-generic 3.13.11.8
Uname: Linux 3.13.0-39-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.5
Architecture: amd64
CrashDB: elementary_meta
CurrentDesktop: Pantheon
Date: Sat Nov 15 22:20:58 2014
InstallationDate: Installed on 2014-11-04 (11 days ago)
InstallationMedia: elementary OS 0.3 "Freya" - Daily amd64 (20140810)
SourcePackage: elementary-meta
SuspiciousXErrors:

ThirdParty: True
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Eka Cahya Pratama (ekapratama93) wrote :
Revision history for this message
Paul (n3tfr34k) wrote :

Bug confirmed on my DELL laptop with NVIDIA Prime selected in driver.

Paul (n3tfr34k)
Changed in elementaryos:
status: New → Confirmed
Revision history for this message
Jhon (jhonmike) wrote :

Bug confirmed, DELL Inspiron-5437

Revision history for this message
Zerknirscht (knirsch) wrote :

Bug confirmed, DELL Inspiron N5010, GeForce GT 525M

Revision history for this message
Oscar (oscarcpozas-deactivatedaccount) wrote :

Bug confirmed, MSI GT70 2PC, GeForce 860M

Changed in elementaryos:
assignee: nobody → Oscar (oscarcpozas)
Revision history for this message
Dmytro (neimovirne) wrote :

Confirmed
Dell Inspiron 7720

Revision history for this message
Pavel Dolinin (pavel-dolinin) wrote :

Same story here
With Dell XPS 14 (Nvidia GeForce 630M)
Driver version: 331.113

Revision history for this message
Vitaly Maltsev (maltsev-vitaly) wrote :

Confirming the issue happening on my laptop as well.
Graphics:
Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
NVIDIA Corporation GF117M [GeForce 610M/710M/820M / GT 620M/625M/630M/720M] (rev a1)

By the way, guys, do you know if any workaround is available here?

Revision history for this message
JeanLuc (eviltwin1) wrote :

Same here.
But with a Radeon HD7850 and the radeonsi driver:

OpenGL renderer string: Gallium 0.4 on AMD PITCAIRN
OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.6.0-devel (git-5604d76 2015-04-01 trusty-oibaf-ppa)
OpenGL core profile shading language version string: 3.30

Revision history for this message
Eric Göpel (capstan) wrote :

confirmed:
Lenovo U510, NVIDIA GeForce GT 625M

Revision history for this message
Roger Sanders (ramjet1953) wrote :

I am having the same problem with my Acer V3-571G laptop, which has both Intel and NVIDIA GEFORCE GT-640M graphics.

Revision history for this message
Sébastien Maes (nautilussebastien) wrote :

Bug CONFIRMED : ASUS K93SM, Nvidia Geforce GT 630M

Revision history for this message
Rafael Cunha (rafaelscunha) wrote :

I also reported a bug about this. https://bugs.launchpad.net/gala/+bug/1444207

tags: added: nvidia
Revision history for this message
stuff (i-r-stuff) wrote :

Confirmed as well for me on freya official. Shame.

Cody Garver (codygarver)
no longer affects: elementaryos
Changed in gala:
milestone: none → freya-0.3.1
importance: Undecided → High
Changed in gala:
status: New → Fix Committed
Djax (parnold-x)
Changed in gala:
status: Fix Committed → New
Revision history for this message
Kyle (agronick) wrote :

Which branch has the fix in it so I can compile it and install it myself?

Changed in gala:
status: New → Confirmed
Revision history for this message
Kyle (agronick) wrote :

Can someone please write what is actually going on. Two posts said a fix was committed. What revision has the fix?

Revision history for this message
Harvey Cabaguio (harveycabaguio) wrote :

A fix hasn't been made yet. It was accidentally marked 'fix committed'.

Revision history for this message
Luis Barragan (lbarragan95-j) wrote :

Lenovo t520,

NVS 4200m + i7-2820QM

same issue.

Revision history for this message
Kyle (agronick) wrote :

Are there any logs you need? Has anything been assigned to anyone? Theres definitely some errors I get when I run Gala on Nvidia that I don't get on Intel.

Revision history for this message
jacopo (jacopo-y) wrote :

asus n56v
confirm issue

Revision history for this message
Gabriel Zatt Nunes (gznunes) wrote :

Confirmed
Same issue here on dell xps 15 nvidia GeForce GT 525M

Revision history for this message
Dendi Pradigta (awak-dendi) wrote :

ya, me too, after nvidia installed, my multitasking view just blank.
where the fix can I do?
my laptop : Asus A43SD - NVIDIA 610M and Intel HD.
pls email me <email address hidden>

Revision history for this message
laci357 (laci357) wrote :

Asus U33 JC - NVIDIA Corporation GT218M [GeForce 310M] -- same issue.

Revision history for this message
Kyle (agronick) wrote :

I noticed that the output when running Gala from the command line is slightly different when running from Nvidia as opposed to Intel. Has this been posted before?

WIth so many people dependant on having this fixed to use their relatively expensive graphics hardware I don't see anyone working on this.

Does anyone have an idea on where someone should go about looking in the code to fix this issue or how they should go about debugging it? Do you guys just use Nemiver to debug?

Revision history for this message
Kyle (agronick) wrote :

I tried hacking with the code. Couldn't find anything. I don't even know how you go about debugging something like this. I read what it said in the HACKING file but it said nothing about how to step through the code. Using Nemiver wasn't too helpful.

Heres my output when starting it using Nvidia:

Window manager warning: Log level 128: Settings.vala:158: Loading settings from schema 'org.gnome.desktop.background'
Window manager warning: Log level 128: Settings.vala:158: Loading settings from schema 'org.pantheon.desktop.gala.appearance'
Window manager warning: Log level 128: Settings.vala:158: Loading settings from schema 'org.pantheon.desktop.gala.keybindings'
Window manager warning: Log level 128: Settings.vala:158: Loading settings from schema 'org.pantheon.desktop.gala.shadows'
Window manager warning: Log level 128: Settings.vala:158: Loading settings from schema 'org.pantheon.desktop.gala.behavior'
Window manager warning: Log level 128: PluginManager.vala:132: Loaded plugin Mask Corners (libgala-maskcorners.so)
Window manager warning: Log level 128: PluginManager.vala:132: Loaded plugin Notify (libgala-notify.so)
Window manager warning: Log level 128: PluginManager.vala:132: Loaded plugin Zoom (libgala-zoom.so)
Window manager warning: Log level 128: Settings.vala:158: Loading settings from schema 'org.pantheon.desktop.gala.mask-corners'
Window manager warning: Log level 128: Preferences.vala:340: Loading preferences from file '/home/stack/.config/plank/dock1/settings'
Window manager warning: Log level 16: Theme.vala:392: Transparent not found, falling back to Gtk+ or Default.
Window manager warning: Log level 16: Preferences.vala:186: '/usr/share/themes/elementary/plank/dock.theme' is read-only!
Window manager warning: Log level 128: Preferences.vala:340: Loading preferences from file '/usr/share/themes/elementary/plank/dock.theme'
Window manager warning: Log level 128: Settings.vala:158: Loading settings from schema 'org.pantheon.desktop.gala.animations'
Window manager warning: Log level 8: gala_window_clone_set_active: assertion 'self != NULL' failed
Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.
Window manager warning: Log level 8: gala_window_clone_set_active: assertion 'self != NULL' failed
Window manager warning: last_focus_time (318314) is greater than comparison timestamp (318311). This most likely represents a buggy client sending inaccurate timestamps in messages such as _NET_ACTIVE_WINDOW. Trying to work around...
Window manager warning: Log level 16: STACK_OP_LOWER_BELOW: sibling window 0x360000b not in stack
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x3a0000b ()
Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.

Revision history for this message
Vitaly Maltsev (maltsev-vitaly) wrote :

Is there any workaround for this issue?

Revision history for this message
Kyle (agronick) wrote :

I had an interesting breakthrough when working with the code. If I remove && !window.on_all_workspaces on line 197 in WorkspaceClone.vala I can see the windows in the workspace switcher. Apparently the window is on all workspaces if there is only one workspace. The bug has to do with there only being 1 workspace apparently. This is a guess. The only thing I know for sure is removing that line of code fixes part of the problem.

Revision history for this message
Daniel (danielpc80) wrote :

Confirmed on Samsung RC-730 with Nvidia GT 540M

Revision history for this message
Kyle (agronick) wrote :

Perhaps the bug is being caused by all the windows having on_all_workspaces set to true. This causes it to disregard all the windows. When running Intel it looks the same as Nvidia if no windows are open.

Remving !window.on_all_workspaces on line 197 in WorkspaceClone.vala causes all the windows to show up in the worspaces switcher but I still can't add more workspaces.

Revision history for this message
Kyle (agronick) wrote :

Could someone point to the filter for on_all_workspaces where it checks if its ok to add another desktop. Removing that line might allow it to work normally.

Revision history for this message
Riccardo Bonafede (bonaff) wrote :

Confirmed on Asus F550L with Nvidia 820M

Revision history for this message
Valeriy (juststupidnick) wrote :

Confirmed on Lenovo V570 with Nvidia 525M.

Revision history for this message
koshi (koshi-dono) wrote :

Confirmed on Clevo W350ETQ with Nvidia GTX 660M.

Revision history for this message
Yuly Nesterov (inpr1se) wrote :

Confirmed on Lenovo Z50-70 with Nvidia 840M.

Revision history for this message
Vitaly Maltsev (maltsev-vitaly) wrote :

Guys, is there any chance that this issue will be fixed? This problem totally breaks elementary OS experience I'm using it for. Numerous users are affected.

Revision history for this message
Kyle (agronick) wrote :

If you guys would give me some direction I could probably help fix this. The issue could be because of a library. I'm pretty sure that whatever sets on_all_workspaces is setting the wrong value on nVidia cards.

Revision history for this message
keenan (keenan-leman) wrote :

Confirm on Dell Vostro 5470 with Nvidia GeForce GT 740M

Revision history for this message
Hasan Suryaman (mrbvrz) wrote :

Bug confirmed, DELL Inspiron 3421, GeForce GT625M

Revision history for this message
Qianxiao Li (li-qianxiao) wrote :

Bug confirmed, Gigabyte U24F, Nvidia GeForce GT750M

Revision history for this message
Kyle (agronick) wrote :

Here is what it looks like in multitasking view. As you can see it is still very broken: http://imgur.com/9DtI6RH

Cody Garver (codygarver)
Changed in gala:
milestone: freya-0.3.1 → none
status: Confirmed → Invalid
Changed in elementaryos:
assignee: nobody → Cody Garver (codygarver)
importance: Undecided → High
milestone: none → freya-0.3.1
status: New → In Progress
Revision history for this message
daniel (o-danieb-g) wrote :

btw, this bug has a bounty of 15$ which is not mentioned here:
https://www.bountysource.com/issues/6446551-multitasking-view-doesn-t-work-when-nvidia-is-on

summary: - multitasking view doesn't work when nVidia is on
+ multitasking view doesn't work when nVidia is on [$15]
Cody Garver (codygarver)
Changed in elementaryos:
status: In Progress → Fix Committed
Cody Garver (codygarver)
Changed in elementaryos:
status: Fix Committed → Fix Released
Revision history for this message
Henrique Cézar (juniorg-4) wrote :

As of 2015-09-05 this bug still occur on my HP Pavillion 14-v066br laptop with fully updated Elementary OS

Revision history for this message
Kyle (agronick) wrote :

What version is this fixed in? I'm running 0.2.0~r474+pkg32+build1~ubuntu0.3.1 and it seems to be the same as it was before.

It could just be me though because I did a lot of hacking trying to fix this issue. I did a make uninstall on the source which definitely removed my changes but it seems to be back to the original state of the problem.

Revision history for this message
Cody Garver (codygarver) wrote :

Gala itself was not the problem, it was a bug in the Utopic Xorg stack which was resolved by switching to the Vivid stack.

Revision history for this message
Kyle (agronick) wrote :

Sounds good. But what do I need to do to get this update? I'm switching myself from elementary-stable to elementary-daily right now. Sounds like that won't be much use. Should I switch everything from trusty to vivid?

Revision history for this message
Kyle (agronick) wrote : Re: [Bug 1393019] Re: multitasking view doesn't work when nVidia is on [$15]

My idea of replacing vivid in the sources was a terrible one. I ended
up reinstalling the entire os. At least the problem is fixed.

On Sun, Sep 6, 2015 at 7:14 PM, Cody Garver <email address hidden>
wrote:
> Gala itself was not the problem, it was a bug in the Utopic Xorg stack
> which was resolved by switching to the Vivid stack.
>
> --
> You received this bug notification because you are subscribed to the
> bug
> report.
> https://bugs.launchpad.net/bugs/1393019
>
> Title:
> multitasking view doesn't work when nVidia is on [$15]
>
> Status in elementary OS:
> Fix Released
> Status in Gala:
> Invalid
>
> Bug description:
> my laptop using both intel and nvidia graphic. So i install nvidia
> driver from X server from X.org and bumblebee to switch it. When
> PRIME
> profile switched to nVidia and then log off, the multitasking view
> doesn't work. it just open an interface but there is no preview and
> cant switch workspaces. When PRIME profile swiched back to intel and
> then log off, the multitasking view work just fine.
>
> ProblemType: Bug
> DistroRelease: elementary OS 0.3
> Package: elementary-desktop 1.350+394~ubuntu0.3.1 [origin:
> LP-PPA-elementary-os-daily]
> ProcVersionSignature: Ubuntu 3.13.0-39.66-generic 3.13.11.8
> Uname: Linux 3.13.0-39-generic x86_64
> ApportVersion: 2.14.1-0ubuntu3.5
> Architecture: amd64
> CrashDB: elementary_meta
> CurrentDesktop: Pantheon
> Date: Sat Nov 15 22:20:58 2014
> InstallationDate: Installed on 2014-11-04 (11 days ago)
> InstallationMedia: elementary OS 0.3 "Freya" - Daily amd64
> (20140810)
> SourcePackage: elementary-meta
> SuspiciousXErrors:
>
> ThirdParty: True
> UpgradeStatus: No upgrade log present (probably fresh install)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/elementaryos/+bug/1393019/+subscriptions

Revision history for this message
daniel (o-danieb-g) wrote :

Works great after a fresh installation of eOS 0.3.1

Revision history for this message
Vitaly Maltsev (maltsev-vitaly) wrote :

Guys, updating to vivid didn't work for me. I still can't access multitasking view, but have all latest components in place:

vitaly@vitaly-ThinkPad-T430s:~$ sudo apt-get install --install-recommends linux-generic-lts-vivid xserver-xorg-core-lts-vivid xserver-xorg-lts-vivid xserver-xorg-video-all-lts-vivid xserver-xorg-input-all-lts-vivid libwayland-egl1-mesa-lts-vivid libgl1-mesa-glx-lts-vivid libgl1-mesa-glx-lts-vivid:i386 libglapi-mesa-lts-vivid:i386
[sudo] password for vitaly:
Reading package lists... Done
Building dependency tree
Reading state information... Done
libgl1-mesa-glx-lts-vivid is already the newest version.
libwayland-egl1-mesa-lts-vivid is already the newest version.
xserver-xorg-input-all-lts-vivid is already the newest version.
xserver-xorg-lts-vivid is already the newest version.
xserver-xorg-video-all-lts-vivid is already the newest version.
libgl1-mesa-glx-lts-vivid:i386 is already the newest version.
libglapi-mesa-lts-vivid:i386 is already the newest version.
linux-generic-lts-vivid is already the newest version.
xserver-xorg-core-lts-vivid is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
vitaly@vitaly-ThinkPad-T430s:~$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Revision history for this message
Vitaly Maltsev (maltsev-vitaly) wrote :

Can this be resolved without full reinstallation of the elementary?

Revision history for this message
Nam Lah (namlah) wrote :

Same here.
Asus X555, Nvidia 840M v.A2.

Workspaces work fine either in dual or single display when using integrated video (Intel); attempting to switch workspaces when Nvidia profile is on, will not work. Also, there are intermittent display freezes; will have to kill the X server, log into tty1/2 and get back to GUI afterwards by doing Ctrl Shift F7.

Revision history for this message
Abolfazl (tireng69) wrote :

multitasking view doesn't work when nVidia is on GT630

Revision history for this message
Nikhil Handa (nikhil-handa19) wrote :

I confirm that it doesn't work on GT630m as well.

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.