Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wine prefix installation failed on Fedora #101

Open
PuppyCoded opened this issue Dec 29, 2024 · 5 comments
Open

Wine prefix installation failed on Fedora #101

PuppyCoded opened this issue Dec 29, 2024 · 5 comments

Comments

@PuppyCoded
Copy link

Describe the bug
When running "Install SC with Wine", after downloading the launcher the process fails with the error "Wine prefix installation failed".

I am new to Linux so assuming it's something I am doing wrong, or missing.

I followed the instructions on the wiki, using the command "dnf install wine", and installing the latest winetricks.

I had the same issue on Nobara 41 as well.

To Reproduce
Steps to reproduce the behavior:

  1. Fresh and updated install of Fedora KDE Plasma 41
  2. Install Wine using "dnf install wine"
  3. Install winetricks
  4. Download and run SC LUG Helper
  5. Run prechecks
  6. Run "Install SC with Wine"
  7. Error after downloading launcher step

Expected behavior
I expected the installer to download and install the launcher with no issues, especially from a clean install this time.

Screenshots
Here is a screenshot of the generated error log.
image

OS Info:

  • Distro: Fedora KDE Plasma
  • Version: 41

Additional context
Again I am new to Linux so it's very likely I have missed something obvious or done a step incorrectly.
I am also doing this on the same SSD I have Windows installed on, I am wanting to make sure SC will work first before committing fully to daily driving Linux.

@the-sane
Copy link
Member

Hey there! We've seen a few Fedora 41 users having this issue recently and we're having a hard time tracking it down. A workaround seems to be running the Helper from within a terminal window instead of through your GUI file manager. You can try that for now while we work at figuring out what Fedora changed to break things.

If you need help figuring out how to do that, stop by our Discord's tech support channel for help. The links are on the wiki's main page and it's bridged to Matrix if you don't want to use Discord.

@PuppyCoded
Copy link
Author

Heya, Tried that and it still had the same issue. I will jump on the Discord though when I have a chance. If it's just broken that way too then no stress, I am happy to wait.
Thank you!

@the-sane
Copy link
Member

If you have the time to help us troubleshoot this, then please do head to our Discord. It'll be much easier to spend some time troubleshooting back and forth over there. I've asked some others in our community for help figuring this out so, when you do get the time to join our Discord, if I'm not around someone else should be able to start the process with you.

In addition to that log file you screenshoted above, the terminal output from the Helper will be useful. You can upload both of those right into the Discord tech support channel when you get there.

@godsBeSwaffelen
Copy link

godsBeSwaffelen commented Jan 21, 2025

Relevant information:

Fresh installation of Endevour

Previously tried installing Steam and one game first for game libraries, this enabled gui when running ./lug-helper.sh

Have installed fresh OS on LUKS, then just ext4. Originally I had thought it was read/write issues now i think the log'd line ...unix path for installed_file1, ... is interesting.

i am out of cigarettes so.

same issue on EndevourOS
log file as follows:

───────┬──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
       │ File: /tmp/lughelper-install-kyY.log
───────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
   1   │ Executing cd /tmp/lughelper.Wj4iDS5SCT
   2   │ Using winetricks 20250102-next - sha256sum: 94625e6ebd1d253d5371eada16485be4601ae6caba4894220bda17f53accdefc with wine-9.22 and WINEARCH=
   3   │ ------------------------------------------------------
   4   │ warning: bug: w_metadata amstream has a unix path for installed_file1, should be a windows path
   5   │ ------------------------------------------------------
───────┴──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

terminal output:

[yummy@cummyAche lug-helper]$ ./lug-helper.sh

Greetings, Space Penguin!

This tool is provided by the Star Citizen Linux Users Group
For help, see our wiki: https://starcitizen-lug.github.io

It looks like this is your first time running the Helper

Would you like to run the Preflight Check and install Star Citizen?
[y/n]: y

Which install method would you like to use?
1: Lutris
2: Wine
[1/2]: 2

Preflight Check Results

Failed Checks:
- Your system has 32GiB memory and 0B swap.
    We recommend at least 8GiB swap to avoid crashes.

- vm.max_map_count is 1048576
    and should be set to at least 16777216
    to give the game access to sufficient memory.

Passed Checks:
- Wine is installed on your system.
- Your CPU supports the necessary AVX instruction set.
- Hard open file descriptors limit is set to 524288.

Would you like these configuration issues to be fixed for you?
[y/n]: y

The vm.max_map_count configuration has been added to:
/etc/sysctl.d/99-starcitizen-max_map_count.conf

Press any key...
Before proceeding, be sure all Preflight Checks have passed!

Please refer to our Quick Start Guide:
https://starcitizen-lug.github.io

Are you ready to continue?
[y/n]: y

Would you like to use the default install path?

/home/yummy/Games/star-citizen
[y/n]: y

Downloading https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks into /tmp/lughelper.Wj4iDS5SCT/winetricks...
####################################################################################################################### 100.0%

Downloading https://install.robertsspaceindustries.com/rel/2/RSI%20Launcher-Setup-2.1.1.exe into /tmp/lughelper.Wj4iDS5SCT/RSI Launcher-Setup-2.1.1.exe...
####################################################################################################################### 100.0%

Installation log file created at /tmp/lughelper-install-kyY.log

Preparing the wine prefix. Please wait; this will take a moment...

Wine prefix creation failed. Aborting installation.
The install log was written to
/tmp/lughelper-install-kyY.log

Do you want to delete
/home/yummy/Games/star-citizen?
[y/n]: 
[yummy@cummyAche lug-helper]$ bat /etc/sysctl.d/99-starcitizen-max_map_count.conf
───────┬──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
       │ File: /etc/sysctl.d/99-starcitizen-max_map_count.conf
───────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
   1   │ 
   2   │ # Added by LUG-Helper:
   3   │ vm.max_map_count = 16777216
───────┴──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

@godsBeSwaffelen
Copy link

godsBeSwaffelen commented Jan 21, 2025

I picked up cigarettes and fixed my arch install of lug-helper

Steps to reproduce

Go to gas station for two packs of light green American Spirits

  • fresh install of OS
  • manually (AMD CPU and GPU machine) install vulkan-radeon
  • get upset that spotify is crackly and look at ArchWiki's professional audio page
  • realize that it also adjusts the Nice limits, then think huh rt limits was an error i kept seeing maybe hot girls mess with rt limits
  • read this and thoroughly follow lug-helper instructions

And now she fly space ship

@the-sane the-sane marked this as a duplicate of #104 Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants