Bug 24313 - Radeon HD 4350 No Signal with DVI
Summary: Radeon HD 4350 No Signal with DVI
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: xf86-video-ati maintainers
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-04 21:23 UTC by Darren Blaber
Modified: 2009-11-23 09:50 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Xorg log when connecting to DVI (72.24 KB, text/plain)
2009-10-04 21:23 UTC, Darren Blaber
no flags Details
Video Bios (60.50 KB, application/octet-stream)
2009-10-04 21:52 UTC, Darren Blaber
no flags Details
maybe wrong encoder? (506 bytes, patch)
2009-10-15 14:19 UTC, Alex Deucher
no flags Details | Splinter Review
disable coherent mode (856 bytes, patch)
2009-10-15 14:24 UTC, Alex Deucher
no flags Details | Splinter Review
Vesa Registers with avivotool (182.20 KB, text/plain)
2009-10-17 12:26 UTC, Darren Blaber
no flags Details
FGLRX Registers with avivotool (182.28 KB, text/plain)
2009-10-17 12:26 UTC, Darren Blaber
no flags Details
Radeon Registers with avivotool (182.23 KB, text/plain)
2009-10-17 12:27 UTC, Darren Blaber
no flags Details
Xorg log with the latest master. (75.32 KB, text/plain)
2009-10-21 15:32 UTC, Darren Blaber
no flags Details
force golden value (847 bytes, patch)
2009-11-21 09:50 UTC, Alex Deucher
no flags Details | Splinter Review

Description Darren Blaber 2009-10-04 21:23:33 UTC
Created attachment 30061 [details]
Xorg log when connecting to DVI

I own a Gigabyte Radeon HD 4350. When using the radeon driver, the video does not work.  I get a No Signal from my monitor.  I am using ubuntu 9.10, but other distros and versions all result in the same issue.  I get no signal even if I lower the resolution.  Video works fine with VGA, it is just DVI that has the issue. Xorg log is attached when connected to DVI.
Comment 1 Alex Deucher 2009-10-04 21:43:57 UTC
Can you attach a copy of your video bios?  As root:
cd /sys/bus/pci/devices/<pci bus id>
echo 1 > rom
cat rom > /tmp/vbios.rom
echo 0 > rom 
Comment 2 Darren Blaber 2009-10-04 21:52:17 UTC
Created attachment 30062 [details]
Video Bios

Video Bios is now attached.
Comment 3 Alex Deucher 2009-10-15 14:19:17 UTC
Created attachment 30460 [details] [review]
maybe wrong encoder?

Does the DVI port work during bootup before the radeon driver loads?  If not, this patch might help.
Comment 4 Alex Deucher 2009-10-15 14:24:03 UTC
Created attachment 30461 [details] [review]
disable coherent mode

you might also try disabling coherent mode.  some monitor's don't like it. You can disable coherent mode via xrandr:

xrandr --output DVI-0 --set coherent_mode 0
xrandr --output DVI-0 --mode 1024x768
xrandr --output DVI-0 --mode 1280x1024

You can also try this patch which will disable coherent mode by default.
Comment 5 Darren Blaber 2009-10-17 12:26:31 UTC
Created attachment 30503 [details]
Vesa Registers with avivotool

Turning off coherent mode did not help, and the video card video works fine before radeon is loaded. As per our discussion, I have attached registered from fglrx, vesa and radeon.
Comment 6 Darren Blaber 2009-10-17 12:26:53 UTC
Created attachment 30504 [details]
FGLRX Registers with avivotool
Comment 7 Darren Blaber 2009-10-17 12:27:15 UTC
Created attachment 30505 [details]
Radeon Registers with avivotool
Comment 8 Alex Deucher 2009-10-21 13:03:29 UTC
Does git master (specifically 66b194a78c470cb3978f310828dd96c3f3e96944) help?
Comment 9 Darren Blaber 2009-10-21 15:32:26 UTC
Created attachment 30605 [details]
Xorg log with the latest master. 

With the changes to master, I still have the same issues. Here is the new log file.
Comment 10 Darren Blaber 2009-10-21 16:28:39 UTC
I have also tried 

avivotool regset 0x430 0x00580000
avivotool regset 0x43c 0x0000000b
avivotool regset 0x468 0x00000003

Changing 0x430 made my monitor say invalid frequency, and then when setting 0x43c it reverted back to same condition.  Also tried the patch at http://pastebin.ca/1636140 , did not change the issue. 
Comment 11 Alex Deucher 2009-10-21 22:07:47 UTC
do any of these help?

avivotool regset 0x7ed8 0x10100041

avivotool regset 0x7ec0 0x00033333
avivotool regset 0x7ec4 0x00824002
avivotool regset 0x7ec8 0x19401401
avivotool regset 0x7f54 0x08070000
Comment 12 Darren Blaber 2009-10-21 22:24:39 UTC
avivotool regset 0x7ec4 0x00824002

Seems to bring back video to my monitor. 
Comment 13 Ancoron 2009-10-25 06:27:53 UTC
Is it safe to try those regsets on my HD2400 Pro?

As I am suffering from the same issue here.
Comment 14 Alex Deucher 2009-10-25 08:17:58 UTC
(In reply to comment #13)
> Is it safe to try those regsets on my HD2400 Pro?
> 
> As I am suffering from the same issue here.
> 

No, the display hardware is different.  Please open a new bug for your issue.
Comment 15 Alex Deucher 2009-11-21 09:50:24 UTC
Created attachment 31373 [details] [review]
force golden value

This patch should work around the issue until I have time to further debug why this gets set differently in some cases.
Comment 16 Alex Deucher 2009-11-23 09:50:41 UTC
committed:
b9eb2380df5145c85b2ef694a04628c055c47429


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.