Software > User Zone

Graphics Card install

<< < (11/28) > >>

madscientist159:

--- Quote from: meklort on December 04, 2019, 11:32:55 pm ---This issue is due to Navi display support only being enabled for X86.
See here: https://github.com/torvalds/linux/blob/v5.4/drivers/gpu/drm/amd/display/Kconfig#L23
And here: https://github.com/torvalds/linux/blob/v5.4/drivers/gpu/drm/amd/display/dc/calcs/Makefile#L27
And here: https://github.com/torvalds/linux/blob/v5.4/drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c#L629

Basically, before this will work the following needs to happen:
Either the DC code needs to be modified to use integer match instead of floating point math or

* The kernel_fpu_begin / kernel_fpu_end APIs need to be added for POWER (currently only supported on x86 and s390)
* The KConfig files need to be updated to enable POWER in addition to X86
* The Makefiles need to be modified to not assume x86 (and sse / sse2)
--- End quote ---

Good catch.  It's generally considered bad form to use floating point in kernelspace for a number of reasons; this smells a bit more like a move to soft-lock AMD GPUs to AMD CPUs (thankfully one that can be worked around with developer time, but still not a great move).

@mauryg5 I'd return that card if I were you since I'd wager the box didn't mention the drivers only work on x86 (normally having Linux support means the device works anywhere -- I've only ever seen this once before where a device required x86 due to bad quality drivers, and I got a full refund in that case).  Either that or try to get a dev or two interested in fixing up the drivers to be properly compatible, but that might require funding the development or waiting for someone to be personally invested enough to make it happen.

MauryG5:
are you even telling me that maybe we will never have adequate support on the 5700s? This is a serious thing though ... honestly I'm not sure now what to do ... I might first try writing to AMD for clarification, who knows if they can give me some advice ... it would be a shame not to be able to use it after spending 500 euro and even if it is returned cmq a great sin ...

SiteAdmin:

--- Quote from: MauryG5 on December 05, 2019, 12:54:11 am ---are you even telling me that maybe we will never have adequate support on the 5700s? This is a serious thing though ... honestly I'm not sure now what to do ... I might first try writing to AMD for clarification, who knows if they can give me some advice ... it would be a shame not to be able to use it after spending 500 euro and even if it is returned cmq a great sin ...

--- End quote ---

No, it will eventually gain support, but Navi is still new.  The number of Linux developers that have Navi and a non-x86 system are likely not very high.  You could offer to loan the GPU and pay a developer to fix the drivers, or wait until market penetration is high enough that developers can pick up a second hand card on eBay or similar for cheap.  There's no shortcut here; it's either money or time unless you're lucky enough to get AMD to care about their broken drivers.  Our official stance is that a driver broken in this manner shouldn't have been accepted by the kernel maintainers in the first place, or at least marked Experimental.

MauryG5:
tell me exactly where I have to write, the address of the AMD support that takes care of the drivers, I have to tell them that the drivers currently in use have bugs that do not allow the correct functioning, to fix the bugs so that they can use the their 5700 cards without problems ... am I right?

meklort:
I've filed a bug report here, feel free to add comments to it:
https://gitlab.freedesktop.org/drm/amd/issues/984

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version