vesafb sets the refresh rate too high for some LCDs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Invalid
|
Medium
|
Unassigned | ||
linux-source-2.6.22 (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: linux-image-2.6-386
Hello!
I'm running Ubuntu Gutsy on a Dell Latitude D620 laptop with Intel integrated video. See ddcprobe below.
X runs very well with the intel driver, although I'm using 915resolution to get the native display resolution programmed into the video board (1280x1024).
I've been trying for a week to get the same results in the console (or at least more than VGA), with no success. I can't get intelfb to work (I suspect vesafb is disabling it somehow, but I can't check until I compile a new kernel, maybe later).
So I tried using the vesafb to get larger resolutions (1024x768), adding this line (or similar) to the kernel parameters:
"video=
I've tried any combinations of the parameters, different resolutions, bitdepths and refresh rates. It seems to work, according to the messages, but all I get is a blank, black screen. X comes up normally when the boot is over. I can switch back and forth between X and the consoles, but the consoles are always blank.
$ fbset
mode "1024x768-76"
# D: 78.653 MHz, H: 59.949 kHz, V: 75.694 Hz
geometry 1024 768 1024 768 16
timings 12714 128 32 16 4 128 4
rgba 5/11,6/5,5/0,0/0
endmode
According to fbset the refresh rate is always set at 76 Hz, and I'm sure the screen allows only 60 (or 70, maybe, but I don't think so). This is not a problem, since it's an LCD.
I know people have been asking for higher refresh rates at boot for a long time (for CRTs), so maybe this is what caused the change (it worked in Dapper or Feisty, not sure which). Is there any way to get a lower refresh rate (preferably without recompiling the kernel)? And is there any way to detect laptops with such problems and fix it automatically?
$ sudo ddcprobe
vbe: VESA 3.0 detected.
oem: Intel(r) 82945GM Chipset Family Graphics Chip Accelerated VGA BIOS
vendor: Intel Corporation
product: Intel(r) 82945GM Chipset Family Graphics Controller Hardware Version 0.0
memory: 12288kb
mode: 1280x1024x256
mode: 1280x1024x64k
mode: 1280x1024x16m
mode: 1024x768x256
mode: 1024x768x64k
mode: 1024x768x16m
mode: 640x480x16m
mode: 800x600x64k
mode: 800x600x16m
mode: 640x480x256
mode: 800x600x256
mode: 640x480x64k
edid:
edid: 1 3
id: 3157
eisa: SEC3157
serial: 00000000
manufacture: 0 2005
input: analog signal.
screensize: 30 19
gamma: 2.200000
dpms: RGB, no active off, no suspend, no standby
dtiming: 1280x800@59
monitorid: UD490
description: | updated |
Same problem here on a IBM T42 with Radeon graphics.
$ ddcprobe
vbe: VESA 2.0 detected.
oem: ATI MOBILITY RADEON 9600
memory: 65472kb
mode: 320x200x32k
mode: 320x200x64k
mode: 320x200x16m
mode: 1600x1200x256
mode: 640x400x256
mode: 640x480x256
mode: 640x480x32k
mode: 640x480x64k
mode: 640x480x16m
mode: 1600x1200x32k
mode: 800x600x256
mode: 800x600x32k
mode: 800x600x64k
mode: 800x600x16m
mode: 1600x1200x64k
mode: 1024x768x256
mode: 1024x768x32k
mode: 1024x768x64k
mode: 1024x768x16m
mode: 1280x1024x256
mode: 1280x1024x32k
mode: 1280x1024x64k
mode: 1280x1024x16m
edid:
edidfail
$ lspci L/ICH4- M) USB UHCI Controller #1 (rev 01) L/ICH4- M) USB UHCI Controller #2 (rev 01) L/ICH4- M) USB UHCI Controller #3 (rev 01) L/ICH4- M) SMBus Controller (rev 01) L/ICH4- M) AC'97 Audio Controller (rev 01) L/ICH4- M) AC'97 Modem Controller (rev 01)
00:00.0 Host bridge: Intel Corporation 82855PM Processor to I/O Controller (rev 03)
00:01.0 PCI bridge: Intel Corporation 82855PM Processor to AGP Controller (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-
00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-
00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-
00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 81)
00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-
00:1f.6 Modem: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-
01:00.0 VGA compatible controller: ATI Technologies Inc RV350 [Mobility Radeon 9600 M10]
02:00.0 CardBus bridge: Texas Instruments PCI4520 PC card Cardbus Controller (rev 01)
02:00.1 CardBus bridge: Texas Instruments PCI4520 PC card Cardbus Controller (rev 01)
02:01.0 Ethernet controller: Intel Corporation 82540EP Gigabit Ethernet Controller (Mobile) (rev 03)
02:02.0 Network controller: Intel Corporation PRO/Wireless 2200BG Network Connection (rev 05)
$ fbset
mode "1400x1050-77"
# D: 147.037 MHz, H: 83.166 kHz, V: 77.436 Hz
geometry 1400 1050 1400 1050 16
timings 6801 168 32 16 4 168 4
rgba 5/11,6/5,5/0,0/0
endmode
I booted with vga=0x342 for 1400x1050 mode, but I get the same symptoms as the original poster.
Thanks!