No video signal after "Log out" in gnome when multiple users

Bug #573101 reported by vpodobaev
110
This bug affects 20 people
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers (Ubuntu)
Invalid
Undecided
Unassigned
nvidia-graphics-drivers-173 (Ubuntu)
Invalid
Undecided
Unassigned
nvidia-graphics-drivers-96 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

[Copycat - A blackscreen can also appear due to a bug in the ATI driver - workaround involving gnome-screensaver. (goto bug #546578)]

Binary package hint: nvidia-graphics-drivers

Steps to reproduce:
1. While logged in as user A, System | Switch User
2. Login to user B (Xterm or Gnome session), ensure all is working
    properly and logout from user B.
   - screen goes black
   - keyboard no longer works
   - mouse no longer works
   - remote SSH shows GDM does not start GDM - LoginWindow
     session on the active TTY, as it normally does after logging
     out with only one user on the system. TTY does not respond to
     input.

Patch:
  Install latest NVidia graphics drivers.

Hello!

I have installed Ubuntu 10.04 LTS Desktop (lucid) from scratch.
Then I've made 2 users. Then I login as one user and switch to the second user using gnome menu (not gdm). (New feature in lucid).
When I do "Log Out" from the second user - video signal disappears and I'm not able to use neither X nor tty to do something with the system.
I have Nvidia driver (version 173.14.22) turned on. When I turn it off and do the steps described above - video signal remains, but when I return to the screen of the first user - the brightness of the screen goes very low. (Fade bug in Gnome?) And sometimes I even get black screen with lonely mouse. (The screen is not unfaded).

Maybe there are two different bugs? With nvidia driver (when screen is reset). And with gnome unfading when unlocking the screen.

Best regards, Vladimir

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: xorg 1:7.5+5ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Sat May 1 23:41:01 2010
DkmsStatus: nvidia-173, 173.14.22, 2.6.32-21-generic, i686: installed
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
Lsusb:
 Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-21-generic root=UUID=2f23dced-c74c-4966-af43-78805eab1070 ro quiet splash
ProcEnviron:
 LANG=ru_RU.utf8
 SHELL=/bin/bash
SourcePackage: xorg
Symptom: display
Title: Xorg freeze
dmi.bios.date: 01/22/2004
dmi.bios.vendor: Intel Corp.
dmi.bios.version: RL86510A.86A.0071.P13.0401221036
dmi.board.name: D865PERL
dmi.board.vendor: Intel Corporation
dmi.board.version: AAC27648-209
dmi.chassis.type: 2
dmi.modalias: dmi:bvnIntelCorp.:bvrRL86510A.86A.0071.P13.0401221036:bd01/22/2004:svn:pn:pvr:rvnIntelCorporation:rnD865PERL:rvrAAC27648-209:cvn:ct2:cvr:
glxinfo: Error: [Errno 2] Нет такого файла или каталога
system:
 distro: Ubuntu
 codename: lucid
 architecture: i686
 kernel: 2.6.32-21-generic

Revision history for this message
vpodobaev (vpodobaev) wrote :
Bryce Harrington (bryce)
Changed in xorg (Ubuntu):
status: New → Confirmed
Bryce Harrington (bryce)
affects: xorg (Ubuntu) → nvidia-graphics-drivers (Ubuntu)
Revision history for this message
Wiley (coyotewilee99) wrote :

Same problem here, except that turning of Nvidia 173 always leaves the 'lonely mouse'. Even ctrl-alt-F1 does not show anything and returning to ctrl-alt-F7 returns the mouse pointer on black background

Revision history for this message
Leona (leona-devon) wrote :

Hi
I have installed Ubuntu 10.04.
I have two users, myself and my partner.
I log in, do work, and then switch to my partner, she does work, etc.
if any one of us logs out, we get a blank screen, can do nothing and have to reset the machine.

Nvidia driver 173.14.22
Using X64 bit.
Kernal 2.6.32.22
Gnome 2.30

Thanks

Leona.

Revision history for this message
tjk (tim-klassen) wrote :

Using Nvidia driver 96.... (most recent)
Kubuntu KDE 4.4.5
64-bit kernel - 2.6.32-23-generic and recent low latency kernel

after attempting logout everything freezes... other tty consoles don't work -- so I have to do a hard reboot.

Revision history for this message
Igor Wojnicki (wojnicki) wrote :

Same here with NVidia driver 173.14.22

Revision history for this message
Leona (leona-devon) wrote :

I solved this on my machine by,
Go to the System menu, then Administration and Hardware Drivers
Select the latest version (recommended) nvidia driver. (bottom option)
Let it download, select apply and restart.
This should install a later version eg 195, which seems to resolve the problem.
Hope this helps.
Leona

Revision history for this message
Igor Wojnicki (wojnicki) wrote :

@Leona what did you do that 195 driver appeared in the Hardware Drivers? It's not in ubuntu repos...

Revision history for this message
Leona (leona-devon) wrote :

@Igor Wojnicki
I got 195 when I switched the driver from 173 to 'latest version' in the hardware driver dialogue, (under the Administration menu) doing that, downloaded and installed the driver itself, you then press Activate, then restart your computer.
You can then check the version by opening the terminal and typing 'nvidia-settings'. I does not appear as 195 in the drivers dialogue, it just shows as 'latest version' (why they couldn't add the version number here is beyond me).

There is no need to look into the ubuntu repos, I can only assume its downloaded from a Nvidia repo, not Ubuntu's? (I'm only guessing here, as like you say, its not in the Ubuntu ones).

Hope this helps.

Leona.

Revision history for this message
Igor Wojnicki (wojnicki) wrote : Re: [Bug 573101] Re: No video signal after "Log out" in gnome when multiple users

@Leona
It's wierd, I've got two entries in Hardware Drivers: NVIDIA (173)
[recommended, and NVIDIA(96). And that's it - no more entries. I also
tried adding pre-released and unsupported updates but to no avail.

Revision history for this message
Igor Wojnicki (wojnicki) wrote :

@Leona. Never mind 195 does not work for me since I have GeeForce FX 5200 which is supported only by 173 :(

Revision history for this message
Leona (leona-devon) wrote :

Yes, sorry I should have mentioned that this will only work on GeForce 6xxx and newer cards.

Igor Wojnicki (wojnicki)
Changed in nvidia-graphics-drivers-173 (Ubuntu):
status: New → Confirmed
Changed in nvidia-graphics-drivers-96 (Ubuntu):
status: New → Confirmed
Revision history for this message
Igor Wojnicki (wojnicki) wrote :

It seems that this bug is fixed in Maveric, at least for 173 drivers (173.14.27). I tested 173 and user switching works fine now. According to the changelog the fix is also applied to 96.

There is no problem with installing 173.14.27 on Lucid:

1. download the packages by hand:
    http://mirrors.kernel.org/ubuntu/pool/restricted/n/nvidia-graphics-drivers-173/nvidia-173-kernel-source_173.14.27-0ubuntu1_i386.deb
    http://mirrors.kernel.org/ubuntu/pool/restricted/n/nvidia-graphics-drivers-173/nvidia-173_173.14.27-0ubuntu1_i386.deb
    http://mirrors.kernel.org/ubuntu/pool/main/n/nvidia-graphics-drivers-173/nvidia-173-modaliases_173.14.27-0ubuntu1_i386.deb
    to /tmp

2. cd /tmp

3. dpkg -i nvidia*deb

and voila.

I think that it should be backported to lucid ASAP.

Igor Wojnicki (wojnicki)
tags: added: regression-release
Revision history for this message
NoOp (glgxg) wrote :

Confirmed that using Maverick's nvidia-96 96.43.18-0ubuntu1 works for me on lucid 10.04. I can now switch users, logout/login between users without further issues.

Revision history for this message
Wiley (coyotewilee99) wrote :

I can confirm too that on my Lucid the 173.14.27 packages seem to work just fine and the login problem is solved.
Thanks alot, Igor!

Revision history for this message
Mark Northrop (marktnorthrop) wrote :

I'm running Ubuntu 10.4 (Lucid) and I had this problem with getting a black screen when switching users also.

Following Igor's advice fixed it for me.

The steps I took were:

1. Download the nvidia-96 96.43.18-0ubuntu1 package from http://packages.ubuntu.com/maverick/nvidia-96
2. Install the package with the following command: sudo dpkg -i nvidia-96_96.43.18-0ubuntu1_i386.deb
3. Restart the computer

Since then everything works perfectly. Thanks to Igor and the rest of you for the support!

Revision history for this message
James White (frozenjim) wrote :

I can also confirm that the Maverick drivers on Lucid have solved the problem.

My users are now able to "switch users" and the log off without black screen.

YAY!!

MarcelD (marcel-dykstra)
description: updated
description: updated
description: updated
MarcelD (marcel-dykstra)
description: updated
MarcelD (marcel-dykstra)
description: updated
description: updated
description: updated
MarcelD (marcel-dykstra)
description: updated
Revision history for this message
MarcelD (marcel-dykstra) wrote :

Sorry for the many updates. I have read a few bug reports, initially thinking my problem had to do with the gnome-screensaver. Now I can confirm I had the same problem with my NVidia driver. I have an NVidia Geforce4 MX 4000 graphics card and the 96.43.17 NVidia driver installed, which came with Ubuntu 10.04 (2.6.32-26-generic kernel). I manually updated to the 96.43.19 driver and the problem is gone. I made some changes so that other people can distinguish the NVidia driver bug and gnome-screensaver bug more easily.

Regards,
 Marcel

Revision history for this message
Connie (diacalc) wrote :

I have wrote solution here https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/546578/comments/123

Now I don't have this bug

>I've updated nvidia drivers to 173.14.27 and the bug has gone.
>
>Adding repo with the latest drivers for nvidia cards
>
>sudo add-apt-repository ppa:ubuntu-x-swat/x-updates
>sudo apt-get update
>sudo apt-get upgrade

Revision history for this message
David Tombs (dgtombs) wrote :

Marcel, thanks for the help but bug 546578 is the same bug as this so we need to keep it as the duplicate. It's really not a bug in gnome-screensaver, that was changed just as a workaround.

Revision history for this message
NoOp (glgxg) wrote :

@David Tombs: This issue is nvidia specific to lucid. Using:
$ apt-cache policy nvidia-96
nvidia-96:
  Installed: 96.43.18-0ubuntu1
  Candidate: 96.43.18-0ubuntu1
  Version table:
 *** 96.43.18-0ubuntu1 0
        100 /var/lib/dpkg/status
     96.43.17-0ubuntu1 0
        500 http://us.archive.ubuntu.com/ubuntu/ lucid/restricted Packages
resolves the issue for me as noted in comment #13. Upgrading to 96.43.19-0ubuntu1 also works.

I have not modified my xorg-server (which is the package is 546578 is filed), I have *only* changed my nvidia-96 driver to resolve the issue:

$ apt-cache policy xorg
xorg:
  Installed: 1:7.5+5ubuntu1
  Candidate: 1:7.5+5ubuntu1
  Version table:
 *** 1:7.5+5ubuntu1 0
        500 http://us.archive.ubuntu.com/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status

$ apt-cache policy xserver-xorg-core
xserver-xorg-core:
  Installed: 2:1.7.6-2ubuntu7.4
  Candidate: 2:1.7.6-2ubuntu7.4
  Version table:
 *** 2:1.7.6-2ubuntu7.4 0
        500 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main Packages
        100 /var/lib/dpkg/status
     2:1.7.6-2ubuntu7 0
        500 http://us.archive.ubuntu.com/ubuntu/ lucid/main Packages

So what specifically is your reasoning for marking this bug as a duplicate of 546578?

Revision history for this message
MarcelD (marcel-dykstra) wrote :

David,
I have to disagree with re-entangling two bugs, which seem to be copycats (i.e. displaying similar behaviour).

The blackscreen bug #546578 (duplicates #529882, #555298, #555870, #557779, #570687) appears after a few user switches, which can happen with only ONE user on the system. For some people the resolution has been to apply xgamma… The bug has now been related to a fade-out problem in the gnome-screensaver.

The blackscreen bug #573101 (duplicates #560911, #561538, #573101, #574909, #577219, #578979, #585685) appears only with MULTIPLE users on the system. The blackscreen appears after one user logs out, even from a failsafe xterm session. So a change to gnome-screenssaver CANNOT be a workaround for bug #573101 (the failsafe session does not run gnome-screensaver) and is therefore not a duplicate of bug #54678. This bug is related to the NVidia driver, which stops the active TTY from displaying the GDM – LoginWindow session (I have confirmed this with SSH). The x-update solution by Connie is the definite resolution for this bug.

I would suggest to differentiate between bug #54678 and bug #573101 by marking them as copycats (not an official launchpad option though, but references can be placed in the bug descriptions). Please confine yourself of the difference by reading the bug reports and if so change the duplicates as suggested above (I will not take the liberty myself at this point).

Regards,
 Marcel

Revision history for this message
MarcelD (marcel-dykstra) wrote :

It seems patching with xgamma and gnome-screensaver is indeed a workaround for a problem in the ATI driver. This is what I conclude after reading more bug reports. I cannot be sure as I do not experience this bug #546578. I do know from experience that it is not a workaround for the NVIDIA driver bug #573101, which appears after user logout with multiple users on the system (as described above).

MarcelD (marcel-dykstra)
description: updated
Revision history for this message
Colan Schwartz (colan) wrote :

Why is this bug marked as a duplicate of #546578, when this bug is an NVIDIA problem, while the other one is not? I'm removing the "duplicate" marking.

Revision history for this message
dino99 (9d9) wrote :

That version is no more supported; please open a new bug report if the actual archive found version also has the same issue.

Changed in nvidia-graphics-drivers-96 (Ubuntu):
status: Confirmed → Invalid
Changed in nvidia-graphics-drivers-173 (Ubuntu):
status: Confirmed → Invalid
Changed in nvidia-graphics-drivers (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.