Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Enabling the iGPU on Intel Processors" seem out of date #962

Open
ValgulNecron opened this issue Oct 6, 2024 · 5 comments
Open

"Enabling the iGPU on Intel Processors" seem out of date #962

ValgulNecron opened this issue Oct 6, 2024 · 5 comments

Comments

@ValgulNecron
Copy link

ls -la /dev/dri
get me

total 0
drwxr-xr-x  3 root root        100 Oct  6 11:32 .
drwxr-xr-x 19 root root       3680 Oct  6 12:29 ..
drwxr-xr-x  2 root root         80 Oct  6 11:32 by-path
crw-rw----  1 root video  226,   0 Oct  6 11:32 card0
crw-rw----  1 root render 226, 128 Oct  6 11:32 renderD128

/etc/modprobe.d/blacklist-hetzner.conf dont have any i915 line
/etc/default/grub.d/hetzner.cfg don't have nomodeset

sudo lspci -v -s $(lspci | grep VGA | cut -d" " -f 1)
do show Kernel driver in use: i915

sudo intel_gpu_top show
intel_gpu_top: ../tools/intel_gpu_top.c:1932: init_engine_classes: Assertion `max >= 0' failed.
[1] 96083 IOT instruction sudo intel_gpu_top

i also checked with vainfo

error: can't connect to X server!
libva info: VA-API version 1.17.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_17
libva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
libva info: va_openDriver() returns 1
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_8
libva error: /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so init failed
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit

any idea on what gone wrong here ?

@disclearing
Copy link

It's not out of date you just didn't follow the guide properly

@ValgulNecron
Copy link
Author

hi.
just managed to make it work, and checked the tutorial to be sure but yes some stuff where not written. or not present anymore
for example i needeed to add sudo apt update && sudo apt install -y firmware-linux-nonfree and echo 'options i915 enable_guc=2' >> /etc/modprobe.d/i915.conf to make it work
and step 3 and 4 does not apply anymore. (at least on newer hardware)

@disclearing
Copy link

hi. just managed to make it work, and checked the tutorial to be sure but yes some stuff where not written. or not present anymore for example i needeed to add sudo apt update && sudo apt install -y firmware-linux-nonfree and echo 'options i915 enable_guc=2' >> /etc/modprobe.d/i915.conf to make it work and step 3 and 4 does not apply anymore. (at least on newer hardware)

I have a 12900k i9 9900k and the new i5 machine all used the exact same steps ie the igpu enabled and all of those machines are running proxmox with pass through enabled

@disclearing
Copy link

But I recommend not being a pirate cos your github profile shows your use of the machine in a nut shell

@ValgulNecron
Copy link
Author

don't really plan on using hetzner server for this kind of stuff since they have my real identity but still need igpu setup for kasm to use it for desktop so they are not laggy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants