DaemonForums  

Go Back   DaemonForums > Miscellaneous > General Hardware

General Hardware General hardware related questions.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 2 Weeks Ago
dchmelik's Avatar
dchmelik dchmelik is offline
Real Name: David Melik
New User
 
Join Date: Oct 2017
Location: Washington state, USA
Posts: 9
Question AMD Radeon RX Vega (various) GPU cards on classic *BSD?

I'm aware classic *BSD mostly/all somehow imports some Linux drivers into a framework allowing them to be used with *BSD kernels. I'm trying to use an AMD Radeon RX Vega 64 (the Vega series is over a year old now) but wondering when it'd have full support sort of like AMDGPU-PRO (available for Redhat/RHEL/CentOS, SUSE/SLED/SLES, Ubuntu GNU/Linuxes)... meaning letting you compute with the GPU, not just use for 2D (or 3D, which is not so necessary for me.) What I heard on freenode IRC is that classic *BSD need a new Mesa so they can enable OpenCL. I looked at the Mesa website and it says it now supports the chip family name a.k.a. the Vega ones. How long would you say it might be until any stable NetBSD, FreeBSD/TrueOS, or OpenBSD might have this sort of support you could use OpenCL? I like to use it (forced to use a different OS on that PC, but I have a few PCs on my desktop) like for UC Berkeley's Open Infrastructure for Network Computing (BOINC) to support science and even get paid Gridcoin (GRC) doing that, but I'd like to eventually use OpenCL for such things on classic *BSD... most likely FreeBSD, or even TrueOS if I can set to boot to command-line rather than X (lately I just think graphical installers are occasionally nice.)
__________________
David
homesite mirror (most uptime) / homesite (updated first)
Reply With Quote
  #2   (View Single Post)  
Old 2 Weeks Ago
shep shep is offline
Real Name: Scott
Rc.conf Instructor
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,187
Default

This misc@openbsd.org post is enlightening:
https://marc.info/?l=openbsd-misc&m=152465462030464&w=2

The bottom line (both figuratively and literally)
Quote:
I have no plans regarding amdgpu.

Most people seem to be interested from the point of view of polaris/vega
which are not supported in linux 4.4. Ignoring the parts of the shared
drm/ttm code that would have to be updated the latest
drivers/gpu/drm/amd in linux has over 1.5 million lines of code. Which
is multiple times larger than the complete OpenBSD kernel source...
It may appear earlier in FreeBSD or NetBSD but Xorg is part of the base OpenBSD code and nothing goes into base until audited for security. No project volunteer is jumping up n down for the opportunity to audit 1.5M lines of code.
Reply With Quote
  #3   (View Single Post)  
Old 2 Weeks Ago
LeFrettchen's Avatar
LeFrettchen LeFrettchen is offline
Marveled user
 
Join Date: Aug 2012
Location: France
Posts: 334
Default

Quote:
Originally Posted by shep View Post
No project volunteer is jumping up n down for the opportunity to audit 1.5M lines of code.
Weird !
__________________
The secret of wisdom is not wisdom itself, it's the road that leads us there.
Reply With Quote
  #4   (View Single Post)  
Old 2 Weeks Ago
dchmelik's Avatar
dchmelik dchmelik is offline
Real Name: David Melik
New User
 
Join Date: Oct 2017
Location: Washington state, USA
Posts: 9
Default

Quote:
Originally Posted by shep View Post
No project volunteer is jumping up n down for the opportunity to audit 1.5M lines of code.
I can understand that. Mostly I used NetBSD & FreeBSD for desktop/workstation and OpenBSD for servers, but it's nice if OpenBSD still has KDE3. I got used to rolling updates and power/speed sounds nice, so I was leaning to FreeBSD for that desktop PC later. But maybe even for their (biggest?) project, 1.5 million lines is excessive, at least for a time...
__________________
David
homesite mirror (most uptime) / homesite (updated first)
Reply With Quote
  #5   (View Single Post)  
Old 3 Days Ago
dchmelik's Avatar
dchmelik dchmelik is offline
Real Name: David Melik
New User
 
Join Date: Oct 2017
Location: Washington state, USA
Posts: 9
Default

Apparently the required Mesa (18.3) is out, so if prerequisite drivers were ported from Linux, OpenCL should also be possible.

Of course, I know OpenBSD would have to audit every 1.4 million lines carefully. Is it about the same with NetBSD & FreeBSD?
__________________
David
homesite mirror (most uptime) / homesite (updated first)
Reply With Quote
  #6   (View Single Post)  
Old 3 Days Ago
shep shep is offline
Real Name: Scott
Rc.conf Instructor
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,187
Default

My bet would be that Vega graphics will show up in FreeBSD first.

There is already support for some GCN based cards


https://www.freshports.org/graphics/drm-next-kmod

https://svnweb.freebsd.org/ports/hea...77&view=markup

It is having some growing pains

https://forums.freebsd.org/threads/a...1/#post-406585
Reply With Quote
  #7   (View Single Post)  
Old 2 Days Ago
dchmelik's Avatar
dchmelik dchmelik is offline
Real Name: David Melik
New User
 
Join Date: Oct 2017
Location: Washington state, USA
Posts: 9
Default

Quote:
Originally Posted by shep View Post
There is already support for some GCN based cards
There are so many code-/category-/number-names for cards I'm confused. How do I know if that means my card is supported yet (even if there may be a few problems?)
__________________
David
homesite mirror (most uptime) / homesite (updated first)
Reply With Quote
  #8   (View Single Post)  
Old 2 Days Ago
fvgit's Avatar
fvgit fvgit is offline
Tempvs fvgit
 
Join Date: May 2016
Location: perl -MMIME::Base64 -le 'print decode_base64("SGVyZSBiZSBkcmFnb25zC")'
Posts: 151
Default

Quote:
Originally Posted by dchmelik View Post
Apparently the required Mesa (18.3) is out, so if prerequisite drivers were ported from Linux, OpenCL should also be possible.?
There was some talk about that on reddit not long ago. The gist of it was that besides the updated radeondrm in 6.4 a libLLVM enabled Mesa is required to support acceleration on GCN cards. But due to the way clang is compiled in base, libLLVM is not currently built and only availble in ports. Supposedly this is being worked on but will take time. Even though Mesa was updated in -current, the libLLVM thing needs to be solved.
Reply With Quote
  #9   (View Single Post)  
Old 2 Days Ago
Sensucht94's Avatar
Sensucht94 Sensucht94 is offline
Real Name: Paolo Vincenzo Olivo
Port Guard
 
Join Date: Oct 2017
Location: Rome
Posts: 42
Default

FreeBSD drm caught up with Linux 4.11 some months ago, and as shep mentioned,it does include amdgpu, but obviously support goes as far as Polaris, no Vega unfortunately . I think Linux' added Vega support in 4.15, which means the next major update has good chances of supporting it. However, the problem is that I don't see it happening any time soon,considering the frequency which the FreeBSD drm gets significant changes (once every 2 years or so)
__________________
Be the change you want to see in the World
Reply With Quote
Old 1 Day Ago
shep shep is offline
Real Name: Scott
Rc.conf Instructor
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,187
Default

Quote:
There are so many code-/category-/number-names for cards I'm confused. How do I know if that means my card is supported yet (even if there may be a few problems?)
The nomenclature is a mess and there is some overlap with Terrascale/GCN my APU will run the older Terrascale radeon drivers or the GCN-1.

https://en.wikipedia.org/wiki/Graphics_Core_Next
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
AMD Radeon card compatibility with the DragonFlyBSD Radeon driver. guitarfreak Other BSD and UNIX/UNIX-like 1 4th April 2014 01:47 PM
AMD Radeon cards supported by the Radeon driver for Current/5.5 guitarfreak OpenBSD General 3 4th April 2014 12:33 PM
Classic computer science or programming books in French thirdm Programming 6 27th May 2011 02:07 PM
Classic OpenBSD beastie wireframe? sigflup OpenBSD General 1 13th June 2010 02:12 PM
Classic Clips: Bill Gates Chews Out Microsoft Over XP TerryP Off-Topic 4 29th June 2008 08:01 PM


All times are GMT. The time now is 06:52 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick