PDA

View Full Version : Wine on linux mint broken/bugged


AoG
08-04-2022, 07:14 PM
I've been trying to use wine to run p99, and I've come into two major technical issues, the games animations are completely broken (as in they are just static models moving around in-game) and if there is animation it's only the first few frames.
The second issue is i cannot scroll the mouse past a certain point (as in when i hold right click to move the camera, it stops as if the resolution is smaller than it actually is)
For context i am running the latest version of wine on the latest Linux mint version. here are some logs i got that might help diagnose the issue.

0088:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0088:fixme:d3d:wined3d_check_device_format_convers ion output 0x9efa08, device_type WINED3D_DEVICE_TYPE_HAL, src_format WINED3DFMT_B8G8R8X8_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub!
0088:fixme:d3d:wined3d_check_device_format_convers ion output 0x9efa08, device_type WINED3D_DEVICE_TYPE_HAL, src_format WINED3DFMT_B5G6R5_UNORM, dst_format WINED3DFMT_B5G6R5_UNORM stub!
0124:fixme:imm:ImeSetActiveContext (0x3e6b0, 0): stub
0124:fixme:imm:ImmReleaseContext (0000000000020032, 000000000003E6B0): stub
0088:fixme:imm:ImeSetActiveContext (0x9fef38, 1): stub
0088:fixme:imm:ImmReleaseContext (0003004C, 009FEF38): stub
0088:fixme:d3d:wined3d_swapchain_set_gamma_ramp Ignoring flags 0x1.
[ERROR] - Mouse Wheel supported = TRUE

013c:fixme:d3d:state_linepattern_w Setting line patterns is not supported in OpenGL core contexts.
0088:fixme:font:freetype_set_outline_text_metrics failed to read full_nameW for font L"Ani"!
0088:err:winediag:MIDIMAP_drvOpen No software synthesizer midi port found, Midi sound output probably won't work.
0088:fixme:d3d:wined3d_swapchain_set_gamma_ramp Ignoring flags 0x1.
0088:fixme:d3d:wined3d_swapchain_set_gamma_ramp Ignoring flags 0x1.
0088:fixme:d3d:wined3d_query_gl_create Unhandled query type 0x4.
0088:fixme:d3d:resource_check_usage Unhandled usage flags 0x40.
0088:fixme:d3d:wined3d_swapchain_set_gamma_ramp Ignoring flags 0x1.
0088:fixme:d3d:wined3d_swapchain_set_gamma_ramp Ignoring flags 0x1.
^C0174:fixme:console:default_ctrl_handler Terminating process 84 on event 0
Killed

AoG
08-22-2022, 06:25 AM
bumping this thread as i want to play but am unable. please help.

loramin
08-22-2022, 11:56 AM
Not sure what to suggest, as I'm on Mint (MATE) and it just works. Maybe play with the os options in winetricks?

SenoraRaton
08-22-2022, 02:06 PM
I have no idea what I'm talking about. Start here:
https://forum.winehq.org/viewtopic.php?t=30705

As for the mouse issue, there is something about locking the FPS to 60. I eventually just accepted I had to play in windowed mode, and set the resolution to different values until I got something that worked for me. I have no idea how to actually fix it to play fullscreen.

Here is some of the research from the mouse troubleshooting I did:
https://www.project1999.com/forums/showthread.php?t=383287

loramin
08-22-2022, 02:17 PM
For that first issue, did you try doing wine -force-d3d9 ... as they suggested? Although again, personally, I don't need that: I can just do "wine eqgame.exe patchme".

As for the mouse thing, I don't mess with full screen. If you just set your resolution to be your screen size, minus a little vertical space for your menu bar, you get the best of both worlds: a full-sized screen, but the ability to ALT + TAB or click out whenever you want.

AoG
08-28-2022, 10:39 AM
For that first issue, did you try doing wine -force-d3d9 ... as they suggested? Although again, personally, I don't need that: I can just do "wine eqgame.exe patchme".

As for the mouse thing, I don't mess with full screen. If you just set your resolution to be your screen size, minus a little vertical space for your menu bar, you get the best of both worlds: a full-sized screen, but the ability to ALT + TAB or click out whenever you want.

Set eqgame.exe to windows XP initially. but no success.
forcing the dx9 argument with my launching .bat file (yes i use the batch on linux, i dunno enough about .sh files to get one properly working so bear with me) didn't fix the problem either. best way to describe the issue in detail more is that animations do not loop. they kind of just freeze (so when you're running around you kind of just slide.

AoG
08-28-2022, 10:46 AM
BTW i can export logs, wine versions and neofetch if that helps.

loramin
08-28-2022, 11:17 AM
Are you using the latest Nvidia drivers, or the open source ones?

lillyjsm
08-28-2022, 01:47 PM
I've seen this issue before but I can't recall the exact fix. That said, I did recently re-do my setup on Debian and its working fine.

Hopefully we can get you going with some more information. Can you post some of the following stuff?

Output of command "lspci -nnk"
Wine version
What dll overrides are configured, if any (this is in the winecfg menu)
In a terminal, cd to your P99 game folder, and truncate the dbg.txt file (cat /dev/null > Logs/dbg.txt), do a fresh start of P99 and load all the way into the world. Logout and post that file

AoG
08-29-2022, 04:32 AM
using the latest AMD drivers. i don't use nvidia.

AoG
08-31-2022, 01:46 AM
I've seen this issue before but I can't recall the exact fix. That said, I did recently re-do my setup on Debian and its working fine.

Hopefully we can get you going with some more information. Can you post some of the following stuff?

Output of command "lspci -nnk"
Wine version
What dll overrides are configured, if any (this is in the winecfg menu)
In a terminal, cd to your P99 game folder, and truncate the dbg.txt file (cat /dev/null > Logs/dbg.txt), do a fresh start of P99 and load all the way into the world. Logout and post that file

wine version is 7.0
feel reluctant to post -nnk due to sharing too much personal system info, any specific info you want (drivers card etc) you need?
not sure how to show if i have any dll overrides? screenshot maybe?
here's the logs of the dbg for you https://pastebin.com/uqGYnPkt

AoG
09-05-2022, 10:29 AM
is anyone on the forum still able to help? i still have this problem.

lillyjsm
09-05-2022, 02:27 PM
wine version is 7.0
feel reluctant to post -nnk due to sharing too much personal system info, any specific info you want (drivers card etc) you need?
not sure how to show if i have any dll overrides? screenshot maybe?
here's the logs of the dbg for you https://pastebin.com/uqGYnPkt

Was mainly curious about what the video device is on your system.

For the dll overrides, this is in the "winecfg" menu.

AoG
09-13-2022, 11:51 PM
Was mainly curious about what the video device is on your system.

For the dll overrides, this is in the "winecfg" menu.

from what i can see all of the dll's are (native,builtin) outside of atiadlxx and nvcuda which are (??)
i looked into wine and apparently theres a 32 bit version. perhaps i should uninstall my version of wine and download the 32 bit one? i dunno if that will help.

PS apologies that i don't reply sooner, i don't have much time to sit down and try and troublefix.

lillyjsm
09-14-2022, 09:15 AM
from what i can see all of the dll's are (native,builtin) outside of atiadlxx and nvcuda which are (??)
i looked into wine and apparently theres a 32 bit version. perhaps i should uninstall my version of wine and download the 32 bit one? i dunno if that will help.

PS apologies that i don't reply sooner, i don't have much time to sit down and try and troublefix.

Oh! Yes, you should be using the 32 bit version of wine. Here is what I would recommend doing:


Install 32bit wine
Find out what packages you are using for video drivers and install the 32bit version of that as well
Setup your wine32 prefix. You can do so in a terminal with a command like the following: WINEPREFIX="$HOME/wine32" WINEARCH=win32 winecfg
Copy your P99 everquest directory to $HOME/wine32/drive_c/Program\ Files/, or your preferred path within the WINEPREFIX.
I would then try to launch the game from a terminal. cd to the path within your 32bit WINEPREFIX where the EQ directory resides. Once there, P99 should be able to launch with this command: WINEPREFIX="$HOME/wine32" WINEARCH=win32 wine eqgame.exe patchme


Edit: The 32bit versions of these packages (video drivers, wine) should have no problem being installed alongside the 64bit versions, so don't feel like you need to remove a bunch of things, especially the 64bit video drivers

AoG
09-14-2022, 06:44 PM
Oh! Yes, you should be using the 32 bit version of wine. Here is what I would recommend doing:


Install 32bit wine
Find out what packages you are using for video drivers and install the 32bit version of that as well
Setup your wine32 prefix. You can do so in a terminal with a command like the following: WINEPREFIX="$HOME/wine32" WINEARCH=win32 winecfg
Copy your P99 everquest directory to $HOME/wine32/drive_c/Program\ Files/, or your preferred path within the WINEPREFIX.
I would then try to launch the game from a terminal. cd to the path within your 32bit WINEPREFIX where the EQ directory resides. Once there, P99 should be able to launch with this command: WINEPREFIX="$HOME/wine32" WINEARCH=win32 wine eqgame.exe patchme


Edit: The 32bit versions of these packages (video drivers, wine) should have no problem being installed alongside the 64bit versions, so don't feel like you need to remove a bunch of things, especially the 64bit video drivers

made a 32bit version of wine and ran commands, STILL didn't fix the issue for some reason. here's a log of what happened. https://pastebin.com/UcgSZQbK
i'm using the most up to date AMD drivers, i don't know where i can get installs of the 32 bit versions. perhaps i can use some sort of dll overrides to fix the issue? it's weird overall as i'd expect the latest most up to date version of my distro and wine should theoretically run this all out of the box.

lillyjsm
09-14-2022, 07:16 PM
Hmm. Could be worth a try overriding d3dx9 with winetricks. I do this on my setup, but can't remember if its required. See https://wiki.winehq.org/Winetricks for installing, or linux mint might have it available with apt.

Either way, building off of the previous post, try something like:

WINEPREFIX="$HOME/wine32" winetricks d3dx9


Also, what is the output of this command:

dpkg -l | grep -i mesa

AoG
09-19-2022, 04:16 AM
Hmm. Could be worth a try overriding d3dx9 with winetricks. I do this on my setup, but can't remember if its required. See https://wiki.winehq.org/Winetricks for installing, or linux mint might have it available with apt.

Either way, building off of the previous post, try something like:

WINEPREFIX="$HOME/wine32" winetricks d3dx9


Also, what is the output of this command:

dpkg -l | grep -i mesa

Grep output https://pastebin.com/nN4aSaGe
Things i did to help replicate for you

Moved my EQ install to that directory
Opened folder in terminal
launched via WINEARCH=win32 wine eqgame.exe patchme

Launched it and it issue is still present. maybe i should try adding winetricks d3dx9
as an argument when launching after the "patchme" ? forgive me inexperience i am not too good with linux