Re: [Linux-fbdev-devel] How to disable 'rivafb_pan_display START' at boot ?
Adam Felix Bogacki wrote: > How do I disable it ? video=rivafb:off -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: [Linux-fbdev-devel] Re: open messes up the screen
On Wednesday 16 March 2005 12:57, Benjamin Herrenschmidt wrote: > > Well, open is really openvt. It fiddles around with the console to > > start up a program on a new virtual console. X doesn't always like > > that, but it should work better than that. The vt change should > > trigger X to properly cleanup the screen before the switch. I'd > > say file a bug. > > It's not a VT change issue. It's an old bug of the fbcon code that > causes opening a VT to reset the palette on the current fb even when not > in front. > Can you try this patch? diff -Nru a/drivers/video/console/fbcon.c b/drivers/video/console/fbcon.c --- a/drivers/video/console/fbcon.c 2005-03-16 07:39:24 +08:00 +++ b/drivers/video/console/fbcon.c 2005-03-18 04:58:31 +08:00 @@ -2331,6 +2331,9 @@ if (fbcon_is_inactive(vc, info)) return -EINVAL; + if (!CON_IS_VISIBLE(vc)) + return 0; + depth = fb_get_color_depth(&info->var); if (depth > 3) { for (i = j = 0; i < 16; i++) { -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: [Linux-fbdev-users] (2.6.9-rc4|2.6.9|2.6.10-rc1) black
On Sunday 07 November 2004 03:30, Elimar Riesebieter wrote: > On Thu, 28 Oct 2004 the mental interface of > > Antonino A. Daplas told: > > On Thursday 28 October 2004 03:28, Elimar Riesebieter wrote: > > > On Wed, 27 Oct 2004 the mental interface of > > > > > > Antonino A. Daplas told: > > > > On Wednesday 27 October 2004 08:40, Petr Vandrovec wrote: > > > > > On 27 Oct 04 at 8:24, Antonino A. Daplas wrote: > > Can you try choosing the l6 color logo in the kernel kconfig. Or you can > > try this patch instead. Let me know which one or if both works. > > That patch doesn`t meet drivers/video/aty/radeon_monitor.c in 2.6.9 Ok, too many changes in radeon. Try this one, specific for 2.6.9. Note that the same fix is available in the bk or mm tree. Tony diff -uprN linux-2.6.9-orig/drivers/video/aty/radeon_monitor.c linux-2.6.9/drivers/video/aty/radeon_monitor.c --- linux-2.6.9-orig/drivers/video/aty/radeon_monitor.c 2004-11-07 03:45:56.0 +0800 +++ linux-2.6.9/drivers/video/aty/radeon_monitor.c 2004-11-07 03:48:14.727342552 +0800 @@ -8,7 +8,7 @@ static struct fb_var_screeninfo radeonfb_default_var = { 640, 480, 640, 480, 0, 0, 8, 0, -{0, 6, 0}, {0, 6, 0}, {0, 6, 0}, {0, 0, 0}, +{0, 8, 0}, {0, 8, 0}, {0, 8, 0}, {0, 0, 0}, 0, 0, -1, -1, 0, 39721, 40, 24, 32, 11, 96, 2, 0, FB_VMODE_NONINTERLACED };
Re: [Linux-fbdev-users] (2.6.9-rc4|2.6.9|2.6.10-rc1) black cursor on console [ppc platform]
On Tuesday 26 October 2004 02:49, Elimar Riesebieter wrote: > On Mon, 25 Oct 2004 the mental interface of > > Antonino A. Daplas told: > > On Sunday 24 October 2004 17:25, Elimar Riesebieter wrote: > > > Hi all, > > > > > > I am running 2.6.10-rc1 on my Apple AlBG4. gpm is started at boottime. > > > The mousecursor is black colored on vt's and can be used as a brush to > > > darken the screen. > > > > > > $ /usr/sbin/fbset > > > mode "1280x854-60" > > > # D: 79.815 MHz, H: 51.963 kHz, V: 60.003 Hz > > > geometry 1280 854 1280 854 8 > > > timings 12529 128 16 8 1 112 3 > > > rgba 8/0,8/0,8/0,0/0 > > > endmode > > > > > > $ cat /proc/fb > > > 0 ATI Radeon NP > > > > > > The bootlogo isn`t shown. > > > > > > The same kernel on a i386 box with radeonfb (Radeon 9000) works > > > fine. > > > > > > Any hints to get back a white mousecursor and a shown bootlogo as in > > > 2.6.8? > > > > See my other mail for the mousecursor. > Can you try booting with video=radeonfb:noaccel? Tony
Re: [Linux-fbdev-users] (2.6.9-rc4|2.6.9|2.6.10-rc1) black cursor on console [ppc platform]
On Tuesday 26 October 2004 15:34, Guido Guenther wrote: > On Tue, Oct 26, 2004 at 04:09:44AM +0800, Antonino A. Daplas wrote: > > On Tuesday 26 October 2004 02:49, Elimar Riesebieter wrote: > > > On Mon, 25 Oct 2004 the mental interface of > > Can you try booting with video=radeonfb:noaccel? > > I'm not sure if this has already been mentionend outside of the debian-ppc > list: this also happens with at least rivafb and offb too. This is the first time I knew about this problem. Note that gpm predominantly uses the TIOCLINUX ioctl which mainly manipulates the screen_buffer. So each time the mouse is moved, gpm sends an ioctl that complements or reverses the attributes of the character underneath the mouse cursor, then it sends a putc command (telling the console to repaint the character). It does not use the fbcon cursor API. In all drivers I tested in the i386, gpm seems towork correctly. I can't really much help in this area except for someone with a PPC machine to debug the TIOCLINUX ioctl and complement_pos in drivers/char/vt.c and the selection code in drivers/char/selection.c. Tony
Re: [Linux-fbdev-users] (2.6.9-rc4|2.6.9|2.6.10-rc1) black cursor on console [ppc platform]
On Wednesday 27 October 2004 01:13, Elimar Riesebieter wrote: > On Tue, 26 Oct 2004 the mental interface of > > Antonino A. Daplas told: > > On Tuesday 26 October 2004 02:49, Elimar Riesebieter wrote: > > > On Mon, 25 Oct 2004 the mental interface of > > > > > > Antonino A. Daplas told: > > > > On Sunday 24 October 2004 17:25, Elimar Riesebieter wrote: > > > > > Any hints to get back a white mousecursor and a shown bootlogo as > > > > > in 2.6.8? > > > > > > > > See my other mail for the mousecursor. > > > > Can you try booting with video=radeonfb:noaccel? > > No changes :( > I suspect as much. I think fbcon_putc might have an endian bug. Can you try this patch? Tony diff -Nru a/drivers/video/console/fbcon.c b/drivers/video/console/fbcon.c --- a/drivers/video/console/fbcon.c 2004-10-26 23:49:13 +08:00 +++ b/drivers/video/console/fbcon.c 2004-10-27 08:17:19 +08:00 @@ -1012,7 +1012,9 @@ static void fbcon_putc(struct vc_data *vc, int c, int ypos, int xpos) { - fbcon_putcs(vc, (const unsigned short *) &c, 1, ypos, xpos); + unsigned short chr = c; + + fbcon_putcs(vc, &chr, 1, ypos, xpos); } static void fbcon_clear_margins(struct vc_data *vc, int bottom_only)
Re: [Linux-fbdev-users] (2.6.9-rc4|2.6.9|2.6.10-rc1) black
On Wednesday 27 October 2004 08:40, Petr Vandrovec wrote: > On 27 Oct 04 at 8:24, Antonino A. Daplas wrote: > > --- a/drivers/video/console/fbcon.c 2004-10-26 23:49:13 +08:00 > > +++ b/drivers/video/console/fbcon.c 2004-10-27 08:17:19 +08:00 > > @@ -1012,7 +1012,9 @@ > > > > static void fbcon_putc(struct vc_data *vc, int c, int ypos, int xpos) > > { > > - fbcon_putcs(vc, (const unsigned short *) &c, 1, ypos, xpos); > > + unsigned short chr = c; > > I think that you must use scr_write(c, &chr) to get it right. Indeed. Thanks. Tony diff -Nru a/drivers/video/console/fbcon.c b/drivers/video/console/fbcon.c --- a/drivers/video/console/fbcon.c 2004-10-26 23:49:13 +08:00 +++ b/drivers/video/console/fbcon.c 2004-10-27 09:07:57 +08:00 @@ -1012,7 +1012,10 @@ static void fbcon_putc(struct vc_data *vc, int c, int ypos, int xpos) { - fbcon_putcs(vc, (const unsigned short *) &c, 1, ypos, xpos); + unsigned short chr; + + scr_writew(c, &chr); + fbcon_putcs(vc, &chr, 1, ypos, xpos); } static void fbcon_clear_margins(struct vc_data *vc, int bottom_only)
Re: [Linux-fbdev-users] (2.6.9-rc4|2.6.9|2.6.10-rc1) black
On Thursday 28 October 2004 03:28, Elimar Riesebieter wrote: > On Wed, 27 Oct 2004 the mental interface of > > Antonino A. Daplas told: > > On Wednesday 27 October 2004 08:40, Petr Vandrovec wrote: > > > On 27 Oct 04 at 8:24, Antonino A. Daplas wrote: > > White cursor is back :-)) Great. > Bootlogo isn't shown? Can you try choosing the l6 color logo in the kernel kconfig. Or you can try this patch instead. Let me know which one or if both works. Tony diff -Nru a/drivers/video/aty/radeon_monitor.c b/drivers/video/aty/radeon_monitor.c --- a/drivers/video/aty/radeon_monitor.c2004-10-27 14:58:07 +08:00 +++ b/drivers/video/aty/radeon_monitor.c2004-10-28 06:04:32 +08:00 @@ -12,9 +12,9 @@ .xres_virtual = 640, .yres_virtual = 480, .bits_per_pixel = 8, - .red= { 0, 6, 0 }, - .green = { 0, 6, 0 }, - .blue = { 0, 6, 0 }, + .red= { 0, 8, 0 }, + .green = { 0, 8, 0 }, + .blue = { 0, 8, 0 }, .activate = FB_ACTIVATE_NOW, .height = -1, .width = -1,