ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.23k stars 174 forks source link

Windows version of CSGO downloads instead of native linux version #7577

Open srgtlord opened 3 years ago

srgtlord commented 3 years ago

Computer Information: Manufacturer: Unknown Model: Unknown Form Factor: Desktop No Touch Input Detected

Processor Information: CPU Vendor: AuthenticAMD CPU Brand: AMD FX(tm)-6300 Six-Core Processor
CPU Family: 0x15 CPU Model: 0x2 CPU Stepping: 0x0 CPU Type: 0x0 Speed: 3500 Mhz 6 logical processors 6 physical processors HyperThreading: Unsupported FCMOV: Supported SSE2: Supported SSE3: Supported SSSE3: Supported SSE4a: Supported SSE41: Supported SSE42: Supported AES: Supported AVX: Supported AVX2: Unsupported AVX512F: Unsupported AVX512PF: Unsupported AVX512ER: Unsupported AVX512CD: Unsupported AVX512VNNI: Unsupported SHA: Unsupported CMPXCHG16B: Supported LAHF/SAHF: Supported PrefetchW: Unsupported

Operating System Version: Ubuntu 20.04.1 LTS (64 bit) Kernel Name: Linux Kernel Version: 5.4.0-58-generic X Server Vendor: The X.Org Foundation X Server Release: 12008000 X Window Manager: GNOME Shell Steam Runtime Version: steam-runtime_0.20201203.1

Video Card: Driver: NVIDIA Corporation Quadro M5000/PCIe/SSE2 Driver Version: 4.6.0 NVIDIA 455.38 OpenGL Version: 4.6 Desktop Color Depth: 24 bits per pixel Monitor Refresh Rate: 60 Hz VendorID: 0x10de DeviceID: 0x13f0 Revision Not Detected Number of Monitors: 1 Number of Logical Video Cards: 1 Primary Display Resolution: 1920 x 1080 Desktop Resolution: 1920 x 1080 Primary Display Size: 20.75" x 11.69" (23.78" diag) 52.7cm x 29.7cm (60.4cm diag) Primary Bus: PCI Express 16x Primary VRAM: 8192 MB Supported MSAA Modes: 2x 4x 8x 16x

Sound card: Audio device: Realtek ALC662 rev1

Memory: RAM: 11965 Mb

Please describe your issue in as much detail as possible:

The Windows version of the game downloads instead of the native steam client

Steps for reproducing this issue:

  1. Have Steam compatibility layer installed and working correctly
  2. Attempt to install game
  3. CSGO windows version installs. (This can be checked by navigating to the steam library folder)
kisak-valve commented 3 years ago

Hello @srgtlord, if go to the game in your Steam's Library section and click on the ⓘ on the right side, does Steam tell you Runs on this computer via Steam Play. Proton # selected by you for this title.?

srgtlord commented 3 years ago

Hi @kisak-valve when this is attempted an error occurs and the game does not launch. I have tried disabling the steam compatability layer and re-installing the game but the windows version keeps installing instead of the linux version.

steam-730.log

kisak-valve commented 3 years ago

If you're able to collect a Proton log, then you've definitely told Steam to run the game with Proton and is doing exactly what you asked the Steam client to do. Right click on the game in Steam's library (or click the gear icon) and select Properties, then go to the Compatibility section and uncheck Force the use of a specific Steam Play compatibility tool.

The global Enable Steam Play for all other titles option in Steam doesn't take priority over the per-game override or games with a native Linux version.

srgtlord commented 3 years ago

@kisak-valve How do I force the native linux version to install? I only enabled proton to see if the game would launch. It only downloads the windows files and not the linux files/launcher. csgo.exe is in the directory instead of csgo.sh

srgtlord commented 3 years ago

@kisak-valve this issue is not resolved

kisak-valve commented 3 years ago

The Steam client manages downloading game content, not CS:GO itself, so I've transferred this issue to the steam-for-linux issue tracker.

Please answer the initial question. Does the Steam client tell you it will use Proton with a Runs on this computer via Steam Play. Proton # selected by you for this title. message when you click the ⓘ button?

Disabling the per-game compatibility tool override should make Steam immediately start updating the game to the native linux version. As an alternative, you could try re-enabling Force the use of a specific Steam Play compatibility tool and change the drop-down to Steam Linux Runtime which is a compatibility tool for running Linux native games in a Linux container. After that, you can try disabling Force the use of a specific Steam Play compatibility tool and see what the Steam client does.

srgtlord commented 3 years ago

Hi @kisak-valve , When clicking the ⓘ button I do not see the "runs via proton" text anywhere as I have disabled proton. I have attempted the 2 suggestions which have made no effect to the game Thank you for looking into this.

kisak-valve commented 3 years ago

One last quick idea to try and a question before this will need to be looked at by a Steam Dev. Can you go to the game's properties again -> Local Files -> click Verify integrity of game files... and see if that has an effect?

The path /mnt/d9c45aa1-0827-438e-bdb9-f584984abb8c/backup12-11-20/SteamLibrary2 looks suspiciously like an NTFS partition which is being shared with a Windows install (or your normal user might not have full read/write permissions to change). Sharing Steam library folders between OSes is not a supported configuration and can have weird side-effects. Is there a different Steam library folder using a Linux native filesystem you can use to test install the game?

srgtlord commented 3 years ago

This is an ext4 formatted secondary harddrive that is automounted on boot. I think there is definitely a bug within steam as I uninstalled csgo, cleared the download cache, and made sure proton was disabled. This time around the native linux version installed.

noitisoprepus commented 1 year ago

I also got this problem just now. Just for fun, I tried running CSGO using proton and forced the use of Proton Experimental. Unchecking the use of it from the 'Compatibility' options of the game updates it back to native version, but once I restart steam it will update the game to go back on using Proton once again.

I temporarily solved this problem by choosing Steam Play Runtime on the Steam Play override options.

Distro: Pop!_OS 22.04 LTS DE: Gnome 42.5 (Wayland) Steam Version: 1689034492 Steam Client Build Date: Tue, Jul 11 7:59 AM UTC -08:00 Steam Web Build Date: Tue, Jul 11 1:48 AM UTC -08:00 Steam API Version: SteamClient020

MrLion28 commented 1 year ago

Hello, I just had the same exact issue. I installed EOS since 4 days ago. DE is KDE X11.

I redownloaded the game twice now, but none of the times with "steam play" disabled. I will try that for a 3rd and last time now to see if it fixes the issue. All the times it grabbed the Windows version with an exe for whatever reason.

Neither with Proton/Linux Runtime nor unchecking the "force compatibility for this game" fixes it.

midiidev commented 1 year ago

same issue, except sometimes it does have the right version installed, then just goes back to the windows version. this happens seemingly randomly, even if i don't turn my pc off or restart steam.

GaborVarga239 commented 1 year ago

I have the same issue

GaborVarga239 commented 1 year ago

I tried the flatpak version, i didn't have this problem, the only issue that it can't detect my multilib steam installed games

MrLion28 commented 1 year ago

I tried the flatpak version, i didn't have this problem, the only issue that it can't detect my multilib steam installed games

I "solved" the issue by trying Steam through flatpak. Since then I've had little to no issues. But I did redownload everything. My thoughts are that those games are in some folder around the Steam folders (including the hidden ones). So you might have to copy the games into the Flatpak Steamapps folder and see if that solves the issue.

If it's about permissions for another drive or directory, downloading Flatseal and putting the path manually on File System to enable it to read other driver will do the issue.

GaborVarga239 commented 1 year ago

I did fix it, by completely uninstalling multilib steam, and it downloaded the linux version, but for me it still doesnt launch

MrLion28 commented 1 year ago

I did fix it, by completely uninstalling multilib steam, and it downloaded the linux version, but for me it still doesnt launch

Because now, possibly, you have the issue we all had and is that now you can access your others multilib games, but CSGO is bricked. If you launch Steam through console and see the output, you'll possibly have 2 outcomes. 1 CSGO is trying to launch as a "exe" or 2, you will try to run the Linux version but have issues with "EFT" (I think those were the names) errors. At least I am assuming, that is what happened to me.

My recommendation again, is just use Flatpak and be done with it, at least for now.

GaborVarga239 commented 1 year ago

Thats not the error for me, for me its justt segmentation error at line 98 in csgo.sh

silvhook commented 1 year ago

I started having this issue ever since I got a CS2 invite, now every time I open steam, I get an auto update that 'updates' my game to the windows binaries (csgo), and for me to get back the linux binaries I have to enable and disable proton which triggers a 100mb 'update'

MrLion28 commented 1 year ago

I started having this issue ever since I got a CS2 invite, now every time I open steam, I get an auto update that 'updates' my game to the windows binaries (csgo), and for me to get back the linux binaries I have to enable and disable proton which triggers a 100mb 'update'

Hey Silver, I am not sure and please correct me if I'm wrong, but that is kind of how Steam works. If you go to "force compatibility" it will download whatever selection you have, and if you change it, it will download and install the other item (for example if you need another version of proton) but for some reason it won't download, install and store/save all of them for you to choose without downloading. UNLESS that is happening only in CSGO, in which case then yes, it's bugged as fug.

NOTICE: Do NOT attempt the cs2 beta. Due to the new anticheat, at least for me, it didn't work. I really want to play so I had to go back to Windows. You CAN access the CS2 beta on Linux, if you do what you said, download the exe binaries which in turn breaks CSGO - but you cannot play DM or anything connecting to official servers. So for now, don't waste your time.

Belloch commented 1 year ago

I started having this issue ever since I got a CS2 invite, now every time I open steam, I get an auto update that 'updates' my game to the windows binaries (csgo), and for me to get back the linux binaries I have to enable and disable proton which triggers a 100mb 'update'

Im having the exactly same problem

Belloch commented 1 year ago

I started having this issue ever since I got a CS2 invite, now every time I open steam, I get an auto update that 'updates' my game to the windows binaries (csgo), and for me to get back the linux binaries I have to enable and disable proton which triggers a 100mb 'update'

Im having the exactly same problem

Reinstalling Steam solved it for me.

MrLion28 commented 1 year ago

Reinstalling Steam doesn't always work. I've tried that and the issue persisted. In my case, using the flatpak solved it.

Speedlulu commented 1 year ago

As @noitisoprepus said forcing Steam Linux Runtime in the compatibility options solved it for me.

jeer00 commented 1 year ago

I dont know if this issue still is relevant due to CS2. But although, i did test @noitisoprepus solution by selecting the Steam Linux Runtime, but all i get then is:

FATAL: It appears CS2 was not launched within the Steam for Linux sniper runtime environment. FATAL: Please consult documentation to ensure correct configuration, aborting

MrLion28 commented 1 year ago

I dont know if this issue still is relevant due to CS2. But although, i did test @noitisoprepus solution by selecting the Steam Linux Runtime, but all i get then is:

FATAL: It appears CS2 was not launched within the Steam for Linux sniper runtime environment. FATAL: Please consult documentation to ensure correct configuration, aborting

It would be relevant only if you want to / try to play CS:GO and still get the issue. However, considering CS2 is now the main game, this might get actually closed.

To play CS:GO, you have to go into properties on Steam (properties of CS not Steam itself) and under Beta you have to select CSGO. Otherwise now the game is CS2.