Bug#487257: linux-image-2.6.24: SGI GBE framebuffer colormap broken

2008-06-26 Thread Michal Suchanek


On Jun 25, 2008, at 7:34 PM, Thomas Bogendoerfer wrote:

On Fri, Jun 20, 2008 at 06:24:24PM +0200, Martin Michlmayr wrote:

* Michal Suchanek [EMAIL PROTECTED] [2008-06-20 17:23]:
The console and console logo works OK but X11 and splashy test  
has wrong

colors.

I get many

gbefb: cmap FIFO timeout


I could reproduce it now by using 8 bit color mode. But the etch  
kernel

(Linux ip32 2.6.18-6-r5k-ip32 #1 Sat Jun 7 01:05:44 BST 2008 mips64
also produces FIFO timeouts, but it gets the colors correct. The diff
between 2.6.18 and current git doesn't show any critical changes for
gbefb.c ...


I am not sure about that. The colors with 2.6.18 are better than with  
current but still not quite what I would expect. Perhaps there are  
just not enough colors or perhaps the 2.6.18 default colormap is  
closer to what X would want to set.


Also when I kill the X server with Ctrl+Alt+- the colors seem  
momentarily corrected before the X picture is cleared ;-)


Thanks

MS






--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#487257: linux-image-2.6.24: SGI GBE framebuffer colormap broken

2008-06-26 Thread Thomas Bogendoerfer
On Thu, Jun 26, 2008 at 11:47:33AM +0200, Michal Suchanek wrote:
 I am not sure about that. The colors with 2.6.18 are better than with  
 current but still not quite what I would expect. Perhaps there are  
 just not enough colors or perhaps the 2.6.18 default colormap is  
 closer to what X would want to set.

2.6.18 is probably not much better, I was just lucky, when I tested
it. I've fixed the 8bit color modes and 16/32bit modes are working
with framebuffer console. What's still broken is X with 16/32bit
mode. This is probably because of the wrong endianess of the
framebuffer when mapped to user space by the X server. But that's
something the kernel can help much, because that's how the hardware
works and therefore fixing this in the X server makes much more
sense.

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessary a
good idea.[ RFC1925, 2.3 ]



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#487257: linux-image-2.6.24: SGI GBE framebuffer colormap broken

2008-06-26 Thread Martin Michlmayr
Michal,

Can you please test the kernel from
http://merkel.debian.org/~tbm/tmp/ip32/linux-image-2.6.26-rc8-r5k-ip32_2.6.26~rc8-1~experimental.1_mips.deb
This has the fix from Thomas.

-- 
Martin Michlmayr
http://www.cyrius.com/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#487257: linux-image-2.6.24: SGI GBE framebuffer colormap broken

2008-06-26 Thread Michal Suchanek


On Jun 26, 2008, at 2:20 PM, Martin Michlmayr wrote:

Michal,

Can you please test the kernel from
http://merkel.debian.org/~tbm/tmp/ip32/linux-image-2.6.26-rc8-r5k- 
ip32_2.6.26~rc8-1~experimental.1_mips.deb

This has the fix from Thomas.

Yes, this fixes the colors. I get good colors in 8bpp and 32bpp.  
However, I have to change the framebuffer bpp on all consoles to get  
X use a different depth.


Also when I change the mode I (not only the bpp) using fbset I can no  
longer start X. I get

(EE) FBDEV(0): FBIOPUT_VSCREENINFO succeeded but modified mode

Thanks

Michal






--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#487257: linux-image-2.6.24: SGI GBE framebuffer colormap broken

2008-06-25 Thread Thomas Bogendoerfer
On Fri, Jun 20, 2008 at 06:24:24PM +0200, Martin Michlmayr wrote:
 Thomas, have you seen this problem?

I've got the cmap FIFO timeout only once, but colors are broken with
X. I'll take a look...

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessary a
good idea.[ RFC1925, 2.3 ]



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#487257: linux-image-2.6.24: SGI GBE framebuffer colormap broken

2008-06-25 Thread Thomas Bogendoerfer
On Fri, Jun 20, 2008 at 06:24:24PM +0200, Martin Michlmayr wrote:
 * Michal Suchanek [EMAIL PROTECTED] [2008-06-20 17:23]:
  The console and console logo works OK but X11 and splashy test has wrong
  colors.
  
  I get many
  
  gbefb: cmap FIFO timeout

I could reproduce it now by using 8 bit color mode. But the etch kernel
(Linux ip32 2.6.18-6-r5k-ip32 #1 Sat Jun 7 01:05:44 BST 2008 mips64
also produces FIFO timeouts, but it gets the colors correct. The diff
between 2.6.18 and current git doesn't show any critical changes for
gbefb.c ...

Thomas

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessary a
good idea.[ RFC1925, 2.3 ]



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#487257: linux-image-2.6.24: SGI GBE framebuffer colormap broken

2008-06-23 Thread Thomas Bogendoerfer
On Fri, Jun 20, 2008 at 06:24:24PM +0200, Martin Michlmayr wrote:
 Thomas, have you seen this problem?

I've never tried grafics. I need to find a cable extension to connect
the O2 to a TFT. I'll try to test this week.

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessary a
good idea.[ RFC1925, 2.3 ]



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#487257: linux-image-2.6.24: SGI GBE framebuffer colormap broken

2008-06-20 Thread Michal Suchanek
Package: linux-image-2.6.24-1-r5k-ip32
Version: 2.6.24-7
Severity: normal
File: linux-image-2.6.24


The console and console logo works OK but X11 and splashy test has wrong
colors.

I get many

gbefb: cmap FIFO timeout

messages in the kernel log.


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: mips (mips64)

Kernel: Linux 2.6.24-1-r5k-ip32
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages linux-image-2.6.24-1-r5k-ip32 depends on:
ii  debconf [debconf-2.0] 1.5.22 Debian configuration management sy
ii  module-init-tools 3.4-1  tools for managing Linux kernel mo

linux-image-2.6.24-1-r5k-ip32 recommends no packages.

-- debconf information excluded



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#487257: linux-image-2.6.24: SGI GBE framebuffer colormap broken

2008-06-20 Thread Martin Michlmayr
Thomas, have you seen this problem?

* Michal Suchanek [EMAIL PROTECTED] [2008-06-20 17:23]:
 The console and console logo works OK but X11 and splashy test has wrong
 colors.
 
 I get many
 
 gbefb: cmap FIFO timeout
 
 messages in the kernel log.
 
 
 -- System Information:
 Debian Release: lenny/sid
   APT prefers testing
   APT policy: (500, 'testing')
 Architecture: mips (mips64)
 
 Kernel: Linux 2.6.24-1-r5k-ip32
 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
 Shell: /bin/sh linked to /bin/bash
 
 Versions of packages linux-image-2.6.24-1-r5k-ip32 depends on:
 ii  debconf [debconf-2.0] 1.5.22 Debian configuration management 
 sy
 ii  module-init-tools 3.4-1  tools for managing Linux kernel 
 mo
 
 linux-image-2.6.24-1-r5k-ip32 recommends no packages.
 
 -- debconf information excluded
 
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

-- 
Martin Michlmayr
http://www.cyrius.com/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]