Re: Weird Xorg stretching (setfont)

From: Bodo Eggert
Date: Mon May 19 2008 - 18:06:34 EST


Sitsofe Wheeler <sitsofe@xxxxxxxxx> wrote:
> Dave Airlie wrote:

>> wierd got any fglrx or anything installed on you're system.. the
>> radeon drm hasn't seen any changes that should affect this sorta
>> thing, do you run radeonfb or vesafb?
>
> Just in case you didn't see my reply I'm not an fglrx user and I don't run
> radeonfb or vesafb.
>
> After testing far too many kernels it turns out that this is not a
> conventional regression. During startup openSUSE runs the following
> command:
>
> /bin/setfont -C /dev/tty1 lat9w-16.psfu -m trivial
>
> in /etc/init.d/kbd
>
> Now on the openSUSE provided 2.6.22.17-0.1-default #1 SMP kernel if X has
> started and your run that command (e.g.
> chvt 7; sleep 5s && /bin/setfont -C /dev/tty1 lat9w-16.psfu -m trivial
> ) the command will fail with error output similar to the following:
> setfont: putfont: 256,8x16: failed: -1
> putfont: KDFONTOP: Invalid Argument
>
> If you are using a stock kernel (e.g. 2.6.24/2.6.25 etc) the command will
> not fail and will instead corrupt X causing the lower part of the screen to
> be drawn using the same line (creating a stretch/mirror effect).

I see a similar effect on my "GeForce2 MX/MX 400" using the "nv" driver.
The difference is: I see both the screen corruption and (from ssh):
be10:/etc/init.d # ./kbd start
Loading keymap qwertz/de-latin1-nodeadkeys.map.gz done
Keyboard: Typematic Rate set to 30.0 cps (delay = 250 ms) done
Loading compose table latin1.add done
Stop Unicode mode
kbd_mode not called for /dev/pts/1 done
Loading console font lat9w-16.psfu -m trivial (K
putfont: PIO_FONT: Invalid argument failed
be10:/etc/init.d #


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/