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
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
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
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
equal-aqua2y ago
"nvidiaPrime": false,
You didn't enable using the dedicated GPU
extended-salmon
extended-salmonOP2y 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 primary
like-gold
like-gold2y 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-salmon
extended-salmonOP2y ago
why does every other game work?
like-gold
like-gold2y 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-salmon
extended-salmonOP2y ago
I changed the setting and now "prefer dedicated graphics card" is checked. Updated log is attached
like-gold
like-gold2y ago
info: Intel(R) Xe Graphics (TGL GT2): info: Driver : Intel open-source Mesa driver 23.1.1 still using intel... lmao
extended-salmon
extended-salmonOP2y ago
so how do I swap that? because the "use dedicated graphics card" setting is now checked
like-gold
like-gold2y ago
ret.DRI_PRIME = '1'
ret.__NV_PRIME_RENDER_OFFLOAD = '1'
ret.__GLX_VENDOR_LIBRARY_NAME = 'nvidia'
ret.DRI_PRIME = '1'
ret.__NV_PRIME_RENDER_OFFLOAD = '1'
ret.__GLX_VENDOR_LIBRARY_NAME = 'nvidia'
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
equal-aqua2y ago
13
extended-salmon
extended-salmonOP2y 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
like-gold2y ago
ur using flatpak
extended-salmon
extended-salmonOP2y ago
yes
like-gold
like-gold2y 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-salmon
extended-salmonOP2y 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 mono
like-gold
like-gold2y ago
logs?
extended-salmon
extended-salmonOP2y 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 game
like-gold
like-gold2y 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-salmon
extended-salmonOP2y 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
like-gold2y ago
export WINEPREFIX="/home/b/Games/Heroic/Prefixes/default/Sonic Mania"
wineserver -k
export WINEPREFIX="/home/b/Games/Heroic/Prefixes/default/Sonic Mania"
wineserver -k
could you run these 2 commands
extended-salmon
extended-salmonOP2y 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
equal-aqua2y ago
Heroic Version: 2.8.0 Nico Robin
can you please update Heroic before proceeding further?
extended-salmon
extended-salmonOP2y 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-salmon
extended-salmonOP2y ago
No description
like-gold
like-gold2y ago
that looks legit
extended-salmon
extended-salmonOP2y ago
hung on updating the wineprefix again, I think 8-13 is broken
like-gold
like-gold2y ago
it's not I believe? lemme cehck
extended-salmon
extended-salmonOP2y ago
yeah if I try to run other games in 8-13 it does the same, should I go to 8-11?
like-gold
like-gold2y ago
that's VERY odd because I just tried and it works lmao anyway try 8-12 or something then
equal-aqua
equal-aqua2y ago
yeah same
No description
extended-salmon
extended-salmonOP2y ago
same hang. Is there a way to get wine logs on wineboot init?
like-gold
like-gold2y ago
try rm -Rf /home/b/Games/Heroic/Prefixes/default/Sonic\ Mania
extended-salmon
extended-salmonOP2y ago
Yeah it’s gone it gets deleted when I uninstall the game each time
like-gold
like-gold2y ago
you updated heroic right?
extended-salmon
extended-salmonOP2y 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 avail
like-gold
like-gold2y ago
should probably upstream the patch that runs wineserver -k instead maybe I should do that now
extended-salmon
extended-salmonOP2y ago
That doesn’t work though
like-gold
like-gold2y ago
still should upstream it rather than hoard it lmao it does help sometimes
extended-salmon
extended-salmonOP2y 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
like-gold2y ago
d3dcompiler? if it's d3d errors it's probably still using wined3d
extended-salmon
extended-salmonOP2y ago
No, definitely dxvk
like-gold
like-gold2y ago
ok
extended-salmon
extended-salmonOP2y ago
Well, vkd3d not dxvk Aborting due to not yet implemented feature: uniform initializer On 8-13 Gonna try it with 8-1
like-gold
like-gold2y ago
so d3dcompiler errors try winetricks -q d3dcompiler_43 d3dcompiler_47
extended-salmon
extended-salmonOP2y ago
Yes but it says that vkd3d is what returned the error
like-gold
like-gold2y ago
yeah vkd3d-shader is now used for d3dcompiler
extended-salmon
extended-salmonOP2y ago
I’ll do so in the 20xx prefix
like-gold
like-gold2y 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-salmon
extended-salmonOP2y ago
It is installing this, but why would a wineprefix created by heroic not have this by default….
like-gold
like-gold2y 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-salmon
extended-salmonOP2y ago
Worked, 20xx boots, my system isn’t borked just mania
like-gold
like-gold2y ago
ok cool
extended-salmon
extended-salmonOP2y 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
like-gold2y ago
the best part is that this game is probably litterally the easiest game to run
extended-salmon
extended-salmonOP2y 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
like-gold2y ago
I think it's even easier to get running than rocket league yeah
extended-salmon
extended-salmonOP2y ago
I have rocket league through steam thank god
like-gold
like-gold2y ago
either way it's easy as hell to run alr im trying the game
like-gold
like-gold2y ago
here ya go
No description
extended-salmon
extended-salmonOP2y ago
Yeah this is the game that the ps4 emulators are using as a benchmark rn lmao
like-gold
like-gold2y 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-salmon
extended-salmonOP2y ago
Well I mean that one got through to exit code
like-gold
like-gold2y ago
luckily this is linux and you can limit the framerate using 1000 different tools
extended-salmon
extended-salmonOP2y ago
I develop in that server I know lol
like-gold
like-gold2y ago
lmao im in there too
extended-salmon
extended-salmonOP2y 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
like-gold2y ago
no idea lol I guess you could run heroic through the terminal via flatpak run
extended-salmon
extended-salmonOP2y ago
NEW ERROR YES
extended-salmon
extended-salmonOP2y ago
extended-salmon
extended-salmonOP2y 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-salmon
extended-salmonOP2y ago
No description

Did you find this page helpful?