-
I get an error after Kernel update: Thank you for any ideas. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
To answer with my findings: It may be also connected with installed Vulkan mesa drivers in case of multiple GPUs, when one is integrated. Result, wrong GPU is used. First option (can also be in ~/.bashrc): With only that change when running text-generation-webui it will throw info: "MESA-INTEL: warning: Haswell Vulkan support is incomplete". Hope this will help someone with similar issues. |
Beta Was this translation helpful? Give feedback.
-
Ok I had the same issue, and I was able to resolve it with these steps:
sudo apt update
sudo apt install --reinstall libvulkan1 vulkan-tools
sudo chmod 666 /dev/dri/renderD128
sudo chown root:render /dev/dri/renderD128
sudo usermod -aG render $USER
sudo systemctl restart display-manager
export LIBGL_ALWAYS_INDIRECT=1
sudo apt purge mesa-vulkan-drivers
sudo apt install mesa-vulkan-drivers Now after these steps whatever you were trying to do should work. I had the same issue because on my Raspberry pi with ROS2 I was trying to run this command: And when I was trying to do that I was getting these issues: ubuntu@followbot-desktop:~$ ros2 run turtlesim turtlesim_node
[INFO] [1731691131.987738381] [turtlesim]: Starting turtlesim with node name /turtlesim
[INFO] [1731691132.013147640] [turtlesim]: Spawning turtle [turtle1] at x=[5.544445], y=[5.544445], theta=[0.000000]
TU: error: ../src/freedreno/vulkan/tu_knl.cc:208: failed to open device /dev/dri/renderD128 (VK_ERROR_INCOMPATIBLE_DRIVER)
Opening /dev/dri/renderD128 failed: Permission denied
MESA: error: ZINK: vkEnumeratePhysicalDevices failed (VK_ERROR_INITIALIZATION_FAILED)
MESA: error: ZINK: failed to choose pdev
glx: failed to create drisw screen but after doing these steps I was finally able to get it to run without any conflicts. And as for the Mesa errors and stuff, the above steps resolves everything else because it just I guess started with renderD128 being denied permission. Anyways hopes this helps for anyone. It took me to long to get this down. I was using ROS2 Jazzy on a Raspberry Pi 4B with Debian 24.04 LTS. So if anyone has this issue in the future here you go. |
Beta Was this translation helpful? Give feedback.
To answer with my findings:
It may be also connected with installed Vulkan mesa drivers in case of multiple GPUs, when one is integrated. Result, wrong GPU is used.
First option (can also be in ~/.bashrc):
export CUDA_VISIBLE_DEVICES=0 # when your compute GPU is 0
With only that change when running text-generation-webui it will throw info: "MESA-INTEL: warning: Haswell Vulkan support is incomplete".
If you dont' use mesa-vulkan then:
sudo apt-get purge mesa-vulkan-drivers
Hope this will help someone with similar issues.