how to check video card installed?

d_G

Member
May 17, 2024
30
2
8
Hi,
(my first post : hope in the correct forum, )
last proxmox Le 8.2.2 here.
on board my tiny pc has a HD630
#ls -l /dev/dri
total 0
drwxr-xr-x 2 root root 80 May 17 14:05 by-path
crw-rw---- 1 root video 226, 1 May 17 14:05 card1
crw-rw-rw- 1 root sgx 226, 128 May 17 14:05 renderD128

how to be sure that in this case the integrated video card is avalaible for a container (In this case frigate)?
thank you!

EDIT :
# 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: va_openDriver() returns -1
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit
 
Last edited:
Try a variation of this:
Code:
~$ lspci | grep VGA; lspci -v -s 03:00.0 
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Renoir (rev d9)
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Renoir (rev d9) (prog-if 00 [VGA controller])
    Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Renoir [Radeon RX Vega 6 (Ryzen 4000/5000 Mobile Series)]
    Flags: bus master, fast devsel, latency 0, IRQ 41, IOMMU group 2
    Memory at d0000000 (64-bit, prefetchable) [size=256M]
    Memory at e0000000 (64-bit, prefetchable) [size=2M]
    I/O ports at e000 [size=256]
    Memory at fcc00000 (32-bit, non-prefetchable) [size=512K]
    Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
    Capabilities: <access denied>
    Kernel driver in use: amdgpu
    Kernel modules: amdgpu

Edit: Forget this. In a container it might not work this way...
 
Last edited:
  • Like
Reactions: d_G
Thank you!
yes, it work in pve : 00:02.0 VGA compatible controller: Intel Corporation CoffeeLake-S GT2 [UHD Graphics 630],
at least the igpu is there :)
Anyway the comand doesn't work in the container or at docker prompt.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!