Hello, I have this issue for a while, and I want to put some context;

Before, my PC had an AMD APU with Radeon 7, and it worked fine with both versions of Godot, I even have projects made with Godot 4. The thing is, I bought a graphics card a couple of months ago, Radeon RX 6400. I noticed that the card only worked on videogames on steam by default, but I cannot use it with Blender (I needed the drivers for HIP).

I install them, in fact I install the two versions of it (On the AMD site it tells you how to do it) so I have installed this:
--opencl=rocr
--vulkan=amdvlk,pro

Now, I can use Blender and play videogames, but until a week ago I tried to go back to my Godot Projects and I found this issue

It says that my GPU is not compatible with Vulkan (and in the box it says it is) but the thing is that my APU is also Vulkan compatible, and yet it doesn't us it as well.

I install the vulkan stuff as someone on the Godot discord told me, Vulkan-tools (but in Mint is called utils) and yet I have no luck. Not even Games made with Godot (exported to Linux) can open, it says the same.

So, because of this, I try luck with 3.5 since I also have unfinished projects there, and I notice that 3.5 doesn't use my GPU.

I found a work around, but the problem persists. The flatpak version of Godot 4 use my GPU, and it works. And the repository version of Godot 3 also uses my GPU, but it is Godot 3.2 which I don't really want to use.

Is my only option to hop to another distro? like Arch/Manjaro or I can still do something else? or better stick with the forever-upgrading flatpak and the old repo version.
Thank you for your attention.

My specs:
Linux Mint 21.2 Cinnamon
Kernel: 5.15.0-86-generic
Processor: AMD A8-9600
GPU: Radeon RX 6400
RAM: 16

Yes I use a VGA monitor connected to my motherboard, I don't have the money yet to buy a HDMI connected to my GPU. Perhaps that's the issue... but then again, using my APU wasn't a problem.

EDIT: I discover that I can't play Godot games even under Wine, same warning. I want to mention that other games works, such as The Witcher 3, Sonic generations, Bloodstained, Titanfall 2, The Sims 4. But Team Fortress 2 doesn't work (It did before I installed any kind of drivers, but Blender didn't so I had to do it)

    mond13 I'm also a linux user I'll share this info in case that it helps. Do you think it's your kernel that needs to be updated? I found this tutorial on how to install and test Vulkan on Linux

    Linux Mint 21.2 Cinnamon edition
    Cinnamon version: 5.8.4
    Kernel: 6.2.0-34-generic
    Processor: AMD Ryzen 3 3200G with Radeon Vega Graphics × 4
    RAM: 6
    Graphics Card*: Advanced Micro Devices, Inc. [AMD/ATI] Picasso/Raven 2 [Radeon Vega Series / Radeon Vega Mobile Series]

    Whenever I start up Godot 4.1.2 I get this message:
    "Godot Engine v4.1.2.stable.official.399c9dc39 - https://godotengine.org
    Vulkan API 1.3.238 - Forward+ - Using Vulkan Device #0: AMD - AMD Radeon Vega 8 Graphics (RADV RAVEN)"

      RPGguy
      Thanks for replaying!
      I have the libraries of vulkan and mesa, but vulkan-tools doesnt exist, so people on the Mint forum told me that I have to install Vulkan-Utils. But I did everything, the only thing that I didn't do was changing the kernel. My system works, but unfortunately I still got the message from Godot that no GPU with Vulkan support founded.

      So what I noticed is that you also have integrated graphics, and it works (like me when I used my integrated graphics) so perhaps is an issue when Godot doesn't know what to pick. I say this because Godot 3 uses my integrated graphics but Godot 4 doesn't know what to do (but it worked before I install my GPU with the drivers).

      But what is weird to me is that the Flatpak version of Godot 4 detects and use my GPU and the repository version of Godot 3 also detects and uses my GPU. But the Flatpak version of Godot 3 doesn't recognizes my GPU.

      I will test something, a live environment with no drivers, to see if it works.

      Are you using Godot 3.5.3? If not, you could try upgrading to that, or even trying Godot 3.6-beta3.

      I'm also using Linux, and I download Godot from the download repository.

        DaveTheCoder I use 3.5.3 and have that issue, then I use the repository one which is 3.2.3 and that worked, but is kinda old in the way that a project that I have won't load, I will check 3.6 and I'll let you know if it works.

        I run Mint 21.1 on a quite old system with GTX1070 and have no issue with Vulkan, i think it's some kind of problem with AMD drivers unfortunately.

        mond13 Hi, your kernel is really old. your kernel should be 6.2
        After a small search, it looks like mint uses a really old kernel, so maybe that's why things don't work. try upgrading your kernel somehow, or you will have to change OS.
        also, you are supposed to use the MESA drivers, don't install anything else, it will just break things.
        your GPU does support Vulkan, my gpu is an older gen and it does. I also have my monitor connected with a VGA cable, that is not something that has anything to do with anything.

          DaveTheCoder
          Hello I test 3.6 and still same results. It seams I can't use the binaries the official Godot team releases, I'm relying on Flatpaks for Godot 4 and the repository for Godot 3. And still, can't play my exporter games, not even under wine.

          Jesusemora I did change my kernel to 6.2 but no luck, yet I think it has to do with what I did when I installed the drivers, so I'm distrohopping to a distro with newer packages, something like OpenSUSE or Manjaro (Real Arch is daunting to me even if I've install it on my netbook which I don't use, and I want to pass with Fedora for a while, but still an option.)

          I want to mention, If Godot works, but I cannot use Blender for some weird reason, I will drop Godot, since Blender is my main thing.

            mond13 I don't recommend redhat distros. I have been using Fedora for the last years and recently changed to ubuntu and it's much better.
            Fedora had a very short support and then forced you to upgrade the OS and cut all access to packages. It was also very unstable and threw errors all the time. but the worst thing was how it had magic keys (alt + imp + REISUB) disabled by default (some server security thing) and wouldn't let you enable them ever, so when something crashed or the system froze i had to do a hard reset.
            I haven't had problems with ubuntu so far.

            about your problem: try typing vulkaninfo on the terminal (it's like glxinfo but for vulkan), doing glxinfo -B could also help. see what it outputs and what it detects.
            you will see a "Device:" part and that's where your gpu is listed.

              Jesusemora
              I also had problems with Fedora, so that's why I moved over Mint, it's like a safe distro for me.

              I remember doing the Vulkaninfo and I got some interesting things:

              WARNING: [Loader Message] Code 0 : terminator_CreateInstance: Failed to CreateInstance in ICD 0.  Skipping ICD.
              WARNING: [Loader Message] Code 0 : terminator_CreateInstance: Failed to CreateInstance in ICD 3.  Skipping ICD.
              ac_compute_device_uuid's output is based on invalid pci bus info.
              Violación de segmento (`core' generado)

              Can it be a problem when I installed the amdvlk and the pro? I should have just one? If that's the case, I hope the PRO version works for Godot and Blender.

              Now for glxinfo -B

              name of display: :0
              display: :0  screen: 0
              direct rendering: Yes
              Extended renderer info (GLX_MESA_query_renderer):
                  Vendor: AMD (0x1002)
                  Device: AMD Radeon Graphics (carrizo, LLVM 16.0.6, DRM 3.54, 5.15.0-87-generic) (0x9874)
                  Version: 23.2.0
                  Accelerated: yes
                  Video memory: 512MB
                  Unified memory: no
                  Preferred profile: core (0x1)
                  Max core profile version: 4.6
                  Max compat profile version: 4.6
                  Max GLES1 profile version: 1.1
                  Max GLES[23] profile version: 3.2
              Memory info (GL_ATI_meminfo):
                  VBO free memory - total: 232 MB, largest block: 232 MB
                  VBO free aux. memory - total: 7636 MB, largest block: 7636 MB
                  Texture free memory - total: 232 MB, largest block: 232 MB
                  Texture free aux. memory - total: 7636 MB, largest block: 7636 MB
                  Renderbuffer free memory - total: 232 MB, largest block: 232 MB
                  Renderbuffer free aux. memory - total: 7636 MB, largest block: 7636 MB
              Memory info (GL_NVX_gpu_memory_info):
                  Dedicated video memory: 512 MB
                  Total available memory: 8219 MB
                  Currently available dedicated video memory: 232 MB
              OpenGL vendor string: AMD
              OpenGL renderer string: AMD Radeon Graphics (carrizo, LLVM 16.0.6, DRM 3.54, 5.15.0-87-generic)
              OpenGL core profile version string: 4.6 (Core Profile) Mesa 23.2.0-devel
              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 (Compatibility Profile) Mesa 23.2.0-devel
              OpenGL shading language version string: 4.60
              OpenGL context flags: (none)
              OpenGL profile mask: compatibility profile
              
              OpenGL ES profile version string: OpenGL ES 3.2 Mesa 23.2.0-devel
              OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

              Carrizo are the drivers of my APU, my GPU is Navi, which I don't see here.

              BTW I'll put the link of the video I followed for the drivers installation, since there's not much information and I found his tutorial really helpful, but he doesn't install the both amdvlk and pro versions, that one is my fault.

              EDIT: hmm I don't know but I have a hunch that the vulkaninfo says

              ac_compute_device_uuid's output is based on invalid pci bus info.

              So, I want to add my motherboard is PCI3 and the card is PCIE 4. I've red online that because of that, my GPU will suffer a bottleneck, but still usable (I've been using it).
              Just mention it to see if it's related to something.

              Important Update.

              Now I'm in Manjaro, which uses the opensource AMD drivers, and Godot 4 works. It uses my GPU.
              I still have to install the proprietary ones, it's a must for Blender. I hope that's not the issue...

                BIG AND FINAL UPDATE: IT WORKS.
                Now that I've installed the drivers, I only install the AMDGPU not the pro, but the Opensource.
                After that, Godot still working, but Blender still want's the HIP drivers.
                I didn't knew but opencl-mesa does not exist on the AUR, so how am I supposed to use Blender? well, turns out Blender 3.0 doesnt use OpenCl anymore and uses HIP (which I didn't knew it was a different thing) so I installed the hip-runtime-amd from the AUR and now Godot 4 and Blender works!

                Without knowing exactly what I did wrong previously, I'd say that it was installing the amdpro ver along side amdvlk.


                mond13 I still have to install the proprietary ones, it's a must for Blender.

                Is it tho? If it's for GPU rendering I'd like to point out that a RX 6400 is rather unlikely to outdo your CPU. EDit: nvm, it's an A8...

                  Megalomaniak
                  It seems that what the only thing what I need to install was HIP for AMD, that way I can use both my APU and my GPU, which I don't see a major performance, so I just use my GPU.