View previous topic :: View next topic |
Author |
Message |
escfrpls n00b

Joined: 14 Feb 2025 Posts: 6
|
Posted: Fri Apr 18, 2025 1:11 pm Post subject: amd drivers |
|
|
Hi!
Help me, I'm a little confused. I have a 7900xtx graphics card. But as I understand it, I have a problem with Vulkan? I get the CreateDXGIFactory1 error in steam run games. Tell me how can I fix it, and where can I find the details of the problem?
----------------
Code: | doas vulkaninfo
doas (********************) password:
ERROR: [Loader Message] Code 0 : vkCreateInstance: Found no drivers!
Cannot create Vulkan instance.
This problem is often caused by a faulty installation of the Vulkan driver or attempting to use a GPU that does not support Vulkan.
ERROR at /var/tmp/portage/dev-util/vulkan-tools-1.4.309.0/work/Vulkan-Tools-vulkan-sdk-1.4.309.0/vulkaninfo/./vulkaninfo.h:574:vkCreateInstance failed with ERROR_INCOMPATIBLE_DRIVER
|
[Administrator edit: Moved poster's self-response into main post, then deleted that self-response to return the thread to the unanswered list.
OP: Generally, if post length permits, you should edit extra information into your first post instead of replying to it. Some users run a canned search for threads with zero replies as a way of finding posts to answer. When you replied to yourself, you removed your thread from that list, even though you were not replying to announce that the thread was solved. Thus, they would no longer see your thread on the list of unanswered threads.
-Hu] |
|
Back to top |
|
 |
halcon l33t


Joined: 15 Dec 2019 Posts: 659
|
Posted: Fri Apr 18, 2025 11:34 pm Post subject: |
|
|
Hi escfrpls,
Did you emerge media-libs/mesa with vulkan USE flag?
Did you read wiki? _________________ A wife asks her husband, a programmer:
- Could you please go shopping for me and buy one carton of milk, and if they have eggs, get 6?
He comes back with 6 cartons of milk.
- Why did you buy 6 cartons of milk?
- They had eggs. |
|
Back to top |
|
 |
escfrpls n00b

Joined: 14 Feb 2025 Posts: 6
|
Posted: Sat Apr 19, 2025 6:45 am Post subject: |
|
|
halcon wrote: | Hi escfrpls,
Did you emerge media-libs/mesa with vulkan USE flag?
Did you read wiki? |
My flag:
USE="X alsa bluetooth elogind gamemode networkmanager pulseaudio vaapi vulkan wifi lm-sensors -geoip -geolocate -gnome -kde -nvidia -plasma -systemd -telemetry -wayland"
VIDEO_CARDS="amdgpu radeonsi" |
|
Back to top |
|
 |
halcon l33t


Joined: 15 Dec 2019 Posts: 659
|
Posted: Sat Apr 19, 2025 10:27 am Post subject: |
|
|
Please show the output of
Code: | emerge -pv media-libs/mesa |
_________________ A wife asks her husband, a programmer:
- Could you please go shopping for me and buy one carton of milk, and if they have eggs, get 6?
He comes back with 6 cartons of milk.
- Why did you buy 6 cartons of milk?
- They had eggs. |
|
Back to top |
|
 |
escfrpls n00b

Joined: 14 Feb 2025 Posts: 6
|
Posted: Sat Apr 19, 2025 11:41 am Post subject: |
|
|
halcon wrote: | Please show the output of
Code: | emerge -pv media-libs/mesa |
|
I decided to reinstall gentoo, maybe I did something wrong during the installation. I haven't found an answer in the internet.
Tell me I have the correct flags? What do I need to do after freshly installed Gentoo to correctly install drivers for my videocard and vulkan?
Thank you! |
|
Back to top |
|
 |
keekkenen n00b

Joined: 05 Oct 2024 Posts: 59
|
Posted: Sat Apr 19, 2025 12:28 pm Post subject: |
|
|
escfrpls wrote: |
I decided to reinstall gentoo, maybe I did something wrong during the installation. |
I think it's no sense, you lost time only
escfrpls wrote: |
maybe I did something wrong during the installation. |
It's possible. You need to check GPU options AMDGPU.
Code: | [ebuild R ] media-libs/mesa-24.3.4-r1::gentoo USE="X llvm (opengl) proprietary-codecs vulkan wayland zstd -d3d9 -debug -lm-sensors -opencl -osmesa (-selinux) -test -unwind -vaapi -valgrind -vdpau -xa" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="sse2" LLVM_SLOT="19 -15 -16 -17 -18" VIDEO_CARDS="radeonsi -d3d12 (-freedreno) -intel -lavapipe (-lima) -nouveau -nvk (-panfrost) -r300 -r600 -radeon (-v3d) (-vc4) -virgl (-vivante) -vmware -zink" 0 KiB |
Code: | # grep EXTRA /usr/src/linux/.config
CONFIG_EXTRA_FIRMWARE="amd-ucode/microcode_amd_fam19h.bin amdgpu/dcn_3_2_0_dmcub.bin amdgpu/sdma_6_0_3.bin amdgpu/smu_13_0_10.bin amdgpu/vcn_4_0_0.bin amdgpu/gc_11_0_3_mes_2.bin amdgpu/gc_11_0_3_mes1.bin amdgpu/gc_11_0_3_me.bin amdgpu/gc_11_0_3_rlc.bin amdgpu/gc_11_0_3_mec.bin amdgpu/gc_11_0_3_pfp.bin amdgpu/gc_11_0_3_imu.bin amdgpu/psp_13_0_10_sos.bin amdgpu/psp_13_0_10_ta.bin"
CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware" |
_________________ 7950x3d / x670e MSI Tomagawk / Sapphire RX 7800XT 16Gb / G.Skill 64Gb 5600 / A-Data Legend 960 2Tb (x2), A-Data SX8200PNP 256Gb |
|
Back to top |
|
 |
halcon l33t


Joined: 15 Dec 2019 Posts: 659
|
Posted: Sat Apr 19, 2025 2:19 pm Post subject: |
|
|
escfrpls wrote: | I decided to reinstall gentoo, maybe I did something wrong during the installation. |
I hardly can imagine an error made during Gentoo installation that couldn't be fixed without reinstallation. Usually reinstallation is recommended for Gentoo systems not updated for years, or if portage is seriously broken.
escfrpls wrote: | What do I need to do after freshly installed Gentoo to correctly install drivers for my videocard and vulkan? |
Usually, three steps:
1 install the proper firmware to the kernel (as keekkenen wrote),
2 indicate the correct VIDEO_CARDS value in make.conf (amdgpu radeonsi),
3 set the correct USE flags (vulkan),
and install xorg-server. The proper drivers are being installed as xorg-server dependencies:
Code: | # emerge -pv --depclean xf86-video-amdgpu
Calculating dependencies... done!
x11-drivers/xf86-video-amdgpu-23.0.0 pulled in by:
x11-base/xorg-drivers-21.1-r2 requires >=x11-drivers/xf86-video-amdgpu-18.0.1
>>> No packages selected for removal by depclean
Packages installed: 1021
Packages in world: 108
Packages in system: 49
Required packages: 1021
Number to remove: 0 |
Code: | # emerge -pv --depclean xf86-video-ati
Calculating dependencies... done!
x11-drivers/xf86-video-ati-22.0.0 pulled in by:
x11-base/xorg-drivers-21.1-r2 requires >=x11-drivers/xf86-video-ati-18.0.1-r1
>>> No packages selected for removal by depclean
Packages installed: 1021
Packages in world: 108
Packages in system: 49
Required packages: 1021
Number to remove: 0 |
Code: | # emerge -pv --depclean xorg-drivers
Calculating dependencies... done!
x11-base/xorg-drivers-21.1-r2 pulled in by:
x11-base/xorg-server-21.1.16 requires >=x11-base/xorg-drivers-21.1
>>> No packages selected for removal by depclean
Packages installed: 1021
Packages in world: 108
Packages in system: 49
Required packages: 1021
Number to remove: 0 |
Code: | # emerge -pv --depclean mesa
Calculating dependencies... done!
media-libs/mesa-24.3.4-r1 pulled in by:
app-office/libreoffice-24.2.7.2-r2 requires media-libs/mesa[egl(+)]
dev-qt/qtwebengine-6.8.2-r1 requires media-libs/mesa[gbm(+)]
gui-libs/gtk-4.14.4-r1 requires media-libs/mesa[X(+)]
net-libs/webkit-gtk-2.46.5-r410 requires media-libs/mesa
www-client/firefox-128.9.0 requires media-libs/mesa
x11-base/xorg-server-21.1.16 requires >=media-libs/mesa-18[X(+),egl(+),gbm(+)]
x11-drivers/xf86-video-ati-22.0.0 requires media-libs/mesa
>>> No packages selected for removal by depclean
Packages installed: 1021
Packages in world: 108
Packages in system: 49
Required packages: 1021
Number to remove: 0 |
keekkenen wrote: | amd-ucode/microcode_amd_fam19h.bin |
Sorry for interfering, but this one ^^ is not for GPU, but for a specific CPU (Zen 3 and Zen 4), according to wiki. _________________ A wife asks her husband, a programmer:
- Could you please go shopping for me and buy one carton of milk, and if they have eggs, get 6?
He comes back with 6 cartons of milk.
- Why did you buy 6 cartons of milk?
- They had eggs.
Last edited by halcon on Sat Apr 19, 2025 7:52 pm; edited 2 times in total |
|
Back to top |
|
 |
keekkenen n00b

Joined: 05 Oct 2024 Posts: 59
|
Posted: Sat Apr 19, 2025 4:53 pm Post subject: |
|
|
halcon wrote: |
Sorry for interfering, but this one ^^ is not for GPU, but for a specific CPU (Zen 3 and Zen 4), according to wiki. |
Sure, I have mistaken, the amd-ucode is excess, of course, it for AMD CPU. _________________ 7950x3d / x670e MSI Tomagawk / Sapphire RX 7800XT 16Gb / G.Skill 64Gb 5600 / A-Data Legend 960 2Tb (x2), A-Data SX8200PNP 256Gb |
|
Back to top |
|
 |
|