VK_ERROR_INCOMPATIBLE_DRIVER error with Vulkan on ATI Sapphire 7870 running (X)Ubuntu 18.04












0














I spent +- 22 hours trying to make it work, but I find more problems than solutions.



PROBLEM



Steps to reproduce #1




  • Fresh install of Ubuntu with Xubuntu DE.



  • Follow official instructions - https://support.amd.com/en-us/kb-articles/Pages/Install-LunarG-Vulkan-SDK.aspx



    https://pastebin.com/Lr1sa50v



  • Row 15 - VULKAN_SDK=/home/kreyren/vulkan/VulkanSDK/1.0.37.0/x86_64 shoudn’t it be 1.1.73.0? (based on AMD’s official instruction)


  • VK_ERROR_INCOMPATIBLE_DRIVER



SHORTED, MORE IN ORIGINAL DOC.



INFORMATION





  • GPU: ATI Sapphire 7870 AND AMD Radeon 7870AMD/ATI




    • Manufacturer has two names for this GPU as far as i know.


    • GPU Supports Vulkan based on Test in Windows 10 running DotA 2 with “-vulkan” argument and wiki: https://en.wikipedia.org/wiki/Radeon_HD_7000_Series





  • OS: Tested on Debian 9, Xubuntu and Ubuntu.




    • Right now I have fresh installation of Ubuntu with backup using Clonezilla and basic setup.


    • apt list --installed > /home/kreyren/Desktop/Installed_packages.txt
      https://pastebin.com/WrKWWbhg


    • Installed updates using sudo apt-get update -y && sudo apt-get upgrade -y && sudo apt-get dist-upgrade -y


    • Distro has 20GB of root + 2GB swap on SSD and 100GB of /home on HDD



    • Verify that it's supported by AMD:




      • https://i.imgur.com/a/G9ETDK6


      • https://i.imgur.com/a/N0AWiLE







TRIED SOLUTION





  • add NAND modify /etc/X11/xorg.conf with



    Section "Device"
    Identifier "AMD"
    Driver "amdgpu"
    Option "TearFree" "true"
    EndSection


  • Reboot > VK_ERROR_INCOMPATIBLE_DRIVER



SHORTED, MORE IN ORIGINAL DOC.



BACKSTORY



Original is available on personal Google docs.



I made Facebook document where I tried to fix this issue with the help of other Linux users. Facebook document was removed after solution and the issue was posted on askubuntu! Hoping to reach more people with same issue.



Not enough reputation to post rest of the original and it seems pointless to spam with irelevant info, its here for those who are interested in this issue like Developers who could possibly fix this issue by default.










share|improve this question
























  • Self answering is encouraged here and I applaud your effort in solving your problem. Be that as it may, I encourage you to split this post into the Question (the problem that you had) in this box and the Answer (the solution you found) in the box below. AskUbuntu is a Q & A site and not a typical forum. You might find the tour informative.
    – Elder Geek
    May 29 at 15:23






  • 1




    @ElderGeek Fixed, thanks for info. (☞゚ヮ゚)☞
    – David Košecký
    Jun 2 at 1:00
















0














I spent +- 22 hours trying to make it work, but I find more problems than solutions.



PROBLEM



Steps to reproduce #1




  • Fresh install of Ubuntu with Xubuntu DE.



  • Follow official instructions - https://support.amd.com/en-us/kb-articles/Pages/Install-LunarG-Vulkan-SDK.aspx



    https://pastebin.com/Lr1sa50v



  • Row 15 - VULKAN_SDK=/home/kreyren/vulkan/VulkanSDK/1.0.37.0/x86_64 shoudn’t it be 1.1.73.0? (based on AMD’s official instruction)


  • VK_ERROR_INCOMPATIBLE_DRIVER



SHORTED, MORE IN ORIGINAL DOC.



INFORMATION





  • GPU: ATI Sapphire 7870 AND AMD Radeon 7870AMD/ATI




    • Manufacturer has two names for this GPU as far as i know.


    • GPU Supports Vulkan based on Test in Windows 10 running DotA 2 with “-vulkan” argument and wiki: https://en.wikipedia.org/wiki/Radeon_HD_7000_Series





  • OS: Tested on Debian 9, Xubuntu and Ubuntu.




    • Right now I have fresh installation of Ubuntu with backup using Clonezilla and basic setup.


    • apt list --installed > /home/kreyren/Desktop/Installed_packages.txt
      https://pastebin.com/WrKWWbhg


    • Installed updates using sudo apt-get update -y && sudo apt-get upgrade -y && sudo apt-get dist-upgrade -y


    • Distro has 20GB of root + 2GB swap on SSD and 100GB of /home on HDD



    • Verify that it's supported by AMD:




      • https://i.imgur.com/a/G9ETDK6


      • https://i.imgur.com/a/N0AWiLE







TRIED SOLUTION





  • add NAND modify /etc/X11/xorg.conf with



    Section "Device"
    Identifier "AMD"
    Driver "amdgpu"
    Option "TearFree" "true"
    EndSection


  • Reboot > VK_ERROR_INCOMPATIBLE_DRIVER



SHORTED, MORE IN ORIGINAL DOC.



BACKSTORY



Original is available on personal Google docs.



I made Facebook document where I tried to fix this issue with the help of other Linux users. Facebook document was removed after solution and the issue was posted on askubuntu! Hoping to reach more people with same issue.



Not enough reputation to post rest of the original and it seems pointless to spam with irelevant info, its here for those who are interested in this issue like Developers who could possibly fix this issue by default.










share|improve this question
























  • Self answering is encouraged here and I applaud your effort in solving your problem. Be that as it may, I encourage you to split this post into the Question (the problem that you had) in this box and the Answer (the solution you found) in the box below. AskUbuntu is a Q & A site and not a typical forum. You might find the tour informative.
    – Elder Geek
    May 29 at 15:23






  • 1




    @ElderGeek Fixed, thanks for info. (☞゚ヮ゚)☞
    – David Košecký
    Jun 2 at 1:00














0












0








0







I spent +- 22 hours trying to make it work, but I find more problems than solutions.



PROBLEM



Steps to reproduce #1




  • Fresh install of Ubuntu with Xubuntu DE.



  • Follow official instructions - https://support.amd.com/en-us/kb-articles/Pages/Install-LunarG-Vulkan-SDK.aspx



    https://pastebin.com/Lr1sa50v



  • Row 15 - VULKAN_SDK=/home/kreyren/vulkan/VulkanSDK/1.0.37.0/x86_64 shoudn’t it be 1.1.73.0? (based on AMD’s official instruction)


  • VK_ERROR_INCOMPATIBLE_DRIVER



SHORTED, MORE IN ORIGINAL DOC.



INFORMATION





  • GPU: ATI Sapphire 7870 AND AMD Radeon 7870AMD/ATI




    • Manufacturer has two names for this GPU as far as i know.


    • GPU Supports Vulkan based on Test in Windows 10 running DotA 2 with “-vulkan” argument and wiki: https://en.wikipedia.org/wiki/Radeon_HD_7000_Series





  • OS: Tested on Debian 9, Xubuntu and Ubuntu.




    • Right now I have fresh installation of Ubuntu with backup using Clonezilla and basic setup.


    • apt list --installed > /home/kreyren/Desktop/Installed_packages.txt
      https://pastebin.com/WrKWWbhg


    • Installed updates using sudo apt-get update -y && sudo apt-get upgrade -y && sudo apt-get dist-upgrade -y


    • Distro has 20GB of root + 2GB swap on SSD and 100GB of /home on HDD



    • Verify that it's supported by AMD:




      • https://i.imgur.com/a/G9ETDK6


      • https://i.imgur.com/a/N0AWiLE







TRIED SOLUTION





  • add NAND modify /etc/X11/xorg.conf with



    Section "Device"
    Identifier "AMD"
    Driver "amdgpu"
    Option "TearFree" "true"
    EndSection


  • Reboot > VK_ERROR_INCOMPATIBLE_DRIVER



SHORTED, MORE IN ORIGINAL DOC.



BACKSTORY



Original is available on personal Google docs.



I made Facebook document where I tried to fix this issue with the help of other Linux users. Facebook document was removed after solution and the issue was posted on askubuntu! Hoping to reach more people with same issue.



Not enough reputation to post rest of the original and it seems pointless to spam with irelevant info, its here for those who are interested in this issue like Developers who could possibly fix this issue by default.










share|improve this question















I spent +- 22 hours trying to make it work, but I find more problems than solutions.



PROBLEM



Steps to reproduce #1




  • Fresh install of Ubuntu with Xubuntu DE.



  • Follow official instructions - https://support.amd.com/en-us/kb-articles/Pages/Install-LunarG-Vulkan-SDK.aspx



    https://pastebin.com/Lr1sa50v



  • Row 15 - VULKAN_SDK=/home/kreyren/vulkan/VulkanSDK/1.0.37.0/x86_64 shoudn’t it be 1.1.73.0? (based on AMD’s official instruction)


  • VK_ERROR_INCOMPATIBLE_DRIVER



SHORTED, MORE IN ORIGINAL DOC.



INFORMATION





  • GPU: ATI Sapphire 7870 AND AMD Radeon 7870AMD/ATI




    • Manufacturer has two names for this GPU as far as i know.


    • GPU Supports Vulkan based on Test in Windows 10 running DotA 2 with “-vulkan” argument and wiki: https://en.wikipedia.org/wiki/Radeon_HD_7000_Series





  • OS: Tested on Debian 9, Xubuntu and Ubuntu.




    • Right now I have fresh installation of Ubuntu with backup using Clonezilla and basic setup.


    • apt list --installed > /home/kreyren/Desktop/Installed_packages.txt
      https://pastebin.com/WrKWWbhg


    • Installed updates using sudo apt-get update -y && sudo apt-get upgrade -y && sudo apt-get dist-upgrade -y


    • Distro has 20GB of root + 2GB swap on SSD and 100GB of /home on HDD



    • Verify that it's supported by AMD:




      • https://i.imgur.com/a/G9ETDK6


      • https://i.imgur.com/a/N0AWiLE







TRIED SOLUTION





  • add NAND modify /etc/X11/xorg.conf with



    Section "Device"
    Identifier "AMD"
    Driver "amdgpu"
    Option "TearFree" "true"
    EndSection


  • Reboot > VK_ERROR_INCOMPATIBLE_DRIVER



SHORTED, MORE IN ORIGINAL DOC.



BACKSTORY



Original is available on personal Google docs.



I made Facebook document where I tried to fix this issue with the help of other Linux users. Facebook document was removed after solution and the issue was posted on askubuntu! Hoping to reach more people with same issue.



Not enough reputation to post rest of the original and it seems pointless to spam with irelevant info, its here for those who are interested in this issue like Developers who could possibly fix this issue by default.







drivers radeon amd-graphics vulkan






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Aug 21 at 18:08









SurvivalMachine

1,2063717




1,2063717










asked May 29 at 1:16









David Košecký

7318




7318












  • Self answering is encouraged here and I applaud your effort in solving your problem. Be that as it may, I encourage you to split this post into the Question (the problem that you had) in this box and the Answer (the solution you found) in the box below. AskUbuntu is a Q & A site and not a typical forum. You might find the tour informative.
    – Elder Geek
    May 29 at 15:23






  • 1




    @ElderGeek Fixed, thanks for info. (☞゚ヮ゚)☞
    – David Košecký
    Jun 2 at 1:00


















  • Self answering is encouraged here and I applaud your effort in solving your problem. Be that as it may, I encourage you to split this post into the Question (the problem that you had) in this box and the Answer (the solution you found) in the box below. AskUbuntu is a Q & A site and not a typical forum. You might find the tour informative.
    – Elder Geek
    May 29 at 15:23






  • 1




    @ElderGeek Fixed, thanks for info. (☞゚ヮ゚)☞
    – David Košecký
    Jun 2 at 1:00
















Self answering is encouraged here and I applaud your effort in solving your problem. Be that as it may, I encourage you to split this post into the Question (the problem that you had) in this box and the Answer (the solution you found) in the box below. AskUbuntu is a Q & A site and not a typical forum. You might find the tour informative.
– Elder Geek
May 29 at 15:23




Self answering is encouraged here and I applaud your effort in solving your problem. Be that as it may, I encourage you to split this post into the Question (the problem that you had) in this box and the Answer (the solution you found) in the box below. AskUbuntu is a Q & A site and not a typical forum. You might find the tour informative.
– Elder Geek
May 29 at 15:23




1




1




@ElderGeek Fixed, thanks for info. (☞゚ヮ゚)☞
– David Košecký
Jun 2 at 1:00




@ElderGeek Fixed, thanks for info. (☞゚ヮ゚)☞
– David Košecký
Jun 2 at 1:00










1 Answer
1






active

oldest

votes


















1














This solution may be outdated. It seems that only mesa-vulkan-driver and sudo apt dist-upgrade is needed to make vulkan API work. - Updated 10/07/2018



I found the solution before i posted this answer this is repost recommended by @ElderGeek on forum. (•̀ᴗ•́)و



Vulkan installation on AMD Radeon 7870 running Ubuntu 18.04 (possible other debian-based distros)



NOTE: I wasn't able to reproduce it on Debian 9.4.



WARNING: Grab a backup since systemd (or its alternatives) won't be able to boot with error something like: ERR: Install
firmware-amd-graphics package
.



WARNING_EDIT: It seems that package firmware-amd-graphics is now installd by default on Ubuntu 18.04. I noticed the change at 10/07/2018.





  1. Run this command to update your system



    sudo apt-get update -y && sudo apt-get upgrade -y



  2. Install Mesa Vulkan Drivers:



    sudo apt-get install mesa-vulkan-drivers vulkan-utils



  3. Modify kernel parameters in /etc/default/grub as:



    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash radeon.si_support=0 amdgpu.si_support=1 modprobe.blacklist=radeon"


    This should fix VK_ERROR_INCOMPATIBLE_DRIVER.



  4. To switch on amdgpu driver. (radeon's not working with this GPU.)



  5. Run these commands:





    • sudo update-grub To update grub based on info in /etc/default/grub .


    • sudo shutdown -r now To restart your device.


    • lspci -k | grep "Kernel driver in use:" To verify that it's loaded correctly, output should be: "Kernel driver in use: amdgpu".



  6. Should show up in vulkaninfo without problems.





In case it doesn't work





  1. Add nor modify /etc/X11/xorg.conf AND /etc/X11/20-amdgpu.conf with the following content (reboot after this modifications):



    Section "Device"
    Identifier "AMD"
    Driver "amdgpu"
    Option "TearFree" "true"
    EndSection




    • Option "TearFree" "true" should fix problem with screen thearing.



  2. Verify that amdgpu is loaded by loading GRUB and pressing E.



  3. sudo usermod -a -G video $LOGNAME




    • Should fix "VK_ERROR_INITIALIZATION_FAILED".

    • Seems like magic, but it's recommended by AMD.



  4. sudo apt-get install hexchat > join #radeon and ask for help.



Feel free to share your experience I'm willing to update this post. (☞゚ヮ゚)☞






share|improve this answer























  • I see step one in your question, so I'm not sure you need it in your answer. Did this problem begin when you upgraded your system from a previous version to 18.04? If so your question and this answer would be more useful if you would make that clear and which version you were upgrading from. I would assume 16.04 but I hate to assume anything. Cheers!
    – Elder Geek
    Jun 2 at 21:33












  • Actually i was upgrading from Windows 10 and this was first issue i had to deal with on Linux for this device. It seems to be problem on other versions too namely it seems that this GPU needs "amdgpu" drivers and fixes for VK_ERRORS to work as it should with vulkan possibly modifications to Xorg.conf. (o・_・) + to fix thearing
    – David Košecký
    Jun 3 at 1:09












  • Editing details into your question would make it more valuable to the community by providing further clarity. It's confusing (at least to me why you would run sudo apt-get dist-upgrade -y on a fresh installation of 18.04 as there's currently no distribution upgrade path from 18.04 to anything else. The more valuable your posts are to the community the more upvotes you'll get leading to an increase in priveleges
    – Elder Geek
    Jun 3 at 13:10










  • @ElderGeek You're right about that, sorry i've included it thinking to make sure that end-user has updated repositories and packages. Updating distro doen't make sence in this scenario. #Fixed Aldo i woudn't post more info from document, most of it are irelevant to fix the issue i believe. ( •_•)
    – David Košecký
    Jun 4 at 0:26











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1041394%2fvk-error-incompatible-driver-error-with-vulkan-on-ati-sapphire-7870-running-xu%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














This solution may be outdated. It seems that only mesa-vulkan-driver and sudo apt dist-upgrade is needed to make vulkan API work. - Updated 10/07/2018



I found the solution before i posted this answer this is repost recommended by @ElderGeek on forum. (•̀ᴗ•́)و



Vulkan installation on AMD Radeon 7870 running Ubuntu 18.04 (possible other debian-based distros)



NOTE: I wasn't able to reproduce it on Debian 9.4.



WARNING: Grab a backup since systemd (or its alternatives) won't be able to boot with error something like: ERR: Install
firmware-amd-graphics package
.



WARNING_EDIT: It seems that package firmware-amd-graphics is now installd by default on Ubuntu 18.04. I noticed the change at 10/07/2018.





  1. Run this command to update your system



    sudo apt-get update -y && sudo apt-get upgrade -y



  2. Install Mesa Vulkan Drivers:



    sudo apt-get install mesa-vulkan-drivers vulkan-utils



  3. Modify kernel parameters in /etc/default/grub as:



    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash radeon.si_support=0 amdgpu.si_support=1 modprobe.blacklist=radeon"


    This should fix VK_ERROR_INCOMPATIBLE_DRIVER.



  4. To switch on amdgpu driver. (radeon's not working with this GPU.)



  5. Run these commands:





    • sudo update-grub To update grub based on info in /etc/default/grub .


    • sudo shutdown -r now To restart your device.


    • lspci -k | grep "Kernel driver in use:" To verify that it's loaded correctly, output should be: "Kernel driver in use: amdgpu".



  6. Should show up in vulkaninfo without problems.





In case it doesn't work





  1. Add nor modify /etc/X11/xorg.conf AND /etc/X11/20-amdgpu.conf with the following content (reboot after this modifications):



    Section "Device"
    Identifier "AMD"
    Driver "amdgpu"
    Option "TearFree" "true"
    EndSection




    • Option "TearFree" "true" should fix problem with screen thearing.



  2. Verify that amdgpu is loaded by loading GRUB and pressing E.



  3. sudo usermod -a -G video $LOGNAME




    • Should fix "VK_ERROR_INITIALIZATION_FAILED".

    • Seems like magic, but it's recommended by AMD.



  4. sudo apt-get install hexchat > join #radeon and ask for help.



Feel free to share your experience I'm willing to update this post. (☞゚ヮ゚)☞






share|improve this answer























  • I see step one in your question, so I'm not sure you need it in your answer. Did this problem begin when you upgraded your system from a previous version to 18.04? If so your question and this answer would be more useful if you would make that clear and which version you were upgrading from. I would assume 16.04 but I hate to assume anything. Cheers!
    – Elder Geek
    Jun 2 at 21:33












  • Actually i was upgrading from Windows 10 and this was first issue i had to deal with on Linux for this device. It seems to be problem on other versions too namely it seems that this GPU needs "amdgpu" drivers and fixes for VK_ERRORS to work as it should with vulkan possibly modifications to Xorg.conf. (o・_・) + to fix thearing
    – David Košecký
    Jun 3 at 1:09












  • Editing details into your question would make it more valuable to the community by providing further clarity. It's confusing (at least to me why you would run sudo apt-get dist-upgrade -y on a fresh installation of 18.04 as there's currently no distribution upgrade path from 18.04 to anything else. The more valuable your posts are to the community the more upvotes you'll get leading to an increase in priveleges
    – Elder Geek
    Jun 3 at 13:10










  • @ElderGeek You're right about that, sorry i've included it thinking to make sure that end-user has updated repositories and packages. Updating distro doen't make sence in this scenario. #Fixed Aldo i woudn't post more info from document, most of it are irelevant to fix the issue i believe. ( •_•)
    – David Košecký
    Jun 4 at 0:26
















1














This solution may be outdated. It seems that only mesa-vulkan-driver and sudo apt dist-upgrade is needed to make vulkan API work. - Updated 10/07/2018



I found the solution before i posted this answer this is repost recommended by @ElderGeek on forum. (•̀ᴗ•́)و



Vulkan installation on AMD Radeon 7870 running Ubuntu 18.04 (possible other debian-based distros)



NOTE: I wasn't able to reproduce it on Debian 9.4.



WARNING: Grab a backup since systemd (or its alternatives) won't be able to boot with error something like: ERR: Install
firmware-amd-graphics package
.



WARNING_EDIT: It seems that package firmware-amd-graphics is now installd by default on Ubuntu 18.04. I noticed the change at 10/07/2018.





  1. Run this command to update your system



    sudo apt-get update -y && sudo apt-get upgrade -y



  2. Install Mesa Vulkan Drivers:



    sudo apt-get install mesa-vulkan-drivers vulkan-utils



  3. Modify kernel parameters in /etc/default/grub as:



    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash radeon.si_support=0 amdgpu.si_support=1 modprobe.blacklist=radeon"


    This should fix VK_ERROR_INCOMPATIBLE_DRIVER.



  4. To switch on amdgpu driver. (radeon's not working with this GPU.)



  5. Run these commands:





    • sudo update-grub To update grub based on info in /etc/default/grub .


    • sudo shutdown -r now To restart your device.


    • lspci -k | grep "Kernel driver in use:" To verify that it's loaded correctly, output should be: "Kernel driver in use: amdgpu".



  6. Should show up in vulkaninfo without problems.





In case it doesn't work





  1. Add nor modify /etc/X11/xorg.conf AND /etc/X11/20-amdgpu.conf with the following content (reboot after this modifications):



    Section "Device"
    Identifier "AMD"
    Driver "amdgpu"
    Option "TearFree" "true"
    EndSection




    • Option "TearFree" "true" should fix problem with screen thearing.



  2. Verify that amdgpu is loaded by loading GRUB and pressing E.



  3. sudo usermod -a -G video $LOGNAME




    • Should fix "VK_ERROR_INITIALIZATION_FAILED".

    • Seems like magic, but it's recommended by AMD.



  4. sudo apt-get install hexchat > join #radeon and ask for help.



Feel free to share your experience I'm willing to update this post. (☞゚ヮ゚)☞






share|improve this answer























  • I see step one in your question, so I'm not sure you need it in your answer. Did this problem begin when you upgraded your system from a previous version to 18.04? If so your question and this answer would be more useful if you would make that clear and which version you were upgrading from. I would assume 16.04 but I hate to assume anything. Cheers!
    – Elder Geek
    Jun 2 at 21:33












  • Actually i was upgrading from Windows 10 and this was first issue i had to deal with on Linux for this device. It seems to be problem on other versions too namely it seems that this GPU needs "amdgpu" drivers and fixes for VK_ERRORS to work as it should with vulkan possibly modifications to Xorg.conf. (o・_・) + to fix thearing
    – David Košecký
    Jun 3 at 1:09












  • Editing details into your question would make it more valuable to the community by providing further clarity. It's confusing (at least to me why you would run sudo apt-get dist-upgrade -y on a fresh installation of 18.04 as there's currently no distribution upgrade path from 18.04 to anything else. The more valuable your posts are to the community the more upvotes you'll get leading to an increase in priveleges
    – Elder Geek
    Jun 3 at 13:10










  • @ElderGeek You're right about that, sorry i've included it thinking to make sure that end-user has updated repositories and packages. Updating distro doen't make sence in this scenario. #Fixed Aldo i woudn't post more info from document, most of it are irelevant to fix the issue i believe. ( •_•)
    – David Košecký
    Jun 4 at 0:26














1












1








1






This solution may be outdated. It seems that only mesa-vulkan-driver and sudo apt dist-upgrade is needed to make vulkan API work. - Updated 10/07/2018



I found the solution before i posted this answer this is repost recommended by @ElderGeek on forum. (•̀ᴗ•́)و



Vulkan installation on AMD Radeon 7870 running Ubuntu 18.04 (possible other debian-based distros)



NOTE: I wasn't able to reproduce it on Debian 9.4.



WARNING: Grab a backup since systemd (or its alternatives) won't be able to boot with error something like: ERR: Install
firmware-amd-graphics package
.



WARNING_EDIT: It seems that package firmware-amd-graphics is now installd by default on Ubuntu 18.04. I noticed the change at 10/07/2018.





  1. Run this command to update your system



    sudo apt-get update -y && sudo apt-get upgrade -y



  2. Install Mesa Vulkan Drivers:



    sudo apt-get install mesa-vulkan-drivers vulkan-utils



  3. Modify kernel parameters in /etc/default/grub as:



    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash radeon.si_support=0 amdgpu.si_support=1 modprobe.blacklist=radeon"


    This should fix VK_ERROR_INCOMPATIBLE_DRIVER.



  4. To switch on amdgpu driver. (radeon's not working with this GPU.)



  5. Run these commands:





    • sudo update-grub To update grub based on info in /etc/default/grub .


    • sudo shutdown -r now To restart your device.


    • lspci -k | grep "Kernel driver in use:" To verify that it's loaded correctly, output should be: "Kernel driver in use: amdgpu".



  6. Should show up in vulkaninfo without problems.





In case it doesn't work





  1. Add nor modify /etc/X11/xorg.conf AND /etc/X11/20-amdgpu.conf with the following content (reboot after this modifications):



    Section "Device"
    Identifier "AMD"
    Driver "amdgpu"
    Option "TearFree" "true"
    EndSection




    • Option "TearFree" "true" should fix problem with screen thearing.



  2. Verify that amdgpu is loaded by loading GRUB and pressing E.



  3. sudo usermod -a -G video $LOGNAME




    • Should fix "VK_ERROR_INITIALIZATION_FAILED".

    • Seems like magic, but it's recommended by AMD.



  4. sudo apt-get install hexchat > join #radeon and ask for help.



Feel free to share your experience I'm willing to update this post. (☞゚ヮ゚)☞






share|improve this answer














This solution may be outdated. It seems that only mesa-vulkan-driver and sudo apt dist-upgrade is needed to make vulkan API work. - Updated 10/07/2018



I found the solution before i posted this answer this is repost recommended by @ElderGeek on forum. (•̀ᴗ•́)و



Vulkan installation on AMD Radeon 7870 running Ubuntu 18.04 (possible other debian-based distros)



NOTE: I wasn't able to reproduce it on Debian 9.4.



WARNING: Grab a backup since systemd (or its alternatives) won't be able to boot with error something like: ERR: Install
firmware-amd-graphics package
.



WARNING_EDIT: It seems that package firmware-amd-graphics is now installd by default on Ubuntu 18.04. I noticed the change at 10/07/2018.





  1. Run this command to update your system



    sudo apt-get update -y && sudo apt-get upgrade -y



  2. Install Mesa Vulkan Drivers:



    sudo apt-get install mesa-vulkan-drivers vulkan-utils



  3. Modify kernel parameters in /etc/default/grub as:



    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash radeon.si_support=0 amdgpu.si_support=1 modprobe.blacklist=radeon"


    This should fix VK_ERROR_INCOMPATIBLE_DRIVER.



  4. To switch on amdgpu driver. (radeon's not working with this GPU.)



  5. Run these commands:





    • sudo update-grub To update grub based on info in /etc/default/grub .


    • sudo shutdown -r now To restart your device.


    • lspci -k | grep "Kernel driver in use:" To verify that it's loaded correctly, output should be: "Kernel driver in use: amdgpu".



  6. Should show up in vulkaninfo without problems.





In case it doesn't work





  1. Add nor modify /etc/X11/xorg.conf AND /etc/X11/20-amdgpu.conf with the following content (reboot after this modifications):



    Section "Device"
    Identifier "AMD"
    Driver "amdgpu"
    Option "TearFree" "true"
    EndSection




    • Option "TearFree" "true" should fix problem with screen thearing.



  2. Verify that amdgpu is loaded by loading GRUB and pressing E.



  3. sudo usermod -a -G video $LOGNAME




    • Should fix "VK_ERROR_INITIALIZATION_FAILED".

    • Seems like magic, but it's recommended by AMD.



  4. sudo apt-get install hexchat > join #radeon and ask for help.



Feel free to share your experience I'm willing to update this post. (☞゚ヮ゚)☞







share|improve this answer














share|improve this answer



share|improve this answer








edited Dec 6 at 19:03

























answered Jun 2 at 0:58









David Košecký

7318




7318












  • I see step one in your question, so I'm not sure you need it in your answer. Did this problem begin when you upgraded your system from a previous version to 18.04? If so your question and this answer would be more useful if you would make that clear and which version you were upgrading from. I would assume 16.04 but I hate to assume anything. Cheers!
    – Elder Geek
    Jun 2 at 21:33












  • Actually i was upgrading from Windows 10 and this was first issue i had to deal with on Linux for this device. It seems to be problem on other versions too namely it seems that this GPU needs "amdgpu" drivers and fixes for VK_ERRORS to work as it should with vulkan possibly modifications to Xorg.conf. (o・_・) + to fix thearing
    – David Košecký
    Jun 3 at 1:09












  • Editing details into your question would make it more valuable to the community by providing further clarity. It's confusing (at least to me why you would run sudo apt-get dist-upgrade -y on a fresh installation of 18.04 as there's currently no distribution upgrade path from 18.04 to anything else. The more valuable your posts are to the community the more upvotes you'll get leading to an increase in priveleges
    – Elder Geek
    Jun 3 at 13:10










  • @ElderGeek You're right about that, sorry i've included it thinking to make sure that end-user has updated repositories and packages. Updating distro doen't make sence in this scenario. #Fixed Aldo i woudn't post more info from document, most of it are irelevant to fix the issue i believe. ( •_•)
    – David Košecký
    Jun 4 at 0:26


















  • I see step one in your question, so I'm not sure you need it in your answer. Did this problem begin when you upgraded your system from a previous version to 18.04? If so your question and this answer would be more useful if you would make that clear and which version you were upgrading from. I would assume 16.04 but I hate to assume anything. Cheers!
    – Elder Geek
    Jun 2 at 21:33












  • Actually i was upgrading from Windows 10 and this was first issue i had to deal with on Linux for this device. It seems to be problem on other versions too namely it seems that this GPU needs "amdgpu" drivers and fixes for VK_ERRORS to work as it should with vulkan possibly modifications to Xorg.conf. (o・_・) + to fix thearing
    – David Košecký
    Jun 3 at 1:09












  • Editing details into your question would make it more valuable to the community by providing further clarity. It's confusing (at least to me why you would run sudo apt-get dist-upgrade -y on a fresh installation of 18.04 as there's currently no distribution upgrade path from 18.04 to anything else. The more valuable your posts are to the community the more upvotes you'll get leading to an increase in priveleges
    – Elder Geek
    Jun 3 at 13:10










  • @ElderGeek You're right about that, sorry i've included it thinking to make sure that end-user has updated repositories and packages. Updating distro doen't make sence in this scenario. #Fixed Aldo i woudn't post more info from document, most of it are irelevant to fix the issue i believe. ( •_•)
    – David Košecký
    Jun 4 at 0:26
















I see step one in your question, so I'm not sure you need it in your answer. Did this problem begin when you upgraded your system from a previous version to 18.04? If so your question and this answer would be more useful if you would make that clear and which version you were upgrading from. I would assume 16.04 but I hate to assume anything. Cheers!
– Elder Geek
Jun 2 at 21:33






I see step one in your question, so I'm not sure you need it in your answer. Did this problem begin when you upgraded your system from a previous version to 18.04? If so your question and this answer would be more useful if you would make that clear and which version you were upgrading from. I would assume 16.04 but I hate to assume anything. Cheers!
– Elder Geek
Jun 2 at 21:33














Actually i was upgrading from Windows 10 and this was first issue i had to deal with on Linux for this device. It seems to be problem on other versions too namely it seems that this GPU needs "amdgpu" drivers and fixes for VK_ERRORS to work as it should with vulkan possibly modifications to Xorg.conf. (o・_・) + to fix thearing
– David Košecký
Jun 3 at 1:09






Actually i was upgrading from Windows 10 and this was first issue i had to deal with on Linux for this device. It seems to be problem on other versions too namely it seems that this GPU needs "amdgpu" drivers and fixes for VK_ERRORS to work as it should with vulkan possibly modifications to Xorg.conf. (o・_・) + to fix thearing
– David Košecký
Jun 3 at 1:09














Editing details into your question would make it more valuable to the community by providing further clarity. It's confusing (at least to me why you would run sudo apt-get dist-upgrade -y on a fresh installation of 18.04 as there's currently no distribution upgrade path from 18.04 to anything else. The more valuable your posts are to the community the more upvotes you'll get leading to an increase in priveleges
– Elder Geek
Jun 3 at 13:10




Editing details into your question would make it more valuable to the community by providing further clarity. It's confusing (at least to me why you would run sudo apt-get dist-upgrade -y on a fresh installation of 18.04 as there's currently no distribution upgrade path from 18.04 to anything else. The more valuable your posts are to the community the more upvotes you'll get leading to an increase in priveleges
– Elder Geek
Jun 3 at 13:10












@ElderGeek You're right about that, sorry i've included it thinking to make sure that end-user has updated repositories and packages. Updating distro doen't make sence in this scenario. #Fixed Aldo i woudn't post more info from document, most of it are irelevant to fix the issue i believe. ( •_•)
– David Košecký
Jun 4 at 0:26




@ElderGeek You're right about that, sorry i've included it thinking to make sure that end-user has updated repositories and packages. Updating distro doen't make sence in this scenario. #Fixed Aldo i woudn't post more info from document, most of it are irelevant to fix the issue i believe. ( •_•)
– David Košecký
Jun 4 at 0:26


















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1041394%2fvk-error-incompatible-driver-error-with-vulkan-on-ati-sapphire-7870-running-xu%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Ellipse (mathématiques)

Quarter-circle Tiles

Mont Emei