amd drivers

Questions about Wine on Linux
Post Reply
rinus11
Newbie
Newbie
Posts: 4
Joined: Sun Sep 29, 2019 2:37 am

amd drivers

Post by rinus11 » Sun Sep 29, 2019 2:44 am

i have amd rx 570 but wine detect amd hd 5600 on linux mint 19 or wine give a warning no display adapter installed

User avatar
Bob Wya
Level 12
Level 12
Posts: 2762
Joined: Sat Oct 16, 2010 7:40 pm
Location: Cambridge
Contact:

Re: amd drivers

Post by Bob Wya » Sun Sep 29, 2019 8:29 am

@rinus11

Yeah,

The current Wine hardware ID table runs out after the original AMD Polaris cards:

Code: Select all

    398     {HW_VENDOR_AMD,        CARD_AMD_RADEON_RX_460,         "Radeon(TM) RX 460 Graphics",       DRIVER_AMD_RX,           4096},
    399     {HW_VENDOR_AMD,        CARD_AMD_RADEON_RX_480,         "Radeon (TM) RX 480 Graphics",      DRIVER_AMD_RX,           4096},
    400     {HW_VENDOR_AMD,        CARD_AMD_RADEON_RX_VEGA_10,     "Radeon RX Vega",                   DRIVER_AMD_RX,           8192},
    401     {HW_VENDOR_AMD,        CARD_AMD_RADEON_RX_VEGA_12,     "Radeon Pro Vega 20",               DRIVER_AMD_RX,           4096},
    402     {HW_VENDOR_AMD,        CARD_AMD_RADEON_RX_VEGA_20,     "Radeon RX Vega 20",                DRIVER_AMD_RX,           4096},
    403 
Wine uses the AMD fallback card table (for graphics cards not in the main AMD table):

Code: Select all

    722     card_fallback_amd[] =
    723     {
    724         {WINED3D_FEATURE_LEVEL_5,     CARD_AMD_RAGE_128PRO},
    725         {WINED3D_FEATURE_LEVEL_7,     CARD_AMD_RADEON_7200},
    726         {WINED3D_FEATURE_LEVEL_8,     CARD_AMD_RADEON_8500},
    727         {WINED3D_FEATURE_LEVEL_9_1,   CARD_AMD_RADEON_9500},
    728         {WINED3D_FEATURE_LEVEL_9_3,   CARD_AMD_RADEON_X1600},
    729         {WINED3D_FEATURE_LEVEL_10,    CARD_AMD_RADEON_HD2900},
    730         {WINED3D_FEATURE_LEVEL_11,    CARD_AMD_RADEON_HD5600},
    731         {WINED3D_FEATURE_LEVEL_NONE},
    732     },
If you post the output from:

Code: Select all

lspci -nn | grep VGA
glxinfo -B
Then it is easy enough to submit a patch, to Wine, to add in your RX 570 card.

Bob

rinus11
Newbie
Newbie
Posts: 4
Joined: Sun Sep 29, 2019 2:37 am

Re: amd drivers

Post by rinus11 » Sun Sep 29, 2019 9:35 am

lspci -nn | grep VGA
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X] [1002:67df] (rev ef)
name of display: :0
display: :0 screen: 0
direct rendering: Yes
Memory info (GL_ATI_meminfo):
VBO free memory - total: 3573 MB, largest block: 3058 MB
VBO free aux. memory - total: 15207 MB, largest block: 11976 MB
Texture free memory - total: 3573 MB, largest block: 3058 MB
Texture free aux. memory - total: 15207 MB, largest block: 11976 MB
Renderbuffer free memory - total: 3573 MB, largest block: 3058 MB
Renderbuffer free aux. memory - total: 15207 MB, largest block: 11976 MB
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: Radeon RX 570 Series
OpenGL core profile version string: 4.6.13572 Core Profile Context 5.0.73
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6.13572 Compatibility Profile Context 5.0.73
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: 4.6.13572 Compatibility Profile Context 5.0.73
OpenGL ES profile shading language version string: 4.60

Cybermax
Level 4
Level 4
Posts: 188
Joined: Fri Dec 01, 2017 5:26 pm

Re: amd drivers

Post by Cybermax » Tue Oct 01, 2019 1:46 am

It was not immediately clear to me that the pciid 1002:67df was ONLY radeon rx570.
[Radeon RX 470/480/570/570X/580/580X] seemed to be somewhat of a wide possibility?

I mean, could you have a Radeon RX 580x with the pciid of: 1002:67df?

rinus11
Newbie
Newbie
Posts: 4
Joined: Sun Sep 29, 2019 2:37 am

Re: amd drivers

Post by rinus11 » Tue Oct 01, 2019 9:31 pm

I have and radeon rx570

rinus11
Newbie
Newbie
Posts: 4
Joined: Sun Sep 29, 2019 2:37 am

Re: amd drivers

Post by rinus11 » Tue Oct 01, 2019 9:34 pm

Linux use same drivers for all those card from rx470 - rx580x I'm using the drivers I downloaded from and site

Post Reply