[Ubuntu-x-swat] [Bug 570584] Re: Geode driver not display Screensaver

2010-08-24 Thread frank huang
** Changed in: xserver-xorg-video-geode (Ubuntu)
   Status: Fix Committed = Fix Released

-- 
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.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 570584] Re: Geode driver not display Screensaver

2010-08-23 Thread Martin-Éric Racine
Can someone confirm whether Geode 2.11.9-1 resolves this issue or not?

-- 
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.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 570584] Re: Geode driver not display Screensaver

2010-08-23 Thread frank huang
2.11.9 have solved the screensaver issue.
Closed.

** Changed in: xserver-xorg-video-geode (Ubuntu)
   Status: Confirmed = Fix Committed

-- 
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.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 570584] Re: Geode driver not display Screensaver

2010-08-09 Thread Martin-Éric Racine
Is this issue fixed by 2.11.8-11 and newer or not?

-- 
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.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 570584] Re: Geode driver not display Screensaver

2010-08-09 Thread Hunk Cui
Hi, Martin,
Have been fixed  and commited to 2.11.8-11.

Thanks,
Hunk Cui

-- 
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.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 570584] Re: Geode driver not display Screensaver

2010-08-08 Thread Hunk Cui
Hi, Martin,
Yes, In GIT, my patch have updated to xorg-driver-geode mailing-list 
(http://lists.x.org/archives/xorg-driver-geode/2010-July/000851.html): [PATCH 
1/2] Gamma Correction for fading operation.

Thanks,
Hunk Cui

-- 
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.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 570584] Re: Geode driver not display Screensaver

2010-08-06 Thread Martin-Éric Racine
Hunk, is this version of your patch the final one to merge upstream in
GIT?

-- 
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.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 570584] Re: Geode driver not display Screensaver

2010-06-30 Thread Hunk Cui
1. Modify integrated palette RAM for gamma-correction of the data stream.
2. Let Graphic data passes through the Gamma Correction RAM.
3. Special for Screensaver Operation.

** Patch added: Gamma Correction for fading operation
   
http://launchpadlibrarian.net/51215255/0001-Gamma-Correction-for-fading-operation.patch

-- 
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.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 570584] Re: Geode driver not display Screensaver

2010-05-25 Thread Hunk Cui
Hi, all,

As mentioned in last mail about “The update of the 
Xorg-geode-screensaver issue”, our geode driver has problem on screensaver 
display operation. The focus point is on “fading” operations…

I modify the code and upload a diff patch for tests (fix the 
Gamma Correction – fading operation), now the update methods have been test in 
Ubuntu desktop and Fedora desktop. (fading right)
 
Welcome everyone test the code. 
Find some more other test App (client program) to reproduce 
every possible instance based on Graphic data and Video data.

I’ll follow it.

Thanks,
Hunk Cui

** Patch added: update the Gamma Correction
   http://launchpadlibrarian.net/49069055/lx_display.diff

-- 
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.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 570584] Re: Geode driver not display Screensaver

2010-05-25 Thread Brian Murray
** Tags added: patch

-- 
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.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 570584] Re: Geode driver not display Screensaver

2010-05-12 Thread Hunk Cui
Through compare the parts of xf86ChangeGammaRamp between VESA driver
and Geode driver, in judge the xf86_crtc_supports_gamma(pScrn), the
Geode driver is ture when the 'fading' option is set, but the VESA
driver always are false between 'fading' and 'not fading', it can only
call the CMapColor. At the same time, the red, green and blue value are
0 from ProcXF86VidModeSetGammaRamp transfer the color parameter. So
using code zero to represent black if no Gamma action. It is an
integrated palette RAM for gamma-correction of the data stream. So I use
the following methods to fix the bug, How do you think? But the xf86
-video-intel driver use the drmModeCrtcSetGamma (in libdrm -
xf86drmMode.c) to deal with the events.

In lx_display.c - lx_crtc_gamma_set function:
the change is:

 assert(size == 256);
 
+  for (i = 0; i  size; i++) { //changed by Hunk
-   for (i = 0; i  256; i++) {
    unsigned int val = (*red  8) | *green | (*blue  8);
 
    df_set_video_palette_entry(i, val);

In cim_df.c - df_set_video_palette_entry function:
the change is:
+++ cim/cim_df.c  2010-05-11 18:06:47.051406358 +0800
--- cim_df_old.c 2010-02-04 05:09:54.0 +0800

 /* SET A SINGLE ENTRY */
 
+  if (palette != 0) //added by Hunk
+  {
+      WRITE_VID32(DF_PALETTE_ADDRESS, index); //Screensaver bug keypoint 
by Hunk //defined in LX_databook P428 Video Processor Register Description 
/belong to Table 6-71 
+      WRITE_VID32(DF_PALETTE_DATA, palette); //Screensaver bug keypoint by 
Hunk //defined in LX_databook P428 Video Processor Register Description /belong 
to Table 6-71
+  }
-    WRITE_VID32(DF_PALETTE_ADDRESS, index);
-    WRITE_VID32(DF_PALETTE_DATA, palette);
-
 /* ENABLE THE VIDEO PALETTE */
 /* Ensure that the video palette has an effect by routing video data */
 /* through the palette RAM and clearing the 'Bypass Both' bit.   */

Who is know the registers about the DF_PALETTE_ADDRESS and
DF_PALETTE_DATA?

-- 
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.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 570584] Re: Geode driver not display Screensaver

2010-05-06 Thread Hunk Cui
** Changed in: xserver-xorg-video-geode (Ubuntu)
   Status: Fix Committed = Incomplete

-- 
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.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 570584] Re: Geode driver not display Screensaver

2010-05-06 Thread Hunk Cui
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.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 570584] Re: Geode driver not display Screensaver

2010-05-05 Thread Hunk Cui
With the debug of xscreensaver (client program). I found that if
eschewing “fade to black when blanking”. (the xscreensaver old version
5.0). The screensaver is properly display on Gnome-desktop. The
specifically methods is modified the xscreensaver sourcecode (windows.c
- raise_window function). If your xsceensaver version = 5.0, then you
can setup the dialog box “System - Preferences - Screensaver -
Advanced”, Not click the “fade to block when blanking” option. If the
fading is true (Default: true), then when the screensaver activates, the
current contents of the screen will fade to black instead of simply
winking out. This only works on certain systems. A fade will also be
done when switching graphics hacks (when the cycle timer expires.).

So through this method and setup, Now the screensaver is properly
display on our Geode platform. The next phase, I will research the
“fading” function is whether or not affected the parts of geode driver,
then taking a deep research into other bugs reported in the community.

** Changed in: xserver-xorg-video-geode (Ubuntu)
   Status: Confirmed = Fix Committed

-- 
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.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 570584] Re: Geode driver not display Screensaver

2010-05-03 Thread Hunk Cui
Freeze bug - Geode driver not display Screensaver

-- 
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.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 570584] Re: Geode driver not display Screensaver

2010-04-28 Thread Hunk Cui
Who can support a simple screensaver program for test the Geode-driver?

-- 
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.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 570584] Re: Geode driver not display Screensaver

2010-04-27 Thread Hunk Cui
** Summary changed:

- Geode driver not dispaly Screensaver
+ Geode driver not display Screensaver

-- 
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.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 570584] Re: Geode driver not display Screensaver

2010-04-27 Thread Hunk Cui

** Changed in: xserver-xorg-video-geode (Ubuntu)
   Status: Incomplete = Confirmed

** Attachment added: custom xorg.conf
   http://launchpadlibrarian.net/45847146/xorg.conf

-- 
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.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-x-swat] [Bug 570584] Re: Geode driver not display Screensaver

2010-04-27 Thread Hunk Cui

** Attachment added: Xorg-syslog
   http://launchpadlibrarian.net/45847152/Xorg.0.log

-- 
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.

___
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp