Bug#585600: linux-image-2.6.32-5-686: KMS does not detect display resolutions
Package: linux-2.6
Version: 2.6.32-15
Severity: normal
Hi.
Since the latest radeon X driver has entered testing, KMS is enabled on my machine, which results in display resolution badly configured with my monitor. I used to have 1280x1024 and no longer have (the fallback 1024x768 is set).
The dmesg messages about EDID being wrong show the problem.
Maybe this is linked to a KVM display switch being present ?
In any case, this is all fine again if I change modesetting to off in /etc/modprobe.d/radeon-kms.conf.
Thanks in advance.
Best regards,
-- Package-specific info:
** Version:
Linux version 2.6.32-5-686 (Debian 2.6.32-15) (ben@decadent.org.uk) (gcc version 4.3.5 (Debian 4.3.5-1) ) #1 SMP Tue Jun 1 04:59:47 UTC 2010
02:04.0 USB Controller [0c03]: NEC Corporation USB [1033:0035] (rev 41) (prog-if 10 [OHCI])
Subsystem: Asustek Computer, Inc. PCI-USB2 (OHCI subsystem) [807d:0035]
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 (250ns min, 10500ns max), Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 21
Region 0: Memory at de000000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: ohci_hcd
02:04.1 USB Controller [0c03]: NEC Corporation USB [1033:0035] (rev 41) (prog-if 10 [OHCI])
Subsystem: Asustek Computer, Inc. PCI-USB2 (OHCI subsystem) [807d:0035]
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 (250ns min, 10500ns max), Cache Line Size: 32 bytes
Interrupt: pin B routed to IRQ 22
Region 0: Memory at dd800000 (32-bit, non-prefetchable) [size=4K]
Capabilities: <access denied>
Kernel driver in use: ohci_hcd
02:04.2 USB Controller [0c03]: NEC Corporation USB 2.0 [1033:00e0] (rev 02) (prog-if 20 [EHCI])
Subsystem: Asustek Computer, Inc. PCI-USB2 (EHCI subsystem) [807d:1043]
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 (4000ns min, 8500ns max), Cache Line Size: 128 bytes
Interrupt: pin C routed to IRQ 23
Region 0: Memory at dd000000 (32-bit, non-prefetchable) [size=256]
Capabilities: <access denied>
Kernel driver in use: ehci_hcd
02:0b.0 Ethernet controller [0200]: 3Com Corporation 3c905C-TX/TX-M [Tornado] [10b7:9200] (rev 74)
Subsystem: 3Com Corporation 3C905CX-TX/TX-M Fast Etherlink for PC Management NIC [10b7:1000]
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 (2500ns min, 2500ns max), Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 23
Region 0: I/O ports at b400 [size=128]
Region 1: Memory at dc800000 (32-bit, non-prefetchable) [size=128]
[virtual] Expansion ROM at dff00000 [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: 3c59x
** USB devices:
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 006: ID 045e:00cb Microsoft Corp. Basic Optical Mouse v2.0
Bus 002 Device 005: ID 046d:c303 Logitech, Inc. iTouch Keyboard
Bus 002 Device 004: ID 050d:3201 Belkin Components F1DF102U/F1DG102U Flip KVM
Bus 002 Device 003: ID 0409:55ab NEC Corp. Hub [iMac/iTouch kbd]
Bus 002 Device 002: ID 050d:3101 Belkin Components F1DF102U/F1DG102U Flip Hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 059b:027d Iomega Corp.
Bus 001 Device 002: ID 152d:2338 JMicron Technology Corp. / JMicron USA Technology Corp. JM20337 Hi-Speed USB to SATA & PATA Combo Bridge
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages linux-image-2.6.32-5-686 depends on:
ii debconf [debconf-2.0] 1.5.32 Debian configuration management sy
ii initramfs-tools [linux-initr 0.94.4 tools for generating an initramfs
ii linux-base 2.6.32-15 Linux image base package
ii module-init-tools 3.12~pre2-3 tools for managing Linux kernel mo
Versions of packages linux-image-2.6.32-5-686 recommends:
ii firmware-linux-free 2.6.32-15 Binary firmware for various driver
ii libc6-i686 2.10.2-9 GNU C Library: Shared libraries [i
Versions of packages linux-image-2.6.32-5-686 suggests:
ii grub 0.97-61 GRand Unified Bootloader (dummy pa
pn linux-doc-2.6.32 <none> (no description available)
Versions of packages linux-image-2.6.32-5-686 is related to:
pn firmware-bnx2 <none> (no description available)
pn firmware-bnx2x <none> (no description available)
pn firmware-ipw2x00 <none> (no description available)
pn firmware-ivtv <none> (no description available)
pn firmware-iwlwifi <none> (no description available)
pn firmware-linux <none> (no description available)
ii firmware-linux-nonfree 0.24 Binary firmware for various driver
pn firmware-qlogic <none> (no description available)
pn firmware-ralink <none> (no description available)
pn xen-hypervisor <none> (no description available)
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100612070233.3129.28446.reportbug@asustour">http ://lists.debian.org/20100612070233.3129.28446.reportbug@asustour
06-12-2010, 08:37 AM
Olivier Berger
Bug#585600: linux-image-2.6.32-5-686: KMS does not detect display resolutions
On Sat, Jun 12, 2010 at 09:02:33AM +0200, Olivier Berger wrote:
> Hi.
>
> Since the latest radeon X driver has entered testing, KMS is enabled on my machine, which results in display resolution badly configured with my monitor. I used to have 1280x1024 and no longer have (the fallback 1024x768 is set).
>
> The dmesg messages about EDID being wrong show the problem.
>
> Maybe this is linked to a KVM display switch being present ?
>
> In any case, this is all fine again if I change modesetting to off in /etc/modprobe.d/radeon-kms.conf.
>
> Thanks in advance.
>
> Best regards,
>
FYI, the following workaround allowed me to keep using 1280x1024. I've added the following lines to /etc/gdm/Init/Default :
xrandr --newmode "1280x1024_60.00" 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
xrandr --addmode VGA-0 1280x1024_60.00
Now, I can select the preferred mode with gnome-display-properties and it is kept across session restarts.
Hope this helps.
Best regards,
--
Olivier BERGER
(OpenPGP: 1024D/B4C5F37F)
http://www.olivierberger.com/weblog/
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100612083706.GA3923@olivierberger.com">http://lists.debian.org/20100612083706.GA3923@olivierberger.com
06-12-2010, 10:45 AM
Julien Cristau
Bug#585600: linux-image-2.6.32-5-686: KMS does not detect display resolutions
On Sat, Jun 12, 2010 at 09:02:33 +0200, Olivier Berger wrote:
> Since the latest radeon X driver has entered testing, KMS is enabled on my machine, which results in display resolution badly configured with my monitor. I used to have 1280x1024 and no longer have (the fallback 1024x768 is set).
>
> The dmesg messages about EDID being wrong show the problem.
>
> Maybe this is linked to a KVM display switch being present ?
>
That seems likely. Can you attach an X log with kms disabled?
Cheers,
Julien
06-12-2010, 12:23 PM
Olivier Berger
Bug#585600: linux-image-2.6.32-5-686: KMS does not detect display resolutions
Julien Cristau <jcristau@debian.org> writes:
> On Sat, Jun 12, 2010 at 09:02:33 +0200, Olivier Berger wrote:
>
>> Since the latest radeon X driver has entered testing, KMS is enabled on my machine, which results in display resolution badly configured with my monitor. I used to have 1280x1024 and no longer have (the fallback 1024x768 is set).
>>
>> The dmesg messages about EDID being wrong show the problem.
>>
>> Maybe this is linked to a KVM display switch being present ?
>>
> That seems likely. Can you attach an X log with kms disabled?
>
Here you are.
Note that I had set
Option "IgnoreEDID" "on"
some time back... maybe for similar reasons...
Bug#585600: linux-image-2.6.32-5-686: KMS does not detect display resolutions
reopen 585600
thanks
Julien Cristau <jcristau@debian.org> writes:
> So in summary your kvm switch doesn't pass edid along, so the kernel has
> no way to know what resolution the monitor supports, so it falls back to
> a presumably safe 1024x768 resolution.
That would be a possible explanation, yes... however I'm not completely
sure... any way to try and confirm this diagnostic for sure ?
> I don't think there's a bug here, so I suggest you try setting the
> wanted resolution on the kernel command line (video=1280x1024 should
> work). Closing this bug, thanks for your report.
>
I'd be perfectly happy to have one bug less open on the kernel, but I
think there's a problem here that is not fixed at all. Of course, I
could manage to workaround by passing args to the kernel, but that looks
like a regression from end user perspective : how comes that without KMS
things work OK, and with, it doesn't ? Maybe it could be reassigned to
another faulty package ?
Maybe the problem is not with the kernel and with the X driver, then, as
I have :
Option "IgnoreEDID" "on"
Option "PanelSize" "1280x1024"
in /etc/X11/xorg.conf
If I get it right, with KMS, if 1280x1024 is not detected as a valid
mode by the kernel, but then, shouldn't the PanelSize setting be
observed anyway by the radeon driver ?
Should I reassign to xserver-xorg-video-radeon instead (I'm reopening
then) ?
Thanks in advance for your opinion.
Best regards,
--
Olivier BERGER
(OpenPGP: 1024D/B4C5F37F)
http://www.olivierberger.com/weblog/
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 877hm4xopi.fsf@olivierberger.com">http://lists.debian.org/877hm4xopi.fsf@olivierberger.com
06-12-2010, 03:32 PM
Julien Cristau
Bug#585600: linux-image-2.6.32-5-686: KMS does not detect display resolutions
On Sat, Jun 12, 2010 at 17:20:09 +0200, Olivier Berger wrote:
> reopen 585600
> thanks
>
> Julien Cristau <jcristau@debian.org> writes:
>
> > So in summary your kvm switch doesn't pass edid along, so the kernel has
> > no way to know what resolution the monitor supports, so it falls back to
> > a presumably safe 1024x768 resolution.
>
> That would be a possible explanation, yes... however I'm not completely
> sure... any way to try and confirm this diagnostic for sure ?
>
Get rid of the KVM switch, or try a useful one.
> > I don't think there's a bug here, so I suggest you try setting the
> > wanted resolution on the kernel command line (video=1280x1024 should
> > work). Closing this bug, thanks for your report.
> >
>
> I'd be perfectly happy to have one bug less open on the kernel, but I
> think there's a problem here that is not fixed at all. Of course, I
> could manage to workaround by passing args to the kernel, but that looks
> like a regression from end user perspective : how comes that without KMS
> things work OK, and with, it doesn't ? Maybe it could be reassigned to
> another faulty package ?
>
They don't work ok without kms, if you need to override the panel size
and ignore edid.
> Maybe the problem is not with the kernel and with the X driver, then, as
> I have :
> Option "IgnoreEDID" "on"
> Option "PanelSize" "1280x1024"
> in /etc/X11/xorg.conf
>
> If I get it right, with KMS, if 1280x1024 is not detected as a valid
> mode by the kernel, but then, shouldn't the PanelSize setting be
> observed anyway by the radeon driver ?
>
I don't know. What does the X log look like with kms?
Cheers,
Julien
06-12-2010, 03:59 PM
Olivier Berger
Bug#585600: linux-image-2.6.32-5-686: KMS does not detect display resolutions
Julien Cristau <jcristau@debian.org> writes:
>
> Get rid of the KVM switch, or try a useful one.
>
Well... thanks for this suggestion, but that's not very usefull to make
Debian better
[SNIP]
> What does the X log look like with kms?
>
Here are X logs with and without KMS in attachment.
Indeed option PanelSize doesn't seem to be used when KMS is on : the
driver probably doesn't mess with what the kernel has (not) detected.
Since xrandr allows to add another mode setting, no hope is lost I tend
to believe that the radeon X driver may be considered buggy here, then,
and PanelSize needs to be processed when with KMS ?
Bug#585600: linux-image-2.6.32-5-686: KMS does not detect display resolutions
On Sat, Jun 12, 2010 at 17:59:59 +0200, Olivier Berger wrote:
> Julien Cristau <jcristau@debian.org> writes:
>
> >
> > Get rid of the KVM switch, or try a useful one.
> >
>
> Well... thanks for this suggestion, but that's not very usefull to make
> Debian better
>
As I already said, I don't think there's a bug here.