Robert Ancell: > It seems likely the problem is either unity-greeter not configuring / running > the correct plugin in g-s-d
It appears that the power plugin is indeed running in both 13.04 and 13.10 as I am seeing logging from it in /var/log/lightdm/x-0-greeter.log in both 13.04 and 13.10. > or g-s-d being broken. One key thing that is different between the two logs is that this line appears in 13.10, but not in 13.04: (gnome-settings-daemon:1507): power-plugin-WARNING **: Failed to run GetActive() function on screensaver: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface 'org.gnome.ScreenSaver' on object at path /org/gnome/ScreenSaver I do know that the power plugin's dpms feature is driven by org.gnome.screensaver, so since connecting to that is failing in 13.10, that might be related to the issue. Eugene Crosser: > my observations show that the problem is not that proper setting are *not > applied*, but that they are *overridden* with wrong values afterwards. This is not what I'm seeing. The DPMS timeouts are not used at the login screen in 13.04 to power off the monitor. The screensaver timeouts are used instead. And the screensaver timeouts are not being modified by anyone when lightdm is running. You can verify this by modifying the display-setup-script and session-setup-script to do an "xset q" before and after the 10 second sleep and log this someplace where it can be easily found. Then examine the screensaver timeouts (not the DPMS) timeouts. The screensaver timeouts stay at 600 for the login screen. Certainly, the DPMS timeouts can be used as a successful workaround. However, that's not how 13.04 did it. With 13.04, the DPMS timeouts are 0, and the screen still powers off at the login screen. My plan at this point is to try and run g-s-d in debug mode. I'm not sure how to do that elegantly. I'm going to try pointing /usr/bin/g-s-d to a script that adds on --debug. If anyone has a better suggestion, I'd love to hear it. Once g-s-d is running in debug, I should be able to see it power the monitor on/off in 13.04 and perhaps some additional clues in 13.10. Worst case. I have been doing some power plugin hacking recently, so I can easily drop in a replacement with further logging. As always, no guarantee this will get me anywhere. I've run into many brick walls trying to figure this out over the past few weeks. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to unity-greeter in Ubuntu. https://bugs.launchpad.net/bugs/1245474 Title: [regression] on login screen, monitor stays on forever Status in One Hundred Papercuts: Confirmed Status in The Ubuntu Power Consumption Project: Confirmed Status in “unity-greeter” package in Ubuntu: Triaged Bug description: I am not sure which package sould be responsible for that, probably either xorg-server or lightdm. Previously, up to raring, when you left the computer alone while it was showing the login screen (lightdm in my case), the monitor would turn off after five or ten minutes. Since upgrade from raring to saucy, monitor stays on indefinitely, after boot and after logout likewise. This is on two machines, one a notebook with Intel graphics, another desktop with Radeon using open source driver. I guess maybe setting up DPMS got broken in the process of migration to Mir and back to xorg. --- .tmp.unity.support.test.0: ApportVersion: 2.12.5-0ubuntu2.1 Architecture: amd64 CompizPlugins: [core,composite,opengl,compiztoolbox,decor,vpswitch,snap,mousepoll,resize,place,move,wall,grid,regex,imgpng,session,gnomecompat,animation,fade,unitymtgrabhandles,workarounds,scale,expo,ezoom,unityshell] CompositorRunning: compiz CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0' CompositorUnredirectFSW: true DistUpgraded: 2013-10-26 13:27:24,614 DEBUG enabling apt cron job DistroCodename: saucy DistroRelease: Ubuntu 13.10 DistroVariant: ubuntu ExtraDebuggingInterest: Yes GraphicsCard: Advanced Micro Devices, Inc. [AMD/ATI] Trinity [Radeon HD 7660D] [1002:9901] (prog-if 00 [VGA controller]) Subsystem: ASUSTeK Computer Inc. Device [1043:8526] MachineType: System manufacturer System Product Name MarkForUpload: True Package: xorg-server (not installed) ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.11.0-13-generic root=UUID=72283a55-e0f7-4036-af5e-be1174497a35 ro quiet splash vt.handoff=7 ProcVersionSignature: Ubuntu 3.11.0-13.20-generic 3.11.6 Tags: saucy ubuntu compiz-0.9 Uname: Linux 3.11.0-13-generic x86_64 UpgradeStatus: Upgraded to saucy on 2013-10-26 (2 days ago) UserGroups: adm admin audio cdrom dialout lpadmin plugdev sambashare video dmi.bios.date: 10/09/2012 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: 5105 dmi.board.asset.tag: To be filled by O.E.M. dmi.board.name: F2A85-M LE dmi.board.vendor: ASUSTeK COMPUTER INC. dmi.board.version: Rev X.0x dmi.chassis.asset.tag: Asset-1234567890 dmi.chassis.type: 3 dmi.chassis.vendor: Chassis Manufacture dmi.chassis.version: Chassis Version dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr5105:bd10/09/2012:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnF2A85-MLE:rvrRevX.0x:cvnChassisManufacture:ct3:cvrChassisVersion: dmi.product.name: System Product Name dmi.product.version: System Version dmi.sys.vendor: System manufacturer version.compiz: compiz 1:0.9.10+13.10.20131011-0ubuntu1 version.ia32-libs: ia32-libs N/A version.libdrm2: libdrm2 2.4.46-1 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.3-3ubuntu2 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 version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.9-2ubuntu1 xserver.bootTime: Mon Oct 28 12:00:05 2013 xserver.configfile: /etc/X11/xorg.conf xserver.errors: Failed to load /usr/lib/xorg/modules/drivers/fglrx_drv.so: /usr/lib/xorg/modules/drivers/fglrx_drv.so: cannot open shared object file: No such file or directory Failed to load module "fglrx" (loader failed, 7) Failed to load /usr/lib/xorg/modules/drivers/fglrx_drv.so: /usr/lib/xorg/modules/drivers/fglrx_drv.so: cannot open shared object file: No such file or directory Failed to load module "fglrx" (loader failed, 7) xserver.logfile: /var/log/Xorg.0.log xserver.version: 2:1.14.3-3ubuntu2 xserver.video_driver: radeon To manage notifications about this bug go to: https://bugs.launchpad.net/hundredpapercuts/+bug/1245474/+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

