ValveSoftware / Proton

Compatibility tool for Steam Play based on Wine and additional components
Other
24.28k stars 1.06k forks source link

Subnautica (264710) #79

Open cjwijtmans opened 6 years ago

cjwijtmans commented 6 years ago

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

jarrard commented 6 years ago

maybe wineserver.exe needs to be set to disabled?

cjwijtmans commented 6 years ago

how would i test that?

jarrard commented 6 years ago

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 commented 6 years ago

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

cjwijtmans commented 6 years ago

do you have wineserver running in the background?

I am on linux mint 18

Mushoz commented 6 years ago

Wineserver is started and remains active while Subnautica is running.

cjwijtmans commented 6 years ago

what distro and gfx card do you use?

i am on nvidia gtx 770 on linux mint 18

Mushoz commented 6 years ago

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

cjwijtmans commented 6 years ago

i will do some more investigations later.

cjwijtmans commented 6 years ago

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

cjwijtmans commented 6 years ago

It happens when you run the game with PROTON_USE_WINED3D=1

Mushoz commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

Subnautica - Mouse issues, no proper mouse focus

Issue transferred from https://github.com/ValveSoftware/Proton/issues/1337. @mtdeguzis posted on 2018-09-08T21:22:38:

Compatibility Report

System Information

I confirm:

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%
ardje commented 6 years ago

At first it did not work for me, but after I fixed my system's vulkan/dxvk ( https://github.com/ValveSoftware/SteamOS/issues/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 commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

@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 commented 6 years ago

@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 commented 5 years ago

Played it about 35 minutes with Proton 3.16-5, using the latest nVidia drivers (4.15.23) and it runs great for the most part. New drivers made the issue where the inside of the escape pod disappears go away. Previous stable nVidia drivers (4.10.78) had an issue where the interior of the escape pod was invisible.

After 35 minutes, the mouse froze up and wouldn't leave the center of the screen. Made it impossible to play, since you couldnt operate inventory.

Possibly related to another issue I found here using Wolfenstein: The New Order with my Steam Controller, where there was also apparent mouse i/o lockup: https://github.com/ValveSoftware/Proton/issues/606

markasoftware commented 5 years ago

I have an R9-270X with Radeon-SI drivers (although I did try AMDGPU as well). The game does not launch, no window ever appears. The game runs well in Wine.

kisak-valve commented 5 years ago

Hello @markasoftware, 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.

markasoftware commented 5 years ago

@kisak-valve Similar to some others, the game says it's "running" in the Steam Library indefinitely. No window ever appears. When launching with PROTON_LOG=1, the entire contents of the log are just this:

ERROR: ld.so: object '/home/markasoftware/.var/app/com.valvesoftware.Steam/data/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.

I think this is just a warning, not an actual error. It just...hangs. Same happens with -force-opengl launch option, which is what I use under vanilla wine.

markasoftware commented 5 years ago

I correct myself -- I just tried it again with AMDGPU and it works! Not sure why, because this happens even when I use opengl for subnautica, hence no Vulkan is needed. Whatever, it performs better than vanilla wine by several orders of magnitude so I'm happy! Thanks valve guys!

kisak-valve commented 5 years ago

@nanonyme, happen to know if there is a secondary issue here with flathub-provided steam and using PROTON_LOG=1? (If there is we should track that issue separately.)

nanonyme commented 5 years ago

@kisak-valve we suspect Vulkan is currently not behaving correctly in the primary runtime we're using. May be related. See https://gitlab.com/freedesktop-sdk/freedesktop-sdk/issues/552 for upstream reference. Edit: fixed and released.

markasoftware commented 5 years ago

The mouse issue can be worked around by alt-tabbing to another application and back again whenever you switch to or from the inventory screen, fabricator menu, etc.

im-0 commented 5 years ago

So far there are three known fixes for mouse in Subnautica:

kisak-valve commented 5 years ago

Subnautica - Game does not start executable file

Issue transferred from https://github.com/ValveSoftware/Proton/issues/2256. @Darwin-II posted on 2019-01-21T21:53:50:

After installing Subnautica and attempting to run it I have ran into a problem - the game does not run. There are entries for Wine in my task manager when I run Subnautica but the game itself lacks an entry. I have validated game files multiple times and attempted to use fixes related to poor performance for native Windows installations of the game, but to no avail. Interestingly I have clocked 56 minutes of gameplay despite the game's executable never running. Even after letting my computer sit and attempt to run the game for 15 minutes with no other non-background tasks there was no evidence of the game running, again, a lack of an executable entry on my task manager.

I am running Ubuntu 18.10 on a Dell Inspiron 15 3000 with a 2.6 GHz dual core CPU and 4 GB of RAM, using Intel UHD 600 graphics, all above the minimum specifications. Using Steam Play with other games has never been an issue, and running software outside of Steam through Wine has never failed me either.

kisak-valve commented 5 years ago

Subnautica Has No Window

Issue transferred from https://github.com/ValveSoftware/Proton/issues/2264. @Darwin-II posted on 2019-01-24T20:32:47:

When I run Subnautica, similar to my previous Subnautica related issue there is no game window. At least now the game has an executable entry in my task manager, but there is no associated window. How can I resolve this?

I am running Ubuntu 18.10 on a Dell Inspiron 15 3000 with a 2.6GHz Dual Core CPU and Intel UHD 600 graphics with 4GB of RAM with 12GB of swap space. I am using Proton 3.16 Beta.

Paspartout commented 5 years ago

I had the same problem as @Darwin-II on Ubuntu 18.04 but it was due to what seemed a messed up steam installation.

After uninstalling steam(using rm -rf '~/.steam') and installing it afresh(which also reinstalled Proton) the game works fine now for me. Thank you so much valve for making us able to play this masterpiece on Linux.

FYI I am using Proton 3.16-7 Beta and a GTX 1050TI with 410.78 drivers and the -force-glcore45 option.

jonbitzen commented 5 years ago

Somewhere between 3.16-5 (my previous report) and 3.16-8 I no longer needed the -force-opengl arg to make subnautica render perfectly as near as I can tell. Previous big issues were the escape pod interior and cyclops interior had a lot of missing polys. All run fine without the opengl fix now.

The mouse lock problem still exists. I dont think its related to user activity. I turned the game on, tested it really quick, walked away for 20 minutes, came back, and found it locked.

mtdeguzis commented 5 years ago

For me, I still spin in circles on SteamOS when I try to use any mouse action.

Get Outlook for Androidhttps://aka.ms/ghei36


From: jonbitzen notifications@github.com Sent: Saturday, March 9, 2019 4:04:09 PM To: ValveSoftware/Proton Cc: Deguzis, Michael T.; Mention Subject: [External] Re: [ValveSoftware/Proton] Subnautica (264710) (#79)

Somewhere between 3.16-5 (my previous report) and 3.16-8 I no longer needed the -force-opengl arg to make subnautica render perfectly as near as I can tell. Previous big issues were the escape pod interior and cyclops interior had a lot of missing polys. All run fine without the opengl fix now.

The mouse lock problem still exists. I dont think its related to user activity. I turned the game on, tested it really quick, walked away for 20 minutes, came back, and found it locked.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FValveSoftware%2FProton%2Fissues%2F79%23issuecomment-471221800&data=02%7C01%7Cmtdeguzis%40geisinger.edu%7C54e38898edd2478c0ab008d6a4d2c66c%7C37d46c567c664402a16055c2313b910d%7C0%7C0%7C636877622519195772&sdata=0KsxdbMSz9m9XJO40jyc5n%2FzXFUCgRYiphGiSRN3Xag%3D&reserved=0, or mute the threadhttps://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAailSQDAFnyyhXb87w5xOt-D4vIUfc_gks5vVCHJgaJpZM4WHgYq&data=02%7C01%7Cmtdeguzis%40geisinger.edu%7C54e38898edd2478c0ab008d6a4d2c66c%7C37d46c567c664402a16055c2313b910d%7C0%7C0%7C636877622519205781&sdata=xiVUQXwliTZdP%2BBx4rHb%2F%2BGmlt7%2BzMH0XvlZupjQr2w%3D&reserved=0.

IMPORTANT WARNING: The information in this message (and the documents attached to it, if any) is confidential and may be legally privileged. It is intended solely for the addressee. Access to this message by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken, or omitted to be taken, in reliance on it is prohibited and may be unlawful. If you have received this message in error, please delete all electronic copies of this message (and the documents attached to it, if any), destroy any hard copies you may have created and notify me immediately by replying to this email. Thank you. Geisinger Health System utilizes an encryption process to safeguard Protected Health Information and other confidential data contained in external e-mail messages. If email is encrypted, the recipient will receive an e-mail instructing them to sign on to the Geisinger Health System Secure E-mail Message Center to retrieve the encrypted e-mail.

jonbitzen commented 5 years ago

A brief update on my earlier evaluation:

@mtdeguzis I've had some strange differences in the way my Steam Controller works depending whether I'm using vanilla Mint 19 / cinnamon, or if I'm playing via a SteamOS session. I find from the SteamOS session that the camera locks up or down if I pull one of the triggers. On Wolfenstein if I push the right trackpad (middle mousebutton) the trackpad locks up, unless you hold it down (then it'll work). Basically I have neither of these problems in a regular desktop session. It makes me wonder what role the session has in processing HID i/o.

jonbitzen commented 5 years ago

@mtdeguzis It's almost certainly something to do with the steamos-session. I believe you're familiar with my ConvergenceOS post-installer that adds the steamos-session to vanilla Ubuntu/Mint (you've starred the repo I think). Anyway, I'm running that, and when I restart as the steam user in a regular desktop session on the same system, both issues (the weird up-down camera lock in subnautica, as well as the weird controller touchpad lock in wolfenstein) go away. Basically the only part of SteamOS I have in there is the steamos-session and the modeswitch inhibitor.

mdeguzis commented 5 years ago

@jonbitzen, interesting. Thanks for the insight.

jonbitzen commented 5 years ago

mouse lock issue still exists on Proton 4.20

RossComputerGuy commented 5 years ago

I'm also getting mouse lock issues and I'm on Arch Linux.

ghost commented 5 years ago

Bug Report

System Information

steam-264710.log

Symptoms

Artifacts. There are black pixelated patches that show themselves for a split second, as well as small patches of black with loads of bloom around them that infects the screen and eventually turns everything green. I was able to record the latter. I thought maybe it was being caused by a fix I was working on to solve the mouse problem without using the experimental branch or stock windowed mode (which actually works), but after testing a fresh install in windowed mode, it was clear that this is a problem with the game itself. The same thing happens with 4.11-2. I've also encountered this problem in the experimental build, though only in the late game. I've also seen a similar problem in Empyrion on Windows when I pushed my GPU's memory frequency too far (but turning it down to a safe value fixed that).

artifact.zip

Reproduction

Playing the game for a short amount of time. The recorded artifact would usually happen around 5 minutes in, but this one happened in 10 seconds.

jonbitzen commented 5 years ago

Tried this on Proton 4.11-4. Steam controller doesnt work. When you try to use the left stick mapped to WASD the guy doesnt move. Found similar issues with other games such as Wolfenstein The New Order that I also play through Proton. I did not have such issues with native Linux games - for example The Talos Principle continues to respond properly.

jonbitzen commented 5 years ago

OK I think the issue with the steam controller may be a config file on my other machine. On the other hand one of these last patches seems to have fixed the mouse-freezing issue noted by many above. Usually I could see it happen within 20 minutes, and now I can play for over an hour without issue. I did experience a screen freeze, but that could be my system. I'll try it on the other PC once I've sorted out its controller configuration.

ghost commented 5 years ago

A couple of days ago, I downloaded 4.11-4 I played this game in fullscreen mode for an hour and didn't notice either of the two major issues. When I have a lot of time on my hands, I'll set up a fresh install and binge it for many hours to see how this new proton version handles it.

RossComputerGuy commented 5 years ago

Ok, I'll try 4.11-4 when I get home.

jonbitzen commented 5 years ago

on my system the in game mouse pointer is much smaller than on windows. Anyone else have that problem or know a workaround? I’m otherwise having no issues with it now.

RossComputerGuy commented 5 years ago

I played Subnautica on my HP laptop today in class, no issues, played for a few hours. I really enjoy this game. I was running on 4.11-5, I believe we can close this issue as fixed now if others try the game and don't have issues.

ghost commented 5 years ago

With 4.11-5, I played once for two hours before encountering the artefact I posted about earlier. Another time I played for one hour before the game froze. I think it might have something to do with my CPU and motherboard (2600k & GA-Z68X-UD3H-B3), though I'm not entirely sure. I'll need to do more testing when I have time on my hands.

RossComputerGuy commented 5 years ago

@aorozsa I didn't get any artifacting on my HP Pavilion 15-cx0xxx, tried my desktop earlier which has the same GPU and it's working fine. I think it's just you getting the artifacts.

ghost commented 5 years ago

@RossComputerPerson I think it's just me. I was able to do a lot more testing. After setting my motherboard's settings to default, I was able to play for three hours before noticing that artifact. After overclocking my CPU to 4.3GHz and even 4.0, I noticed it appear much, much sooner. It's a real shame because overclocking my CPU increased performance, but decreased Subnautica's stability; there's a bottleneck somewhere, either Proton or Subnautica itself.

PCVirus25 commented 4 years ago

У меня Subnautica вообще не запускается.

System Information

``` Информация о компьютере: Производитель: Unknown Модель: Unknown Тип: Настольный Сенсорный ввод не поддерживается Процессор: Производитель процессора: AuthenticAMD Производитель процессора: AMD FX(tm)-4100 Quad-Core Processor Семейство процессора: 0x15 Модель процессора: 0x1 Степпинг процессора: 0x2 Тип процессора: 0x0 Тактовая частота: 3600 МГц Логических процессоров: 4 Физических процессоров: 4 Hyper-Threading: Не поддерживается FCMOV: Поддерживается SSE2: Поддерживается SSE3: Поддерживается SSSE3: Поддерживается SSE4a: Поддерживается SSE41: Поддерживается SSE42: Поддерживается AES: Поддерживается AVX: Поддерживается AVX2: Не поддерживается AVX512F: Не поддерживается AVX512PF: Не поддерживается AVX512ER: Не поддерживается AVX512CD: Не поддерживается AVX512VNNI: Не поддерживается SHA: Не поддерживается CMPXCHG16B: Поддерживается LAHF/SAHF: Поддерживается PrefetchW: Не поддерживается Версия ОС: Ubuntu 18.04.3 LTS (64 бит) Название ядра: Linux Версия ядра: 4.15.0-76-generic Поставщик X-сервера: The X.Org Foundation Версия X-сервера: 11906000 Менеджер окон X Window System: Compiz Версия клиента Steam: steam-runtime_0.20200113.0 Видеокарта: Модель: X.Org AMD PITCAIRN (DRM 2.50.0, 4.15.0-76-generic, LLVM 9.0.0) Версия драйвера: 4.5 (Compatibility Profile) Mesa 19.2.8 Версия OpenGL: 4.5 Глубина цвета: 24 бит/пиксель Частота обновления: 60 Гц ID производителя: 0x1002 ID карты: 0x6811 Версия неизвестна Кол-во экранов: 1 Количество логических видеокарт: 1 Разрешение осн. экрана: 1920 x 1080 Разрешение рабочего стола: 1920 x 1080 Размер осн. экрана: 18.74" x 10.55" (21.50" diag) 47.6cm x 26.8cm (54.6cm diag) Осн. видеопамять: 2048 МБ Звуковая карта: Аудиоустройство: Realtek ALC887-VD Память: Оперативная память: 11967 МБ Разное: Язык интерфейса: Русский ЯЗЫК: ru_RU.UTF-8 Места на диске: 30486 Мб Наиболее свободный диск: 6045 Мб Шлем виртуальной реальности: не обнаружен ```

kisak-valve commented 4 years ago

Hello @PCVirus25, you have a Southern Island (SI) generation video card, which uses the radeon kernel module by default. The radeon kernel module is not compatible with Vulkan. Please give https://github.com/ValveSoftware/Proton/wiki/For-AMD-users-having-issues-with-non-OpenGL-games a read.