I’m aiming to get Pinion to start after 2 minutes of idle time, and I would like it to run for up to an hour, if the machine remains untouched. After that, I’m happy if it then goes to a blank screen.
I have MATE set up on this system, and some of what I’ve looked at below makes me wonder if there is maybe a conflict between xscreensaver and MATE screensaver?
Pinion starts OK but then stops, with an error message. One version of the error message occasionally appears in the terminal window where I started the screensaver with the command xscreensaver-demo (more on this later). The error message is:
Code: Select all
WRITE DOMAIN RELOC FAILURE 0x1 6 4
WRITE DOMAIN RELOC FAILURE 0x1 6 4
pinion:../../../../../../../src/mesa/drivers/dri/radeon/radeon_fbo.c:451: radeon_unmap_renderbuffer: Assertion `ok' failed.
Code: Select all
WRITE DOMAIN RELOC FAILURE 0x1 6 4
WRITE DOMAIN RELOC FAILURE 0x1 6 4
pinion:../../../../../../../src/mesa/drivers/dri/radeon/radeon_fbo.c:451: radeon_unmap_renderbuffer: Assertion `ok' failed.
xscreensaver: signal: 0: child pid 2233 (pinion) terminated with signal 6.
I thought I would update the mesa drivers (having read the post here).
Following this suggestion, I executed the command:
Code: Select all
apt-get update && apt-get install libgl1-mesa-dev
Code: Select all
apt-get install libglu1-mesa-dev
Code: Select all
apt-get install freeglut3-dev
After each start or reboot of the machine, I start the screensaver with the command 'xscreensaver-demo'. I am prompted to set the screensaver daemon going, which I do. Eventually, I would like to find out how to set up this daemon automatically, so that the screensaver is active whenever the system is booted, but want to get it working properly first, before I automate it.
I received advice to follow Steps 2 & 3 from the website here.
I tried this, to no avail, maybe because I've had to adapt from the instructions written for ubuntu, as debian isn't the same, or maybe it's because I don't really know what I'm doing!
Step 2 from the instructions: I executed 'xscreensaver-demo' and clicked on ‘Cancel’, thereby not starting the daemon. I managed to copy and save the command line instruction:
Code: Select all
pinion -root -spin 1.25 -scroll 2.0152 -max-rpm 1280
The command 'locate pinion' yields:
Code: Select all
/usr/lib/xscreensaver/pinion
/usr/share/applications/screensavers/pinion.desktop
/usr/share/man/man6/pinion.6x.gz
/usr/share/xscreensaver/config/pinion.xml
Code: Select all
[Desktop Entry]
Name=Pinion
Exec=pinion -root -spin 1.25 -scroll 2.0152 -max-rpm 1280
TryExec=/usr/lib/xscreensaver/pinion
Comment=Draws an interconnected set of gears moving across the screen. See also the "Gears" and "MoebiusGears" screen savers. http://en.wikipedia.org/wiki/Involute_gear Written by Jamie Zawinski.
StartupNotify=false
Terminal=false
Type=Application
Categories=Screensaver;
OnlyShowIn=GNOME;
I restarted the machine, having made all these changes. However, the screensaver does not start. If I do start the daemon, I get the same behaviour as before (starting, then stopping with error message, then restarting, etc etc).
As I don't know what I'm doing, I'm at a bit of a loss...
Doing 'locate screensaver' brings up a huge list, but the first few lines caught my attention:
Code: Select all
/etc/pam.d/mate-screensaver
/etc/pam.d/xscreensaver
/etc/xdg/autostart/mate-screensaver.desktop
/etc/xdg/menus/mate-screensavers.menu
/home/martin/.xscreensaver
/usr/bin/xdg-screensaver
In case it's relevant, the whole listing can be found here.
Any idea about what is not working gratefully received.