My thinkpad t510 does suspend and resume with standard kernel and nvidia
drivers on 10.10, but graphics are slow on resume.

I "adapted" Claudios script and put it in /etc/pm/sleep.d/10_nvidia-hack, so
it automaticlly gets run on suspend and resume.

Now graphics are snappy as on fresh boot, so it seems to be working.

Strange thing is that dmesg claims that in standard setup non-boot cpu's are
disabled on suspend, but that seems not to happen.

/Andreas


On Thu, Nov 18, 2010 at 4:47 PM, Claudio Melis <mebi...@gmail.com>
wrote:

> @ Øyvind
> have you try my script?
> it disble logical cpu. before 260.19.21 I was unable to resume my laptop
> but
> i I disable logical cpu before suspend and reneable after resume all works
> fine. have a try.
>
> 2010/11/18 Øyvind Stegard <oyvi...@ifi.uio.no>
>
> > All nvidia drivers from 256.X up to newest 260.91.21 are unusable for me
> > on basically any kernel up to 2.6.37-rc2 (on Lucid x86-64, nvidia NVS
> > 3100M, Dell E6510). I get "NVRM: os_schedule: Attempted to yield the CPU
> > while in atomic or interrupt context" at suspend/resume + when switching
> > to console, which eventually leads to hanging X. I got a thread going at
> > nvnews.net (http://www.nvnews.net/vbulletin/showthread.php?t=157041 ),
> > but have never received any official nvidia-response on these matters,
> > which is not cool at all. This prevents me from upgrading to Maverick
> > (since I'd need to upgrade nvidia driver in that process, because of new
> > X server). Thumbs down nvidia.
> >
> > --
> > NVRM: os_raise_smp_barrier(), invalid context!
> > https://bugs.launchpad.net/bugs/656279
> > You received this bug notification because you are a direct subscriber
> > of the bug.
> >
> > Status in “nvidia-graphics-drivers” package in Ubuntu: Triaged
> >
> > Bug description:
> > dmesg output is full of these messages:
> > NVRM: os_raise_smp_barrier(), invalid context!
> >
> > Other than the errors being spammed and dmesg being unusable, I do not
> > notice any immediate problems with the nVidia driver.
> >
> > ProblemType: Bug
> > DistroRelease: Ubuntu 10.10
> > Package: nvidia-current 260.19.06-0ubuntu1
> > ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4
> > Uname: Linux 2.6.35-22-generic x86_64
> > NonfreeKernelModules: nvidia
> > .proc.driver.nvidia.version:
> >  NVRM version: NVIDIA UNIX x86_64 Kernel Module  260.19.06  Mon Sep 13
> > 04:29:19 PDT 2010
> >  GCC version:  gcc version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu5)
> > Architecture: amd64
> > Date: Thu Oct  7 14:39:24 2010
> > DkmsStatus:
> >  nvidia-current, 260.19.06, 2.6.32-25-generic, x86_64: built
> >  nvidia-current, 260.19.06, 2.6.35-22-generic, x86_64: installed
> > GdmLog:
> >  Error: command ['kdesudo', '--', 'cat', '/var/log/gdm/:0.log'] failed
> with
> > exit code 1: QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch
> > failed: No such file or directory
> >  QFileSystemWatcher: failed to add paths: /home/alvin/.config/ibus/bus
> >  Bus::open: Can not get ibus-daemon's address.
> >  IBusInputContext::createInputContext: no connection to ibus-daemon
> >  cat: /var/log/gdm/:0.log: No such file or directory
> > GdmLog1: Error: command ['kdesudo', '--', 'cat', '/var/log/gdm/:0.log.1']
> > failed with exit code 1: cat: /var/log/gdm/:0.log.1: No such file or
> > directory
> > GdmLog2: Error: command ['kdesudo', '--', 'cat', '/var/log/gdm/:0.log.2']
> > failed with exit code 1: cat: /var/log/gdm/:0.log.2: No such file or
> > directory
> > ProcCmdLine: BOOT_IMAGE=/vmlinuz-2.6.35-22-generic
> > root=/dev/mapper/vg0-root ro splash
> > ProcEnviron:
> >  LANGUAGE=
> >  LANG=C
> >  SHELL=/bin/bash
> > SourcePackage: nvidia-graphics-drivers
> > dmi.bios.date: 09/07/2010
> > dmi.bios.vendor: Intel Corp.
> > dmi.bios.version: TMIBX10H.86A.0039.2010.0907.1056
> > dmi.board.asset.tag: To be filled by O.E.M.
> > dmi.board.name: DQ57TM
> > dmi.board.vendor: Intel Corporation
> > dmi.board.version: AAE70931-401
> > dmi.chassis.type: 3
> > dmi.modalias:
> >
> dmi:bvnIntelCorp.:bvrTMIBX10H.86A.0039.2010.0907.1056:bd09/07/2010:svntranstecAG:pn:pvr:rvnIntelCorporation:rnDQ57TM:rvrAAE70931-401:cvn:ct3:cvr:
> > dmi.sys.vendor: transtec AG
> > glxinfo: Error: [Errno 2] No such file or directory
> > system:
> >  distro:             Ubuntu
> >  codename:           maverick
> >  architecture:       x86_64
> >  kernel:             2.6.35-22-generic
> >
> > To unsubscribe from this bug, go to:
> >
> >
> https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers/+bug/656279/+subscribe
> >
>
> --
> NVRM: os_raise_smp_barrier(), invalid context!
> https://bugs.launchpad.net/bugs/656279
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “nvidia-graphics-drivers” package in Ubuntu: Triaged
>
> Bug description:
> dmesg output is full of these messages:
> NVRM: os_raise_smp_barrier(), invalid context!
>
> Other than the errors being spammed and dmesg being unusable, I do not
> notice any immediate problems with the nVidia driver.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 10.10
> Package: nvidia-current 260.19.06-0ubuntu1
> ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4
> Uname: Linux 2.6.35-22-generic x86_64
> NonfreeKernelModules: nvidia
> .proc.driver.nvidia.version:
>  NVRM version: NVIDIA UNIX x86_64 Kernel Module  260.19.06  Mon Sep 13
> 04:29:19 PDT 2010
>  GCC version:  gcc version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu5)
> Architecture: amd64
> Date: Thu Oct  7 14:39:24 2010
> DkmsStatus:
>  nvidia-current, 260.19.06, 2.6.32-25-generic, x86_64: built
>  nvidia-current, 260.19.06, 2.6.35-22-generic, x86_64: installed
> GdmLog:
>  Error: command ['kdesudo', '--', 'cat', '/var/log/gdm/:0.log'] failed with
> exit code 1: QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch
> failed: No such file or directory
>  QFileSystemWatcher: failed to add paths: /home/alvin/.config/ibus/bus
>  Bus::open: Can not get ibus-daemon's address.
>  IBusInputContext::createInputContext: no connection to ibus-daemon
>  cat: /var/log/gdm/:0.log: No such file or directory
> GdmLog1: Error: command ['kdesudo', '--', 'cat', '/var/log/gdm/:0.log.1']
> failed with exit code 1: cat: /var/log/gdm/:0.log.1: No such file or
> directory
> GdmLog2: Error: command ['kdesudo', '--', 'cat', '/var/log/gdm/:0.log.2']
> failed with exit code 1: cat: /var/log/gdm/:0.log.2: No such file or
> directory
> ProcCmdLine: BOOT_IMAGE=/vmlinuz-2.6.35-22-generic
> root=/dev/mapper/vg0-root ro splash
> ProcEnviron:
>  LANGUAGE=
>  LANG=C
>  SHELL=/bin/bash
> SourcePackage: nvidia-graphics-drivers
> dmi.bios.date: 09/07/2010
> dmi.bios.vendor: Intel Corp.
> dmi.bios.version: TMIBX10H.86A.0039.2010.0907.1056
> dmi.board.asset.tag: To be filled by O.E.M.
> dmi.board.name: DQ57TM
> dmi.board.vendor: Intel Corporation
> dmi.board.version: AAE70931-401
> dmi.chassis.type: 3
> dmi.modalias:
> dmi:bvnIntelCorp.:bvrTMIBX10H.86A.0039.2010.0907.1056:bd09/07/2010:svntranstecAG:pn:pvr:rvnIntelCorporation:rnDQ57TM:rvrAAE70931-401:cvn:ct3:cvr:
> dmi.sys.vendor: transtec AG
> glxinfo: Error: [Errno 2] No such file or directory
> system:
>  distro:             Ubuntu
>  codename:           maverick
>  architecture:       x86_64
>  kernel:             2.6.35-22-generic
>
> To unsubscribe from this bug, go to:
>
> https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers/+bug/656279/+subscribe
>

-- 
NVRM: os_raise_smp_barrier(), invalid context!
https://bugs.launchpad.net/bugs/656279
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to