Recently I underwent a botched nvidia-prime install that left a bitter taste in 
my mouth:
https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1249067

I had to purge my system of all nvidia drivers (apt-get --purge remove 
nvidia\*), then reinstall them:
https://wiki.ubuntu.com/Bumblebee

After reinstallation, when my screen goes blank after idling, sometimes
it resumes to the desktop, other times I'm left at a black screen with
moving cursor that appears to indicate the screen is actually there, but
just not visible.  The mouse cursor will change from a pointer to a hand
(if it happens to hover over a hyperlink in the browser), or a 'I' (when
it hovers over a text input area).  I kept searching for a solution that
related to the Xorg system, but everything I threw at it (the little I
know about X) didn't bear fruit.  In the end, I just simply had to go to
a console (CTRL+ALT+F1) to restart lightdm to get my desktop back.  When
working with multiple windows and having many applications open, losing
the desktop can cause one to experiance weird emotions and exhibit
irrational actions; and it gets really old, really fast!

To cut a long story short, today I got fedup with it and started killing
anything that interracts with the display system (sometimes fatally that
I had to reboot by holding power button down for >5secs) to get this
sorted.  Interestingly, the culprit appears to be compiz.  I can now
duplicate this easily:

1. launch screensaver preferences (i use xscreensaver)
2. select a GL screensaver (the black screen with mouse occurs more often with 
such a screensaver)
3. click Preview button then hit the ESC key to return to desktop repeatedly 
until the black screen+mouse appears
4. CTRL+ALT+F1 to go to console window 1 and run the command: kill -9 $(pgrep 
compiz)
5 CTRL+ALT+F7 to return to GUI desktop - you should see your desktop minus the 
open windows
6 move mouse cursor to get compiz to reactivate itself and bring all your open 
applications into view

Hopefully this workaround will keep people like me sane for a little
longer...

Cheers,
ak.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xserver-xorg-video-intel in Ubuntu.
https://bugs.launchpad.net/bugs/1273832

Title:
  [fglrx] Lockscreen/lid-close xserver freeze if UXA accel used.

Status in “xserver-xorg-video-intel” package in Ubuntu:
  New

Bug description:
  On a Haswell system, if AccelMethod UXA selected in xorg.conf, xserver freezes
  (moveable cursor, but frozen and unresponsive desktop) each time the screen is
  locked (either via inactivity or lid close on laptop) . 

  This freeze does not occur if "SNA" AccelMethod is selected.
  This freeze can also be avoided if vblank_mode=0 is used, even
  if UXA acceleration selected.

  1) Ubuntu release: 13.10, but I also tested this on
  12.04 LTS, in which case I got exactly the same bug, only
  the frozen screen was blank rather than frozen desktop image.

  2) Expected result:

  No freeze when locking screen/closing lid. Just
  the login screen greeter.

  3) How to reproduce:

  On Haswell system, in xorg.conf:

      Section "Device"
              Identifier      "Intel Graphics"
              Driver          "intel"
              Option          "AccelMethod"  "UXA" #bug occurs
  #         Option          "AccelMethod"  "SNA" #(default) no bug!
      EndSection

  reboot.  Try closing the lid or locking screen a number of times
  (normally within a few attempts you will see the freeze).

  4) Resolution:

  Short term solution is to switch to a tty and back.

  Alternatively, boot with the SNA acceleration method instead.

  Another alternative: use a dri config file in home directory:
  ~/.drirc containing

      <device screen="0" driver="dri2">
             <application name="Default">
                     <option name="vblank_mode" value="0"/>
            </application>
      </device>

  to turn off vsync.

  5) Importance for fglrx driver users with AMD cards:

  fglrx and pxpress by default force the i915 driver to use "UXA" mode,
  thus when selecting the iGPU users of fglrx will experience this freezing bug.

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: xserver-xorg-video-intel 2:2.99.904-0ubuntu2.1
  ProcVersionSignature: Ubuntu 3.11.0-15.23-generic 3.11.10
  Uname: Linux 3.11.0-15-generic x86_64
  NonfreeKernelModules: fglrx
  .tmp.unity.support.test.0:
   
  ApportVersion: 2.12.5-0ubuntu2.2
  Architecture: amd64
  CompizPlugins: No value set for 
`/apps/compiz-1/general/screen0/options/active_plugins'
  CompositorRunning: compiz
  CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
  CompositorUnredirectFSW: true
  Date: Tue Jan 28 20:43:34 2014
  DistUpgraded: Fresh install
  DistroCodename: saucy
  DistroVariant: ubuntu
  DkmsStatus: fglrx, 13.251, 3.11.0-15-generic, x86_64: installed
  ExtraDebuggingInterest: Yes, including running git bisection searches
  GraphicsCard:
   Intel Corporation Haswell-ULT Integrated Graphics Controller [8086:0a16] 
(rev 09) (prog-if 00 [VGA controller])
     Subsystem: Lenovo Device [17aa:2216]
     Subsystem: Lenovo Device [17aa:2216]
  InstallationDate: Installed on 2014-01-17 (10 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 
(20131016.1)
  MachineType: LENOVO 20B3CTO1WW
  MarkForUpload: True
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.11.0-15-generic.efi.signed 
root=UUID=8a15962e-ad4d-4eb0-96af-37d167313e92 ro
  SourcePackage: xserver-xorg-video-intel
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 11/28/2013
  dmi.bios.vendor: LENOVO
  dmi.bios.version: GPET53WW (1.53 )
  dmi.board.asset.tag: Not Available
  dmi.board.name: 20B3CTO1WW
  dmi.board.vendor: LENOVO
  dmi.board.version: 0B98405 Std
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Not Available
  dmi.modalias: 
dmi:bvnLENOVO:bvrGPET53WW(1.53):bd11/28/2013:svnLENOVO:pn20B3CTO1WW:pvrThinkPadS5-S540:rvnLENOVO:rn20B3CTO1WW:rvr0B98405Std:cvnLENOVO:ct10:cvrNotAvailable:
  dmi.product.name: 20B3CTO1WW
  dmi.product.version: ThinkPad S5-S540
  dmi.sys.vendor: LENOVO
  version.compiz: compiz 1:0.9.10+13.10.20131011-0ubuntu1
  version.fglrx-installer: fglrx-installer N/A
  version.ia32-libs: ia32-libs N/A
  version.libdrm2: libdrm2 2.4.46-1ubuntu1
  version.libgl1-mesa-dri: libgl1-mesa-dri 9.2.1-1ubuntu3
  version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
  version.libgl1-mesa-glx: libgl1-mesa-glx 9.2.1-1ubuntu3
  version.xserver-xorg-core: xserver-xorg-core 2:1.14.5-1ubuntu2~saucy1
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.3-0ubuntu3.1
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.2.0-0ubuntu10
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 
2:2.99.904-0ubuntu2.1
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 
1:1.0.9-2ubuntu1
  xserver.bootTime: Tue Jan 28 19:11:22 2014
  xserver.configfile: /etc/X11/xorg.conf
  xserver.errors:
   
  xserver.logfile: /var/log/Xorg.0.log
  xserver.version: 2:1.14.5-1ubuntu2~saucy1
  xserver.video_driver: intel

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/1273832/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to