cancel
Showing results for 
Search instead for 
Did you mean: 

General Discussions

ROCm installation failure with amdgpu-pro 18.10 driver installed.

System Information.


CPU= i74790K
Motherboard = ASUS Z97 Deluxe NFC & Wireless.

GPU 1 = R9 Fury X

GPU 2 = R9 Nano.

GPU 3 = R9 Nano.

OS = Ubuntu 16.04 LTS

Downloaded and installed:

Radeon™ Software for Linux 18.10 Release Notes


I used the following installation command.
amdgpu-pro-install -y -opencl=legacy

Question 1. Is this the correct command to use to install OpenCL  for ROCm with this driver for R9 FuryX Nano Cards?
or should I be using amdgpu-pro-install -y -opencl=rocm?

I then went here: ROCm Install

followed the installation instructions to install ROCm and I hit this error during installation:

dpkg: error processing archive /var/cache/apt/archives/rock-dkms_1.8-151_all.deb (--unpack):

trying to overwrite '/usr/share/dkms/modules_to_force_install/amdgpu', which is also in package amdgpu-dkms 18.10-572953

dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)

Question 2. Does this indicate that the ROCm installation does not work with the amdgpu-pro 18.10 driver at all?
Question 3. Has anyone tested this with R9 FuryX or Nano Cards?

Thanks.

9 Replies

(1). I used the following command:

sudo dpkg -i --force-overwrite /var/cache/apt/archives/rock-dkms_1.8-151_all.deb
followed by:
(2). sudo apt-get install rocm-dkms rocm-opencl-dev
followed by:

(3). sudo reboot

On logging in again to Ubuntu I was then able to run the following g++ compile:

(4).  g++ -I /opt/rocm/opencl/include/ ./HelloWorld.cpp -o HelloWorld -L/opt/rocm/opencl/lib/x86_64 -lOpenCL

./HelloWorld.cpp: In function ‘_cl_command_queue* CreateCommandQueue(cl_context, _cl_device_id**)’:

./HelloWorld.cpp:116:20: warning: ‘_cl_command_queue* clCreateCommandQueue(cl_context, cl_device_id, cl_command_queue_properties, cl_int*)’ is deprecated [-Wdeprecated-declarations]

     commandQueue = clCreateCommandQueue(context, devices[0], 0, NULL);

                    ^

In file included from ./HelloWorld.cpp:23:0:

/opt/rocm/opencl/include/CL/cl.h:1364:1: note: declared here

clCreateCommandQueue(cl_context                     /* context */,

^

./HelloWorld.cpp:116:20: warning: ‘_cl_command_queue* clCreateCommandQueue(cl_context, cl_device_id, cl_command_queue_properties, cl_int*)’ is deprecated [-Wdeprecated-declarations]

     commandQueue = clCreateCommandQueue(context, devices[0], 0, NULL);

                    ^

In file included from ./HelloWorld.cpp:23:0:

/opt/rocm/opencl/include/CL/cl.h:1364:1: note: declared here

clCreateCommandQueue(cl_context                     /* context */,

^

./HelloWorld.cpp:116:69: warning: ‘_cl_command_queue* clCreateCommandQueue(cl_context, cl_device_id, cl_command_queue_properties, cl_int*)’ is deprecated [-Wdeprecated-declarations]

     commandQueue = clCreateCommandQueue(context, devices[0], 0, NULL);

                                                                     ^

In file included from ./HelloWorld.cpp:23:0:

/opt/rocm/opencl/include/CL/cl.h:1364:1: note: declared here

clCreateCommandQueue(cl_context                     /* context */,

^

(5). I then ran the HelloWorld Executable with the following result:

colesdav@PC:~/TEST$ ./HelloWorld

0 3 6 9 12 15 18 21 24 27 30 33 36 39 42 45 48 51 54 57 60 63 66 69 72 75 78 81 84 87 90 93 96 99 102 105 108 111 114 117 120 123 126 129 132 135 138 141 144 147 150 153 156 159 162 165 168 171 174 177 180 183 186 189 192 195 198 201 204 207 210 213 216 219 222 225 228 231 234 237 240 243 246 249 252 255 258 261 264 267 270 273 276 279 282 285 288 291 294 297 300 303 306 309 312 315 318 321 324 327 330 333 336 339 342 345 348 351 354 357 360 363 366 369 372 375 378 381 384 387 390 393 396 399 402 405 408 411 414 417 420 423 426 429 432 435 438 441 444 447 450 453 456 459 462 465 468 471 474 477 480 483 486 489 492 495 498 501 504 507 510 513 516 519 522 525 528 531 534 537 540 543 546 549 552 555 558 561 564 567 570 573 576 579 582 585 588 591 594 597 600 603 606 609 612 615 618 621 624 627 630 633 636 639 642 645 648 651 654 657 660 663 666 669 672 675 678 681 684 687 690 693 696 699 702 705 708 711 714 717 720 723 726 729 732 735 738 741 744 747 750 753 756 759 762 765 768 771 774 777 780 783 786 789 792 795 798 801 804 807 810 813 816 819 822 825 828 831 834 837 840 843 846 849 852 855 858 861 864 867 870 873 876 879 882 885 888 891 894 897 900 903 906 909 912 915 918 921 924 927 930 933 936 939 942 945 948 951 954 957 960 963 966 969 972 975 978 981 984 987 990 993 996 999 1002 1005 1008 1011 1014 1017 1020 1023 1026 1029 1032 1035 1038 1041 1044 1047 1050 1053 1056 1059 1062 1065 1068 1071 1074 1077 1080 1083 1086 1089 1092 1095 1098 1101 1104 1107 1110 1113 1116 1119 1122 1125 1128 1131 1134 1137 1140 1143 1146 1149 1152 1155 1158 1161 1164 1167 1170 1173 1176 1179 1182 1185 1188 1191 1194 1197 1200 1203 1206 1209 1212 1215 1218 1221 1224 1227 1230 1233 1236 1239 1242 1245 1248 1251 1254 1257 1260 1263 1266 1269 1272 1275 1278 1281 1284 1287 1290 1293 1296 1299 1302 1305 1308 1311 1314 1317 1320 1323 1326 1329 1332 1335 1338 1341 1344 1347 1350 1353 1356 1359 1362 1365 1368 1371 1374 1377 1380 1383 1386 1389 1392 1395 1398 1401 1404 1407 1410 1413 1416 1419 1422 1425 1428 1431 1434 1437 1440 1443 1446 1449 1452 1455 1458 1461 1464 1467 1470 1473 1476 1479 1482 1485 1488 1491 1494 1497 1500 1503 1506 1509 1512 1515 1518 1521 1524 1527 1530 1533 1536 1539 1542 1545 1548 1551 1554 1557 1560 1563 1566 1569 1572 1575 1578 1581 1584 1587 1590 1593 1596 1599 1602 1605 1608 1611 1614 1617 1620 1623 1626 1629 1632 1635 1638 1641 1644 1647 1650 1653 1656 1659 1662 1665 1668 1671 1674 1677 1680 1683 1686 1689 1692 1695 1698 1701 1704 1707 1710 1713 1716 1719 1722 1725 1728 1731 1734 1737 1740 1743 1746 1749 1752 1755 1758 1761 1764 1767 1770 1773 1776 1779 1782 1785 1788 1791 1794 1797 1800 1803 1806 1809 1812 1815 1818 1821 1824 1827 1830 1833 1836 1839 1842 1845 1848 1851 1854 1857 1860 1863 1866 1869 1872 1875 1878 1881 1884 1887 1890 1893 1896 1899 1902 1905 1908 1911 1914 1917 1920 1923 1926 1929 1932 1935 1938 1941 1944 1947 1950 1953 1956 1959 1962 1965 1968 1971 1974 1977 1980 1983 1986 1989 1992 1995 1998 2001 2004 2007 2010 2013 2016 2019 2022 2025 2028 2031 2034 2037 2040 2043 2046 2049 2052 2055 2058 2061 2064 2067 2070 2073 2076 2079 2082 2085 2088 2091 2094 2097 2100 2103 2106 2109 2112 2115 2118 2121 2124 2127 2130 2133 2136 2139 2142 2145 2148 2151 2154 2157 2160 2163 2166 2169 2172 2175 2178 2181 2184 2187 2190 2193 2196 2199 2202 2205 2208 2211 2214 2217 2220 2223 2226 2229 2232 2235 2238 2241 2244 2247 2250 2253 2256 2259 2262 2265 2268 2271 2274 2277 2280 2283 2286 2289 2292 2295 2298 2301 2304 2307 2310 2313 2316 2319 2322 2325 2328 2331 2334 2337 2340 2343 2346 2349 2352 2355 2358 2361 2364 2367 2370 2373 2376 2379 2382 2385 2388 2391 2394 2397 2400 2403 2406 2409 2412 2415 2418 2421 2424 2427 2430 2433 2436 2439 2442 2445 2448 2451 2454 2457 2460 2463 2466 2469 2472 2475 2478 2481 2484 2487 2490 2493 2496 2499 2502 2505 2508 2511 2514 2517 2520 2523 2526 2529 2532 2535 2538 2541 2544 2547 2550 2553 2556 2559 2562 2565 2568 2571 2574 2577 2580 2583 2586 2589 2592 2595 2598 2601 2604 2607 2610 2613 2616 2619 2622 2625 2628 2631 2634 2637 2640 2643 2646 2649 2652 2655 2658 2661 2664 2667 2670 2673 2676 2679 2682 2685 2688 2691 2694 2697 2700 2703 2706 2709 2712 2715 2718 2721 2724 2727 2730 2733 2736 2739 2742 2745 2748 2751 2754 2757 2760 2763 2766 2769 2772 2775 2778 2781 2784 2787 2790 2793 2796 2799 2802 2805 2808 2811 2814 2817 2820 2823 2826 2829 2832 2835 2838 2841 2844 2847 2850 2853 2856 2859 2862 2865 2868 2871 2874 2877 2880 2883 2886 2889 2892 2895 2898 2901 2904 2907 2910 2913 2916 2919 2922 2925 2928 2931 2934 2937 2940 2943 2946 2949 2952 2955 2958 2961 2964 2967 2970 2973 2976 2979 2982 2985 2988 2991 2994 2997

Executed program succesfully.

0 Likes

Regarding the question about installation of amdgpu-pro and rocm side by side, here is a related thread that discusses on a similar topic.

ROCm 1.6 with AMDGPU-PRO? · Issue #188 · RadeonOpenCompute/ROCm · GitHub

Hi,

Thanks for pointing me to that thread.

The AMD Linux Driver situation, even on Ubuntu, has been very messy and incomplete for too long.
Hopefully things will improve soon.

It looks like I might have done the correct thing by allowing the ROCm package to overwrite the AMDGPU-PRO package as my OpenCL code seems to be running fine on Ubuntu 16.04 LTS so far.

On a positive note ...for the first time, Vulkan SDK (vulkansdk-linux-x86_64-1.1.73.0.run) installs and runs properly without "hacking" with the 18.10 AMDGPU-PRO driver. The cube, cubepp and Hologram tutorials all compile and run properly at last without much additional effort.

Note that running the amdgpu-pro-uninstall left me with a login loop on standard Ubuntu 16.04 LTS interface.
Even Ctrl, Alt, F1 would not take me to a linux terminal and out of the login loop.
Luckily I had Cinnamon Desktop installed and that allowed login to terminal otherwise I would have had to do a fresh install of Ubuntu 16.04 LTS to recover.

Bye.

0 Likes

Hi,

I just tested running Steam on Ubuntu 16.04 with this driver.

Hitman Crashes at launch.

DOTA2 on Vulkan and the Talos Principle on Vulkan both fail, they previousy worked with earlier AMDGPU-Pro driver.
How can I report these Ubuntu 16.04/Vulkan and Linux issues and who should I report them to?

Thanks.

0 Likes

DOTA2 launched with -vulkan switch shows the following error.
UpdateDescriptorSetPool():

Vulkan failed to create descriptor pool.

0 Likes

Talos Principle gives the following error when trying to use Vulkan in the Graphics menu.

Fatal Error:

Cannot set display mode.

0 Likes

Please find below support forums to report driver related issues:

For ROCm: Issues · RadeonOpenCompute/ROCm · GitHub

For other closed source drivers: Drivers & Software

Blender 2.79b and blender 2.76 do not recognize R9 FuryX, R9 Nano, or HD7970 (expected as GCN1.0). cards with this AMDGPU-PRO+ROCm driver setup. 

0 Likes

Correction ... 2.79b

0 Likes