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.
(Linux) Godot 3.5 doesnt use my GPU and Godot 4 wont detect it
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.
- Edited
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...
- Edited
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.
- Edited
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.