Will radeon hd cards ever have 3d acceleration..?

seed

New Member


Messages: 11

#1
So I see rx cards have some experimental support with drm-next-kmod on FreeBSD 12. But from what I can see, there is absolutely no 3D acceleration for Radeon HD cards, such as my HD5670, HD7770 and so on.

Will this ever be a thing? Nvidia drivers are probably only going to get even more broken anyways.
 

shkhln

Well-Known Member

Thanks: 84
Messages: 266

#2
So I see rx cards have some experimental support with drm-next-kmod on freebsd 12
This port isn't experimental and it works with FreeBSD 11.2.

but from what I can see, there is absolutely no 3d acceleration for radeon hd cards, such as my hd 5670, hd 7770 and so on.
Well, this wiki page claims 3d support for HD 5670 with radeon/radeonkms driver already bundled with FreeBSD (not exactly that card but it does mention Redwood); HD 7770 should work with radeonkms from drm-stable-kmod/drm-next-kmod.

Nvidia drivers are probably only going to get even more broken anyways
For all my extensive complaining here, their cards still beat the shit out of AMD's offerings. Especially older AMD cards which are not supported by relatively new amdgpu/radv drivers.
 

kpedersen

Daemon

Thanks: 373
Messages: 1,217

#3
I can honestly see NVIDIA pulling the plug on FreeBSD drivers in the not so distant future. It would possibly be best to focus on the AMD hardware (Or better yet, when Intel soon releases their new discrete card range because they support open drivers).

However, I was on the understanding that it was all working well? In the manpage it lists 3D acceleration for many cards.

https://www.freebsd.org/cgi/man.cgi?query=radeon

I have a Radeon AX<something_ill_check_tonight> and it is working well for 3D since FreeBSD 10+.
 

kpedersen

Daemon

Thanks: 373
Messages: 1,217

#5
What makes you think that?
Just a hunch, I have no hard sources (I should have made that clear in my original post). However when talking to NVIDIA at events like SIGGRAPH, they rarely show any enthusiasm for FreeBSD or Solaris support.

They also have no plans to support CUDA on FreeBSD which in my opinion has almost more merit on this platform than actual display drivers.

But the biggest one for me is; why should they? Don't get me wrong, FreeBSD *is* great but they are the ones we need to keep convincing and as far as I know we might even take less priority than Solaris. I would actually be very interested to know what their incentive is? I don't imagine they get much monetary benefits from us as a community.
 

shepper

Aspiring Daemon

Thanks: 246
Messages: 737

#6
So I see rx cards have some experimental support with drm-next-kmod on FreeBSD 12. But from what I can see, there is absolutely no 3D acceleration for Radeon HD cards, such as my HD5670, HD7770 and so on.
I have 3D acceleration w/ an A6-5400K apu that uses HD 7540D in OpenBSD. OpenBSD shares the same drm/mesa components as FreeBSD. About a year ago these were a bargain - I got mine bundled with an Asus mobo for $90USD. A6-5400K are harder to find now although the A4-4000 is still readily available at most online retailers.
http://daemonforums.org/showpost.php?p=61306&postcount=96

The main issue going forward is that the newer amdgpu kernel code is massive - an openbsd developer noted that the source was nearly as big as the kernel itself. It will require a significant resource investment to import it.
 

shkhln

Well-Known Member

Thanks: 84
Messages: 266

#7
I would actually be very interested to know what their incentive is?
I'd say a decent binary driver is the best defense against people reverse engineering their software, but then FreeBSD community is too small to make any impact on that front. On other hand, Nvidia already has done hard work abstracting their driver from OS specifics. Maintaining 8 kloc shim likely doesn't take much effort. Why drop it? They are also quite dedicated to supporting old GPUs with legacy driver branches, there is no direct monetary gain there either.
 

SirDice

Administrator
Staff member
Administrator
Moderator

Thanks: 6,516
Messages: 27,956

#8
On other hand, Nvidia already has done hard work abstracting their driver from OS specifics.
This is something everyone always overlooks, the NVidia driver is exactly the same for Windows, Linux, FreeBSD and Solaris. Only the "glue" for each OS is different, the code that does the actual work is 100% the same.
 

kpedersen

Daemon

Thanks: 373
Messages: 1,217

#9
Yep that's fair enough. I also hope you are right and that I am proven wrong :p

That said, now that the AMD radeon support has come a long way (actually its seemingly perfect for my uses these days), I currently can't justify going with NVidia any more. I also think closed-source proprietary drivers are a little old fashioned, especially now that they have programmable firmware to keep us under control anyway ;)
 

shkhln

Well-Known Member

Thanks: 84
Messages: 266

#10
This is something everyone always overlooks, the NVidia driver is exactly the same for Windows, Linux, FreeBSD and Solaris. Only the "glue" for each OS is different, the code that does the actual work is 100% the same.
The fun part is that nvidia kernel module uses exactly the same blob for Linux and FreeBSD. Curiously enough, blobs from nvidia-modeset differ. (Not sure if there is any reason for that, I found them interchangeable in practice.)

They also have no plans to support CUDA on FreeBSD which in my opinion has almost more merit on this platform than actual display drivers.
LinuxKPI stuff should make porting nvidia-uvm a little bit less intimidating task, if somebody wants to try that. Way above my competence level, though. (I don't think I hate myself this much either.) The client library, libcuda.so, can be glibc-shimmed. Whether there is a way to coerce SDK into producing native FreeBSD binaries I do not know.
 
Top