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

Subnautica (264710) #79

Open
cjwijtmans opened this issue Aug 22, 2018 · 82 comments
Open

Subnautica (264710) #79

cjwijtmans opened this issue Aug 22, 2018 · 82 comments
Labels
Game compatibility - Unofficial Games not expected to work without issues

Comments

@cjwijtmans
Copy link

when you start subnautica it stalls at startup. when you kill wineserver the game continues to start up.

@jarrard
Copy link

jarrard commented Aug 22, 2018

maybe wineserver.exe needs to be set to disabled?

@cjwijtmans
Copy link
Author

how would i test that?

@jarrard
Copy link

jarrard commented Aug 22, 2018

I think you can set it as a environment setting but it can be set in the winecfg screen, not sure if proton allows that. Lastly you can also set it in the wine proton registry file, but again I'm not sure how.

Someone probably knows how to set environmental variables like wineserver.exe=disabled for Proton...

@Mushoz
Copy link

Mushoz commented Aug 22, 2018

Startup of Subnautica works fine on my end, so might be something isolated to your setup.

@cjwijtmans
Copy link
Author

cjwijtmans commented Aug 22, 2018

do you have wineserver running in the background?

I am on linux mint 18

@Mushoz
Copy link

Mushoz commented Aug 22, 2018

Wineserver is started and remains active while Subnautica is running.

@cjwijtmans
Copy link
Author

what distro and gfx card do you use?

i am on nvidia gtx 770 on linux mint 18

@Mushoz
Copy link

Mushoz commented Aug 22, 2018

Running Arch Linux with a Vega 64 on the Mesa 18.1.6 drivers. Kernel 4.18.3.

@cjwijtmans
Copy link
Author

i will do some more investigations later.

@kisak-valve kisak-valve added the Game compatibility - Unofficial Games not expected to work without issues label Aug 22, 2018
@cjwijtmans
Copy link
Author

the 396 drivers were not being used. it works with them. So it could perhaps be closed.

@cjwijtmans
Copy link
Author

It happens when you run the game with PROTON_USE_WINED3D=1

@cjwijtmans cjwijtmans reopened this Aug 23, 2018
@Mushoz
Copy link

Mushoz commented Aug 23, 2018

And you need that environment variable in order to fix the missing textures that DXVK causes, correct? From Wine's database it seems most people have the most luck to get the game running with proper performance and correct graphics by starting the game with a switch that forces the game to render using OpenGL. Perhaps you could give that a try?

@cjwijtmans
Copy link
Author

cjwijtmans commented Aug 23, 2018

Yes that works for subnautica but this bugs still applies to some other games. For example houseflipper which i dont know if the switch will work. Also WINED3D doesnt seem to neccesarily fix the missing textures, it could be a wine bug thats fixed in a new version?

@kisak-valve kisak-valve changed the title Subnautica: startup stalls until wineserver is killed Subnautica: startup stalls until wineserver is killed (264710) Aug 23, 2018
@kisak-valve
Copy link
Member

Subnautica - Mouse issues, no proper mouse focus

Issue transferred from #1337.
@mtdeguzis posted on 2018-09-08T21:22:38:

Compatibility Report

  • Name of the game with compatibility issues: Subnautica
  • Steam AppID of the game: 264710

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.

Proton log: https://gist.github.com/mtdeguzis/539d0ab9ebb89b13f144febc0d8ef43f

Symptoms

No mouse lock, left/right mouse button actions cause sporadic movement

Reproduction

When the game starts, you can only get mouse control by clicking left/right mouse first. Things work well enough, but when you start the game, you cannot look around until you pause the menu first. After this, using left/right mouse cause sporadic movement instead of the expected action.

Game was started with:

PROTON_USE_WINE3D11=1 PROTON_LOG=1 %command%

@kisak-valve kisak-valve changed the title Subnautica: startup stalls until wineserver is killed (264710) Subnautica (264710) Sep 8, 2018
@ardje
Copy link

ardje commented Sep 28, 2018

At first it did not work for me, but after I fixed my system's vulkan/dxvk ( ValveSoftware/SteamOS#652 ) it worked.
I fixed that for GTA V, not for subnautica, but it made subnautica work.
I needed the -force-glcore45 for good graphics.
For the mouse as a work around per https://steamcommunity.com/app/264710/discussions/0/1734336452577791091/
I selected the nightly build.
The mouse is stable but slow/imprecise somehow.
The biggest bug I've seen now is that the steam controller can't be used as a gamepad, as the game sees none.

It looks like this game probes gamepads upon startup, and I bet, the gamepad probe is just slightly before steam switches and shows a gamepad to the application.

Maybe we need a virtual gamepad proxy that always exists. GTA V might need one too. (if your steam controller turns off and on again, GTA V has completely switched to keyboard only).

@ardje
Copy link

ardje commented Oct 5, 2018

On another note: Subnautica has 2 windows that are shown when pressing F1 (info menu) or F3 (debug menu).
On my installation these windows contain no text, so I assume we have another missing font.
I've hijacked a thread:
https://steamcommunity.com/app/264710/discussions/0/1729837292625309279/
to ask the developer if he knows what font is used in that menu.

@lucifertdark
Copy link

On another note: Subnautica has 2 windows that are shown when pressing F1 (info menu) or F3 (debug menu).
On my installation these windows contain no text, so I assume we have another missing font.
I've hijacked a thread:
https://steamcommunity.com/app/264710/discussions/0/1729837292625309279/
to ask the developer if he knows what font is used in that menu.

Did you try installing corefonts? "Protontricks 264710 corefonts" should sort you out.

@ardje
Copy link

ardje commented Oct 5, 2018

@lucifertdark :
Yes, corefonts are installed, since they are essential for GTA V.
Without them GTA V did not have the log in screen.
Although my incantation was: "apt install ttf-mscorefonts-installer" .
So it is not a core font. This is however steamos, so it probably contains less fonts than most systems.
Do you have any text with F1 and F3?

@ardje
Copy link

ardje commented Oct 7, 2018

@lucifertdark You are unfortunately correct: protontricks corefonts does the trick.
It seems ttf-mscorefonts-installer is not equal to all the corefonts that the corefont installer uses. It does work on GTA V, so I assume the ttf-mscorefonts-installer does not install all the fonts.
Thanks!

@jonbitzen
Copy link

That fixed it.

@kisak-valve
Copy link
Member

The workaround has been integrated at ValveSoftware/dxvk@fbca62d into Proton 5.0-2.

@kisak-valve kisak-valve removed the Regression Confirmed working on an older version of Proton label Feb 13, 2020
@rbjorklin
Copy link

Has there been a regression here? The game launches and runs fine under 4.11-13 for me and completely refuses to start under 5.0-5. Trying to run it with PROTON_LOG=1 %command% produces a log with 4.11-13 but nothing with 5.0-5.

system-info.txt
compat_log.txt

This only shows up with 5.0-5:

[2020-04-08 17:25:24] GetCompatibilityToolCommandLineInternal: '/home/rbjorklin/.local/share/Steam/steamapps/common/Proton 5.0'/proton getcompatpath
[2020-04-08 17:25:24] Foreign install path for AppID 264710:
[2020-04-08 17:25:24] Foreign install path for common redist for AppID 264710:

@kisak-valve
Copy link
Member

Hello @rbjorklin, please add PROTON_LOG=1 %command% to the game's launch options and drag and drop the generated $HOME/steam-$APPID.log into the comment box.

@rbjorklin
Copy link

Hi @kisak-valve,

As stated in my initial comment that doesn’t produce a log file with 5.0-5 so I’m guessing the issue occurs before that is being executed?

@kisak-valve
Copy link
Member

Looking at your system information again, I suspect that your system ran out of disk space while unpacking Proton 5.0. Maybe try freeing up some disk space, then delete dist in <steamapps folder>/common/Proton 5.0/ and re-run the game with it configured to run with Proton 5.0?

@nentibusarchitectura

This comment has been minimized.

@kisak-valve

This comment has been minimized.

@nentibusarchitectura

This comment has been minimized.

@nentibusarchitectura

This comment has been minimized.

@nentibusarchitectura

This comment has been minimized.

@PCVirus25
Copy link

Hi Kisak

Looking at the files on the mesa-vulkan-drivers package I can see that in your package the icd.d files live on /usr/share/vulkan/icd.d/ and not /etc/vulkan/icd.d so definitively the old files came from some other PPA and somehow were left over when I replaced the mesa drivers with your repository.

I've removed the old files and just in case forced a reinstall of both: "mesa-vulkan-drivers" and "libgl1-mesa-dri"

apt install --reinstall mesa-vulkan-drivers libgl1-mesa-dri

This recipe did not work on my PC. Or I did something wrong. Can I write in steps what needs to be done?

@RossComputerGuy
Copy link

@PCVirus25 Did you run sudo with apt? Or are you running something other than Ubuntu, Debian, or Linux Mint?

@nentibusarchitectura
Copy link

nentibusarchitectura commented Apr 20, 2020

Hi Kisak
Looking at the files on the mesa-vulkan-drivers package I can see that in your package the icd.d files live on /usr/share/vulkan/icd.d/ and not /etc/vulkan/icd.d so definitively the old files came from some other PPA and somehow were left over when I replaced the mesa drivers with your repository.
I've removed the old files and just in case forced a reinstall of both: "mesa-vulkan-drivers" and "libgl1-mesa-dri"
apt install --reinstall mesa-vulkan-drivers libgl1-mesa-dri

This recipe did not work on my PC. Or I did something wrong. Can I write in steps what needs to be done?

@PCVirus25

What I posted is valid for Ubuntu 18.04.x using Kisak's Mesa PPA

Installing/removing packages with "apt" always requires elevated rights, so you need to prefix with sudo:

sudo apt install --reinstall mesa-vulkan-drivers libgl1-mesa-dri

Or just run sudo -i (or use su -) to completely switch to root account and gain elevated privileges.

@PCVirus25
Copy link

Installing/removing packages with "apt" always requires elevated rights, so you need to prefix with sudo:

I know. I meant that the team worked, but the problem did not disappear.

@PCVirus25
Copy link

@PCVirus25 Did you run sudo with apt? Or are you running something other than Ubuntu, Debian, or Linux Mint?

Yes, I used a "sudo" with "apt". (sorry for my English)

@ghost
Copy link

ghost commented May 7, 2020

To add a datapoint : I was able to recently play Subnautica from end to end on my Debian without any workaround or significant issues. There are very minor annoyances (like opening containers while moving sometimes behaves improperly), but I'm not sure they're linux-specific, and it doesn't impair gameplay.

If it was just me, I'd simply fill a whitelist request here, but it seems that some people are still having issues... should I go ahead anyway ?

@StarrKiss
Copy link

This game is VERY low FPS for me on Manjaro- and in addition, there is MASSIVE pop in and V low res textures even very close to the object.

@ThisNekoGuy
Copy link

@kisak-valve

Compatibility Report

  • Name of the game with compatibility issues: Subnautica

  • Steam AppID of the game: 264710

System Information

  • OS: Arch Linux

  • GPU: Nvidia RTX 2080 Ti

  • Driver: Nvidia proprietary 460.80

  • Kernel version: Linux 5.11.18-152-tkg-upds

  • Link to full system information report: gist

  • Proton version: 6.3-4

I confirm:

  • that there is an existing compatibility report for this game in this thread.

  • that I have checked whether there are updates for my system available.

Proton log: steam-264710.log

Symptoms

Game works, but it swaps the left and right triggers on my Xbox controller.
(Thinks RT is LT and LT is RT)

Reproduction

Game was started with:

gamemoderun %command%

@ChildishGiant
Copy link

For me the game was working literally yesterday and now it doesn't do anything on launch?
steam-264710.log

@kisak-valve
Copy link
Member

kisak-valve commented Apr 10, 2022

Hello @ChildishGiant, err:module:import_dll Library WindowsCodecs.dll (which is needed by L"Z:\\mnt\\hdd\\steam\\steamapps\\common\\Subnautica\\UnityPlayer.dll") not found looks like the line of interest in your log. Since the Proton Experimental build is experimental-7.0-20220331, it's not clear why that library would go missing in the last day if nothing else has changed.

Maybe try verifying the integrity of Proton's files?

@ChildishGiant
Copy link

ChildishGiant commented Apr 10, 2022

Verifying didn't work but reinstalling did, RIP save because I forgot to back it up. The files it was complaining about were there but I guess the dll somehow got corrupted and the verification missed it?

@skauertz
Copy link

skauertz commented Nov 1, 2023

I'll just leave that here since it seems the most appropriate. The same issue occurs with Subnautica: Below Zero.

Compatibility Report

  • Name of the game with compatibility issues: Subnautica
  • Steam AppID of the game: 264710

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

Game hangs on a black screen with in-game mouse cursor visible and reactive, but does not complete start-up (see Proton log.

When launching the game using PROTON_USE_WINED3D=1 %command% it starts, but there are visual glitches, the performance is bad and the Steam overlay does not work.

It worked fine a few months ago under Proton 8.0-3 with the same system setup.

To make it work, I had to install Proton-GE 8.3 from May 2023. Latest Proton-GE 8.21 has the same behaviour.

Reproduction

Use recommended Proton 8.0-4 to run the game without any launch options.

@kisak-valve
Copy link
Member

Hello @skauertz, please add PROTON_LOG=1 %command% to the game's launch options, reproduce the regression, and attach the generated $HOME/steam-$APPID.log to this issue report as a file. (Proton logs compress well if needed.) Also, please copy your system information from Steam (Steam -> Help -> System Information) and the contents of Steam Runtime Diagnostics from Steam (Steam -> Help -> Steam Runtime Diagnostics) and put them in a gist, then include a link to the gist in this issue report.

@skauertz
Copy link

skauertz commented Nov 1, 2023

Hello @skauertz, please add PROTON_LOG=1 %command% to the game's launch options, reproduce the regression, and attach the generated $HOME/steam-$APPID.log to this issue report as a file. (Proton logs compress well if needed.) Also, please copy your system information from Steam (Steam -> Help -> System Information) and the contents of Steam Runtime Diagnostics from Steam (Steam -> Help -> Steam Runtime Diagnostics) and put them in a gist, then include a link to the gist in this issue report.

Done, added to my previous post.

@kisak-valve
Copy link
Member

Thanks, your Proton log looks like a Steam overlay issue similar to ValveSoftware/steam-for-linux#9586.

@skauertz
Copy link

skauertz commented Nov 1, 2023

That may be the case, I notice there are no overlay elements (FPS counter, broadcast info) when it hangs. But launching with the overlay disabled yields the same issue. Proton log with overlay disabled for reference.

Something else: Alt-tabbing out of the game while it hangs takes like 10 seconds, but once it does the game continues to the main screen. It is sufficient to open the app switcher by holding Alt-Tab, I don't even need to bring another app to the foreground. However, when I bring the game to the foreground again, video instantly freezes with audio continuing to run. Doesn't matter if Overlay is enabled or not.

@dedestem
Copy link

dedestem commented Jan 3, 2025

I have all the settings on max with high end hardware. It runs stable on 120fps

however alot of textures still look super bad

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