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

Noita (881100) #3176

Open
1 of 2 tasks
SeanRamey opened this issue Oct 28, 2019 · 48 comments
Open
1 of 2 tasks

Noita (881100) #3176

SeanRamey opened this issue Oct 28, 2019 · 48 comments
Labels
Game compatibility - Unofficial Games not expected to work without issues

Comments

@SeanRamey
Copy link

SeanRamey commented Oct 28, 2019

Compatibility Report

  • Name of the game with compatibility issues: Noita
  • Steam AppID of the game: 881100

System Information

I confirm:

  • that I haven't found an existing compatibility report for this game.
  • that I have checked whether there are updates for my system available.

Symptoms

steam-881100.log

Game just has very poor performance when you move the mouse.

Reproduction

Just play the game.
I'm sure performance will probably be better with a faster system, but it would be nice if we could get close to native performance.

EDIT:
I have attempted to install the linux-fsync kernel, but couldn't get it to boot. I have also noticed that the performance hits only happen when you move the mouse in game, so I changed the symptoms to reflect that. If you leave the mouse still, it has perfect performance. Not sure if it's a game bug, or due to proton.

PS: Found another compatibility report for Noita, but it was closed and not for this issue. Wasn't sure if I should comment my issue there or not.

@kisak-valve kisak-valve added the Game compatibility - Unofficial Games not expected to work without issues label Oct 28, 2019
@kisak-valve kisak-valve changed the title Noita Noita (881100) Oct 28, 2019
@kisak-valve
Copy link
Member

Hello @SeanRamey, you could give fsync a try and see if that has a significant effect on performance for this game.

@TTimo
Copy link

TTimo commented Oct 31, 2019

Unlikely to be Proton/Steam specific. This game gets very CPU intensive and does this on Windows as well.

@SeanRamey
Copy link
Author

@TTimo I don't have these same slowdowns in Windows 10 on the same PC. The only variables are Linux/Proton.
@kisak-valve I've never done a kernel swap before, but I'll give it a try.

@TTimo
Copy link

TTimo commented Nov 10, 2019

I had these slowdown problems as well, they seem to have disappeared (or at least drastically improved) in the last few days. But I can't tell if it's due to Arch kernel updates, Noita update or something else .. (still using Proton 4.11).

@TehCorwiz TehCorwiz mentioned this issue Nov 14, 2019
2 tasks
@kisak-valve
Copy link
Member

Noita (881100)

Issue transferred from #3221.
@TehCorwiz posted on 2019-11-14T23:43:18:

Compatibility Report

  • Name of the game with compatibility issues: Noita
  • Steam AppID of the game: 881100

System Information

  • GPU: Nvidia GTX 1080
  • Driver/LLVM version: Nvidia 440.31
  • Kernel version: 5.3.0-22-generic
  • Link to full system information report as Gist:
  • Proton version: 4.11-8

I confirm:

  • that I haven't found an existing compatibility report for this game.
  • that I have checked whether there are updates for my system available.

There are two other reports for the game:

  • The first was a user file-system issue: Noita (881100) #3105
    • I've already verified that my directories have the correct ownership and permissions.
  • The second is an in-game performance issue: Noita (881100) #3176

steam-881100.log

Symptoms

Game does not launch. No window, No sound. Crash occurs within 2 seconds of starting.

Reproduction

  1. Open Steam
  2. Enable Steam Play
  3. Install Noita
  4. Click 'Play'
  5. Crash

@kisak-valve
Copy link
Member

Looks like the game hits fixme:process:GetNumaHighestNodeNumber (0x32eed0): semi-stub and immediately segfaults with an access violation (c0000005) after that.

@Underknowledge
Copy link

Underknowledge commented Nov 18, 2019

I leave this here - maybe it helps somebody
I was able to get this game running on wine without much trouble.

The only special thing I needed to do was add an override for msvcr120.dll to use the native .dll instead of the built in one, otherwise you'll get a crash right after the title screen

https://steamcommunity.com/app/881100/discussions/0/1630790506927916240/#c1608274347716189260

@gverm
Copy link

gverm commented Nov 18, 2019

@Underknowledge That should be fixed in 4.11-8 already.

@SeanRamey
Copy link
Author

SeanRamey commented Dec 12, 2019

Hello @SeanRamey, you could give fsync a try and see if that has a significant effect on performance for this game.

@kisak-valve I tried to use the fsync kernel, but it wouldn't boot. Or at least, it seemed to get stuck while booting. Basically, it just took an abnormally long time, and I got tired of waiting over 10 minutes for it to boot, so I just reverted.

I had these slowdown problems as well, they seem to have disappeared (or at least drastically improved) in the last few days. But I can't tell if it's due to Arch kernel updates, Noita update or something else .. (still using Proton 4.11).

@TTimo I'm using the latest proton and the issue is still there. I have noticed that the issue isn't general performance issues, and is actually somehow linked to mouse movement. I've updated the report to reflect that.

@tuxayo
Copy link

tuxayo commented Mar 20, 2020

Does anyone have made a performance comparison with Windows? To confirm that it's not an issue from the game itself.

@volca02
Copy link

volca02 commented Nov 8, 2020

Playing this on proton 5.13-1 with an fsync patched kernel 5.9.6-95-tkg-upds and nvidia 455.38-5.

This game plays mostly without any issues on my system. Had to add PULSE_LATENCY_MSEC=10 to the game's command in order to fix crackling sound.

A problem with this game is that you can't switch from it and back - at least on some window managers, as seen reported on protondb.com.

On i3, as soon as I do that, this happens in console:

OnFocusWindowChanged to window type: k_nGameIDControllerConfigs_Desktop, AppID 413080
Loaded Config for Local Override Path for App ID 413080, Controller 0: /home/volca/.local/share/Steam//controller_base/empty.vdf
wine: Unhandled stack overflow at address 7E70053E (thread 00d8), starting debugger...

And the game stops displaying anything and just freezes.

Edit: The problem with fullscreen freeze goes away when using Window mode: Windowed in game.

@Northcode
Copy link

Tried running with various proton versions including experimental and GE. Does not start.
PROTON_LOG=1 gives me this error:
21270.303:0008:0009:err:ntdll:RtlLeaveCriticalSection section 0x3d0440 is not acquired

@tombh
Copy link

tombh commented Jul 9, 2021

Happy that Noita works at least, but it too often grinds to be unplayable slow 😢

Intel(R) Core(TM) i7-1065G7 CPU @ 1.30GHz
Zen kernel with fsync patches: 5.12.14-zen1-1-zen
Proton 6.3-5

@kkartaltepe
Copy link

Does anyone have made a performance comparison with Windows? To confirm that it's not an issue from the game itself.

Yes on my machine this game plays flawlessly on windows, on wine you get continuous slowdowns.

  • CPU: 6700K
  • GPU: nvidia 1070
  • Driver/LLVM version: 495.29.05
  • Kernel version: 5.14.12

It seems to me that that Proton 4.2-9 is the most performant, versions since then are relatively worse performing but no version actually performs "well". I dont have a fsync enabled kernel to test that.

@kkartaltepe
Copy link

kkartaltepe commented Oct 21, 2021

At least for me it seems I was affected by ValveSoftware/steam-runtime#312 (comment) which resulted in the reduced performance of the game as I happened to have the vulkan drivers for intel and my igpu enabled. After removing the intel vulkan drivers the game performs as well as on windows.

@servel333
Copy link

servel333 commented Nov 30, 2021

I'd like to report a UI scaling issue. I have a 4k monitor on my laptop. I have Ubuntu set to 200% UI scaling in the system settings. When I run the game, the game window is tiny and hard to see. I can't find any UI scaling settings in the Proton runtime config options. When I run the game full-screen, it's very slow and proton does not appear to respect the games resolution settings in both of the full-screen modes that Noita provides.

I can't find anyway to do scaling of this application alone, or to have a resolution where I can actually see the game and also have it play at a reasonable frame rate.

Adding my PC specs:

Ubuntu 21.04
HP - Spectre x360 2-in-1 15.6" 4K Ultra HD Touch-Screen Laptop - Intel
Core i7 - 16GB Memory - 512GB Solid State Drive - Dark Ash Silver
NVIDIA GeForce MX150 graphics

To add, the game runs at a good speed when the game window is tiny, and it looks good at larger resolutions. I just happen to need both big and fast.

@kisak-valve
Copy link
Member

Noita doesn't start (881100)

Issue transferred from #5889.
@arouene posted on 2022-06-06T15:04:28:

Compatibility Report

  • Name of the game with compatibility issues: Noita
  • Steam AppID of the game: 881100

System Information

  • GPU: Radeon RX 6800 XT
  • Driver/LLVM version: Mesa 21.1.8
  • Kernel version: 5.17.11
  • Link to full system information report as Gist:
  • Proton version: 7.0-2

I confirm:

  • that I haven't found an existing compatibility report for this game.
  • that I have checked whether there are updates for my system available.

I have found an issue for Noita (#3176) but it's about performance.

steam-881100.log

Symptoms

Game doesn't start at all.
I tried various Proton options and various Proton versions (GE, experimental, 6.3) without a change.

Reproduction

  1. Install Noita
  2. Try to launch
  3. Doesn't start

I have an AMD ThreadRipper, tried gamemode and multithreading disabled without amelioration.

@kisak-valve
Copy link
Member

Noita not starting

Issue transferred from #6541.
@Brulijam posted on 2023-02-16T04:01:37:

Compatibility Report

  • Name of the game with compatibility issues: Noita
  • Steam AppID of the game: 881100

System Information

  • GPU: NVIDIA GeForce RTX 4080
  • Driver/LLVM version: nvidia 525.89.02
  • Kernel version: 6.1.12-arch1-1
  • Link to full system information report as Gist:
  • Proton version: 7.0-6

I confirm:

  • that I haven't found an existing compatibility report for this game.
  • that I have checked whether there are updates for my system available.

Symptoms

Game not launching.

Reproduction

I don't know. Tried reinstalling Game, Steam, OS, home dir (in that order).

@kisak-valve kisak-valve mentioned this issue Feb 16, 2023
2 tasks
@kisak-valve
Copy link
Member

Hello @Brulijam, looking at your system information, it looks like your NVIDIA driver install is missing the driver's 32 bit userspace libraries and Steam is forced to fallback to llvmpipe (mesa's faster CPU renderer) to run at all.

I would check if the lib32-nvidia-utils system package is installed.

@Brulijam
Copy link

I would check if the lib32-nvidia-utils system package is installed.

Yup, that did the trick. Thanks for your quick help :)

@obj-obj
Copy link

obj-obj commented Mar 21, 2023

Noita also won't launch for me (on both a system with an intel iGPU and dedicated AMD graphics)

I remember playing Noita a while ago, so it's a regression with a game update (since older versions of proton don't work)

@obj-obj
Copy link

obj-obj commented Mar 22, 2023

Turns out it was because I had SDL_VIDEODRIVER=wayland set for Factorio, and it causes Noita to crash

@Vaxeral
Copy link

Vaxeral commented Apr 10, 2023

Compatibility Report

Game: Noita
AppID: 881100

System Information

Graphics Card: GeForce GT 730
Driver: Nvidia 390.157
Kernal: Linux 5.19.0-38-generic x86_64

System Information
Proton Version: Proton Experimental, Proton 7.0-6

I confirm:

  • [YES] that I haven't found an existing compatibility report for this game.
  • [YES] that I have checked whether there are updates for my system available.

Here yee LOGS
steam-881100.log

Symptoms

Game does not launch.

Reproduction

New install of ubuntu 22.04.
switch to Nividia driver supported for my graphics card ie 390.
already downloaded noita.
configure noita to force install with proton.
click play not a fun day.

@kisak-valve
Copy link
Member

Hello @Vaxeral, the Vulkan implementation provided by the NVIDIA 390 series is unserviceable and the driver in general is older than the support cutoff for Proton.

Looking at your system information https://gist.github.com/Vaxeral/35eaf155ce84c45a37fd0d690186ce8a#file-system_information-L347-L358 is curious. There's 3 variants of the NVIDIA GT 730. Some of them are Fermi generation, and some of them are Kepler generation. There was no vendor support for running Vulkan on Fermi, so that section of your system information hints that you have a Kepler generation video card. Can you check lspci | grep VGA and on the NVIDIA card's line, check if there's something like GK208 (the K in that would indicate Kepler)?

If you have a Kepler variant of the GT 730, then you should be able to try to update to the NVIDIA 470 series video driver, which is the last series to support that generation, along with Proton 7.0 (and older).

@Vaxeral
Copy link

Vaxeral commented Apr 10, 2023

Hey thanks for reaching out.
01:00.0 VGA compatible controller: NVIDIA Corporation GK208B [GeForce GT 730] (rev a1)

@Vaxeral
Copy link

Vaxeral commented Apr 10, 2023

A google search says that should be the kepler arch

@Vaxeral
Copy link

Vaxeral commented Apr 10, 2023

Replying to #3176 (comment)

Hey Thanks so much you are a wizard :D

@japhir
Copy link

japhir commented Apr 28, 2023

Compatibility Report

  • Name of the game with compatibility issues: Noita
  • Steam AppID of the game: 881100

System Information

  • GPU: Intel HD Graphics 620
  • Driver/LLVM version: 4.6 (Compatibility Profile) Mesa 23.0.3
  • Kernel version: 6.2.12-arch1-1
  • Link to full system information report as Gist:
  • Proton version: 5.0 NOTE: I've also tried it on the experimental one and on 8.0-1

I confirm:

  • that I haven't found an existing compatibility report for this game.
  • that I have checked whether there are updates for my system available.

steam-881100.log

Symptoms

Cursor moves erratically to side of screen since latest game update.

Reproduction

  1. Launch the game
  2. Cursor seems normal but doesn't highlight menu items
  3. in menu, use the arrow keys to go to options, select "game renders the cursor"
  4. this shows that the cursor is glued to a corner/side of a screen, sometimes moves normally for a second, then jumps to the side again.

@kkartaltepe
Copy link

You didnt provide much system information, but if you are using wayland you may have configured your monitors to be placed in -x or -y coordinates which are not supported in xwayland/x11 that most games run in. Check your monitor configuration to ensure all coordinates are positive.

@japhir
Copy link

japhir commented Apr 28, 2023

Thanks! I had recently gotten a new monitor and didn't realize I had moved it to negative space rather than moving everything around! This resolves my cursor issue. Is there any way to make the game render at higher resolution than 1920x1080? Or to have the pixels stretch out to my bigger display? EDIT: I've found this ultrawide mod that resolves this issue!

@kisak-valve
Copy link
Member

Noita not launching

Issue transferred from #6743.
@flan7 posted on 2023-05-04T22:27:19:

Compatibility Report

  • Name of the game with compatibility issues: Noita
  • Steam AppID of the game: 881100

System Information

  • GPU: AMD 6600XT
  • Driver/LLVM version: 4.6 (Compatibility Profile) Mesa 23.0.3
  • Kernel version: linux-6.3.1.arch1-1
  • Link to full system information report as Gist: gist
  • Proton version: Experimental

I confirm:

  • [ x] that I haven't found an existing compatibility report for this game.
  • [x ] that I have checked whether there are updates for my system available.

steam-881100.log

Symptoms

Game does not launch, I click play and it immediately crashes.

Reproduction

This happened on nvidia-dkms, I switched to a new AMD gpu and am still facing this issue.

@alasky17
Copy link
Collaborator

@flan7 Is Noita launching on any Proton version? Could you also try 7.0-6 and 8.0-2?

@HeinsKetchup
Copy link

HeinsKetchup commented Jul 7, 2023

it looks like your NVIDIA driver install is missing the driver's 32 bit userspace libraries and Steam is forced to fallback to llvmpipe (mesa's faster CPU renderer) to run at all.

I would check if the lib32-nvidia->utils system package is installed.

Thank you!!

@kisak-valve
Copy link
Member

Noita on Wayland crashes one second after window is created.

Issue transferred from #7205.
@Blazing-Blast posted on 2023-10-26T18:23:08:

Compatibility Report

  • Name of the game with compatibility issues: Noita
  • Steam AppID of the game: 881100

System Information

  • GPU: AMD Radeon 7900 XTX
  • Video driver version: Mesa-git 1:23.3.0_devel.179456.3de5da7a5d6-1
  • Kernel version: 6.6.0-rc4-00284-gb9ddbb0cde2a (custom config)
  • Link to full system information report as Gist:
  • Proton version: I tried 8, Experimental and Hotfix.

I confirm:

  • that I haven't found an existing compatibility report for this game.
  • that I have checked whether there are updates for my system available.

logs

Symptoms

The game crashes just after the window opens.

Reproduction

Install Arch with Hyprland.
Launch the game.
Crash!

@kainz
Copy link

kainz commented Dec 20, 2023

Crashing on wayland also happens on gamescope-3.3.19 with Xwayland-23.2.3.

@reportingsjr
Copy link

reportingsjr commented Jan 6, 2024

Noita does not launch on my system as well.

Compatibility Report
Name of the game with compatibility issues: Noita
Steam AppID of the game: 881100
System Information
GPU: AMD Radeon RX 6500 XT
Video driver version: 4.6 (Compatibility Profile) Mesa 23.0.3
Kernel version: 6.5.5-100.fc37.x86_64
Link to full system information report as Gist: https://gist.github.com/reportingsjr/2e9901199da99c8e63e65531f3ad31b6
Proton version: I tried 8 and Experimental

Symptoms
The game crashes just after the window opens.
Full proton/steam log here: https://gist.github.com/reportingsjr/5d32678c5e9c816112425424030d3cb9

Reproduction
Launch the game.
Nothing happens
Crash!

EDIT: I saw someone mention that running Noita from command line with proton directly works. I tried that and lo and behold, it does work! Not sure what steam is adding to the launch command that it is failing.

@Relwi
Copy link

Relwi commented Mar 30, 2024

If you are under wayland, setting env --unset=SDL_VIDEODRIVER %command% launch option works for me

@spikespaz
Copy link

Launching without forcing SDL to use Wayland does fix, but causes scaling problems on HiDPI displays (nobody is surprised). It also can't seem to change the resolution in the game, no matter what the option says, it won't use any 16:10 resolutions.

@CubeTheThird
Copy link

I have a strange issue where keyboard input seems to have latency issues. Mouse tracking is normal, and the game seems to be running at full performance, but I sometimes have delayed inputs, or dropped inputs entirely. Anyone know what'd cause this? (Using an AMD GPU on X11)

@dextercd
Copy link

dextercd commented Jun 14, 2024

Hey there! Noita itself runs fine, but I can't upload workshop mods on Proton 9.0-2. If I try, the resulting workshop item appears to be empty (0.000 B).

Proton 8.0-5 and 7.0-6 works fine.

Two other people in the Noita Discord confirmed that switching to Proton 7/8 fixed this same issue for them.

Here are two test uploads.

Proton Experimental also doesn't work, same as Proton 9.

System Information

Symptoms

The upload appears to succeed but the resulting workshop entry is empty and unusable.

Reproduction

Run noita_dev -workshop_upload "Test Mod"

@CubeTheThird
Copy link

Thanks! I actually just figured out the issue myself. It turns out the latest version of ibus (1.5.30) was the culprit, so I've downgraded it for the time being.

@alasky17
Copy link
Collaborator

@dextercd Thank you for the report! I tried to look into this, but I've never modded Noita before so I wasn't able to get this working on 8.0 either ... I'm assuming this is some failure on my part, so I'm hoping you can give me some more instructions to help me out :)

I tried just copying the daily_practice mod files that come with the game in the mods folder, and then renaming the folder, adding a workshop.xml file that I think I wrote correctly, and then putting many combinations of "noita_dev -workshop_upload" in the launch options for the game with Proton 8 selected. I had my mod in the common/Noita/mods folder. It would also be super great if you could upload your test mod folder or tell me where to find it (so I can use it instead of daily_practice) - I looked in compatdata/881100/pfx/drive_c/users/steamuser/AppData/LocalLow/Nolla_Games_Noita which I got from the Noita wiki, but I couldn't find your workshop data (even though the workshop is showing up in the mods area in-game after I subscribed to it).

@dextercd
Copy link

Hey @alasky17,

My reproduction steps could've been more complete, sorry about that!

Here's the test mod I made: https://github.com/dextercd/Test-Mod I have it located at /home/dexter/.local/share/Steam/steamapps/common/Noita/mods/Test Mod but the exact mod folder name doesn't really matter from what I could tell, so test_mod or Test-Mod will work the same. (Just remember to adjust the upload command)

noita_dev is actually a separate executable you need to launch. There are a couple ways to do this that I know of:

1. Add noita_dev.exe as a non-Steam game into Steam

Some people add noita_dev.exe as a non-steam game into Steam, I had some Steam UI issues when I tried this but I was eventually able to reproduce the issue using this method

2. Shell script using the Proton install and Noita prefix Other people use a script like this:
#!/bin/bash

# This script invokes noita.exe with the specified arguments (if any)

# This script is intended for use on Linux with Steam Proton.
# Change any of the following variables if your setup is different.

STEAM="$HOME/.local/share/Steam"
NOITA="$STEAM/steamapps/common/Noita"
WINE="$STEAM/steamapps/common/Proton - Experimental/files/bin/wine"

export WINEPREFIX="$STEAM/steamapps/compatdata/881100/pfx"
cd "$NOITA" && "$WINE" noita_dev.exe "$@"

./launch-dev -workshop_upload "Test Mod"

With the WINE program path changed appropriately to the version of Proton you want to use.

3. Launching noita_dev.exe through noita.exe

I use yet another way of launching noita_dev, which is to have a mod to launch a cmd window from noita.exe and then run noita_dev.exe through that. (My reasoning behind this method is that the cmd and noita_dev processes will inherit all the environment variables and proton config from the noita.exe process, so it should be the most compatible).

I've uploaded a mod that launches a cmd windows as soon as you start a run with it enabled: https://github.com/dextercd/LaunchCmd . You need to enable unsafe mode in the mod menu in the top right to enable the mod, because Noita prevents mods from launching other programs normally. The mod doesn't do anything unsafe though, it's pretty easy to verify the one line of code in init.lua :^)

You can't upload this mod to the workshop, you still need the Test Mod linked above.

The Proton 9 issue happens with all three methods, so I don't think it matters much which you pick. Note that after uploading a mod, it creates these three files: workshop_id.txt, mod_id.txt, and compatibility.xml. You need to remove them to create a fresh workshop entry, otherwise it'll try to update a previous upload.

@dextercd
Copy link

Oh also, workshop mods are located in /home/dexter/.local/share/Steam/steamapps/workshop/content/881100/<mod_id>, but you shouldn't need this with the GitHub repo linked above.

Let me know if you need anything else! It'd be great if this issue can be resolved 🙂

@alasky17
Copy link
Collaborator

@dextercd Thank you! These new steps were very clear, and I immediately see where I went wrong. I'm glad now that I didn't waste too much time before asking for some help :)

I see the regression between Proton 8 and 9 and will investigate further now. Again, thank you for the instructions!!

@dextercd
Copy link

dextercd commented Sep 7, 2024

Hmm, seems like the uploader started working at some point.
Experimental but also 9.0-2 works now. Not sure if it was from changes on Valve's side or something else.

Just wanted to let you know in case this is unexpected and helps shed light on the issue.

If it was because of changes made on Valve's side then many, many thanks for that, @alasky17

@alasky17
Copy link
Collaborator

alasky17 commented Sep 9, 2024

@dextercd Whoops - I forgot to update when we fixed this 😅 We ended up doing a Proton 9.0-2 incremental bump (from -c to -d) and snuck the fix in there. Thank you for following up!!

@dextercd
Copy link

dextercd commented Sep 9, 2024

Awesome! Many thanks to you and the rest of the team

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Game compatibility - Unofficial Games not expected to work without issues
Projects
None yet
Development

No branches or pull requests