Bug 24193

Summary: radeon, kms ,rv770 incorect display detection
Product: xorg Reporter: aaron <chainsawbike>
Component: Driver/RadeonAssignee: xf86-video-ati maintainers <xorg-driver-ati>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
tarball of logs etc
none
lspci -vn
none
rom none

Description aaron 2009-09-28 03:40:34 UTC
Created attachment 29920 [details]
tarball of logs etc

when i boot with kms enabled my secondary display only shows stuff till kms kicks in
i cannot get anything to output to it after x has started either
both displays works fine without kms

my graphics card has 3 outputs (one i assume is svid and 2 dvi )

xrandr shows 4 with 3 connected

attached dmesg, xrandr -q and xorg.log with and without kms
Comment 1 Alex Deucher 2009-09-28 07:55:41 UTC
You need to load fbcon to have the console use the framebuffer device provided by the drm.  Also, in the future, please attach files individually.  Make sure you are using the latest code from drm-next.
Comment 2 aaron 2009-09-28 15:51:03 UTC
(In reply to comment #1)
> You need to load fbcon to have the console use the framebuffer device provided
> by the drm.  Also, in the future, please attach files individually.  Make sure
> you are using the latest code from drm-next.
> 

my console works fine on one screen and afaik i have fbcon built-in
im using latest drm-next as of ~ 10 min before this bug was posted
Comment 3 aaron 2009-10-09 03:26:30 UTC
ive done some more poking-round and it is the plug intended for use with the hdmi adapter that is incorrectly detected with kms
Comment 4 aaron 2009-10-12 19:27:52 UTC
... and if i use a dvi -> vga adapter on that plug (and hook it up to my screen via a vga cable it works but looks less crisp than the other display ( ie a bit "fuzzy")

i also noticed that a few asus cards dont report things correctly - its an asus EAH4870 DK
Comment 5 Alex Deucher 2009-10-15 14:07:04 UTC
what connectors does your card actually have?  According to the driver it has:
- DIN (tv-out plug)
- HDMI
- VGA
- DVI

If it has different connectors let me know and we can add a quirk for your board.  Can you also attach your video bios?

As root:
cd /sys/bus/pci/devices/<pci bus id>
echo 1 > rom
cat rom > /tmp/vbios.rom
echo 0 > rom 

and finally, can you attach the output of lspci -vn?
Comment 6 Alex Deucher 2009-10-15 14:29:03 UTC
might be that your monitor doesn't like coherent mode.  I'm not sure there is a way to adjust that via kms yet.
Comment 7 aaron 2009-10-15 23:43:09 UTC
either screens work when plugged in to to the "working" dvi plug but i dont know what coherent mode does...

The card has 2 dvi and 1 din

  Will attach other stuff later
Comment 8 aaron 2009-10-16 04:41:12 UTC
Created attachment 30478 [details]
lspci -vn
Comment 9 aaron 2009-10-16 16:30:18 UTC
Created attachment 30491 [details]
rom
Comment 10 aaron 2009-10-27 19:13:25 UTC
updated to latest drm-next - both displays work fine now

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.