You are not logged in.

#1 2024-03-02 18:07:29

Myphis
Member
Registered: 2023-07-22
Posts: 61

Create virtual monitor

Hello community,
I need your help.

briefly my needs:
I have meta quest 3 and I would like to use application "Immersed" and have multiple virtual displays in headset. The problem I run is that I can not spawn virtual displays.

What I have already tried:
- install xf86-video-dummy
- in /etc/X11/xorg.config.d I created 21-dummy.conf like this

Section "Device"
    Identifier "dummy_device1"
    Driver "dummy"
    Option "IgnoreEDID" "true"
    Option "NoDDC" "true"
    # Set the desired video RAM for the dummy device (e.g., 32MB)
    VideoRam 32728
EndSection

Section "Monitor"
    Identifier "dummy_monitor1"
    HorizSync 28.0-80.0
    VertRefresh 48.0-120.0
    Modeline "2560x1600_120.00"  737.16  2560 2784 3072 3584  1600 1601 1604 1714  -HSync +Vsync
    Option "PreferredMode" "2560x1600_120.00"
EndSection

Section "Screen"
    Identifier "dummy_screen1"
    Device "dummy_device1"
    Monitor "dummy_monitor1"
    DefaultDepth 24
    SubSection "Display"
        Depth 24
        Modes "2560x1600_120.00"
    EndSubSection
EndSection

XXXXXX    after restart of display manager nothing    XXXXXXXXX
- installed libva-utils
- vainfo gives this

Trying display: wayland
Trying display: x11
libva error: vaGetDriverNames() failed with unknown libva error
vaInitialize failed with error code -1 (unknown libva error),exit

this is because no specified driver, as I could understand, so I use nvidia-dkms

pacman -Q nvidia
nvidia-dkms 535.113.01-2

and I do not know what driver indicate in LIBVA_DRIVER_NAME variable (I export this variable in .zshrc file), because in /usr/lib/dri I can not see any driver from nvidia

ls /usr/lib/dri
drwxr-xr-x root root 338 B  Sat Mar  2 17:10:46 2024  .
drwxr-xr-x root root 135 KB Sat Mar  2 17:10:51 2024  ..
.rwxr-xr-x root root  33 MB Thu Feb 29 21:34:21 2024  crocus_dri.so
.rwxr-xr-x root root  33 MB Thu Feb 29 21:34:21 2024  d3d12_dri.so
.rwxr-xr-x root root  33 MB Thu Feb 29 21:34:21 2024  i915_dri.so
.rwxr-xr-x root root  33 MB Thu Feb 29 21:34:21 2024  iris_dri.so
.rwxr-xr-x root root  33 MB Thu Feb 29 21:34:21 2024  kms_swrast_dri.so
.rwxr-xr-x root root  33 MB Thu Feb 29 21:34:21 2024  nouveau_dri.so
.rwxr-xr-x root root  33 MB Thu Feb 29 21:34:21 2024  r300_dri.so
.rwxr-xr-x root root  33 MB Thu Feb 29 21:34:21 2024  r600_dri.so
.rwxr-xr-x root root  33 MB Thu Feb 29 21:34:21 2024  radeonsi_dri.so
.rwxr-xr-x root root  33 MB Thu Feb 29 21:34:21 2024  swrast_dri.so
.rwxr-xr-x root root  33 MB Thu Feb 29 21:34:21 2024  virtio_gpu_dri.so
.rwxr-xr-x root root  33 MB Thu Feb 29 21:34:21 2024  vmwgfx_dri.so
.rwxr-xr-x root root  33 MB Thu Feb 29 21:34:21 2024  zink_dri.so

thank you in advance for your help!

Last edited by Myphis (2024-03-02 18:08:28)

Offline

Board footer

Powered by FluxBB