Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any game that needs DXVK almost instantly freezes and eventually crashes #4503

Open
seacat17 opened this issue Nov 30, 2024 · 55 comments
Open

Comments

@seacat17
Copy link

seacat17 commented Nov 30, 2024

Software information

Any game with any settings.

System information

  • GPU: NVIDIA GeForce RTX 3050 Mobile
  • Driver: 565.57.01
  • Wine version: Proton 9.0-3
  • DXVK version: 1.7

Apitrace file(s)

NONE

Log files

borealAlyph_dxgi.log
borealAlyph_d3d9.log
steam-812370.log

...

Basically any game that needs DXVK to run either instantly freezes completely on startup or freezes a few minutes after the startup. Any game on any engine is unplayable on my system if it needs DXVK to work.

If using native OpenGL or Vulkan - there is no crashes. If using Valve's ToGL - there's no crashes. If using WineD3D - there is no crashes. The problem is with DXVK only.

@Blisto91
Copy link
Contributor

Do the games you have tried have anything in common like engine or bitness?
Also does this happen with older drivers?

@WinterSnowfall
Copy link
Contributor

If you're using Nvidia PRIME I'd recommend trying:

  • switching to Nvidia (Performance Mode)
  • launching games with DXVK_FILTER_DEVICE_NAME="NVIDIA GeForce" when using dxvk
  • avoid using HDMI outputs entirely if possible due to driver jank around these kinds of setups (DisplayPort will generally be fine)

@seacat17
Copy link
Author

seacat17 commented Nov 30, 2024

Do the games you have tried have anything in common like engine or bitness? Also does this happen with older drivers?

No, they do not have anything in common. Any games on any engine be it Source, Unity or Unreal 4 or 5, be it 32-bit or 64-bit game - it will crash.

If you're using Nvidia PRIME I'd recommend trying:

* switching to Nvidia (Performance Mode)

* launching games with `DXVK_FILTER_DEVICE_NAME="NVIDIA GeForce"` when using dxvk

* avoid using HDMI outputs entirely if possible due to driver jank around these kinds of setups (DisplayPort will generally be fine)

I use Nvidia only when playing games.

I did this right now. The result is the same.

I don't use HDMI outputs, the only output I have is the built-in laptop screen.

EDIT: newer logs.

borealAlyph_dxgi.log
borealAlyph_d3d9.log
steam-812370.log

@WinterSnowfall
Copy link
Contributor

I don't use HDMI outputs, the only output I have is the built-in laptop screen.

Alright, that should be fairly straight forward then. I'm on a NVIDIA GeForce RTX 4060 Mobile, but can't reproduce the behavior you're describing, everything is stable here. I've just played The Witcher 3 for about 3 hours or so, FWIW.

@Blisto91
Copy link
Contributor

Does anything appear in dmesg or journal when a game crashes?

@seacat17
Copy link
Author

Does anything appear in dmesg or journal when a game crashes?

No. Literally nothing.

@WinterSnowfall
Copy link
Contributor

WinterSnowfall commented Nov 30, 2024

Just noticed you are using dxvk 1.7 for some reason... how about upgrading to 2.5.1, since nobody tests ancient versions on new drivers? And please use all the dlls from a given version, don't mix and match. Your dxgi reports dxvk version 2.4, while d3d9 reports dxvk 1.7. That is not normal.

@seacat17
Copy link
Author

Just noticed you are using dxvk 1.7 for some reason... how about upgrading to 2.5.1, since nobody tests ancient versions on new drivers?

How do I do this on Steam Proton?

@Blisto91
Copy link
Contributor

You seem to have a d3d9.dll in the game folder so that is being used instead of the one Proton ships

@seacat17
Copy link
Author

You seem to have a d3d9.dll in the game folder so that is being used instead of the one Proton ships

O h . . .

Let me resolve that really quick.

@seacat17
Copy link
Author

seacat17 commented Nov 30, 2024

DXVK v2.5.1:

borealAlyph_dxgi.log
steam-812370.log
borealAlyph_d3d9.log

ONE NOTE THO: capping FPS down to 60 increased the time before the game crashes. If uncapped, the game usually crashes almost instantly. If capped - I can play for a few minutes before it will crash.

@WinterSnowfall
Copy link
Contributor

I don't see anything relevant in the logs sadly, so it's very unlikely anything odd happens inside dxvk code.

ONE NOTE THO: capping FPS down to 60 increased the time before the game crashes. If uncapped, the game usually crashes almost instantly. If capped - I can play for a few minutes before it will crash.

That sounds like some sort of system instability or overheating perhaps? Not much we can help with here I'm afraid.

@seacat17
Copy link
Author

I don't see anything relevant in the logs sadly, so it's very unlikely anything odd happens inside dxvk code.

ONE NOTE THO: capping FPS down to 60 increased the time before the game crashes. If uncapped, the game usually crashes almost instantly. If capped - I can play for a few minutes before it will crash.

That sounds like some sort of system instability or overheating perhaps? Not much we can help with here I'm afraid.

What's weird is that if there's no DXVK - everything works just fine. I played CS2 on Vulkan for 4 hours straight and I played Minecraft on OpenGL for 2 hours straight with no crashes like that and I completed FEAR on WineD3D with no crashes.

@Blisto91
Copy link
Contributor

You don't perhaps have any overlays or such running? Might also be worth trying to disable steam overlay.
Does it also happen on say the 535 drivers?

@seacat17
Copy link
Author

You don't perhaps have any overlays or such running? Might also be worth trying to disable steam overlay. Does it also happen on say the 535 drivers?

I have tried 530 drivers - it happened there.

No overlays are running.

@Blisto91
Copy link
Contributor

Don't have any good ideas then sorry

@seacat17
Copy link
Author

Don't have any good ideas then sorry

Any ideas on how to softwarely increase stability?

@Blisto91
Copy link
Contributor

FPS limits or power caps can improve stability on some setups. For the former you can just use the dxvk fps limiter. The later i haven't really messed with so not familiar with what software to use.

@netborg-afps
Copy link

Don't have any good ideas then sorry

Any ideas on how to softwarely increase stability?

Possibly disabling power saving functionality (GPU, CPU, PCI-e, etc.)

@Bittermens
Copy link

HAs anyone tried to make this work with War 3 Reforged and Diablo 2 Ressurrected?
DX11 in those games is more of an issue than help.

I was thinking of making a thread about this but this one pretty much asks the same question as i since the game crash before it loads

@K0bin
Copy link
Collaborator

K0bin commented Dec 5, 2024

Diablo 2 Resurrected does not support D3D11. VKD3D-Proton can run the game just fine though.

@Bittermens
Copy link

Diablo 2 Resurrected does not support D3D11. VKD3D-Proton can run the game just fine though.

War 3 reforged crashes when trying to load the game

@aeadio
Copy link

aeadio commented Dec 21, 2024

I'm also seeing this issue, and I think the not a bug label ought to be removed pending further investigation. I can consistently reproduce this across multiple versions of DXVK (including 2.5.2 just released), with multiple different versions of Wine (8.26, 9.22, 9.22-staging, 9.22-tkg). The issue only appears under DXVK. If the game is using VKD3D, the issue disappears.

The game will play fine for some amount of time, typically a few minutes, before freezing. It does not hard crash. I cannot locate anything in the logs that corresponds to the moment of freezing.

I do have a PRIME setup, and I think that's related. I have not seen this issue on any non-PRIME machines in an otherwise similar setup (same distro, same Wine build, same game/version).

Occurs on Nvidia drivers 550.135, and 565.77.

It's not load related. I have tried setting Nvidia to performance profile. I have ensured the dedicated charger is plugged in to ensure the GPU has sufficient current. I have monitored the GPU usage. The game in question is WoW Classic, which is not hitting the GPU very hard (RTA 5000 Ada). Issue occurs even on minimum settings and resolution.

I have tried loading the machine with Linux native games from Steam. None of them exhibit the issue, even at very high GPU load.

@WinterSnowfall
Copy link
Contributor

I do have a PRIME setup, and I think that's related. I have not seen this issue on any non-PRIME machines in an otherwise similar setup (same distro, same Wine build, same game/version).

If it's PRIME related, just follow these steps and it should be sorted: #4503 (comment).

I was having regular freezes that I can only attribute to Vulkan device order changes (device lost type errors), but the issue hasn't reoccurred after setting a dxvk device filter for the card you intend to use with games (typically Nvidia) and avoiding to use HDMI altogether. Using HDMI over a DP-to-HDMI adapter will work.

The lockups when using HDMI outputs directly are common to all Vulkan applications and are in fact caused by the Intel driver stack when using the "On Demand" PRIME mode.

@aeadio
Copy link

aeadio commented Dec 21, 2024

If it's PRIME related, just follow these steps and it should be sorted: #4503 (comment).

Already doing all of these.

@seacat17
Copy link
Author

It's not load related. I have tried setting Nvidia to performance profile. I have ensured the dedicated charger is plugged in to ensure the GPU has sufficient current. I have monitored the GPU usage. The game in question is WoW Classic, which is not hitting the GPU very hard (RTA 5000 Ada). Issue occurs even on minimum settings and resolution.

Just to clarify, did you try to limit the framerate? In my case, limiting the framerate extended the time before freezing.

@aeadio
Copy link

aeadio commented Dec 22, 2024

Just to clarify, did you try to limit the framerate? In my case, limiting the framerate extended the time before freezing.

I've been using vsync and the framerate has been a steady 60 FPS. Limiting it below that isn't an acceptable solution, especially if it still freezes eventually. Might as well fall back to VKD3D, but the performance with WoW is nowhere near as good as DXVK.

Edit: I've been able to confirm that disabling vsync / frame cap makes the game freeze much sooner. But this is not an indication that it's load related, because monitoring doesn't suggest the GPU is highly loaded, and I cannot reproduce in any non-DXVK scenario, even with dedicated Vulkan benchmarks.

To me it suggests something like a counter overflowing, but I have no idea to begin where to look to debug this.

@seacat17
Copy link
Author

To me it suggests something like a counter overflowing, but I have no idea to begin where to look to debug this.

In my case limiting the framerate down to 35 lets me play the game for a good while.

Seems like some kind of... Memory leak or overflow, yeah.

@De-M-oN
Copy link

De-M-oN commented Jan 1, 2025

DXVK v2.5.1:

borealAlyph_dxgi.log steam-812370.log borealAlyph_d3d9.log

ONE NOTE THO: capping FPS down to 60 increased the time before the game crashes. If uncapped, the game usually crashes almost instantly. If capped - I can play for a few minutes before it will crash.

Interesting.
I have the same issue on windows with dgvoodoo 2's DirectX12 Output and only at 4k

@seacat17
Copy link
Author

seacat17 commented Jan 2, 2025

Interesting. I have the same issue on windows with dgvoodoo 2's DirectX12 Output and only at 4k

Um... What does this have to do with DXVK acting up?

@K0bin
Copy link
Collaborator

K0bin commented Jan 2, 2025

@seacat17 Could you please list some games that have this problem on your system?

I just played several hours of Mass Effect Legendary edition on Proton without any problems (Nvidia GPU too). So it obviously doesn't affect every game. We do need a few examples for games where you are sure that you ran into this problem to investigate further.

@seacat17
Copy link
Author

seacat17 commented Jan 2, 2025

@seacat17 Could you please list some games that have this problem on your system?

I just played several hours of Mass Effect Legendary edition on Proton without any problems (Nvidia GPU too). So it obviously doesn't affect every game. We do need a few examples for games where you are sure that you ran into this problem to investigate further.

Indigo Park, Voices of The Void, Phasmophobia, Astroneer, F.E.A.R., Boreal Alyph...

Should I continue? These games have little to nothing in common.

@MAGGen-hub
Copy link

MAGGen-hub commented Jan 7, 2025

Got same problem with Scrap Mechanic and Deep Rock Galactic.
HP Pavlilon Gaming Laptop 17.
Arch Linux. Proton 9.
00:02.0 VGA compatible controller: Intel Corporation CometLake-H GT2 [UHD Graphics] (rev 05)
01:00.0 VGA compatible controller: NVIDIA Corporation TU116M [GeForce GTX 1660 Ti Mobile] (rev a1)
nvidia-dkms - latest. All drivers updated just now.
Games 100% will freeze after 1-2 minutes of gameplay.
The only fix known by me - run second X server using startx command.
Set DISPLAY=:1 %command%. Run the game from the first server, jump to second.
Problem will not disapear, unfortunately... Game will freeze after 10-15 minutes, BUT swaping back to first X server and back to second again has 50/50% chance fixing it... (also it looks like game was freezed before and unfrezes in 1-2 seconds after swap)
And yes: NO WINDOW MANAGER on second X server! openbox/xfce4/KDE any manager will freeze the game after 5 minutes of gameplay...
About Deep Rock Galactic -> it shows a crash message a few minutes after frezze, but crash message window are also freezed, buttons can't be pressed and cursor stands in <-> mode, like I am trying to edit window size.
Also if mangohud is used it freeses complety too...
P.S. Changed nvidia-dkms to nvidia-open-dkms as arch wiki says -> nothing changed
P.S.2. After long play (45-60 minutes) sugnificant fresses on any input (mouse/keyboard) apears, HUD shows that FPS is around near 40 (limit 45) but it feels almost like playing with 10 fps... Same for both games. Still playable, but meh...

Also, needs to say that that issue didn't appear for me before 2024 year... So... Maybe it's not dxvk bug, but... What the hell must be responsable for such a terrific problem? Updates to the linux core it self? Or maybe something related to Nvidia PRIME tech?

@MAGGen-hub
Copy link

MAGGen-hub commented Jan 7, 2025

Testing startx launched with prime-run option... Probably it will help with input lags...
P.S. Not hepled. Input lags still appear. I will try removing term instace from second server to make it complety empty... But I guess it will not change anything, case term already was drawn by GPU (prime-run startx)...
Proton-9... Deep Rock Galactic. On second X server: 38 minutes without input shuttering on 45 fps...
Well... I don't think this problem will have a quick fix...

@seacat17
Copy link
Author

seacat17 commented Jan 8, 2025

Same thing, it all started in summer of 2024.

@MAGGen-hub
Copy link

MAGGen-hub commented Jan 8, 2025

image
Is it ok that FSD-Win64-Shipping.exe (Deep Rock Galactic) are working in C+G mode?

@MAGGen-hub
Copy link

Well... Guess it's a bug, but not dxvk bug...
I tried vkd3d-proton and got the same results... Also setting NVIDIA as primary GPU for X server not helping at all...
I guess the problemmis MUCH deeper than dxvk bug... If not drivers then, probably changes in linux core or in X server it self might be the reason of this... It also looks like it's not affecting video memory at all... nvidia-smi shows no changes...

@seacat17
Copy link
Author

seacat17 commented Jan 8, 2025

Well... Guess it's a bug, but not dxvk bug... I tried vkd3d-proton and got the same results... Also setting NVIDIA as primary GPU for X server not helping at all... I guess the problemmis MUCH deeper than dxvk bug... If not drivers then, probably changes in linux core or in X server it self might be the reason of this... It also looks like it's not affecting video memory at all... nvidia-smi shows no changes...

VKD3D acts weird for me. With capped FPS I was able to complete Indigo Park without a single crash but with uncapped FPS I got crashed even before main menu could display.

@MAGGen-hub
Copy link

MAGGen-hub commented Jan 8, 2025

VKD3D acts weird for me. With capped FPS I was able to complete Indigo Park without a single crash but with uncapped FPS I got crashed even before main menu could display.

My FPS is always capped (45), but it not helping much... As I said before, after 38 minutes of gameplay with any directX game any input turns my 45 FPS into 10 FPS, mouse click, key press -> 5 or 4 skipped frames, If I stop pressing, normal FPS returns...
Also tried to https://wiki.archlinux.org/title/NVIDIA_Optimus#Use_NVIDIA_graphics_only...
Same results like nothing changed...
I will try replacing nvidia-dkms with basic nvidia, and downgrading xorg and linux-core it self, but I don't think it will change anything... The problem should be inside xorg because when using no window manager the problem with full freezing disapears completly (sometimes returns, but can be easily fixed by swaping two X servers).
Maybe I will be able to found the reason of the problem but guess it time to throw my laptop out of the window and buy a new one with normal GPU...

Also need to say that when launching steam and game on the same server the problem with input shutering and freezes that forces you to swap the server apears in 10-15 minutes and annoys much more frequently...

Very ""good"" New Year present actualy... Another bug that probably will not be fixed in next 2 years... Maybe I realy should return back to Windows...

Maybe full Linux system downgrade will help? I mean from linux-core and nvidia drivers to steam it self?
Can someone with the same problem try it? Pretty please? I have no Idea how to do full downgrade without bumping into dependencies issue...

@Blisto91
Copy link
Contributor

Blisto91 commented Jan 8, 2025

My FPS is always capped (45), but it not helping much... As I said before, after 38 minutes of gameplay with any directX game any input turns my 45 FPS into 10 FPS, mouse click, key press -> 5 or 4 skipped frames, If I stop pressing, normal FPS returns...

That sounds like this Steam issue #4436
Try running it with LD_PRELOAD="" %command%

@MAGGen-hub
Copy link

New data... Problem seems to appear only in 3D scenes... I tested 2d visual novel that uses dxvk on my main X server and there was no freezes completly... Or probably it had not enought time to produce an error...

@seacat17
Copy link
Author

seacat17 commented Jan 8, 2025

New data... Problem seems to appear only in 3D scenes... I tested 2d visual novel that uses dxvk on my main X server and there was no freezes completly... Or probably it had not enought time to produce an error...

I also tried running another Xorg server on another tty and guess what? I am playing Indigo Park with DXVK with FPS uncapped for like 15 minutes now. No crashes so far.

@MAGGen-hub
Copy link

That sounds like this Steam issue #4436
Try running it with LD_PRELOAD="" %command%

Damn! Looks very familiar! Thanks! If it helps this issue could be marked as "partly-closed": I will post some kind of tutorial, how to launch a game on completly empty X server launched with default startx command.

1 similar comment
@MAGGen-hub
Copy link

That sounds like this Steam issue #4436
Try running it with LD_PRELOAD="" %command%

Damn! Looks very familiar! Thanks! If it helps this issue could be marked as "partly-closed": I will post some kind of tutorial, how to launch a game on completly empty X server launched with default startx command.

@seacat17
Copy link
Author

seacat17 commented Jan 8, 2025

That sounds like this Steam issue #4436
Try running it with LD_PRELOAD="" %command%

Damn! Looks very familiar! Thanks! If it helps this issue could be marked as "partly-closed": I will post some kind of tutorial, how to launch a game on completly empty X server launched with default startx command.

The thing is that I cannot take screenshots or capture that Xorg server in any way. Maybe there is a way to just fix this issue with all the data we gathered so far?

@MAGGen-hub
Copy link

That sounds like this Steam issue #4436
Try running it with LD_PRELOAD="" %command%

Thank you very much! You have no idea how long I suffered from that! That's awesome!!!!!
More than 1 hour and game still running with no issues!

@MAGGen-hub
Copy link

@seacat17, this is data from my experiments with dxvk freezes in my system.

The first solution for that problem (found by me) was diabling ability of my window manager to control game window:
The game window was controled only by wine (Alt-Tab will not work!).
You probably should try that, and set game window mode to windoped. On my system with that solution EVERYTHING outside game window freezes after 1-2 minutes of gameplay (that how I figured out that the reason of full dxvk freeze might be window manager). After that I swaped my xfce4 to openbox once, but got the same result - freeze.
If game window controled by manager - game freezes, if wine controls game window - xfce or open-box will freeze until game stop running.
So, after that I decided to run second X server.

My current solution:

  1. Jump to tty2 and login. Ctrl+Alt+F2
  2. Run startx ./xinitrc_game from it
  3. Jump back to tty1 where main X server running
  4. Run game from steam using DISPLAY=:1 mangohud %command% (or dxvk hud)
  5. On game steam page after clicking |> Play wait until it changed to x Close and jump to second X server immediatly!
  6. After that the game will work on second X server with steam launched on first, without any additional scripts or configuartions.

Yes, that solution is quite cursed, but work for me, hope it works for everyone who will face such problem with dxvk...
Also need to say that I am not sure who must be guilty for that bug: window manager or xorg it self:
I tried launching steam on second X server and run game right there, but bumped into freezes again.
No window manager, only xterm, steam and game, and it still freezed - but as I said before it can be easily turned back to life by jumping back to first X server and then back to second. So, probably the bug provider is located inside xorg it self...

Also need to say that this "solution" is not perfect: if you jumped to first X server and spend a few minutes in it (5+ minutes) most games will crash (and, it also may case some small problems with some progs on first server too)! This probably can be fixed with a few tweaks (withServerLayout options probably) inside xorg.conf but I am not very skilled in configuring xorg nvidia and all other GPU & rendering related stuff...

Here is my ./xinitrc_game script: xinitrc_game.txt
It has only a few differences from default ./xinitrc.
xterm -geometry 0x0+0+0 - because it may case another freeze if xorg is responsible for fresses (so I made xterm as small as posible like it's not exist at all)
twm & and xclock -geometry 50x50-1+1 & also commented, because they also can probably affect dxvk...
If you are not afraid of axidental but fixable freeses, then you may use default ./xinitrc.

Also xorg.conf: xorg.conf.txt
Generated by nvidia-config mostly but with a few changes...
Proabably it will help to understand what can be the cause of that issue.

I am not very sure about this "fix", but it helped me, and I hope it will help you.

@seacat17
Copy link
Author

seacat17 commented Jan 9, 2025

I did it a bit differently.

I jumped to tty2, did startx, then I jumped back to tty7 and in Steam I used DISPLAY=:1 variable. That's all. Now I spent 4 hours playing a game that was completely unplayable for me before.

@MAGGen-hub
Copy link

MAGGen-hub commented Jan 9, 2025

I did it a bit differently.

I jumped to tty2, did startx, then I jumped back to tty7 and in Steam I used DISPLAY=:1 variable. That's all. Now I spent 4 hours playing a game that was completely unplayable for me before.

Good to know... Crossout is still unplayable for me, unfortunatly, but it mosuly because of stack smashing problem, artifacts on wined3d render (so, it's imposible to play on it) and it's undisableable launcher... I need to search for more info about xorg and dxvk, so Crossout can be at least playable on second X server...

@MAGGen-hub
Copy link

FOUND IT! The main problem is X11 server. I just installed labwc that uses Wayland instead of X server. And run xfce4 in startxfce4 --wayland mode.
There are a very big bunch of problems because xfce4 Wayland support is on alpha stage, but in Gnome and KDE using Wayland shuld be fine. So... Problem completly gone. For DXVK and for VKD3D.
So, I guess this issue is related to this one: #3670 (comment)
And probably this one: lutris/lutris#5058

So, I guess the best solution is replacing X11 display server with Wayland alternative, so you can run games as before and probably with even better speed and fps stability, since wayland is younger that X11 and probably has much less hidden bugs...

@seacat17
Copy link
Author

FOUND IT! The main problem is X11 server. I just installed labwc that uses Wayland instead of X server. And run xfce4 in startxfce4 --wayland mode.
There are a very big bunch of problems because xfce4 Wayland support is on alpha stage, but in Gnome and KDE using Wayland shuld be fine. So... Problem completly gone. For DXVK and for VKD3D.
So, I guess this issue is related to this one: #3670 (comment)
And probably this one: lutris/lutris#5058

So, I guess the best solution is replacing X11 display server with Wayland alternative, so you can run games as before and probably with even better speed and fps stability, since wayland is younger that X11 and probably has much less hidden bugs...

No way I'm using Wayland. I hate Wayland, everything it does is breaking things, and also the DE of my choice won't work on Wayland.

Is there any way to contact the only remaining Xorg dev?

@MAGGen-hub
Copy link

No way I'm using Wayland. I hate Wayland, everything it does is breaking things, and also the DE of my choice won't work on Wayland.

Well... I am not into Wayland too, but I love games more than hate Wayland. It just helps me play games on the same display without X11VNC instalation or constant jumping from one screen to other. So I can just enable youtube on background and listen my favorite chanels with no problems.

Also I found out that in fullscreen mode on Wayland my GPU heats less then on X11. (4C degree difference)
Current GPU chip is new, old one died from overheat (Yea, HP Pavilion Laptops has worst coolling ever) so, probably in future I will use Wayland only, because 80C+ temp on normal quality settings in almost ANY dxvk games is quite big...
Last time I played Deep Rock Galactic it was near 76C which is great, I think.

Is there any way to contact the only remaining Xorg dev?

What the? Excuse me, did Xorg really mantained by ONE person???? Thats horrible!
Now I am really scared about Xorg future and ammount of bugs it may have...

Probably it's posible to contact them throught GitHub, but I don't think they will do anything to fix this problem...
This bug related only with DXVK but not all other apps.
So DXVK it self should adapt to new environment, not xorg...

So. At this moment next solutions are avaliable:

  1. Run games on second X server.
  2. Use this one - it do nothing for me but may help you, to run games on X11 as before:
    • Disable "Force Full Composition Pipeline" in xorg.conf, OR
    • replace DXVK with VKD3D and use VKD3D_DISABLE_EXTENSIONS=VK_KHR_present_id,VK_KHR_present_wait %command%
  3. Replace X11 with Wayland and problem will disapear (better to use GNOME or KDE or Wayland may case much more problems related to all other apps...)
  4. Install Wayland and compositor (see this) to run steam it self on second display. It probably may help launching games like Crossout and WarTunder when your main desktop session is under X11. (Launching Crossout using solution 1 will produce the same problem with DXVK).

@seacat17
Copy link
Author

seacat17 commented Jan 17, 2025 via email

@seacat17
Copy link
Author

@MAGGen-hub

Disable "Force Full Composition Pipeline" in xorg.conf

How do you do this?

@MAGGen-hub
Copy link

@MAGGen-hub

Disable "Force Full Composition Pipeline" in xorg.conf

How do you do this?

Look here: ValveSoftware/Proton#6869 (comment)
I tried it, but got error. Because in my version of Nvidia Optimus there is no way to control "metaopts" (or something like that). It's probably possible to set this property through xrandr or something like that, but I have absolutely no idea how and really have no will to experiment with that kind of stuff...

Last time I messed up with Nvidia drivers (not related to this issue), it took three hours of my life to reinstall them correctly... So I am still afraid of ANY stuff, related to Nvidia, Xorg, and all their almost INFINITE configs...

If you use HP Pavilion laptop too, you also may bump into same problem. If you find solution how to set it correctly, please tell me. I found a forum, with the same problem, by typing my error in google, but still don't get how to fix it...

I wrote a few scripts in Lua for Xfce, so using Wayland may become a bit more comfortable, but... Meh... Xfce is still xfce, and it's Wayland support is not very good:
Still looking for way to display keyboard layout in tray when Xfce is under Wayland. Also some icons form xfce4-panel renders over games in fullscreen mode, so I made bash script to hide that panel when playing in fullscreen...
Hacks, scripts and hacks again...
Sometimes Linux make me feel like a real hacker: tired, confused, exhausted, with constant need in coffee...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

10 participants