Radeon HD driver status update

Blog post by kallisti5 on Tue, 2011-10-18 17:11

UPDATE 10/19/2011! Older Radeon HD cards seem fully working minus HDMI. See below.

After several months of hard work (including some redesign of the driver) basic mode setting is working on a small number of Radeon HD cards after r42877. I am using the AMD AtomBIOS parser which executes binary functions on the Radeon HD card to do the real register hitting.

Limitations:

  • No 2D acceleration - 2D acceleration hasn't been started yet. These cards are fast without it however.
  • TV not working - I haven't put a lot of focus on TV just yet
  • Later cards - Radeon HD 5xxx+ cards are still having issues
  • DIG encoders - Later (r700?) Radeon cards can have DIG encoders. These are like digital encoders... but newer and not done yet.

Features:

  • Connector walking - We walk over all possible connectors and probe EDID data on each.
  • Multi-monitor - We can easily support multiple monitors in the driver. We just need to tie in the Screen Preflet code to make it happen. For the moment we set the same VESA EDID video mode on each attached display and get mirroring (as long as your displays are identical).
  • Monitor detection - We can manually trigger monitor detection (in the code, needs a Screen Preflet option) and set the initial mode on each display, hotplug support is planned.
  • Analog video - VGA, DVI-A, DVI-I (VGA)
  • Digital video - DVI-I (digital)

Card support:

  • Radeon HD 2350 - Radeon HD 3450 - Analog / Digital (minus HDMI) working
  • Radeon HD 3470 - Radeon HD 4890 - Unknown. Please test!
  • Radeon HD 5450+ - Analog mode change works, no video. Digital DIG encoder not complete

Things should get smoother at this point as we have a working video for reference.

The radeon_hd driver should be in the nightly images starting with r42888+. If you have a Radeon HD card, feel free to report functionality here or by emailing me.

In closing, for those "pictures or it didn't happen" people... http://twitpic.com/71xhll

Comments

Re: Radeon HD driver status update

Excellent!

Thanks a lot for your work, Alexander. It is appreciated!

Re: Radeon HD driver status update

Wonderful! There is much joy in Haiku Land :) Thanks for all your hard work.

David

Re: Radeon HD driver status update

If you need someone with an ATI X1650 to test out some drivers I'm available to help.
Good work though, it's great to see that Haiku is getting better with every passing day.

Re: Radeon HD driver status update

I have an AMD C-50 netbook that I wish to dedicate to haiku once the ati driver is complete.
I have tested the latest haiku build but the correct screen resolution is still not detected.
The gpu is a Radeon HD 6250.
I'll also test the same build on my pc with a HD 4880 gpu.
If i can provide you with any more info and testing on this hardware I am glad to help.

Re: Radeon HD driver status update

Please note that you currently need to build the driver yourself:

kallisti5 wrote:

Keep in mind this driver is not yet in the nightly images as a failure could result in a non-booting Haiku system at this stage.

Re: Radeon HD driver status update

luroh wrote:

Please note that you currently need to build the driver yourself:

kallisti5 wrote:

Keep in mind this driver is not yet in the nightly images as a failure could result in a non-booting Haiku system at this stage.

links and info removed as Radeon HD has been enabled in the nightlys.

Re: Radeon HD driver status update

hehe

Now I got a beautiful buzzy green screen ;)
but it's a different result

Screen = LG Flatron E2240S VGA with HDMI adapt.
Card = XFX Radeon HD 5550 with HDMI output

Re: Radeon HD driver status update

Yeah, I got negative results on 5xxx cards as well.

I wouldn't expect HDMI to work however just yet.

Re: Radeon HD driver status update

Hi Alexander. Just downloaded r42889 and booted it off a USB stick. My Mobility 5650 wasn't detected by the driver so it reverted back to VESA. Makes sense since you disabled the 5xxx series, right?

Cheers.

Re: Radeon HD driver status update

I got the latest build too and still no go on my 6250. Back to VESA.

Re: Radeon HD driver status update

Yeah. it seems anything over Radeon HD 3xxx is broken at the moment.

I'm actively trying to figure our where the quirk is.

Thanks for testing!

Re: Radeon HD driver status update

First thanks a lot for your detailed report what are you doing and what you archived by now.

I feel there is a need for more information about Haiku developement.

I have a Radeon HD4650 here and this card was recognized by your driver. I get a blue distorted Screen now. At least it shows that the card will work after some more work.

Keep up your hard work...

Re: Radeon HD driver status update

Yeah, I can confirm the same blue screen on my 4350.

The blank screen seems to be what is seen across the board on 4xxx+.

If you press the buttons on your monitor, you usually will see the proper resolution in the information screen. It seems to be an issue with the encoders, or frame buffer as far as I can tell.

Re: Radeon HD driver status update

Yesterday I tested nightly which should have your new driver. Card is HD4850 and is connected using DVI. Boot ends up with nice white screen every time. Since failsafe video from boot options works and loads desktop nicely, it looks like that my card or at least DVI with it is not yet supported.

Re: Radeon HD driver status update

@Garjala

Wait for the post r42931 nightly.. You may be pleasantly surprised at the results on Radeon HD 4xxx cards :D

http://twitpic.com/770mji

Re: Radeon HD driver status update

hi kallisti5

Haiku r42930 gcc4 hybrid

my laptop have a mobility radeon hd 2600 (m72) recognized from haiku on radeon hd 3600(rv630)

i have an external monitor also on hdmi port

it works only if switch on external monitor on boot (fn + f8 external-switch)

step 1 haiku boot on external monitor

step 2 haiku load desktop on laptop monitor and external monitor goes off

step 3 after 1-2 seconds i have haiku on clonemode on all two screens

on "screen settings" it recognize "AU optronic 15.4 monitor" from laptop but i have set the resolution to 1280x1024 (external monitor)

all two screen are in native pixel format 1280x1024 and 1280x800 (i think spaces are cutted on boottom)

-------------------------------------------

if i run haiku from laptop monitor, i can see boot operations and after a blackscreen (i think overrefresh or not recognize correct resolution)

Re: Radeon HD driver status update

I just tested and I have to say that your driver is _REALLY_ close to functional with my HD4850, but still not there yet. After disabling ACPI (I always need that safe mode option for some reason) I got it booting, but when picture appears it looks like someone distorted the image a bit and then shredded it to several stripes which are neither horizontal nor vertical, but something in between.

In any case you are really close with your driver. It is probably some very small detail which prevents if from functioning correctly. If you need more information about my HW, just let me know.

Keep up good work!

EDIT: Cannot test HD6870 after all. Computer with it does not boot with Haiku at all even with pretty much all safemode options on. Any tips making Gigabyte 890GPA-UD3H and AMD 1090T (6-core Thuban) to boot with Haiku?

Re: Radeon HD driver status update

I think you should bug-report if you need to disable ACPI, you either have ACPI or IRQ issues, but without bug and info we can't do much. Help Haiku get better!

Re: Radeon HD driver status update

Starting with today's build r42942 the driver for my AMD C-50 apu is getting loaded but is bugged. But it seems the correct resolution is loaded.
Here is a screenshot. http://imageshack.us/photo/my-images/191/001copyo.jpg/

Re: Radeon HD driver status update

Thats is almost exactly what I am getting with my HD4850. Really close, but not yet there.

Re: Radeon HD driver status update

I also have a workstation with a HD4850 gpu. But Haiku doesn't boot at all on this machine.

Re: Radeon HD driver status update

I get same result with my AMD E350 based laptop. Boots nicely, but video is borked in exactly same way.

Re: Radeon HD driver status update

Hi,

very good job...

my HD 4650 is working now...(1920 x 1080, 32Bits/Pixel, 60Hz) on Samsung SMB2230HD 21.5)
with the nightly built from 29-10-2011.

before this it was not... see my older post above...

... the card is now recognized by Haiku as: HD 4710 (r730)

works very well but no acceleration? Teapot is spinning with: 150 fps...

need some more infos?

how to test it some more?

Still working with newest nightly built from 13.Nov.2011

Re: Radeon HD driver status update

mobility radeon hd 2600 (m72/rv630) on external monitor hdmi (also clonemode on laptop monitor)

http://i.imgur.com/gElV0.jpg

http://i.imgur.com/CSkqf.jpg