Summary: | radeon driver incorrectly detects second monitor, causing single monitor to be treated as secondary (Xv overlay not visible by default, MergedFB active when it shouldn't be...) | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | Jacek Poplawski <jacekpoplawski> | ||||||||
Component: | Driver/Radeon | Assignee: | Xorg Project Team <xorg-team> | ||||||||
Status: | RESOLVED FIXED | QA Contact: | Xorg Project Team <xorg-team> | ||||||||
Severity: | normal | ||||||||||
Priority: | high | CC: | alexdeucher, benh, felipe.contreras, kiltharan, MasterJediYoda, sa | ||||||||
Version: | 7.2 (2007.02) | ||||||||||
Hardware: | x86 (IA32) | ||||||||||
OS: | Linux (All) | ||||||||||
Whiteboard: | |||||||||||
i915 platform: | i915 features: | ||||||||||
Attachments: |
|
Description
Jacek Poplawski
2006-01-17 05:37:44 UTC
I found good version! I was compiling different versions of xf86-driver-ati from CVS, and now I tried version from date: 2005-08-01 - with that driver I have XVideo working! Now I just need to find exact date of change and compare the sources :) Version from 2005-08-25 works correctly, version from 2005-08-26 is broken. Two files changed that day: driver/xf86-video-ati/src/radeon_bios.c driver/xf86-video-ati/src/radeon_mm_i2c.c I found the difference, and applied it against current CVS - and it works! Proposed patch: diff -Naur new/radeon_bios.c old/radeon_bios.c --- new/radeon_bios.c 2006-01-25 20:30:02.000000000 +0100 +++ old/radeon_bios.c 2006-01-25 20:30:22.000000000 +0100 @@ -216,8 +216,7 @@ if ((tmp = RADEON_BIOS16(info->ROMHeaderStart + 0x50))) { for (i = 1; i < 4; i++) { - if (!RADEON_BIOS16(tmp + i*2)) - break; /* end of table */ + if (!RADEON_BIOS8(tmp + i*2) && i > 1) break; /* end of table */ tmp0 = RADEON_BIOS16(tmp + i*2); if (((tmp0 >> 12) & 0x0f) == 0) continue; /* no connector */ No, the patch is wrong, it reverts a fix that fixed monitor detection on a wide range of machines. I odn't know what's up with Xv, I suspect it may be hitting the wrong CRTC. I need more infos to track this one down: - What connector does your card have and what kind of monitor is plugged on each of them - I need the X log from both working and non working versions - I need you to try switching the Xv CRTC with xvattr and attribute XV_SWITCH_CRT and let me know if that helps Thanks so it appears to be a crtc mapping issue since XV_SWITCH_CRT fixes the problem (http://lists.freedesktop.org/archives/xorg/2006-January/012534.html). perhaps the DDC lines are reversed on this card. Standard CRT monitor with standard VGA output, and yes - switching XV_SWITCH_CRT helps. Marketing name of this card is "Sapphire Radeon 9100", but in the following thread you can read about person with Radeon 9600 and same problem: http://bbs.archlinux.org/viewtopic.php?t=18112 *** Bug 2759 has been marked as a duplicate of this bug. *** See also bug 6796 for a PCI-E x800 user who has this problem. Fixed with Option "MonitorLayout" "TMDS,NONE". Changed summary (affects more than just specific range of cards), and version (still happens on 7.2). Also bug 5991 ("Wrong resolution when connecting an ati X800 PCIe via DVI") is related to monitor detection problems. I retract my words that bug 6796 describes a configuration with similar problem - at least it's not doing that anymore. On that configuration, there's no problem nowadays, the only problem happens when both DVI and VGA is used. Bug 5991 is closer to that. It might be that this bug is also fixed, because my original problem (or the second one of those, later separated to be related to this bug while the other part continued to live in 6796 and was finally fixed) is not there anymore. Back then, also using just DVI or DVI+TV-Out showed the problem, now they are both working fine with full resolution. All in all, could you check this out with the latest GIT driver, Jacek? I have same problem here with new R 9100 DVI/TV. First of all my old Radeon 9000 DVI/VIVO detects my monitor correctly via DDC (SyncMaster 710N) but on 9100 iv got to add monitor V/H sunc to xorg.conf to see normal 1280x1024 resolution. The all xv apps like mplayer shows me only black window and it seems Option "MonitorLayout" "CRT, NONE" fix this one for me. Tested with recent git snap of coz. I am sorry, I can't check 9100 anymore, I switched to Radeon 9800 Pro (which is r300) some time ago. *** Bug 8229 has been marked as a duplicate of this bug. *** Sorry about the phenomenal bug spam, guys. Adding xorg-team@ to the QA contact so bugs don't get lost in future. I'm having the same problem with a Radeon 9100. This card has VGA, S-Video and a DVI port. I have a TFT monitor connected to the VGA port. I'm not getting Xv, but setting XV_SWITCHCRT or specifying "MonitorLayout" "CRT, NONE" as a work around works. 01:00.0 VGA compatible controller: ATI Technologies Inc Radeon R200 QM [Radeon 9100] I'm attaching my xorg.conf and log files from when Xv does not work, and when I use "MonitorLayout" "CRT, NONE". Created attachment 9347 [details]
xorg.conf, no xv with this configuration
Created attachment 9348 [details]
Log file, no xv
Created attachment 9349 [details]
Logfile, MonitorLayout CRT NONE
this should be fixed in ati git master. please reopen if you still have problems. |
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.