[SOLVED] can't create frame buffer device (fb0)

rakali

Active Member
Jan 2, 2020
42
5
28
42
I'm on 6.1 using an intel cpu with gpu. I also have an amd gpu that i passthrough to a vm.

for graphic acceleration plex lxc needs fb0, but it does not exist on my host.

Code:
# ls -l /dev/fb0
ls: cannot access '/dev/fb0': No such file or directory

i965-va-driver is installed and vainfo returns correct info about intel gpu. (see below) have also tried installing xserver-xorg-video-intel without result.

Code:
% dmesg | grep fb

[    1.652491] fb0: EFI VGA frame buffer device
[   12.854222] fb0: switching to inteldrmfb from EFI VGA

Code:
# lsmod | grep fb
fb_sys_fops            16384  1 drm_kms_helper

similar to this thread: https://forum.proxmox.com/threads/no-frame-buffer-device-fb0.58822/

the suggested solutions in that thread only hang. (rmmod i915 and modprobe i915 modeset=1)

I have tried adding options i915 modeset=1 to /etc/modprob.d/i915-kms.conf and running update-initramfs -uk all. I have also tried adding GRUB_CMDLINE_LINUX="i915.modeset=1 driver=intel" and running update-grub without any effect.

any advice would be appreciated

Code:
% vainfo
error: can't connect to X server!
libva info: VA-API version 1.4.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_4
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.4 (libva 2.4.0)
vainfo: Driver version: Intel i965 driver for Intel(R) Coffee Lake - 2.3.0
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :    VAEntrypointVLD
      VAProfileMPEG2Simple            :    VAEntrypointEncSlice
      VAProfileMPEG2Main              :    VAEntrypointVLD
      VAProfileMPEG2Main              :    VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline:    VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:    VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline:    VAEntrypointEncSliceLP
      VAProfileH264Main               :    VAEntrypointVLD
      VAProfileH264Main               :    VAEntrypointEncSlice
      VAProfileH264Main               :    VAEntrypointEncSliceLP
      VAProfileH264High               :    VAEntrypointVLD
      VAProfileH264High               :    VAEntrypointEncSlice
      VAProfileH264High               :    VAEntrypointEncSliceLP
      VAProfileH264MultiviewHigh      :    VAEntrypointVLD
      VAProfileH264StereoHigh         :    VAEntrypointVLD
      VAProfileVC1Simple              :    VAEntrypointVLD
      VAProfileVC1Main                :    VAEntrypointVLD
      VAProfileVC1Advanced            :    VAEntrypointVLD
      VAProfileNone                   :    VAEntrypointVideoProc
      VAProfileJPEGBaseline           :    VAEntrypointVLD
      VAProfileJPEGBaseline           :    VAEntrypointEncPicture
      VAProfileVP8Version0_3          :    VAEntrypointVLD
      VAProfileHEVCMain               :    VAEntrypointVLD
      VAProfileHEVCMain10             :    VAEntrypointVLD
      VAProfileVP9Profile0            :    VAEntrypointVLD
      VAProfileVP9Profile2            :    VAEntrypointVLD

Code:
# lspci -vs 00:02
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 630 (Desktop) (prog-if 00 [VGA controller])
    Subsystem: Gigabyte Technology Co., Ltd UHD Graphics 630 (Desktop)
    Flags: bus master, fast devsel, latency 0, IRQ 146
    Memory at f6000000 (64-bit, non-prefetchable) [size=16M]
    Memory at d0000000 (64-bit, prefetchable) [size=256M]
    I/O ports at f000 [size=64]
    [virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
    Capabilities: [40] Vendor Specific Information: Len=0c <?>
    Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
    Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable- 64bit-
    Capabilities: [d0] Power Management version 2
    Capabilities: [100] Process Address Space ID (PASID)
    Capabilities: [200] Address Translation Service (ATS)
    Capabilities: [300] Page Request Interface (PRI)
    Kernel driver in use: i915
    Kernel modules: i915

Code:
/etc/modprobe.d# cat ./*
blacklist radeon
blacklist nouveau
blacklist nvidia
# modprobe information used for DKMS modules
#
# This is a stub file, should be edited when needed,
# used by default by DKMS.
options i915 modeset=1
options vfio_iommu_type1 allow_unsafe_interrupts=1
options kvm ignore_msrs=1
# This file contains a list of modules which are not supported by Proxmox VE

# nidiafb see bugreport https://bugzilla.proxmox.com/show_bug.cgi?id=701
blacklist nvidiafb
options vfio-pci ids=1002:67df,1002:aaf0 disable_vga=1
 
Last edited:
Have you been able to solve this problem? Do you plan to use Plex in a container? Are you already using your host in production?