While you're here, please consider supporting GamingOnLinux on:
Reward Tiers:
Patreon. Plain Donations:
PayPal.
This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!
You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Reward Tiers:
This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!
You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register
- Valve wins legal battle against patent troll Rothschild and associated companies
- Steam Deck now out of stock in the EU in addition to USA, Canada and Japan [updated]
- Free and open source RTS 0 A.D. release 28 "Boiorix" is live
- Widelands, the open source Settlers-like, devs plan to ban all AI generated contributions
- Kerbal Space Program spiritual successor Kitten Space Agency now has a Linux version
- > See more over 30 days here
- Establishing root of ownership for Steam account
- whizse - Nacon under financial troubles... no new WRC game (?)
- Koopa - Total Noob general questions about gaming and squeezing every oun…
- GustyGhost - Looking for Linux MMORPG sandbox players (Open Source–friendly …
- Jarmer - KDE Plasma in Linux Mint
- Caldathras - See more posts
How to setup OpenMW for modern Morrowind on Linux / SteamOS and Steam Deck
How to install Hollow Knight: Silksong mods on Linux, SteamOS and Steam Deck
Thing is, image mapping was already implemented properly in DXVK quite a while ago, but some games just ignore the returned row pitch and derp their data straight into the image memory with a single memcpy() call, which causes all sorts of trouble, so I decided to emulate it with a linear buffer. This works, but it's inefficient.
I think I found the problem. I don't have pulse-dev files installed. Just saw this in config.log:
configure:12707: checking pulse/pulseaudio.h usabilityconfigure:12707: gcc -m64 -c -O3 -march=native conftest.c >&5
conftest.c:175:10: fatal error: pulse/pulseaudio.h: No such file or directory
#include <pulse/pulseaudio.h>
^~~~~~~~~~~~~~~~~~~~
I think I found my black screen issue. I was building Wine-Vulkan with 1.0.39, have now updated to 1.0.68 and recompiling. :)
Game launches, sound is ok but screen is black. Can anyone please share the correct procedure.
One thing to note. When running setup_dxvk.sh, you need to make sure it picks up both correct wine and correct prefix. Setting just prefix alone is probably not enough. You need to set environment correctly, so your wine-vulkan will be picked instead of system wine.
I was bitten by this, and nothing worked because of it. One way to fix it, is to run wine vulkan explicitly afterwards for your prefix with something like regedit, to make sure it updates the prefix to itself.
And of course, when launching the game, you need to set all needed Wine variables to wine-vulkan locations too.
------------------------------------------------
It seems with DXVK even the lowest of systems will be able to play this game on Linux now :-)
1280x720 / Medium Settings / SSAO+Light Shafts on.
System:
Core 2 Quad Q6600 @ 2.7GHZ
Nvidia GT1030
4GB DDR2 Memory
GPU usage easily hit 100% / CPU peaked 85% Max.
I know I should use the DXVK_HUD = 1 command but I do not know where
DXVK_HUD=1 wine_dir=wine-vulkan ./the_witcher3.shBut that uses a bunch of my own scripts inside. How are you launching the game?
Example of the above script:
the_witcher3.sh
#!/bin/bash
mesa=${mesa:-true} # use custom built mesa
hud=${hud:-false} # use GALLIUM_HUD
export wine_dir=${wine_dir:-"wine-master"}
export mesa_dir=${mesa_dir:-"mesa-master"}
if $mesa; then
mesa_run="mesa_run.sh "
fi
if $hud; then
hud_run="gallium_hud.sh "
fi
export WINEPREFIX=/opt/games/wine/prefixes/witcher3
export mesa_glthread=true
export WINEDEBUG=-all
cd $WINEPREFIX/drive_c/the_witcher_3/bin/x64
${hud_run}${mesa_run}wine_run.sh witcher3.exe #&>wine_run.log
[wine_env.sh](https://gist.github.com/shmerl/a2867c5a675ed1795f03326b32b47fe7) - Environment setting script.
[wine_run.sh](https://gist.github.com/shmerl/edf230db5d4a24fd92aea16c31393d89) - Wine launcher that uses wine_env.sh.
[winetricks_run.sh](https://gist.github.com/shmerl/d7d56eed0c689531542124c705d18091) - winetricks launcher that uses wine_env.sh.
[mesa_run.sh](https://gist.github.com/shmerl/611b5b1670eb5963d0d99a4512ed8674) - script to use custom Mesa.
You can get the idea from it, how to run custom Wine + custom prefix + custom Mesa.