Skip to contentSkip to conversation

Weird Xorg stretching (setfont)

DISCUSSION Bodo Eggert 1 participant 1 message May 19, 2008 5 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#5 lore raw
Quoted 24 lines · Sitsofe Wheeler
Quoted 3 lines · Dave Airlie

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

Quoted 3 lines

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 #