Skip to contentSkip to conversation

FBdev updates.

Linux-fbdev-devel Petr Vandrovec 1 participant 1 message Mar 4, 2003

lore
Share & tools
lore
#0 lore raw
Quoted 23 lines · Petr Vandrovec
Quoted 4 lines · Jurriaan
Quoted 1 line

text mode.

There is a regression here: I boot my kernel like this:

Quoted 8 lines

kernel /boot/vmlinuz-2563matrox root=/dev/hda7 video=matrox:vesa:0x11E,fv:80,sgram hdc=scsi apm=smp apm=power-off nosmp=1

I see a continuous strip of alternating blocks, of sub-character size, at the extreme right end of my screen. The colors seem linked to the color of the line with the cursor in some way.

After leaving XFRee, a piece of chbg's background picture is shown for a short while, then the blocks return.

Reproduced. Try this (untested) (it is against clean tree, so you'll get some line offsets if you had applied my matroxfb patch). Or set xres to odd value, even values do not work...
Petr Vandrovec

drivers/video/console/fbcon.c 2003-03-04 22:44:05.000000000 +0100

Quoted 9 lines
drivers/video/console/fbcon.c 2003-03-04 22:44:05.000000000 +0100 renamed from drivers/video/console/fbcon.c 2003-03-03 18:42:37.000000000 +0100 +1 -2
@@ -456,7 +456,7 @@
    region.color = attr_bgcol_ec(p, vc);
    region.rop = ROP_COPY;
 
-   if (rw & !bottom_only) {
+   if (rw && !bottom_only) {
        region.dx = info->var.xoffset + rs;
        region.dy = 0;
        region.width = rw;
-

It will not solve problem that you'll get non-black edge if your background color is not black... I'll try to invent some solution, like ROP_ZERO...
Petr