ubuntu-x-swat team mailing list archive
-
ubuntu-x-swat team
-
Mailing list archive
-
Message #70103
[Bug 570584] Re: Geode driver not display Screensaver
Through compare the ‘fading’ option and ‘not fading’ option, print
the Xserver and Geode-driver debugging information on the SSH terminal.
I found the ‘fading’ option trigger the Geode-driver (lx_display.c ->
lx_crtc_gamma_set function), but the ‘not fading’ option does not
trigger this function.
I had a test, the following change:
static void
lx_crtc_gamma_set(xf86CrtcPtr crtc, CARD16 * red, CARD16 * green,
CARD16 * blue, int size)
{
unsigned int dcfg;
int i;
DebugP("lx_crtc_gamma_set /by Hunk\n");
#if 0
assert(size == 256);
for (i = 0; i < 256; i++) {
unsigned int val = (*red << 8) | *green | (*blue >> 8);
df_set_video_palette_entry(i, val);
}
/* df_set_video_palette_entry automatically turns on
* gamma for video - if this gets called, we assume that
* RandR wants it set for graphics, so reverse cimarron
*/
dcfg = READ_VID32(DF_DISPLAY_CONFIG);
dcfg &= ~DF_DCFG_GV_PAL_BYP;
WRITE_VID32(DF_DISPLAY_CONFIG, dcfg);
#endif
}
After re-make the Geode-driver, when I run the ‘fading’ option, the
client program ( xscreensaver ) also print the debugging information
about “fading…/ fading done”, now the screensaver is properly display.
So through the test, I am sure that the main reason is upper function
(lx_crtc_gamma_set).
The ‘not display screensaver’ bug reason was found.
I will follow it….
** Changed in: xserver-xorg-video-geode (Ubuntu)
Status: Incomplete => Confirmed
--
Geode driver not display Screensaver
https://bugs.launchpad.net/bugs/570584
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xserver-xorg-video-geode in ubuntu.
References