Bug 25010 - KMS cannot detect my VGA external monitor
Summary: KMS cannot detect my VGA external monitor
Status: RESOLVED WORKSFORME
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: xf86-video-ati maintainers
QA Contact: Xorg Project Team
URL:
Whiteboard: 2011BRB_Reviewed
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-10 05:30 UTC by Ľuboš Katrinec
Modified: 2011-10-05 01:26 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
xorg log (24.96 KB, application/octet-stream)
2009-11-10 05:30 UTC, Ľuboš Katrinec
no flags Details

Description Ľuboš Katrinec 2009-11-10 05:30:35 UTC
Created attachment 31080 [details]
xorg log

I'm using ATI 9600 mobility with latest git builds and KMS enabled:
OpenGL vendor string: DRI R300 Project
OpenGL renderer string: Mesa DRI R300 (RV350 4E50) 20090101 x86/MMX/SSE2 TCL DRI2
OpenGL version string: 1.5 Mesa 7.7-devel
OpenGL extensions:

Without KMS both monitors have 1024x768 in console and as I run X I've got 1280x1024 (modeline frequencies set in xorg.conf).

With KMS without connected monitor my builtin LCD gets 1024x768 as should but as soon as I boot with connected VGA monitor builtin LCD gets only 800x600 crop (instead of whole 1024x768 display), the rest of display is not used in the console. External VGA turns to black complaining about wrong freqs. (53 vert and 85 horiz I think).
If I start X both monitors have 1024x768 (it ignores my modeline frequencies for external VGA stated in xorg.conf) so I have to manualy add the mode 1280x1024@60 with xrandr (--newmode, --addmode, --output VGA-0 --mode 1280x1024@60). But eventhough I cannot turn off builtin LCD. Mouse cursor tends to dissappear (on one or both monitors) by playing with xrandr and sometimes it appears again on its own. I also noticed some wrong pixels lines (maybe I can make a photo of it if you want).

In dmesg I can see:
[    8.671945] [drm:edid_is_valid] *ERROR* Raw EDID:
[    8.671950] <3>aa ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................
[    8.671953] <3>ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................
[    8.671957] <3>ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................
[    8.671960] <3>ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................
[    8.671964] <3>ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................
[    8.671967] <3>ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................
[    8.671971] <3>ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................
[    8.671974] <3>ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff  ................
[    8.671977]
[    8.671980] radeon 0000:01:00.0: VGA-1: EDID invalid.

I tried to change the behaviour with video=radeonfb:1024x768-24@60 and 1280x1024 but it nothing changed at all.

cat /proc/fb 
0 radeondrmfb
Comment 1 Ľuboš Katrinec 2009-11-10 06:09:16 UTC
I forgot to mention that I'm using 2.6.32-rc6-git3 kernel and these framebuffer settings:

CONFIG_FB=y
CONFIG_FB_CFB_FILLRECT=m
CONFIG_FB_CFB_COPYAREA=m
CONFIG_FB_CFB_IMAGEBLIT=m
CONFIG_FB_MODE_HELPERS=y
CONFIG_FB_TILEBLITTING=y

I also tried CONFIG_FB_BOTH_ENDIAN and CONFIG_FB_FOREIGN_ENDIAN
Comment 2 Ľuboš Katrinec 2009-11-10 07:42:50 UTC
I'm sorry, forgot to provide dmesg related logs:

dmesg|grep -v FIREWALL|grep -iE 'agp|drm|dri[^a-z]|ttm|fb|radeon'
[    0.000000] ACPI: FACS 5fffbe80 00040
[    0.000000] Kernel command line: root=/dev/sda4 video=radeonfb:1024x768-24@60
[    0.114027] system 00:0c: iomem range 0xffb00000-0xffbfffff has been reserved
[    7.258401] Linux agpgart interface v0.103
[    7.476664] [drm] Initialized drm 1.1.0 20060810
[    7.481370] agpgart-intel 0000:00:00.0: Intel 855PM Chipset
[    7.495855] agpgart-intel 0000:00:00.0: AGP aperture is 256M @ 0xb0000000
[    8.202540] [drm] radeon defaulting to kernel modesetting.
[    8.202544] [drm] radeon kernel modesetting enabled.
[    8.202617] radeon 0000:01:00.0: PCI INT A -> Link[C0C3] -> GSI 10 (level, low) -> IRQ 10
[    8.207004] [drm] radeon: Initializing kernel modesetting.
[    8.207080] [drm] register mmio base: 0x90300000
[    8.207083] [drm] register mmio size: 65536
[    8.207496] [drm] GPU reset succeed (RBBM_STATUS=0x00000140)
[    8.207509] [drm] Generation 2 PCI interface, using max accessible memory
[    8.207521] agpgart-intel 0000:00:00.0: AGP 2.0 bridge
[    8.207539] agpgart-intel 0000:00:00.0: putting AGP V2 device into 4x mode
[    8.207576] radeon 0000:01:00.0: putting AGP V2 device into 4x mode
[    8.207616] [drm] radeon: VRAM 64M
[    8.207619] [drm] radeon: VRAM from 0x00000000 to 0x03FFFFFF
[    8.207621] [drm] radeon: GTT 256M
[    8.207624] [drm] radeon: GTT from 0xB0000000 to 0xBFFFFFFF
[    8.207650] [drm] radeon: irq initialized.
[    8.208373] [drm] Detected VRAM RAM=64M, BAR=128M
[    8.208378] [drm] RAM width 64bits DDR
[    8.208460] [TTM] Zone  kernel: Available graphics memory: 444382 kiB.
[    8.208463] [TTM] Zone highmem: Available graphics memory: 776066 kiB.
[    8.208485] [drm] radeon: 32M of VRAM memory ready
[    8.208489] [drm] radeon: 256M of GTT memory ready.
[    8.208897] [drm] radeon: 1 quad pipes, 1 Z pipes initialized.
[    8.209171] [drm] radeon: cp idle (0x10000C03)
[    8.209214] [drm] Loading R300 Microcode
[    8.209508] platform radeon_cp.0: firmware: requesting radeon/R300_cp.bin
[    8.370572] [drm] radeon: ring at 0x00000000B0000000
[    8.370595] [drm] ring test succeeded in 1 usecs
[    8.373844] [drm] radeon: ib pool ready.
[    8.373963] [drm] ib test succeeded in 0 usecs
[    8.374294] [drm] DFP table revision: 4
[    8.374514] [drm] Panel ID String: SEC                     
[    8.374518] [drm] Panel Size 1024x768
[    8.374753] [drm] Default TV standard: NTSC
[    8.374755] [drm] 27.000000000 MHz TV ref clk
[    8.374757] [drm] No TV DAC info found in BIOS
[    8.374827] [drm] Radeon Display Connectors
[    8.374830] [drm] Connector 0:
[    8.374832] [drm]   VGA
[    8.374836] [drm]   DDC: 0x60 0x60 0x60 0x60 0x60 0x60 0x60 0x60
[    8.374838] [drm]   Encoders:
[    8.374840] [drm]     CRT1: INTERNAL_DAC1
[    8.374843] [drm] Connector 1:
[    8.374845] [drm]   DVI-D
[    8.374848] [drm]   DDC: 0x64 0x64 0x64 0x64 0x64 0x64 0x64 0x64
[    8.374850] [drm]   Encoders:
[    8.374852] [drm]     DFP1: INTERNAL_TMDS1
[    8.374855] [drm] Connector 2:
[    8.374857] [drm]   LVDS
[    8.374860] [drm]   DDC: 0x6c 0x6c 0x6c 0x6c 0x6c 0x6c 0x6c 0x6c
[    8.374862] [drm]   Encoders:
[    8.374864] [drm]     LCD1: INTERNAL_LVDS
[    8.374866] [drm] Connector 3:
[    8.374868] [drm]   S-video
[    8.374870] [drm]   Encoders:
[    8.374872] [drm]     TV1: INTERNAL_DAC2
[    8.428351] [drm:edid_is_valid] *ERROR* Raw EDID:
[    8.428386] radeon 0000:01:00.0: VGA-1: EDID invalid.
[    8.510040] [drm:edid_is_valid] *ERROR* Raw EDID:
[    8.510073] radeon 0000:01:00.0: VGA-1: EDID invalid.
[    8.574771] [drm] fb mappable at 0x98040000
[    8.574774] [drm] vram apper at 0x98000000
[    8.574777] [drm] size 3145728
[    8.574779] [drm] fb depth is 24
[    8.574781] [drm]    pitch is 4096
[    8.636417] [drm] LVDS-13: set mode 1024x768 23
[    8.698756] [drm] DAC-9: set mode 800x600 24
[    8.722698] fb0: radeondrmfb frame buffer device
[    8.722950] [drm] Initialized radeon 2.0.0 20080528 for 0000:01:00.0 on minor 0
[  625.455042] [drm:edid_is_valid] *ERROR* Raw EDID:
[  625.455078] radeon 0000:01:00.0: VGA-1: EDID invalid.
[  625.558547] [drm:edid_is_valid] *ERROR* Raw EDID:
[  625.558581] radeon 0000:01:00.0: VGA-1: EDID invalid.
[  625.735324] [drm] DAC-9: set mode 1024x768 27
[  643.552298] [drm] DAC-9: set mode 800x600 24
[  648.687213] [drm] DAC-9: set mode 1024x768 29
[  648.743810] [drm:edid_is_valid] *ERROR* Raw EDID:
[  648.743847] radeon 0000:01:00.0: VGA-1: EDID invalid.
Comment 3 Alex Deucher 2011-10-04 06:17:19 UTC
Is this still an issue with a more recent kernel?
Comment 4 Ľuboš Katrinec 2011-10-05 01:26:05 UTC
(In reply to comment #3)
> Is this still an issue with a more recent kernel?

I can't check, my notebook with this card has died.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.