s3fb driver shows garbled console
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Using the s3fb.ko module produces a garbled console.
This is even more obvious on Ubuntu 9.10 "karmic" which uses grub2.
The driver does not initialize the card correctly.
There are workarounds though:
In grub2:
You can initialize the card by adding "set gfxpayload=keep" just before the 'linux' line in /boot/grub/
However this will only work in *some* situations.
You can't use the grub terminal mode and you have to use some specific gfx modes.
In legacy grub:
Add the option "vga=xxx" to the 'kernel' line in /boot/grub/
I've been using Virtual PC which is emulationg an S3 Trio32.
The s3 driver in xorg works correctly, but switching to the console is still garbled!
If you're using ubuntu-server you're stuck with no way to see what you're doing.
ProblemType: Bug
AlsaDevices: Error: command ['ls', '-l', '/dev/snd/'] failed with exit code 2: ls: cannot access /dev/snd/: No such file or directory
AplayDevices: Error: [Errno 2] No such file or directory
Architecture: i386
ArecordDevices: Error: [Errno 2] No such file or directory
CurrentDmesg:
[ 22.937252] eth1: no IPv6 routers present
[ 25.080267] eth0: no IPv6 routers present
Date: Thu Nov 19 10:04:18 2009
DistroRelease: Ubuntu 9.10
Lsusb: Error: command ['lsusb'] failed with exit code 1:
MachineType: Microsoft Corporation Virtual Machine
Package: linux-image-
PciMultimedia:
ProcCmdLine: BOOT_IMAGE=
ProcEnviron:
PATH=(custom, user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: linux
Uname: Linux 2.6.31-
dmi.bios.date: 02/22/2006
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 080002
dmi.board.name: Virtual Machine
dmi.board.vendor: Microsoft Corporation
dmi.board.version: 5.0
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Microsoft Corporation
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.name: Virtual Machine
dmi.product.
dmi.sys.vendor: Microsoft Corporation
tags: | added: kernel-karmic |
I'd love to help out by working on this, but I'll need some mentoring.
I've compiled the s3fb.ko module on my machine and would be happy to *try* and fix this, but I've not done any kernel development before.
I can see from debug messages I added and from playing around with bit depths that the s3fb *might* be showing a garbled console because it's not initializing the bit depth correctly?
Vernon