Open flo-sem opened 2 weeks ago
Could you try creating a file in your init.d directory with these contents:
sudo sed -i '/^Section "Device"/a \
Identifier "Intel Graphics"\
Driver "intel"\
Option "DRI" "3"' /etc/X11/xorg.conf
If this fixes it for you i'll see if i can patch it in. You can also just edit the /etc/X11/xorg.conf if thats easier and restart the container, just be sure not to recreate the container as changes will be lost
Gave it a shot, however then the vnc website can't connect to the server anymore, logs below.
If I edit the xorg.conf file itself, it resets itself after the container reboot.
I also tried creating a new config files in /etc/X11/xorg.conf.d/
, that however didn't seem to have any effect, as running vkcube
still results in:
Selected GPU 0: Intel(R) UHD Graphics (CML GT2), type: IntegratedGpu
vulkan: No DRI3 support detected - required for presentation
Note: you can probably enable DRI3 in your Xorg config
Could not find both graphics and present queues
Container Logs
2024-10-16 03:20:28,550 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2024-10-16 03:20:28,551 INFO supervisord started with pid 1
2024-10-16 03:20:29,555 INFO spawned: 'dbus' with pid 255
2024-10-16 03:20:29,558 INFO spawned: 'udev' with pid 256
2024-10-16 03:20:29,559 INFO spawned: 'xorg' with pid 257
2024-10-16 03:20:29,561 INFO spawned: 'audiostream' with pid 258
2024-10-16 03:20:29,562 INFO spawned: 'frontend' with pid 260
2024-10-16 03:20:29,564 INFO spawned: 'pulseaudio' with pid 261
2024-10-16 03:20:29,566 INFO spawned: 'x11vnc' with pid 264
2024-10-16 03:20:29,567 INFO spawned: 'desktop' with pid 266
2024-10-16 03:20:29,569 INFO spawned: 'sunshine' with pid 269
PULSEAUDIO: Starting pulseaudio service
2024-10-16 03:20:29,574 WARN exited: xorg (exit status 1; not expected)
2024-10-16 03:20:29,586 INFO reaped unknown pid 285 (exit status 0)
2024-10-16 03:20:30,604 INFO success: dbus entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-10-16 03:20:30,605 INFO success: udev entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-10-16 03:20:30,606 INFO spawned: 'xorg' with pid 325
2024-10-16 03:20:30,607 INFO success: audiostream entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-10-16 03:20:30,607 INFO success: frontend entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-10-16 03:20:30,607 INFO success: pulseaudio entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-10-16 03:20:30,607 INFO success: x11vnc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-10-16 03:20:30,607 INFO success: desktop entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-10-16 03:20:30,607 INFO success: sunshine entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-10-16 03:20:30,629 WARN exited: xorg (exit status 1; not expected)
2024-10-16 03:20:33,626 INFO spawned: 'xorg' with pid 364
2024-10-16 03:20:33,644 WARN exited: xorg (exit status 1; not expected)
2024-10-16 03:20:37,613 INFO spawned: 'xorg' with pid 416
2024-10-16 03:20:37,652 WARN exited: xorg (exit status 1; not expected)
2024-10-16 03:20:38,654 INFO gave up: xorg entered FATAL state, too many start retries too quickly
2024-10-16 03:21:00,032 WARN exited: x11vnc (exit status 11; not expected)
2024-10-16 03:21:00,033 WARN exited: desktop (exit status 11; not expected)
2024-10-16 03:21:00,033 WARN exited: sunshine (exit status 11; not expected)
2024-10-16 03:21:00,037 INFO spawned: 'x11vnc' with pid 685
2024-10-16 03:21:00,041 INFO spawned: 'desktop' with pid 686
2024-10-16 03:21:00,045 INFO spawned: 'sunshine' with pid 687
2024-10-16 03:21:01,066 INFO success: x11vnc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-10-16 03:21:01,066 INFO success: desktop entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-10-16 03:21:01,066 INFO success: sunshine entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-10-16 03:21:01,067 INFO reaped unknown pid 698 (exit status 0)
2024-10-16 03:21:30,516 WARN exited: x11vnc (exit status 11; not expected)
2024-10-16 03:21:30,517 WARN exited: sunshine (exit status 11; not expected)
2024-10-16 03:21:30,583 INFO spawned: 'x11vnc' with pid 1058
2024-10-16 03:21:30,585 INFO spawned: 'sunshine' with pid 1059
2024-10-16 03:21:30,586 WARN exited: desktop (exit status 11; not expected)
2024-10-16 03:21:30,587 INFO spawned: 'desktop' with pid 1060
2024-10-16 03:21:31,598 INFO success: x11vnc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-10-16 03:21:31,599 INFO success: desktop entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-10-16 03:21:31,599 INFO success: sunshine entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-10-16 03:21:31,599 INFO reaped unknown pid 1072 (exit status 0)
Are you able to check if it's even running off the igpu? I have the same issue, included --device=/dev/dri in extra parameters with intel pentium 8505 (intel_gpu_top installed on unraid).
When running any game that requires proton, they instantly crash and go back to the green play button. When including the Wine parameter you mentioned in launch options, the games launch but run extremely poorly. In the unraid homepage menu the iGPU also shows no activity (also have --device=/dev/dri in plex extra parameters and when transcoding gpu shows activity) suggesting the game running off purely the CPU.
vkcube shows: [default@SteamHeadless ~]$ vkcube Graphics Selected GPU 0: Intel(R) Graphics (ADL GT2), type: IntegratedGpu vulkan: No DRI3 support detected - required for presentation Note: you can probably enable DRI3 in your Xorg config Could not find both graphics and present queues
But steam system information shows: Video Card: Driver: Mesa/X.org lImpipe (LLVM 15.0.6, 256 bits) Driver Version: 4.5 (Compatibility Profile) Mesa 22.3.6 OpenGL Version: 4.5 Desktop Color Depth: 24 bits per pixel Monitor Refresh Rate: 50 Hz VendorID: 0x8086 DevicelD: 0x46b3 Revision Not Detected Number of Monitors: 1 Number of Logical Video Cards: 2 Primary Display Resolution: 1920 × 1080 Desktop Resolution: 1920 × 1080 Primary Display Size: 20.00" x 11.22" (22.91" diag), 50.8cm x 28.5cm (58.2cm diag) Primary VRAM Not Detected
I feel like there may be a config issue somewhere, but not sure how to fix this
I looked into @1mthesun 's comment, running "Cult of the Lamb" (Proton) and "Enter the Gungeon" (Native), i found that while the 4 bar graphs in intel_gpu_top
(Render/3D, Blitter, Video, Video Enhance) did in fact not show any utilisation, The above "IMC reads/writes" section showed a drastic increase after launching a game, as well as the amount of Watts used by the CPU (for both games).
I dont think a lack of iGPU utilisation is causing this issue...
(Sorry for closing and reopening, must have pressed the button on accident)
Any activity on this issue?
Hi, I'm facing the same issue with Marvel's SNAP game, I can run it (with proton 7.0-6 and "PROTON_USE_WINED3D=1 %command%" launch option) but it's reaaaally slow. vkcube command gives:
[default@SteamHeadless ~]$ vkcube
Selected GPU 0: Intel(R) UHD Graphics (TGL GT2), type: IntegratedGpu
vulkan: No DRI3 support detected - required for presentation
Note: you can probably enable DRI3 in your Xorg config
Could not find both graphics and present queues
I tried playing with xorg.conf (get reseted on container restart) and xorg.conf.d/20-intel.conf that stick after restart but does nothing. Steam information shows:
Computer Information:
Manufacturer: Intel Corporation
Model: NUC11TNBi3
Form Factor: Desktop
No Touch Input Detected
Processor Information:
CPU Vendor: GenuineIntel
CPU Brand: 11th Gen Intel(R) Core(TM) i3-1115G4 @ 3.00GHz
CPU Family: 0x6
CPU Model: 0x8c
CPU Stepping: 0x1
CPU Type: 0x0
Speed: 4100 MHz
4 logical processors
2 physical processors
Hyper-threading: Supported
FCMOV: Supported
SSE2: Supported
SSE3: Supported
SSSE3: Supported
SSE4a: Unsupported
SSE41: Supported
SSE42: Supported
AES: Supported
AVX: Supported
AVX2: Supported
AVX512F: Supported
AVX512PF: Unsupported
AVX512ER: Unsupported
AVX512CD: Supported
AVX512VNNI: Supported
SHA: Supported
CMPXCHG16B: Supported
LAHF/SAHF: Supported
PrefetchW: Unsupported
Operating System Version:
Debian GNU/Linux 12 (bookworm) (64 bit)
Kernel Name: Linux
Kernel Version: 6.8.0-47-generic
X Server Vendor: The X.Org Foundation
X Server Release: 12101007
X Window Manager: Xfwm4
Steam Runtime Version: steam-runtime_0.20240806.97925
Video Card:
Driver: Mesa/X.org llvmpipe (LLVM 15.0.6, 256 bits)
Driver Version: 4.5 (Compatibility Profile) Mesa 22.3.6
OpenGL Version: 4.5
Desktop Color Depth: 24 bits per pixel
Monitor Refresh Rate: 59 Hz
VendorID: 0x8086
DeviceID: 0x9a78
Revision Not Detected
Number of Monitors: 1
Number of Logical Video Cards: 1
Primary Display Resolution: 1680 x 1050
Desktop Resolution: 1680 x 1050
Primary Display Size: 17.52" x 10.94" (20.63" diag), 44.5cm x 27.8cm (52.4cm diag)
Primary VRAM Not Detected
If I run without "PROTON_USE_WINE3D" it gives:
Switching to resolution 1680x1050 failed
Screen: DX11 could not switch resolution (1680x1050 fs=1 hz=0)
I'm not sure of how to get Proton logs or where ot find them, if you can help me I'll provide them !
Did you made any progress on your side ?
I followed @alansari s comment trying to modify the Xorg config, but it had no effect just as you are describing
I tried to mount the xorg.conf file directly (to force it's content) but the container won't start because of "70-configure_xorg.sh" that try to edit the file and fail. So I edited "70-configure_xorg.sh" from inside the container by forcing it to copy my xorg.conf file:
if ([ "X${monitor_connected}" = "X" ] || [ "${FORCE_X11_DUMMY_CONFIG}" = "true" ]); then
print_step_header "No monitors connected. Installing dummy xorg.conf"
# Use a dummy display input
# cp -f /templates/xorg/xorg.dummy.conf /etc/X11/xorg.conf --> original line replaced by mine hereafter
cp -f /home/default/xorg.conf /etc/X11/xorg.conf
fi
It's running as before with the same exact problem so enabling DRI 3 in xorg.conf does not seem to solve our problem. Here is my xorg.conf file for reference:
Section "Device"
Identifier "Configured Video Device"
Driver "dummy"
VideoRam 256000
EndSection
Section "Monitor"
Identifier "Configured Monitor"
HorizSync 5.0 - 1000.0
VertRefresh 5.0 - 200.0
ModeLine "1920x1080" 148.50 1920 2448 2492 2640 1080 1084 1089 1125 +Hsync +Vsync
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1920x1080" "1280x800" "1024x768" "1920x1080" "1600x900" "1440x900"
EndSubSection
EndSection
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "DRI" "3"
EndSection
Is there something I should change in it ? Are the two Device sections ok ? (I tried to remove the first Device section, xorg process is not starting) I also tried with this xorg.conf with the same result (working but no DRI3 support):
Section "Device"
Identifier "Configured Video Device"
Driver "dummy"
Option "DRI" "3"
VideoRam 256000
EndSection
Section "Monitor"
Identifier "Configured Monitor"
HorizSync 5.0 - 1000.0
VertRefresh 5.0 - 200.0
ModeLine "1920x1080" 148.50 1920 2448 2492 2640 1080 1084 1089 1125 +Hsync +Vsync
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1920x1080" "1280x800" "1024x768" "1920x1080" "1600x900" "1440x900"
EndSubSection
EndSection
Describe the Bug
Certain games on steam ('Cult of the Lamb' for me) start and crash immediately. After tinkering around with the launch options, my best guess for this is an issue with Vulkan. (As
PROTON_USE_WINED3D=1 %command%
resolves this). After installing lutris for testing, i encountered this Note in the terminal:vulkan: No DRI3 support detected - required for presentation
After looking at Issue 52 , i tried setting the proton version to v7... This resulted in the game opening in a black screen, with a popup showing:
Steps to Reproduce
The Lutris message is reproduced by
Expected Behavior
The game should launch as expected. Maybe consider enabling DRI3 as shown here.
Screenshots
No response
Relevant Settings
Version
Build: [2024-10-12 02:59:05] [master] [0241c9f84583fb7b245fb45dbfae400153e8426c]
Platform
Relevant log output