HGL
extended-salmon
Sonic Mania - Epic Games
Hi y'all,
I'm having a problem trying to run Sonic Mania through my epic games account on heroic.
Fedora 37, intel cpu, nvidia gpu.
Log is attached. Google says video drivers are the issue, but I'm positive my video drivers are installed correctly because it's the only game that has this issue.
Any help is appreciated. Thanks!
The error is
Some sources suggest opcode 149 is related to GLX (it'll have GLX in that empty parenthetical). All glx libraries are properly installed according to
dnf
.
Others say that opcodes are assigned dynamically, and my current x session lists DRI3 as the extension behind 149.71 Replies
equal-aqua•2y ago
"nvidiaPrime": false,You didn't enable using the dedicated GPU
extended-salmonOP•2y ago
that's interesting, everything else uses it. Is there a way to flip that with arguments/prefixes? I don't even have
prime-run
on my system because my nvidia gpu is my primarylike-gold•2y ago
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 149 ()
Minor opcode of failed request: 4
Serial number of failed request: 599
Current serial number in output stream: 607
driver issue
extended-salmonOP•2y ago
why does every other game work?
like-gold•2y ago
and u aren't using your dedicated gpu
info: Intel(R) Xe Graphics (TGL GT2):
info: Driver : Intel open-source Mesa driver 23.1.1
extended-salmonOP•2y ago
I changed the setting and now "prefer dedicated graphics card" is checked. Updated log is attached
like-gold•2y ago
info: Intel(R) Xe Graphics (TGL GT2):
info: Driver : Intel open-source Mesa driver 23.1.1
still using intel...
lmao
extended-salmonOP•2y ago
so how do I swap that?
because the "use dedicated graphics card" setting is now checked
like-gold•2y ago
heroic does not use prime-run
missing nvidia driver?
oh your wine-ge is broken btw
8-1 doesn't work on anything
upgrade to 8-11 or whatever the latest is
equal-aqua•2y ago
13
extended-salmonOP•2y ago
good to know, will update
modinfo nvidia
shows loaded, noveau is blacklisted, and discord is currently on my screen that's connected via hdmi to my nvidia card...like-gold•2y ago
ur using flatpak
extended-salmonOP•2y ago
yes
like-gold•2y ago
so you have to install the driver within flatpak
flatpak should have done that
but it's good to check
you can check with
flatpak list
extended-salmonOP•2y ago
nvidia-535-54-03 org.freedesktop.Platform.GL32.nvidia-535-54-03 1.4 flathub system
With 8.13, mania hangs after asking to install wine monolike-gold•2y ago
logs?
extended-salmonOP•2y ago
none show up
Trying to rearrange order with variables, do environment variables work? I'm not getting the logs I expect when I add
WINEDEBUG
and +wgl
to the environment variables for the gamelike-gold•2y ago
that means wineboot --init failed
-> running wineserver
export WINEPREFIX="/home/b/Games/Heroic/Prefixes/default/Sonic Mania"
wineserver -k
should do the trick
extended-salmonOP•2y ago
Sounds about right since that's where it hung, is it possible to delete and reload the prefix?
nvm it's a tiny game I just uninstalled and reinstalled
reinstalled and it hung on initializing with 8-13 again
like-gold•2y ago
could you run these 2 commands
extended-salmonOP•2y ago
did nothing, which is even weirder
is it maybe running wine out of a different prefix (which it most definitely should not be doing)?
the half-baked log seems to suggest that that is the right prefix but then why doesn't this init dialog go away
equal-aqua•2y ago
Heroic Version: 2.8.0 Nico Robincan you please update Heroic before proceeding further?
extended-salmonOP•2y ago
sure
what I find weirdest is why dxvk is choosing to use the intel graphics
when on other heroic epic games it just uses the nvidia one
extended-salmonOP•2y ago

like-gold•2y ago
that looks legit
extended-salmonOP•2y ago
hung on updating the wineprefix again, I think 8-13 is broken
like-gold•2y ago
it's not I believe?
lemme cehck
extended-salmonOP•2y ago
yeah if I try to run other games in 8-13 it does the same, should I go to 8-11?
like-gold•2y ago
that's VERY odd
because I just tried
and it works
lmao
anyway try 8-12 or something then
equal-aqua•2y ago
yeah same

extended-salmonOP•2y ago
same hang. Is there a way to get wine logs on wineboot init?
like-gold•2y ago
try
rm -Rf /home/b/Games/Heroic/Prefixes/default/Sonic\ Mania
extended-salmonOP•2y ago
Yeah it’s gone it gets deleted when I uninstall the game each time
like-gold•2y ago
you updated heroic right?
extended-salmonOP•2y ago
Yep
Even after a reboot I can’t init new wine prefixes with any version
Even the launcher can’t get through to one of these hangs, it runs
wine wineboot -k
to no availlike-gold•2y ago
should probably upstream the patch that runs wineserver -k instead
maybe I should do that now
extended-salmonOP•2y ago
That doesn’t work though
like-gold•2y ago
still should upstream it rather than hoard it lmao
it does help sometimes
extended-salmonOP•2y ago
Ok so installed 20xx which has never been on this pc and it successfully did init with 8-13
And it automatically used nvidia unlike sonic mania
But huge d3d errors
like-gold•2y ago
d3dcompiler?
if it's d3d errors it's probably still using wined3d
extended-salmonOP•2y ago
No, definitely dxvk
like-gold•2y ago
ok
extended-salmonOP•2y ago
Well, vkd3d not dxvk
Aborting due to not yet implemented feature: uniform initializer
On 8-13
Gonna try it with 8-1like-gold•2y ago
so d3dcompiler errors
try winetricks -q d3dcompiler_43 d3dcompiler_47
extended-salmonOP•2y ago
Yes but it says that vkd3d is what returned the error
like-gold•2y ago
yeah vkd3d-shader is now used for d3dcompiler
extended-salmonOP•2y ago
I’ll do so in the 20xx prefix
like-gold•2y ago
not to be confused with vkd3d-proton
which implemented dx12 on vulkan
this is part of the upstream vkd3d project
which not only does dx12 -> vulkan translation but also compiles dx shaders to vulkan
vkd3d-proton is nearly always better tho, but it doesn't compile dx shaders to vulkan
extended-salmonOP•2y ago
It is installing this, but why would a wineprefix created by heroic not have this by default….
like-gold•2y ago
maybe cuz redistrbuting dlls like that is a legal grey area and none of us are lawyers
+ it should be fixed by upstream anyway
not us
extended-salmonOP•2y ago
Worked, 20xx boots, my system isn’t borked just mania
like-gold•2y ago
ok cool
extended-salmonOP•2y ago
Trying a dxvk filter argument to make it only see the right gpu
Assuming it doesn’t hang
Oh my god why this game specifically what the hell
like-gold•2y ago
the best part is that this game is probably litterally the easiest game to run
extended-salmonOP•2y ago
If I don’t start it through heroic could I technically use wineboot from the terminal in the mania prefix to see what’s going on?
like-gold•2y ago
I think it's even easier to get running than rocket league
yeah
extended-salmonOP•2y ago
I have rocket league through steam thank god
like-gold•2y ago
either way it's easy as hell to run
alr im trying the game
like-gold•2y ago
here ya go

extended-salmonOP•2y ago
Yeah this is the game that the ps4 emulators are using as a benchmark rn lmao
like-gold•2y ago
facts
RPCSX gets 300 fps
but the game uses the framerate as the timer ig and so it kinda is too fast to actually play
extended-salmonOP•2y ago
Well I mean that one got through to exit code
like-gold•2y ago
luckily this is linux and you can limit the framerate using 1000 different tools
extended-salmonOP•2y ago
I develop in that server I know lol
like-gold•2y ago
lmao
im in there too
extended-salmonOP•2y ago
Ok so wineboot init worked externally, hopefully now it doesn’t hang trying to swap the prefix from system wine to heroic wine
No dice, this prefix is determined to hang
How would I go about calling heroic-run from terminal? That way I can see all the logs not just what heroic exposes
like-gold•2y ago
no idea lol
I guess you could run heroic through the terminal
via flatpak run
extended-salmonOP•2y ago
NEW ERROR YES
extended-salmonOP•2y ago
extended-salmonOP•2y ago
This one looks like a library issue
FIX:
Use Wine-GE-Proton7-43 , and
add DXVK_FILTER_DEVICE_NAME="NVIDIA GeForce GTX 1650" (replace the value of the environment variable with whatever your graphics card shows up as in other wine debug output)
Thx for being rubber ducks yall this was annoying
extended-salmonOP•2y ago
