I recently managed (accidentally, just by upgrading X.org) to get accelerated graphics working on my T43p Thinkpad running Gentoo. So now I get all the nice Xscreensaver GL hacks running at full speed – with one little problem: I have my system configured for dual-head mode (internal screen and external monitor) using MergedFB, with both screens at 1600×1200. At this resolution, the driver only manages to draw accelerated GL graphics up to about two-thirds of the second screen, with the rest of the screen showing garbage. It’s a cosmetic problem only, but it needed solving
So I patched xscreensaver to add a new configuration parameter “glScreenNumber”. If this parameter is set, GL screensavers will be run only on that screen, and only non-GL screensavers will be run on the other screens. So what I do is I set in my .xscreensaver:
glScreenNumber: 1
(screens are numbered starting at 1, so this means my left screen)
and now I get GL screensavers only on the left screen (where they can be drawn in full) and non-GL screensavers (which don’t suffer from the limitation) on the right screen, and both screens look nice.
You can get the patch for xscreensaver 5.00 here: xscreensaver-5.00-glscreencontrol.patch
If you use Gentoo, you can get the xscreensaver portage overlay (which also includes the fingerprint reader patch) here: xscreensaver-overlay.tar.gz
You need to use the “glscreencontrol” USE flag to enable the patch.
1 response so far ↓
1 BrT » Using the Thinkpad fingerprint reader on Linux (HOWTO) // Oct 22, 2006 at 6:21 pm
[...] I have made a modified xscreensaver-4.24 ebuild (with version 4.24-r1) that you can put in your overlay and that includes the patch for alternative PAM authentication and the patch for GL screen selection. You can download it here. [...]