HGL
rare-sapphire

Driftlands, the magic revival, demo -- pointer position error

I am unable to properly run the Driftlands demo game. An image of what I am seeing is attached here:
No description
53 Replies
rare-sapphire
rare-sapphireOP2y ago
Notice that the pointer is down in the middle bottom, to "highlight" the "options" button -- now that i'm looking at it, it's like it's 2x off from the top left corner. Here is the game run log.
variable-lime
variable-lime2y ago
maybe you can try using Gamescope, not sure but maybe it helps
rare-sapphire
rare-sapphireOP2y ago
upload failed, uggh Still, I see this at the start of the log:
00f0:err:kerberos:kerberos_LsaApInitializePackage no Kerberos support, expect problems 00f0:err:ntlm:ntlm_LsaApInitializePackage no NTLM support, expect problems
variable-lime
variable-lime2y ago
that's normal, you can ignore that
rare-sapphire
rare-sapphireOP2y ago
rare-sapphire
rare-sapphireOP2y ago
Ok, there we go. ... a lot of "fixme" notices. So what happened: I have two monitors. My external is bigger, and has more visible pixels (it can show a 1280x720, but it claims to be 768. It's an HDMI Tv that wants to clip for overscan.). The game was unreadably small on the laptop monitor, so I tried to set it to windowed mode. Doing so did not result in any change other than a white boarder around the laptop screen image (went over to the other monitor), but only showed a red crossed circle when I moused over it. Would not actually let me move the window. Trying to put it back to full-screen results in this positioning error. Nothing else works. Like it doesn't actually read the screen size, or mouse location right.
variable-lime
variable-lime2y ago
maybe try using winecfg (or winetricks) to tell wine to set a virtual desktop and to capture the mouse
rare-sapphire
rare-sapphireOP2y ago
Alright. Can you tell me how? I do not know, and what i've seen of winetricks looks like "you need to know this magic trick to make it work".
variable-lime
variable-lime2y ago
game settings > winecfg this should show up, go to Graphics and check the option to capture the mouse and to set a virtual desktop (my screenshot is in spanish, but it would be the 2 option that are unchecked by default)
No description
rare-sapphire
rare-sapphireOP2y ago
ok ... testing ... So something happened. I told it to configure a virtual desktop, 1280x720, expecting to get that as a window that I could then move. And, I found the wine version setting, and changed it to plain "wine-ge-proton8-25" rather than that special one. ... now it will not start. That version seems to be "wine-latest" (Same size and date)
variable-lime
variable-lime2y ago
Wine - lutris-GE-Proton8-25-x86_64 is technically the same as wine-ge-proton8-25
rare-sapphire
rare-sapphireOP2y ago
hmm ... well, even swithcing it back the game won't start. Testing -- turning off that virtual desktop ... oh come on. I can't even start winecfg now? The button "glows" when I mouseover, but it will not bring up that config window
variable-lime
variable-lime2y ago
maybe there's a wine process stuck running? check your system processes
rare-sapphire
rare-sapphireOP2y ago
There's a couple from another game that is on "standby" from being played last night, and it's currently not doing anything until I get back to it (a turn based game). Would that actually cause a problem?
variable-lime
variable-lime2y ago
you mean the games are still running like minimized?
rare-sapphire
rare-sapphireOP2y ago
(also, is there a command-line interface to "copy/paste", so I can send the output of a command to "copy"?) Yeah. It's 5d chess, and it's not doing anything until I get back to it.
variable-lime
variable-lime2y ago
I understand the window worked once for you so I guess the game running is not an issue
rare-sapphire
rare-sapphireOP2y ago
The game did run, and did start the tutorial. I could not read anything on the small screen. And I could not get it to work if I tried to make it a window so I could put it on the bigger monitor. And that's when it ... is doing this.
variable-lime
variable-lime2y ago
sorry, I'm not sure I understand what's the current status: game doesn't open and winecfg doesn't open either?
rare-sapphire
rare-sapphireOP2y ago
Attempting to use winecfg results in nothing. No window comes up. Attempting to run the game results in nothing.
variable-lime
variable-lime2y ago
can you run Winetricks? settings > winetricks > open winetricks GUI if so you should be able to disable the virtual desktop with: default prefix > OK > Change a setting > Ok > check the option vd=off > Ok > then "cancel" every screen until winetricks closes
rare-sapphire
rare-sapphireOP2y ago
Installed components: nothing was installed by winetricks yet. Progress: Done Done Done Ok, clicking the "open gui" button ... did NOTHING for a while. Then it came up default prefix ... accept feedback change settings ... that's a long list. Disabled the virtual desktop. It took a while to accept that, but now I'm back at "what would you like to do to this wineprefix"? hmm ... should there be a single wine prefix shared by every game, or should each game have their own settings?
variable-lime
variable-lime2y ago
by default we create one prefix for each game ignore that it says the default prefix though, winetricks GUI is really bad but it's using the specific game prefix
rare-sapphire
rare-sapphireOP2y ago
Looks like i'm using Prefixes/default for everything.
variable-lime
variable-lime2y ago
oh yeah, that's bad (unless you want to do that intentionally)
rare-sapphire
rare-sapphireOP2y ago
Ok, how do I fix that? No, I don't want to say "getting X to work kills Y".
variable-lime
variable-lime2y ago
game settings > set the wineprefix folder to something like /home/user/Games/Heroic/Prefixes/Driftlands
rare-sapphire
rare-sapphireOP2y ago
And how do I make this happen automatically?
variable-lime
variable-lime2y ago
it should happen automatically
rare-sapphire
rare-sapphireOP2y ago
i.e. -- what did I mess up if everything is doing default instead of individual?
variable-lime
variable-lime2y ago
when you install a game DO NOT check the Use wine defaults checkbox though
variable-lime
variable-lime2y ago
you probably want to change this setting too in heroic's general settings (remove the /default, since you already have a prefix in that folder)
No description
rare-sapphire
rare-sapphireOP2y ago
ok. Settings/general has that (Heroic/Prefixes/default) as the folder for new wine prefixes. So ... what should that be?
variable-lime
variable-lime2y ago
make that setting not say /default, then don't use the checkbox in the install dialog, after that any new game you install should create a new folder under /Prefixes so you have all games in different prefixes
rare-sapphire
rare-sapphireOP2y ago
got it -- just Heroic/Prefixes/ With ending slash, or not with ending slash? ok, going through the directory picker gets "without" the slash
variable-lime
variable-lime2y ago
yes, without the slack (I think it works both ways anyway)
rare-sapphire
rare-sapphireOP2y ago
So nope. Even with a new winecfg ... which makes no sense, at that point wine is supposed to make a new virtual windows drive, and new virtual set of settings, right? The game should not see any evidence of it's prior runs, right? (so .. did I mess something up) ahh ... ok, lets try now yep, wine is saying the wine config is being updated ... that's new ok, it runs now ... which leads only to the question of, will it set up in a window or will that crash it again. this time ... tell it window, then exit and restart. See if that works Ha. No. Still wants to take over the full laptop screen, no actual sign of being in a window. In fairness, I've seen another game where this happens -- to get it to a window, I had to go from default full-screen, to "window, full screen, window" before it actually worked. which is why I tried this here... yeah ... as soon as I put it back to "fullscreen", it's got that 2x error. so ... "Resetting" by wiping the wine directory, and ... never using it on the bigger monitor, and having trouble reading the small text on the laptop.
variable-lime
variable-lime2y ago
another thing you can try is Gamescope, it wraps the games and uses its own window management run flatpak install gamescope then pick the option that installs runtime/com.valvesoftware.Steam.Utility.gamescope/x86_64/stable then in the game settings you should have the Gamescope tab with content, you can enable Upscaling and see if that helps
rare-sapphire
rare-sapphireOP2y ago
Looking for matches…
Similar refs found for ‘gamescope’ in remote ‘flathub’ (system):

1) runtime/org.freedesktop.Platform.VulkanLayer.gamescope/x86_64/22.08
2) runtime/com.valvesoftware.Steam.Utility.gamescope/x86_64/stable
3) runtime/org.freedesktop.Platform.VulkanLayer.gamescope/x86_64/23.08

Which do you want to use (0 to abort)? [0-3]: 2
Info: com.valvesoftware.Steam.Utility.gamescope//stable is end-of-life, with reason:
The gamescope Flatpak has been migrated to org.freedesktop.Platform.VulkanLayer.gamescope.


ID Branch Op Remote Download
1. com.valvesoftware.Steam.Utility.gamescope stable i flathub < 7.5 MB

Proceed with these changes to the system installation? [Y/n]:
Looking for matches…
Similar refs found for ‘gamescope’ in remote ‘flathub’ (system):

1) runtime/org.freedesktop.Platform.VulkanLayer.gamescope/x86_64/22.08
2) runtime/com.valvesoftware.Steam.Utility.gamescope/x86_64/stable
3) runtime/org.freedesktop.Platform.VulkanLayer.gamescope/x86_64/23.08

Which do you want to use (0 to abort)? [0-3]: 2
Info: com.valvesoftware.Steam.Utility.gamescope//stable is end-of-life, with reason:
The gamescope Flatpak has been migrated to org.freedesktop.Platform.VulkanLayer.gamescope.


ID Branch Op Remote Download
1. com.valvesoftware.Steam.Utility.gamescope stable i flathub < 7.5 MB

Proceed with these changes to the system installation? [Y/n]:
... so, do I use the End-of-life one, or do I use one of the vulkan layer ones?
variable-lime
variable-lime2y ago
it worked for me you can try the others too I guess, number 2 worked for me on the steamdeck
rare-sapphire
rare-sapphireOP2y ago
and which do I use? I'm on 22.04 lts, so does that mean I use the 22.08 for my os?
variable-lime
variable-lime2y ago
I guess you can use number 3 too
rare-sapphire
rare-sapphireOP2y ago
Ok, trying number 2 and seeing if it works...
variable-lime
variable-lime2y ago
if one doesn't work you can try another one
rare-sapphire
rare-sapphireOP2y ago
exactly ... restarting heroic Gamescope gives me the choices, "enables upscaling", and "enable fps limiter".
variable-lime
variable-lime2y ago
enable upscaling that then it lets you pick Window Type: borderless / fullscreen, you can try both and see if any of those help
rare-sapphire
rare-sapphireOP2y ago
... and I don't have either AMD or NVidia card (intel Iris...)
variable-lime
variable-lime2y ago
try with one of the other options then (I think AMD's FSR works on intel too though, not super sure)
rare-sapphire
rare-sapphireOP2y ago
Oh hello. Winecfg now comes back up?
variable-lime
variable-lime2y ago
you shouldn't need wine's virtual desktop when using gamescope
rare-sapphire
rare-sapphireOP2y ago
right ... (trying some other numbers ...) Well ... that ... sort-of worked. I told it to "upscale" from a game-size of 2176 x 1224 to a display size of 1088 x 612 ... and it now works fine on my laptop. and it thought it had a display of 1920x1080 ... which it doesn't, but would explain why the mouse and pointer were off.
variable-lime
variable-lime2y ago
good!
rare-sapphire
rare-sapphireOP2y ago
Ok. so ... NOW I managed to get a 1280x720 window ... borderless, but still -- and using the linux task bar I could move it to the other monitor. Ican't control where it shows up, but it at least centers, which means it works with the HDMI overscan. So ... playable, I hope ... will find out. Thank you. things I learned: 1. Serparate prefixes for each game, 2. Getting gamescope installed, and a potential update in the future, 3. scaling work-arounds if the program's resoution doesn't match 4. ... hope, pray, and come here for help from nice people.

Did you find this page helpful?