protonscr

Error running without physical display, but using xvfb

dxvkclosed
doitsujin/dxvk#3706 · opened 2023-10-30 by lbadi · updated 2023-10-31 · 1 comments · github
Llbadi 2023-10-30 github

I'm trying to run an Unreal engine application on a docker container.
I was able to successfully run it is i forward my x11 from the host to the container.
Because in the environment that this will run it doesn't have a physical display i'm trying to create a virtual one using xvfb running:
Xvfb :99 -screen 0 1024x768x24 & and then export DISPLAY=:99
This indeed is working because if i run xdpyinfo -display :99 i get information about my virtual monitor.

The issue comes when i try to run the application through wine with dxvk, i'm receiving the error:

err: readMonitorEdidFromKey: Failed to get EDID reg key size
err: DXGI: Failed to parse display metadata + colorimetry info, using blank.

Does anyone have some experiencing using xvfb + wine together ?

Software information

Name of the game, settings used etc.

System information

  • GPU: NVIDIA GeForce GTX 1080
  • Driver: NVIDIA 535.113.1
  • Wine version: wine-8.19
  • DXVK version: v2.3

Log files

error.txt

Log file of xdpyinfo -display :99 if is useful:

display.txt

Llbadi 2023-10-31 github

I don't know the exact reason why this is failing but i've managed to make it work using xdummy instead of xvfb .
Maybe is the fact that xdummy supports x11 extension that maybe xvfb don't.

For those interested in make this work i had to create a x server with:
Xorg -noreset +extension GLX +extension RANDR +extension RENDER -logfile ./10.log -config /etc/X11/xorg.conf :10 &

I've used the config file from here https://raw.githubusercontent.com/Xpra-org/xpra/master/fs/etc/xpra/xorg.conf

Nothing extracted yet.