FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 09-02-2012, 07:38 PM
Martin-Éric Racine
 
Default Bug#686528: linux-image-3.2.0-3-486: doesn't understand modes passed via GRUB_GFXPAYLOAD_LINUX in /etc/default/grub

Package: src:linux
Version: 3.2.23-1
Severity: normal

For some reason, lxfb doesn't understand the recommended method for setting the screen mode on non-KMS framebuffers via GRUB_GFXPAYLOAD_LINUX in /etc/default/grub. This, combined with the fact that lxfb recently started to ship as a compiled-in feature, rather than as a module, systematically results in this host booting to a rather small 80x30 console, rather than a graphic framebuffer at a larger resolution.

What I have configuered:

GRUB_GFXMODE=800x600x32,800x600x24,800x600x16,800x 600x8,800x600
GRUB_GFXPAYLOAD_LINUX=1280x1024x32,1280x1024x24,12 80x1024x16,1280x1024x8,1280x1024

... which works fine whenever vesafb use is enforced over lxfb via cmdline option video=vesafb, but fails whenever I let the kernel choose lxfb as its preferred driver.

-- Package-specific info:
** Version:
Linux version 3.2.0-3-486 (Debian 3.2.23-1) (debian-kernel@lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-8) ) #1 Mon Jul 23 02:47:49 UTC 2012

** Command line:
BOOT_IMAGE=/boot/vmlinuz-3.2.0-3-486 root=UUID=97b2628b-28a5-49f2-85f7-495728b3bef8 ro panic=15 pnpbios=off quiet splash

** Not tainted

** Kernel log:
[ 5.904285] usb usb1: Manufacturer: Linux 3.2.0-3-486 ehci_hcd
[ 5.904304] usb usb1: SerialNumber: 0000:00:0f.5
[ 5.905042] hub 1-0:1.0: USB hub found
[ 5.905072] hub 1-0:1.0: 4 ports detected
[ 5.907406] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 5.907566] ohci_hcd 0000:00:0f.4: PCI INT D -> Link[LNKD] -> GSI 11 (level, low) -> IRQ 11
[ 5.907701] ohci_hcd 0000:00:0f.4: setting latency timer to 64
[ 5.907744] ohci_hcd 0000:00:0f.4: OHCI Host Controller
[ 5.907802] ohci_hcd 0000:00:0f.4: new USB bus registered, assigned bus number 2
[ 5.907875] ohci_hcd 0000:00:0f.4: irq 11, io mem 0xefffe000
[ 5.953421] libata version 3.00 loaded.
[ 5.976893] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[ 5.976920] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 5.976940] usb usb2: Product: OHCI Host Controller
[ 5.976959] usb usb2: Manufacturer: Linux 3.2.0-3-486 ohci_hcd
[ 5.976977] usb usb2: SerialNumber: 0000:00:0f.4
[ 5.980471] hub 2-0:1.0: USB hub found
[ 5.980506] hub 2-0:1.0: 4 ports detected
[ 5.988391] scsi0 : pata_cs5536
[ 5.994548] scsi1 : pata_cs5536
[ 5.995545] ata1: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0xff00 irq 14
[ 5.995566] ata2: DUMMY
[ 6.160699] ata1.00: ATA-7: FUJITSU MHW2040AT, 0000000B, max UDMA/100
[ 6.160725] ata1.00: 78140160 sectors, multi 16: LBA
[ 6.176462] ata1.00: configured for UDMA/100
[ 6.176930] scsi 0:0:0:0: Direct-Access ATA FUJITSU MHW2040A 0000 PQ: 0 ANSI: 5
[ 6.207490] sd 0:0:0:0: [sda] 78140160 512-byte logical blocks: (40.0 GB/37.2 GiB)
[ 6.207786] sd 0:0:0:0: [sda] Write Protect is off
[ 6.207809] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 6.207940] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 6.311530] sda: sda1 sda2 < sda5 >
[ 6.314007] sd 0:0:0:0: [sda] Attached SCSI disk
[ 6.326174] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 6.464084] usb 2-3: new low-speed USB device number 2 using ohci_hcd
[ 6.674139] usb 2-3: New USB device found, idVendor=03f9, idProduct=0100
[ 6.674165] usb 2-3: New USB device strings: Mfr=4, Product=26, SerialNumber=0
[ 6.674186] usb 2-3: Product: Keytronic USB Keyboard
[ 6.674204] usb 2-3: Manufacturer: Key Tronic
[ 6.731742] input: Key Tronic Keytronic USB Keyboard as /devices/pci0000:00/0000:00:0f.4/usb2/2-3/2-3:1.0/input/input3
[ 6.732827] generic-usb 0003:03F9:0100.0001: input,hidraw0: USB HID v1.10 Keyboard [Key Tronic Keytronic USB Keyboard] on usb-0000:00:0f.4-3/input0
[ 6.734309] usbcore: registered new interface driver usbhid
[ 6.734409] usbhid: USB HID core driver
[ 11.985729] Btrfs loaded
[ 12.111908] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[ 15.760635] udevd[292]: starting version 175
[ 17.125613] ACPI: AC Adapter [AC] (on-line)
[ 17.360390] ACPI: resource (null) [io 0x6100-0x61ff] conflicts with ACPI region GPIO [io 0x6100-0x61ff]
[ 17.360414] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[ 17.360536] cs5535-mfd 0000:00:0f.0: MFD add devices failed: -16
[ 17.360594] cs5535-mfd: probe of 0000:00:0f.0 failed with error -16
[ 17.629318] AMD Geode RNG detected
[ 17.718838] Geode LX AES 0000:00:01.2: PCI INT A -> Link[LNKA] -> GSI 10 (level, low) -> IRQ 10
[ 18.307987] geode-aes: GEODE AES engine enabled.
[ 18.479623] snd_cs5535audio 0000:00:0f.3: PCI INT B -> Link[LNKB] -> GSI 11 (level, low) -> IRQ 11
[ 18.479725] snd_cs5535audio 0000:00:0f.3: setting latency timer to 64
[ 22.007592] Adding 1646624k swap on /dev/sda5. Priority:-1 extents:1 across:1646624k
[ 22.091406] EXT4-fs (sda1): re-mounted. Opts: (null)
[ 22.789846] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[ 28.240158] 8139too 0000:00:0d.0: eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
[ 36.634372] input: ACPI Virtual Keyboard Device as /devices/virtual/input/input4
[ 39.104065] eth0: no IPv6 routers present
[ 42.609178] Bluetooth: Core ver 2.16
[ 42.609292] NET: Registered protocol family 31
[ 42.609309] Bluetooth: HCI device and connection manager initialized
[ 42.609329] Bluetooth: HCI socket layer initialized
[ 42.609345] Bluetooth: L2CAP socket layer initialized
[ 42.610512] Bluetooth: SCO socket layer initialized
[ 42.648542] Bluetooth: RFCOMM TTY layer initialized
[ 42.648572] Bluetooth: RFCOMM socket layer initialized
[ 42.648588] Bluetooth: RFCOMM ver 1.11
[ 42.976255] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 42.976278] Bluetooth: BNEP filters: protocol multicast
[ 44.674422] lp: driver loaded but no devices found
[ 44.825640] ppdev: user-space parallel port driver
[ 50.481542] snd-malloc: invalid device type 0
[ 50.482875] snd-malloc: invalid device type 0
[ 50.531173] snd-malloc: invalid device type 0
[ 50.535447] snd-malloc: invalid device type 0
[ 50.537793] snd-malloc: invalid device type 0
[ 50.538985] snd-malloc: invalid device type 0
[ 50.540739] snd-malloc: invalid device type 0
[ 50.545543] snd-malloc: invalid device type 0
[ 50.546869] snd-malloc: invalid device type 0
[ 50.548589] snd-malloc: invalid device type 0
[ 50.550402] snd-malloc: invalid device type 0
[ 50.555131] snd-malloc: invalid device type 0
[ 50.556986] snd-malloc: invalid device type 0
[ 50.558216] snd-malloc: invalid device type 0
[ 50.559888] snd-malloc: invalid device type 0
[ 50.564820] snd-malloc: invalid device type 0
[ 50.566065] snd-malloc: invalid device type 0
[ 50.567648] snd-malloc: invalid device type 0
[ 50.570084] snd-malloc: invalid device type 0
[ 50.578436] snd-malloc: invalid device type 0
[ 50.703430] snd-malloc: invalid device type 0
[ 50.705417] snd-malloc: invalid device type 0
[ 50.707146] snd-malloc: invalid device type 0
[ 50.716748] snd-malloc: invalid device type 0
[ 58.155023] diff=204000 >= 10000 buf_bytes.
[ 196.045307] diff=204000 >= 10000 buf_bytes.

** Model information
not available

** Loaded modules:
mperf
cpufreq_conservative
cpufreq_userspace
cpufreq_powersave
cpufreq_stats
parport_pc
ppdev
lp
parport
bnep
rfcomm
bluetooth
rfkill
uinput
ecryptfs
snd_cs5535audio
snd_ac97_codec
snd_pcm
snd_page_alloc
ecb
snd_seq
snd_seq_device
cryptd
snd_timer
aes_i586
aes_generic
scx200_acb
snd
geode_aes
i2c_core
geode_rng
rng_core
soundcore
ac97_bus
cs5535_mfd
processor
ac
thermal_sys
evdev
btrfs
crc32c
libcrc32c
zlib_deflate
ext4
crc16
jbd2
mbcache
msr
usbhid
hid
sg
sd_mod
crc_t10dif
ata_generic
pata_cs5536
libata
ohci_hcd
ehci_hcd
usbcore
scsi_mod
8139too
button
8139cp
usb_common
mii

** PCI devices:
00:01.0 Host bridge [0600]: Advanced Micro Devices [AMD] CS5536 [Geode companion] Host Bridge [1022:2080] (rev 31)
Subsystem: FIRST INTERNATIONAL Computer Inc Device [1509:801b]
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 248, Cache Line Size: 32 bytes
Region 0: I/O ports at ac1c [size=4]
Region 1: I/O ports at 9e00 [size=8]

00:01.1 VGA compatible controller [0300]: Advanced Micro Devices [AMD] Geode LX Video [1022:2081] (prog-if 00 [VGA controller])
Subsystem: FIRST INTERNATIONAL Computer Inc Device [1509:801b]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 10
Region 0: Memory at e0000000 (32-bit, non-prefetchable) [size=128M]
Region 1: Memory at efff0000 (32-bit, non-prefetchable) [size=16K]
Region 2: Memory at effec000 (32-bit, non-prefetchable) [size=16K]
Region 3: Memory at effe8000 (32-bit, non-prefetchable) [size=16K]
Region 4: Memory at efff8000 (32-bit, non-prefetchable) [size=16K]
Expansion ROM at <unassigned> [disabled]
Kernel driver in use: lxfb

00:01.2 Entertainment encryption device [1010]: Advanced Micro Devices [AMD] Geode LX AES Security Block [1022:2082]
Subsystem: FIRST INTERNATIONAL Computer Inc Device [1509:801b]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 10
Region 0: Memory at efff4000 (32-bit, non-prefetchable) [size=16K]
Kernel driver in use: Geode LX AES

00:0d.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ [10ec:8139] (rev 10)
Subsystem: FIRST INTERNATIONAL Computer Inc Device [1509:801b]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR+ INTx-
Latency: 32 (8000ns min, 16000ns max)
Interrupt: pin A routed to IRQ 11
Region 0: I/O ports at fc00 [size=256]
Region 1: Memory at effff000 (32-bit, non-prefetchable) [size=256]
Capabilities: <access denied>
Kernel driver in use: 8139too

00:0f.0 ISA bridge [0601]: Advanced Micro Devices [AMD] CS5536 [Geode companion] ISA [1022:2090] (rev 03)
Subsystem: FIRST INTERNATIONAL Computer Inc Device [1509:801b]
Control: I/O+ Mem- BusMaster- SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Region 0: I/O ports at 6000 [size=8]
Region 1: I/O ports at 6100 [size=256]
Region 2: I/O ports at 6200 [size=64]
Region 3: I/O ports at 1000 [size=32]
Region 4: I/O ports at 9d00 [size=128]
Region 5: I/O ports at 9c00 [size=64]

00:0f.2 IDE interface [0101]: Advanced Micro Devices [AMD] CS5536 [Geode companion] IDE [1022:209a] (rev 01) (prog-if 80 [Master])
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 248, Cache Line Size: 32 bytes
Region 0: [virtual] Memory at 000001f0 (32-bit, non-prefetchable) [size=8]
Region 1: [virtual] Memory at 000003f0 (type 3, non-prefetchable) [size=1]
Region 2: [virtual] Memory at 00000170 (32-bit, non-prefetchable) [size=8]
Region 3: [virtual] Memory at 00000370 (type 3, non-prefetchable) [size=1]
Region 4: I/O ports at ff00 [size=16]
Kernel driver in use: pata_cs5536

00:0f.3 Multimedia audio controller [0401]: Advanced Micro Devices [AMD] CS5536 [Geode companion] Audio [1022:2093] (rev 01)
Subsystem: FIRST INTERNATIONAL Computer Inc Device [1509:801b]
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 32 bytes
Interrupt: pin B routed to IRQ 11
Region 0: I/O ports at fe00 [size=128]
Kernel driver in use: snd_cs5535audio

00:0f.4 USB controller [0c03]: Advanced Micro Devices [AMD] CS5536 [Geode companion] OHC [1022:2094] (rev 02) (prog-if 10 [OHCI])
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 32 bytes
Interrupt: pin D routed to IRQ 11
Region 0: Memory at efffe000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: ohci_hcd

00:0f.5 USB controller [0c03]: Advanced Micro Devices [AMD] CS5536 [Geode companion] EHC [1022:2095] (rev 02) (prog-if 20 [EHCI])
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 32 bytes
Interrupt: pin D routed to IRQ 11
Region 0: Memory at efffd000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: ehci_hcd


** USB devices:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 03f9:0100 KeyTronic Corp. KT-2001 Keyboard


-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (1001, 'testing')
Architecture: i386 (i586)

Kernel: Linux 3.2.0-3-486
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages linux-image-3.2.0-3-486 depends on:
ii debconf [debconf-2.0] 1.5.46
ii initramfs-tools [linux-initramfs-tool] 0.107
ii kmod 9-1
ii linux-base 3.5
ii module-init-tools 9-1

Versions of packages linux-image-3.2.0-3-486 recommends:
ii firmware-linux-free 3.1

Versions of packages linux-image-3.2.0-3-486 suggests:
pn debian-kernel-handbook <none>
ii grub-pc 1.99-22.1
pn linux-doc-3.2 <none>

Versions of packages linux-image-3.2.0-3-486 is related to:
pn firmware-atheros <none>
pn firmware-bnx2 <none>
pn firmware-bnx2x <none>
pn firmware-brcm80211 <none>
pn firmware-intelwimax <none>
pn firmware-ipw2x00 <none>
pn firmware-ivtv <none>
ii firmware-iwlwifi 0.36
pn firmware-libertas <none>
ii firmware-linux 0.36
ii firmware-linux-nonfree 0.36
pn firmware-myricom <none>
pn firmware-netxen <none>
pn firmware-qlogic <none>
pn firmware-ralink <none>
pn firmware-realtek <none>
pn xen-hypervisor <none>

-- debconf information:
linux-image-3.2.0-3-486/postinst/ignoring-ramdisk:
linux-image-3.2.0-3-486/postinst/depmod-error-initrd-3.2.0-3-486: false
linux-image-3.2.0-3-486/postinst/missing-firmware-3.2.0-3-486:
linux-image-3.2.0-3-486/prerm/removing-running-kernel-3.2.0-3-486: true


--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20120902193847.3050.75316.reportbug@geode.lan">htt p://lists.debian.org/20120902193847.3050.75316.reportbug@geode.lan
 
Old 09-02-2012, 08:26 PM
Ben Hutchings
 
Default Bug#686528: linux-image-3.2.0-3-486: doesn't understand modes passed via GRUB_GFXPAYLOAD_LINUX in /etc/default/grub

I'm cc'ing Andres because he's previously requested various Geode config
changes to support OLPC.

On Sun, 2012-09-02 at 22:38 +0300, Martin-Éric Racine wrote:
> Package: src:linux
> Version: 3.2.23-1
> Severity: normal
>
> For some reason, lxfb doesn't understand the recommended method for
> setting the screen mode on non-KMS framebuffers via
> GRUB_GFXPAYLOAD_LINUX in /etc/default/grub.

I think this hand-over only works with basic VGA and VESA drivers, not
with any 'native' video driver.

> This, combined with the fact that lxfb recently started to ship as a
> compiled-in feature, rather than as a module,

It looks like lxfb was always built-in on the 486 flavour and modular on
the 686 flavour, so this change results from the removal of the 686
flavour. I don't see any good reason for the difference and I think it
should be modular on 486 too. (Also, I notice that the Geode
framebuffer drivers are enabled on the 686-pae flavour, which doesn't
run on any of the Geode SoCs!)

> systematically results in this host booting to a rather small 80x30
> console, rather than a graphic framebuffer at a larger resolution.
>
> What I have configuered:
>
> GRUB_GFXMODE=800x600x32,800x600x24,800x600x16,800x 600x8,800x600
> GRUB_GFXPAYLOAD_LINUX=1280x1024x32,1280x1024x24,12 80x1024x16,1280x1024x8,1280x1024
>
> ... which works fine whenever vesafb use is enforced over lxfb via
> cmdline option video=vesafb, but fails whenever I let the kernel
> choose lxfb as its preferred driver.

Apparently the lxfb driver requires you to specify the mode through the
'lxfb' kernel parameter or the 'mode_option' module parameter.

Ben.

--
Ben Hutchings
Theory and practice are closer in theory than in practice.
- John Levine, moderator of comp.compilers
 
Old 09-03-2012, 12:45 AM
Andres Salomon
 
Default Bug#686528: linux-image-3.2.0-3-486: doesn't understand modes passed via GRUB_GFXPAYLOAD_LINUX in /etc/default/grub

On Sun, 02 Sep 2012 21:26:21 +0100
Ben Hutchings <ben@decadent.org.uk> wrote:

> I'm cc'ing Andres because he's previously requested various Geode
> config changes to support OLPC.

Thanks!

>
> On Sun, 2012-09-02 at 22:38 +0300, Martin-Éric Racine wrote:
> > Package: src:linux
> > Version: 3.2.23-1
> > Severity: normal
> >
> > For some reason, lxfb doesn't understand the recommended method for
> > setting the screen mode on non-KMS framebuffers via
> > GRUB_GFXPAYLOAD_LINUX in /etc/default/grub.
>
> I think this hand-over only works with basic VGA and VESA drivers, not
> with any 'native' video driver.
>
> > This, combined with the fact that lxfb recently started to ship as a
> > compiled-in feature, rather than as a module,
>
> It looks like lxfb was always built-in on the 486 flavour and modular
> on the 686 flavour, so this change results from the removal of the 686
> flavour. I don't see any good reason for the difference and I think
> it should be modular on 486 too. (Also, I notice that the Geode
> framebuffer drivers are enabled on the 686-pae flavour, which doesn't
> run on any of the Geode SoCs!)

I'd certainly prefer it to be modular. Module autoloading happens
properly thanks to the video chip being a (virtual) PCI device.


>
> > systematically results in this host booting to a rather small 80x30
> > console, rather than a graphic framebuffer at a larger resolution.
> >
> > What I have configuered:
> >
> > GRUB_GFXMODE=800x600x32,800x600x24,800x600x16,800x 600x8,800x600
> > GRUB_GFXPAYLOAD_LINUX=1280x1024x32,1280x1024x24,12 80x1024x16,1280x1024x8,1280x1024
> >
> > ... which works fine whenever vesafb use is enforced over lxfb via
> > cmdline option video=vesafb, but fails whenever I let the kernel
> > choose lxfb as its preferred driver.
>
> Apparently the lxfb driver requires you to specify the mode through
> the 'lxfb' kernel parameter or the 'mode_option' module parameter.

That's correct. On olpc, we need to boot with video=lxfb in order to
have the framebuffer come up properly. Maybe someday someone will port
lxfb to kms, but I'm not holding my breath.
 
Old 09-03-2012, 01:19 AM
Ben Hutchings
 
Default Bug#686528: linux-image-3.2.0-3-486: doesn't understand modes passed via GRUB_GFXPAYLOAD_LINUX in /etc/default/grub

On Sun, 2012-09-02 at 17:45 -0700, Andres Salomon wrote:
[...]
> > > This, combined with the fact that lxfb recently started to ship as a
> > > compiled-in feature, rather than as a module,
> >
> > It looks like lxfb was always built-in on the 486 flavour and modular
> > on the 686 flavour, so this change results from the removal of the 686
> > flavour. I don't see any good reason for the difference and I think
> > it should be modular on 486 too. (Also, I notice that the Geode
> > framebuffer drivers are enabled on the 686-pae flavour, which doesn't
> > run on any of the Geode SoCs!)
>
> I'd certainly prefer it to be modular. Module autoloading happens
> properly thanks to the video chip being a (virtual) PCI device.
[...]

So long as it's not blacklisted, which it is by default
(/etc/modprobe.d/fbdev-blacklist.conf). Anyway, I think this means that
you'll both be happy if I make it modular.

Ben.

--
Ben Hutchings
In a hierarchy, every employee tends to rise to his level of incompetence.
 

Thread Tools




All times are GMT. The time now is 06:41 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org