Grid Sage Forums

Grid Sage Forums

  • March 28, 2024, 12:58:22 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

LINKS: Website | Steam | Wiki

Pages: 1 [2]

Author Topic: Running on Linux with Wine seems to work fine [SOLUTIONS INSIDE]  (Read 16902 times)

Kyzrati

  • Administrator
  • True Cogmind
  • *****
  • Posts: 4266
    • View Profile
    • Cogmind
Re: Running on Linux with Wine seems to work fine [SOLUTIONS INSIDE]
« Reply #25 on: June 26, 2017, 07:11:05 PM »

Many thanks for the tip!
Logged
Josh Ge, Developer - Dev Blog | @GridSageGames | Patreon

Joshua

  • Sigix
  • ****
  • Bug Hunter Weekly Seed Participant Shared a Confirmed Combat Win Shared a Confirmed Stealth Win
  • Posts: 318
    • View Profile
Re: Running on Linux with Wine seems to work fine [SOLUTIONS INSIDE]
« Reply #26 on: September 23, 2017, 05:58:05 AM »

I think this is worth a mention. Cogmind bugs affecting only Linux do get fixed.

For anyone else running Debian Jessie or an old version of Wine: I ran into this item description display bug also, on Cogmind beta 2.1, with Wine 1.6.2. Updating to Wine 1.8.7 from the backports archive appears to have fixed it.

My experience running Cogmind on Linux has otherwise been flawless, exactly as advertised, once I got the 32-bit version of Wine and Mono installed.
Logged

chameleon

  • Unaware
  • *
  • Posts: 2
    • View Profile
Re: Running on Linux with Wine seems to work fine [SOLUTIONS INSIDE]
« Reply #27 on: October 18, 2017, 01:56:57 PM »

Hi

I am running Cogmind on Opensuse Leap 42.3 64bits with Wine 2.0 and don't have sound. Here's the trace when running Cogmind:

Code: [Select]
wine COGMIND.exe
fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.VC80.CRT" (8.0.50727.762)
fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x32d88c 1 C) semi-stub
fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x32d68c 1 C) semi-stub
fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x32d53c 1 C) semi-stub
fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x32d46c 1 C) semi-stub
fixme:keyboard:X11DRV_LoadKeyboardLayout L"00000409", 0080: semi-stub! Returning default layout.
fixme:keyboard:X11DRV_LoadKeyboardLayout L"00000409", 0001: semi-stub! Returning default layout.
fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x5c7cedc 1 C) semi-stub
fixme:msvcrt:__clean_type_info_names_internal (0x34d564) stub
fixme:msvcrt:__clean_type_info_names_internal (0x1001b34c) stub

No reference to sound at all. When I try the test sound in winecfg it does work. Should I run the game from a 32 bits wine prefix maybe? I also installed the mono-core package.
Logged

Raine

  • Derelict
  • **
  • Wiki Contributor Kyzrati Patron Weekly Seed Participant
  • Posts: 21
    • View Profile
Re: Running on Linux with Wine seems to work fine [SOLUTIONS INSIDE]
« Reply #28 on: October 19, 2017, 08:40:42 AM »

https://wiki.archlinux.org/index.php/wine

IME using 32-bit WINEPREFIX and WINEARCH are much more likely to get things running smoothly. I had a number a programs I had issues with until I did this. I believe I had to use winetricks as well for certain things. I've only used debian and arch based distros so I can't help with any tips that might be related to the way SUSE does things.
Logged

Tchey

  • Unaware
  • *
  • Posts: 1
    • View Profile
Re: Running on Linux with Wine seems to work fine [SOLUTIONS INSIDE]
« Reply #29 on: October 19, 2017, 08:41:05 AM »

Hi, i just saw a message on twitter, so i came, but i'm useless.

Linux Mint here,

I'm playing with Steam version, under PlayOnLinux, and i don't have any trouble. When i was playing out of Steam, it was also running very well.

Sorry i cannot help, i don't know much about Linux issues, i'm just a more or less basic user, i can only share my (positive) experience.
Logged

chameleon

  • Unaware
  • *
  • Posts: 2
    • View Profile
Re: Running on Linux with Wine seems to work fine [SOLUTIONS INSIDE]
« Reply #30 on: October 21, 2017, 08:55:12 AM »

i just tried to set up the game with wine and also didn't get any audio. in my case, there seemed to be a conflict between system and wine SDL audio libraries (see 'SDL applications' section of https://wiki.winehq.org/Sound).

i was able to fix it by launching the game with:
Code: [Select]
env SDL_AUDIODRIVER="" wine ./COGMIND.exe
this was the only issue i had. everything else is working fine without any further config.
(opensuse tumbleweed, using wine 2.11)

Yes! Updating to the latest wine (by adding the relevant repository: http://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_Leap_42.3/) creating a 32bit prefix and using the above command (setting sdl_audiodriver to nothing) worked!
Logged

TLW

  • Unaware
  • *
  • Posts: 1
    • View Profile
Re: Running on Linux with Wine seems to work fine [SOLUTIONS INSIDE]
« Reply #31 on: October 29, 2017, 01:43:46 PM »

I can confirm that the game "just works". Debian Stretch, wine 2.17 staging. As others have mentioned, alt-tab dies, though.

I think this is worth a mention. Cogmind bugs affecting only Linux do get fixed.

As an FYI, I would not have bought the game without this.
Logged

Ataraxzy

  • Unaware
  • *
  • Posts: 2
    • View Profile
Re: Running on Linux with Wine seems to work fine [SOLUTIONS INSIDE]
« Reply #32 on: March 20, 2019, 09:05:33 AM »

Can't get Cogmind to run on Ubuntu 18.04.  Wine crashes with the following output in the terminal:

Code: [Select]
0009:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
0009:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x33f898 1 C) semi-stub
0009:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x33f688 1 C) semi-stub
0009:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x33f0c8 1 C) semi-stub
0009:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x33eff8 1 C) semi-stub
0009:fixme:keyboard:X11DRV_LoadKeyboardLayout L"00000409", 0080: semi-stub! Returning default layout.
0009:fixme:keyboard:X11DRV_LoadKeyboardLayout L"00000409", 0001: semi-stub! Returning default layout.
0009:fixme:msvcrt:__clean_type_info_names_internal (0x35d564) stub
0009:fixme:msvcrt:__clean_type_info_names_internal (0x1001b34c) stub

My Google-fu has failed me in finding a solution.  Any suggestions?
Logged

Kyzrati

  • Administrator
  • True Cogmind
  • *****
  • Posts: 4266
    • View Profile
    • Cogmind
Re: Running on Linux with Wine seems to work fine [SOLUTIONS INSIDE]
« Reply #33 on: March 21, 2019, 01:30:42 AM »

Hi Ataraxzy, I asked around and so far have only heard the following:
Quote
Suslik: seems like that guy is running some non-standard locale?
Suslik: i'd say try deleting all kb locales but the standard one, try running it again to make sure that it's related and then submit them a bug report

Either way, it's gotta be something specific to your setup there. Another approach I've heard that worked in a couple cases was simply reinstalling Wine. I don't use Linux myself though so can't offer any more detailed help.
Logged
Josh Ge, Developer - Dev Blog | @GridSageGames | Patreon

Kyzrati

  • Administrator
  • True Cogmind
  • *****
  • Posts: 4266
    • View Profile
    • Cogmind
Re: Running on Linux with Wine seems to work fine [SOLUTIONS INSIDE]
« Reply #34 on: March 24, 2019, 05:57:23 PM »

Did you manage to get it sorted yet, Ataraxzy?
Logged
Josh Ge, Developer - Dev Blog | @GridSageGames | Patreon

Ataraxzy

  • Unaware
  • *
  • Posts: 2
    • View Profile
Re: Running on Linux with Wine seems to work fine [SOLUTIONS INSIDE]
« Reply #35 on: March 29, 2019, 06:44:32 PM »

Apologies for the delay, work had me out of town unexpectedly.  Thanks for checking up on me.  It's very much appreciated.

I've reinstalled wine, it did not help, I'm running EN-US as my locale:

Code: [Select]
LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

I tried regenerating the locale:
Code: [Select]
sudo locale-gen
Generating locales (this might take a while)...
  en_AG.UTF-8... done
  en_AU.UTF-8... done
  en_BW.UTF-8... done
  en_CA.UTF-8... done
  en_DK.UTF-8... done
  en_GB.UTF-8... done
  en_HK.UTF-8... done
  en_IE.UTF-8... done
  en_IL.UTF-8... done
  en_IN.UTF-8... done
  en_NG.UTF-8... done
  en_NZ.UTF-8... done
  en_PH.UTF-8... done
  en_SG.UTF-8... done
  en_US.UTF-8... done
  en_ZA.UTF-8... done
  en_ZM.UTF-8... done
  en_ZW.UTF-8... done
Generation complete.

But no change. 
Logged

Kyzrati

  • Administrator
  • True Cogmind
  • *****
  • Posts: 4266
    • View Profile
    • Cogmind
Re: Running on Linux with Wine seems to work fine [SOLUTIONS INSIDE]
« Reply #36 on: April 01, 2019, 01:37:54 AM »

Hi again, Ataraxzy! We were noticing that your original message and Wine output was the same as chameleon earlier in the thread, but in their case there was no crash, it was simply a lack of audio. This suggests that the cause of the crash is not indicated within the output you're seeing there, though also suggests that it might have to do with audio settings. You can reference chameleon's solution in their last reply, updating to the latest Wine and ensuring the audio settings are correct.



If that doesn't work, another thing to look into is perhaps user permissions, i.e. making sure the Cogmind files are under the correct user with the relevant access rights.

I've got someone else helping me troubleshoot this for you, since I don't use Linux myself, but to the above they added "easiest way is to try 'su', or explicitly do chmod in cogmind directory after ls -al" and "it's pure speculation, but it's possible that one of cogmind dll's does not have rights for reading/execution on his user, and since it tries to load it when app is launched, it just fails on startup"

Beyond all this, hard to say without access to the system, of course :/. Hopefully one of these things works for you.
Logged
Josh Ge, Developer - Dev Blog | @GridSageGames | Patreon
Pages: 1 [2]