Closed phr3nzy closed 3 months ago
reinstall nvidia driver
Thanks for the reply and amazing work so far!
Just reinstalled, same issues present.
After listing all nvidia packages, this is what I used to reinstall:
sudo apt-fast reinstall libnvidia-cfg1-535 libnvidia-common-535 libnvidia-compute-535 libnvidia-decode-535 libnvidia-encode-535 libnvidia-extra-535 libnvidia-fbc1-535 libnvidia-gl-535 linux-modules-nvidia-535-6.8.0-36-generic linux-modules-nvidia-535-generic-hwe-24.04 linux-objects-nvidia-535-6.8.0-36-generic linux-signatures-nvidia-6.8.0-36-generic nvidia-compute-utils-535 nvidia-driver-535 nvidia-firmware-535-535.183.01 nvidia-kernel-common-535 nvidia-kernel-source-535 nvidia-prime nvidia-settings nvidia-utils-535 xserver-xorg-video-nvidia-535
This is the output of nvidia-smi
:
Thu Jul 4 13:15:06 2024
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.183.01 Driver Version: 535.183.01 CUDA Version: 12.2 |
|-----------------------------------------+----------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+======================+======================|
| 0 NVIDIA GeForce RTX 3070 ... Off | 00000000:01:00.0 On | N/A |
| N/A 45C P8 16W / 80W | 450MiB / 8192MiB | 29% Default |
| | | N/A |
+-----------------------------------------+----------------------+----------------------+
+---------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=======================================================================================|
| 0 N/A N/A 3421 G Hyprland 211MiB |
| 0 N/A N/A 7067 G Xwayland 49MiB |
| 0 N/A N/A 7097 G ...seed-version=20240703-180227.674000 138MiB |
+---------------------------------------------------------------------------------------+
The logs didn't indicate anything failing to install/configure, but I can upload them to gdrive if it helps.
CTRL ALT F3
edit ~/.config/kitty/kitty.conf
add this linux_display_server x11
this will try to launch kitty with x11 instead of wayland
https://sw.kovidgoyal.net/kitty/conf/#opt-kitty.linux_display_server
vscode, try disabling gpu acceleration https://gist.github.com/andriyudatama/fe5d00deb36feeea30ef35a5ea0f7eff
The fix for kitty worked, thanks!
VSCode is still experiencing issues, even when disabling hardware accel.
MESA-LOADER: failed to open iris: /usr/lib/dri/iris_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
failed to load driver: iris
MESA-LOADER: failed to open kms_swrast: /usr/lib/dri/kms_swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
failed to load driver: kms_swrast
MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
failed to load swrast driver
[111632:0704/175818.871711:WARNING:wayland_object.cc(159)] Binding to zwp_linux_dmabuf_v1 version 3 but version 4 is available.
[111632:0704/175818.871764:WARNING:wayland_object.cc(159)] Binding to wl_seat version 8 but version 9 is available.
[111632:0704/175818.871788:WARNING:wayland_object.cc(159)] Binding to zwp_pointer_gestures_v1 version 1 but version 3 is available.
(code:111632): GLib-GIO-ERROR **: 17:58:18.873: Settings schema 'org.gnome.settings-daemon.plugins.xsettings' does not contain a key named 'antialiasing'
Could it be related with secure boot? I read that some intel iris drivers don't work well with ubuntu in case secure boot is off. At least for ubuntu 20.04 this happened
I dont know.
I use vscodium and I dont have issue
I'll try to figure it out and post on the discord if i Can get it fixed
Bug Report
Before submitting report
[Kindly review the log files in Install-Logs directory. Some apps may have not installed properly.]
Description
When I try to open kitty or vscode, they don't launch.
Steps to Reproduce
Expected Behavior
To open
Actual Behavior
Error messages
Screenshots
No screen shots
Environment
Ubuntu 24.04
show output of
inxi -CGIsSMnr
install packageinxi
if not existAdditional Information
Running
kitty --debug-gl
gives this:Running
code --verbose ~/some/dir
gives: