[Bug 18393] New: Failed to detect monitor connection
![](https://seccdn.libravatar.org/avatar/6eb80c8e3531bc08a694e737dd6601aa.jpg?s=120&d=mm&r=g)
http://bugs.freedesktop.org/show_bug.cgi?id=18393 Summary: Failed to detect monitor connection Product: xorg Version: git Platform: Other OS/Version: FreeBSD Status: NEW Severity: normal Priority: medium Component: Driver/radeonhd AssignedTo: lverhaegen@suse.de ReportedBy: jkim@FreeBSD.org QAContact: xorg-team@lists.x.org Created an attachment (id=20080) --> (http://bugs.freedesktop.org/attachment.cgi?id=20080) verbose log with git version Motherboard: Foxconn A7GM-S (RS780) Sense() always fails to detected VGA monitor and HPD for HDMI port always succeeds. -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ xorg-team mailing list xorg-team@lists.x.org http://lists.x.org/mailman/listinfo/xorg-team -- To unsubscribe, e-mail: radeonhd+unsubscribe@opensuse.org For additional commands, e-mail: radeonhd+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/6eb80c8e3531bc08a694e737dd6601aa.jpg?s=120&d=mm&r=g)
http://bugs.freedesktop.org/show_bug.cgi?id=18393
--- Comment #1 from Jung-uk Kim
![](https://seccdn.libravatar.org/avatar/6eb80c8e3531bc08a694e737dd6601aa.jpg?s=120&d=mm&r=g)
http://bugs.freedesktop.org/show_bug.cgi?id=18393
--- Comment #2 from Jung-uk Kim
![](https://seccdn.libravatar.org/avatar/6eb80c8e3531bc08a694e737dd6601aa.jpg?s=120&d=mm&r=g)
http://bugs.freedesktop.org/show_bug.cgi?id=18393
--- Comment #3 from Jung-uk Kim
![](https://seccdn.libravatar.org/avatar/6eb80c8e3531bc08a694e737dd6601aa.jpg?s=120&d=mm&r=g)
http://bugs.freedesktop.org/show_bug.cgi?id=18393
Egbert Eich
![](https://seccdn.libravatar.org/avatar/6eb80c8e3531bc08a694e737dd6601aa.jpg?s=120&d=mm&r=g)
http://bugs.freedesktop.org/show_bug.cgi?id=18393
Jung-uk Kim
![](https://seccdn.libravatar.org/avatar/6eb80c8e3531bc08a694e737dd6601aa.jpg?s=120&d=mm&r=g)
http://bugs.freedesktop.org/show_bug.cgi?id=18393
Jung-uk Kim
![](https://seccdn.libravatar.org/avatar/6eb80c8e3531bc08a694e737dd6601aa.jpg?s=120&d=mm&r=g)
http://bugs.freedesktop.org/show_bug.cgi?id=18393
--- Comment #4 from Egbert Eich
![](https://seccdn.libravatar.org/avatar/6eb80c8e3531bc08a694e737dd6601aa.jpg?s=120&d=mm&r=g)
http://bugs.freedesktop.org/show_bug.cgi?id=18393
--- Comment #5 from Jung-uk Kim
Kim, I'm a little reluctant to do something like the first patch as this is the first time we are running into this issue. I would prefer to find out why sensing isn't working for you. Could you please run rhd_conntest, for the case of a. nothing connected b. VGA connected c. DVI connected
Please note the rhd_conntest only works for Linux with procfs or sysfs because libpci does not fill sizes. I had to hack rhd_conntest.c to do it. Also note that I do not have DVI monitor to test. a. nothing connected rhd_conntest: v1.2.3, git branch master, commit 680f05ac + changes Checking connectors on 0x9610, 0x105B, 0x0E0F (@01:05:00): Load Detection: RHD_OUTPUT_NONE HotPlug: RHD_HPD_0 RHD_HPD_2 DDC: RHD_DDC_NONE b. VGA connected rhd_conntest: v1.2.3, git branch master, commit 680f05ac + changes Checking connectors on 0x9610, 0x105B, 0x0E0F (@01:05:00): Load Detection: RHD_OUTPUT_NONE HotPlug: RHD_HPD_0 RHD_HPD_2 DDC: RHD_DDC_0
This may get us some information on what's going on. Thanks!
A note on the side: the change to rhd_randr.c should not matter. There is a set of brackets missing, but this should be irrelevant, too.
I know but it was confusing because of the indentation. ;-) Thanks! -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ xorg-team mailing list xorg-team@lists.x.org http://lists.x.org/mailman/listinfo/xorg-team -- To unsubscribe, e-mail: radeonhd+unsubscribe@opensuse.org For additional commands, e-mail: radeonhd+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/6eb80c8e3531bc08a694e737dd6601aa.jpg?s=120&d=mm&r=g)
http://bugs.freedesktop.org/show_bug.cgi?id=18393
--- Comment #6 from Jung-uk Kim
![](https://seccdn.libravatar.org/avatar/6eb80c8e3531bc08a694e737dd6601aa.jpg?s=120&d=mm&r=g)
http://bugs.freedesktop.org/show_bug.cgi?id=18393
--- Comment #7 from SEanS
http://bugs.freedesktop.org/show_bug.cgi?id=18393
--- Comment #4 from Egbert Eich
2008-11-10 14:22:15 PST --- Kim, I'm a little reluctant to do something like the first patch as this is the first time we are running into this issue. I would prefer to find out why sensing isn't working for you. Could you please run rhd_conntest, for the case of a. nothing connected b. VGA connected c. DVI connected This may get us some information on what's going on. Thanks! A note on the side: the change to rhd_randr.c should not matter. There is a set of brackets missing, but this should be irrelevant, too.
-- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ xorg-team mailing list xorg-team@lists.x.org http://lists.x.org/mailman/listinfo/xorg-team -- To unsubscribe, e-mail: radeonhd+unsubscribe@opensuse.org
For additional commands, e-mail: radeonhd+help@opensuse.org
-- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ xorg-team mailing list xorg-team@lists.x.org http://lists.x.org/mailman/listinfo/xorg-team -- To unsubscribe, e-mail: radeonhd+unsubscribe@opensuse.org For additional commands, e-mail: radeonhd+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/6eb80c8e3531bc08a694e737dd6601aa.jpg?s=120&d=mm&r=g)
http://bugs.freedesktop.org/show_bug.cgi?id=18393
Egbert Eich
A note on the side: the change to rhd_randr.c should not matter. There is a set of brackets missing, but this should be irrelevant, too.
I know but it was confusing because of the indentation. ;-) Right. Saw that, should be fixed now :)
Thanks for hanging in so patiently :) -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ xorg-team mailing list xorg-team@lists.x.org http://lists.x.org/mailman/listinfo/xorg-team -- To unsubscribe, e-mail: radeonhd+unsubscribe@opensuse.org For additional commands, e-mail: radeonhd+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/6eb80c8e3531bc08a694e737dd6601aa.jpg?s=120&d=mm&r=g)
http://bugs.freedesktop.org/show_bug.cgi?id=18393
--- Comment #9 from Jung-uk Kim
Kim, a. on FreeBSD you don't get the sizes filled in when you call pci_fill_info() with PCI_FILL_SIZES? bummer! I agree that this call needs to be added and we also need some fallback if the sizes are not filled in. So your rhd_conntest fix looks ok. I may probably wrap things with '#if defined (__FreeBSD__)' for now.
I see that you already checked it in. Thanks. However, I believe it is more like this: @@ -547,7 +547,7 @@ MapBar(struct pci_dev *device, int ioBar, int devMem) pci_fill_info(device, PCI_FILL_BASES | PCI_FILL_SIZES); if (!device->base_addr[ioBar] -#if !defined (__FreeBSD__) +#if defined (__linux__) || !device->size[ioBar] #endif ) or you don't want to check at all because only Linux with procfs or sysfs fills it up by default, as I said. For other platforms, libpci does/can not fill the sizes according to libpci sources.
b. Could you switch to use AtomBIOS and see if load detection works there? If it does i need to have a look at your BIOS. To do this please add the option: Option "UseAtomBIOS" "yes" to the device section of your xorg.conf and create a logverbose 7 log for the output.
Yes, it does. However, it fails to restore previous text mode when it exits. I will attach two ROMs, one for HDMI and one for DVI. This board has both HDMI and DVI ports and one of them can be selected from BIOS. By selecting the option, corresponding VGA ROM is loaded when BIOS is POST'ed.
I'm going to mark HPD as broken for your chip for now.
I see you also checked it in. Thanks, the HPD is properly black-listed for both HDMI and DVI cases.
c.
A note on the side: the change to rhd_randr.c should not matter. There is a set of brackets missing, but this should be irrelevant, too.
I know but it was confusing because of the indentation. ;-) Right. Saw that, should be fixed now :)
:-)
Thanks for hanging in so patiently :)
Thank YOU for listening to my whining. ;-) -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ xorg-team mailing list xorg-team@lists.x.org http://lists.x.org/mailman/listinfo/xorg-team -- To unsubscribe, e-mail: radeonhd+unsubscribe@opensuse.org For additional commands, e-mail: radeonhd+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/6eb80c8e3531bc08a694e737dd6601aa.jpg?s=120&d=mm&r=g)
http://bugs.freedesktop.org/show_bug.cgi?id=18393
--- Comment #10 from Jung-uk Kim
![](https://seccdn.libravatar.org/avatar/6eb80c8e3531bc08a694e737dd6601aa.jpg?s=120&d=mm&r=g)
http://bugs.freedesktop.org/show_bug.cgi?id=18393
--- Comment #11 from Jung-uk Kim
![](https://seccdn.libravatar.org/avatar/6eb80c8e3531bc08a694e737dd6601aa.jpg?s=120&d=mm&r=g)
http://bugs.freedesktop.org/show_bug.cgi?id=18393
--- Comment #12 from Jung-uk Kim
![](https://seccdn.libravatar.org/avatar/6eb80c8e3531bc08a694e737dd6601aa.jpg?s=120&d=mm&r=g)
http://bugs.freedesktop.org/show_bug.cgi?id=18393
--- Comment #13 from Jung-uk Kim
![](https://seccdn.libravatar.org/avatar/6eb80c8e3531bc08a694e737dd6601aa.jpg?s=120&d=mm&r=g)
http://bugs.freedesktop.org/show_bug.cgi?id=18393
--- Comment #14 from Jung-uk Kim
![](https://seccdn.libravatar.org/avatar/6eb80c8e3531bc08a694e737dd6601aa.jpg?s=120&d=mm&r=g)
http://bugs.freedesktop.org/show_bug.cgi?id=18393
--- Comment #15 from Egbert Eich
![](https://seccdn.libravatar.org/avatar/6eb80c8e3531bc08a694e737dd6601aa.jpg?s=120&d=mm&r=g)
http://bugs.freedesktop.org/show_bug.cgi?id=18393
--- Comment #16 from Jung-uk Kim
![](https://seccdn.libravatar.org/avatar/6eb80c8e3531bc08a694e737dd6601aa.jpg?s=120&d=mm&r=g)
http://bugs.freedesktop.org/show_bug.cgi?id=18393
--- Comment #17 from Jung-uk Kim
![](https://seccdn.libravatar.org/avatar/6eb80c8e3531bc08a694e737dd6601aa.jpg?s=120&d=mm&r=g)
http://bugs.freedesktop.org/show_bug.cgi?id=18393
Egbert Eich
![](https://seccdn.libravatar.org/avatar/6eb80c8e3531bc08a694e737dd6601aa.jpg?s=120&d=mm&r=g)
http://bugs.freedesktop.org/show_bug.cgi?id=18393
--- Comment #19 from Jung-uk Kim
Kim, it could be a valid workaround.
Great.
With the autodetection logic Could you check if the values are oscillating by printing them for every retry?
It always returns 0 until it gets the right value.
Have you tried to enable the wait algorithm at the beginning of the function by changing the #if 0 to an #if 1?
I just tried it but it didn't make a difference. -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ xorg-team mailing list xorg-team@lists.x.org http://lists.x.org/mailman/listinfo/xorg-team -- To unsubscribe, e-mail: radeonhd+unsubscribe@opensuse.org For additional commands, e-mail: radeonhd+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/6eb80c8e3531bc08a694e737dd6601aa.jpg?s=120&d=mm&r=g)
http://bugs.freedesktop.org/show_bug.cgi?id=18393
--- Comment #20 from Jung-uk Kim
![](https://seccdn.libravatar.org/avatar/6eb80c8e3531bc08a694e737dd6601aa.jpg?s=120&d=mm&r=g)
http://bugs.freedesktop.org/show_bug.cgi?id=18393
Egbert Eich
![](https://seccdn.libravatar.org/avatar/6eb80c8e3531bc08a694e737dd6601aa.jpg?s=120&d=mm&r=g)
http://bugs.freedesktop.org/show_bug.cgi?id=18393
Jung-uk Kim
![](https://seccdn.libravatar.org/avatar/6eb80c8e3531bc08a694e737dd6601aa.jpg?s=120&d=mm&r=g)
https://bugs.freedesktop.org/show_bug.cgi?id=18393
--- Comment #23 from Jeremy Huddleston
![](https://seccdn.libravatar.org/avatar/6eb80c8e3531bc08a694e737dd6601aa.jpg?s=120&d=mm&r=g)
https://bugs.freedesktop.org/show_bug.cgi?id=18393
Jeremy Huddleston
participants (1)
-
bugzilla-daemon@freedesktop.org