LovingMelody / nix-citizen

Nix configuration for StarCitizen, optionally installs the game package.
MIT License
25 stars 4 forks source link

Cursor and launcher issues. #41

Closed spector700 closed 1 month ago

spector700 commented 1 month ago

Hello,

I am on hyprland NVIDIA 560 drivers. I tried your flake on the 560 drivers but the launcher always freezes.

Then I tried the flake on nix-gaming and that works, but the cursor in game jumps around and is unusable in the inventory. It seems the fix for this is to switch to wine version 9.13 (or newer, perhaps).

I don't know what wine versions the flakes use, but if yours is newer, do you know how to fix the launcher freezing? Or if it's better to use the nix-gaming one then to fix the wine version?

LovingMelody commented 1 month ago

I think the standard wine version may be using wine-ge still. You can try the star-citizen-umu package which is the version I personally use or you can override the wine version to something newer.

spector700 commented 1 month ago

Are you talking about nix-citizen or nix-gaming flake?

LovingMelody commented 1 month ago

nix-citizen

spector700 commented 1 month ago

The launcher still freezes on star-citizen-umu

LovingMelody commented 1 month ago

Not able to reproduce that, are you using the same wine prefix from before?

spector700 commented 1 month ago

I delete the game folder each time I switch so it should be making a new one.

LovingMelody commented 1 month ago

Thanks for confirming I'll look into it, may just roll it back to the 1.x launcher

spector700 commented 1 month ago

Is there a way to see which wine version? And how can I change it, with perhaps an override? Or does umu not use wine or something (I don't know anything about umu)

LovingMelody commented 1 month ago

umu uses proton, specifically whatever is the latest proton-ge in the targeted nixpkgs version. Standard star-citizen uses wine-ge. You can override it by overriding the attr wine.

LovingMelody commented 1 month ago

Unable to recreate the issue that you had, launcher works fine for me on Hyprland with nvidia. I updated wine to the latest 9.18 instead of wine-ge and updated the launcher to be installed to 2.0.5. Can you see if any of these changes fixed the issue for you? (Only updated on nix-citizen pr not yet merged for nix-gaming)

spector700 commented 1 month ago

star-citizen-umu still freezes, But regular star-citizen now works.

I am installing again now, and I will see if the cursor also works.

LovingMelody commented 1 month ago

Great! if the cursor still doesn't work you will have to try the lug-wiki entry for cursor issues. Hurricane took out my power & internet so I'm not able to do much until at least the internet is back.

spector700 commented 1 month ago

The cursor also works correctly now. Thanks for your help!