Framebuffer console not working with matroxfb on 2.6

4 messages, 2 authors, 2004-09-16 · open the first message on its own page

Framebuffer console not working with matroxfb on 2.6

From: Michal 'hramrach' Suchanek <hidden>
Date: 2004-09-15 06:11:47

Hello

I tried using the framebuffer console with matroxfb on a 2.6 kernel and
I see only reddish pattern on the screen. I do not get any letters.
However, I can run X with UseFBdev option and a directfb program.
I can also use the fbcons on an iMac with atifb.
Tested with 2.6.7, with 2.6.8.1 I still do not get usable fbcons.
THe hardware is G400 and G550.

Thanks

Michal Suchanek


-------------------------------------------------------
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m

Re: Framebuffer console not working with matroxfb on 2.6

From: Antonino A. Daplas <hidden>
Date: 2004-09-15 13:11:41

On Wednesday 15 September 2004 14:09, Michal 'hramrach' Suchanek wrote:
Hello

I tried using the framebuffer console with matroxfb on a 2.6 kernel and
I see only reddish pattern on the screen. I do not get any letters.
However, I can run X with UseFBdev option and a directfb program.
I can also use the fbcons on an iMac with atifb.
Tested with 2.6.7, with 2.6.8.1 I still do not get usable fbcons.
THe hardware is G400 and G550.
In matroxfb_accel.c:matroxfb_imageblit(), try changing this line:

if (image->depth == 0)

to 

if (image->depth == 1)

Tony
Thanks

Michal Suchanek


-------------------------------------------------------
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
_______________________________________________
Linux-fbdev-devel mailing list
Linux-fbdev-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-fbdev-devel



-------------------------------------------------------
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m

Re: Framebuffer console not working with matroxfb on 2.6

From: Michal 'hramrach' Suchanek <hidden>
Date: 2004-09-16 11:45:22

On Wed, Sep 15, 2004 at 09:11:49PM +0800, Antonino A. Daplas wrote:
In matroxfb_accel.c:matroxfb_imageblit(), try changing this line:

if (image->depth == 0)

to 

if (image->depth == 1)
May I ask what this change is suposed to do?
As already explained the driver works if compiled into kernel as opposed
to loading it as a module. This change seems too small to fix module
loading :)

Thanks

Michal Suchanek


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php

Re: Framebuffer console not working with matroxfb on 2.6

From: Antonino A. Daplas <hidden>
Date: 2004-09-16 13:02:51

On Thursday 16 September 2004 19:42, Michal 'hramrach' Suchanek wrote:
On Wed, Sep 15, 2004 at 09:11:49PM +0800, Antonino A. Daplas wrote:
quoted
In matroxfb_accel.c:matroxfb_imageblit(), try changing this line:

if (image->depth == 0)

to

if (image->depth == 1)
May I ask what this change is suposed to do?
Because image->depth will never be equal to 0.  (The use of image->depth == 0
is long gone). Anyway, this will not explain why you don't have a console,
so my mistake.  However, matroxfb will always default to
unaccelerated imageblit with this test.  (Is matroxfb_imageblit broken?) To
use matroxfb's accelerated imageblit routine the test must be changed to

if (image->depth == 1)

Try changing it and compare the time with 'time cat /usr/src/linux/MAINTAINERS'
with and without that minor change.

(Petr, this is probably the reason why copyarea is always fast with your
driver.  Most of the time, I find that imageblit > copyarea if y-pan is
disabled, copyarea > imageblit if y-pan is enabled, and imageblit > copyarea
if acceleration is disabled, whether y-pan is enabled or not.)
 
As already explained the driver works if compiled into kernel as opposed
to loading it as a module. This change seems too small to fix module
loading :)
This particular problem (xxxfb == module and fb console != module resulting
to no console) is not specific to matroxfb. This bug/regression should be
fixed in 2.6.9-rc2 or 2.6.9-rc1-mm5.

Tony 




-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help