csgo-osx-linux icon indicating copy to clipboard operation
csgo-osx-linux copied to clipboard

cs:go black screen when starting

Open gabriel11027 opened this issue 3 years ago • 23 comments

Issue:

On Manjaro, after I launch the game it freezes on the broken fang logo. If I remove the 'videos' folder, then all I can see is a black screen. If I keep pressing ESC when the operation video is playing I can hear the main menu music but after some time it stops. I am aware of the other 'issues' relating the same thing but I found no help in any of them

What I have tried:

-verify integrity of game files -autoconfig -nojoy -novid -reinstalling -praying to gaben

Steps for reproducing this issue:

  1. Download
  2. Open the game
  3. Cry

gabriel11027 avatar Jan 30 '21 17:01 gabriel11027

try this 2 solutions:

There is a place to right click on the game from the Steam library and here you can add launch options to the game from "properties" ". If you write this code there and make it full screen, there is a close button at the bottom right. CODE: -nojoy -fullscreen

OR

Set launch option: -safe Boot the game: Tick "do not show again" and click continue Close the game, remove -safe, boot the game, change your video settings

It may help you.

Bodyash avatar Feb 01 '21 21:02 Bodyash

try this 2 solutions:

There is a place to right click on the game from the Steam library and here you can add launch options to the game from "properties" ". If you write this code there and make it full screen, there is a close button at the bottom right. CODE: -nojoy -fullscreen

OR

Set launch option: -safe Boot the game: Tick "do not show again" and click continue Close the game, remove -safe, boot the game, change your video settings

It may help you.

-nojoy -fullscreen solves issue for me on Ubuntu 20.04 LTS, with NVIDIA drivers, on dedicated and on-demand mode. thank you very much.

robintherich avatar Feb 02 '21 12:02 robintherich

The issue still persists for me as well (since 3rd of February 2021).

Your system information

  • System information from steam (Steam -> Help -> System Information) in a gist:
  • Have you checked for system updates?: Yes

I have updated both Steam and NVidia Drivers to the latest available.

Ubuntu 20.04 KDE Plasma 5.18.5 Kernel: 5.4.0.-66 Nvidia Driver: 450.102.04

Please describe your issue in as much detail as possible:

Terminal Output from the moment I run CS:GO https://gist.github.com/mackatozis/4f3d58ecafea2d8d66fe7fe5125db280

On average, from the moment I press the Run button, I get a black screen and the output freezes as shown on the above Gist on line 159. After ~90 seconds, the output freezes on line 161, and only when the game actually loads (approximately 240 seconds), we see the rest of the output. Lastly, the game says that it is trying to connect to the CS:GO network (screenshot can be found bellow) for around 30 seconds.

https://imgur.com/a/d6qjvi4

mackatozis avatar Mar 04 '21 17:03 mackatozis

Yeah I wound up installing windows. Nvidia support for linux is shit.

On Thu, Mar 4, 2021, 9:44 AM mackatozis [email protected] wrote:

The issue still persists for me as well.

Ubuntu 20.04 KDE Plasma 5.18.5 Kernel: 5.4.0.-66 Nvidia Driver: 450.102.04

System Information https://gist.github.com/mackatozis/88ba564fbfe5fbfa0d87d10d03fc78d6

Terminal Output from the moment I run CS:GO https://gist.github.com/mackatozis/4f3d58ecafea2d8d66fe7fe5125db280

On average, from the moment I press the Run button, I get a black screen and the output freezes as shown on the 2nd Gist on line 159. After ~90 seconds, the output freezes on line 161, and only when the game actually loads (approximately 240 seconds), we see the rest of the output. Lastly, the game says that it is trying to connect to the CS:GO network (cyan line on top of the screen) for around 30 seconds.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ValveSoftware/csgo-osx-linux/issues/2643#issuecomment-790801562, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASWJ2OAAQ7DWUZRZB5D4AIDTB7BGTANCNFSM4W2P3XQQ .

robintherich avatar Mar 04 '21 18:03 robintherich

It seems like there is an issue with Steam Shader Caching. You can disable this feature by going on Steam Settings

Settings -> Shader Pre-Caching

I have disabled both available options

image

Kudos to @turrini https://github.com/ValveSoftware/csgo-osx-linux/issues/608#issuecomment-785907133

mackatozis avatar Mar 14 '21 23:03 mackatozis

Settings -> Shader Pre-Caching I have disabled both available options

That worked for me. But the custom textures still don't show up.

Also, for anyone else with the same bug: check if you didn't delete the videos folder inside the game folder.

gabriel11027 avatar Mar 15 '21 14:03 gabriel11027

Some users may have done that to try get more fps.

On windows It gives more fps in menu, and in game. But on linux it causes errors?

first attempt

Adding -novid allowed me to enter main menu. Also videos folder is deleted.

After 10 minutes of loading dust2 it crashed.

second attempt

Then (after a while) i launched it again. (Both shader caching is enabled)

Still launches.

The only problem that persists is ui scale (it's bigger than on windows, or it is an option?) I've connected to dust2 dm (few minutes of connection) then i waited ~5 minutes until i could get 10-20 fps in game. IMG_20210629_163152.jpg IMG_20210629_163232.jpg IMG_20210629_163508.jpg

Benchmark

First attempt - 26 fps Second attempt - 33.87

Manjaro XFCE

SupinePandora43 avatar Jun 29 '21 11:06 SupinePandora43

try this 2 solutions:

There is a place to right click on the game from the Steam library and here you can add launch options to the game from "properties" ". If you write this code there and make it full screen, there is a close button at the bottom right. CODE: -nojoy -fullscreen

OR

Set launch option: -safe Boot the game: Tick "do not show again" and click continue Close the game, remove -safe, boot the game, change your video settings

It may help you.

CODE: -nojoy -fullscreen works on pop-os 21.04. thanks a lot

kag1sho avatar Oct 17 '21 23:10 kag1sho

-nojoy -fullscreen not working on Manjaro.

Its funny because I was playing CS:GO forever and then just this week it started launching to a black screen then crashing...

Oh, AMD and Radeon (5700)

Any ideas?

If Valve expects the Steam Deck to work on Arch/Manjaro when its launched, then I would think it should work now, no?

joeg1484 avatar Nov 23 '21 22:11 joeg1484

-nojoy -fullscreen not working on Manjaro.

Its funny because I was playing CS:GO forever and then just this week it started launching to a black screen then crashing...

Oh, AMD and Radeon (5700)

Same for me. Pop!_OS 21.10 5.15.4-76051504-generic

Soulwest avatar Nov 27 '21 17:11 Soulwest

-nojoy -fullscreen not working on Manjaro. Its funny because I was playing CS:GO forever and then just this week it started launching to a black screen then crashing... Oh, AMD and Radeon (5700)

Same for me. Pop!_OS 21.10 5.15.4-76051504-generic

So what worked for me eventually was using the Flatpac version of Steam for Manjaro. Im sure Debian/Ubuntu/Pop_OS has something similar.

In fact, it works so well I dont have to use the GE (Glorious Eggroll) version anymore for FarCry 5 :).

Try that and see how it works.

joeg1484 avatar Nov 27 '21 20:11 joeg1484

same issue on fedora 35 none of the proposed fixes works. nvidia card ofc

rbbl-dev avatar Dec 02 '21 20:12 rbbl-dev

problem still exists Archlinux , newest as of day Using "-nojoy -fullscreen" causes it to launch with graphical problems(messed up geometry)

Redo11 avatar Dec 12 '21 22:12 Redo11

-nojoy -novid -fullscreen and renaming the videos folder to videos.bak fixed it for me. This causes a black screen behind the player model in the menu, but game play is fine for me. I'm running Manjaro KDE Plasma.

JonathanShrek avatar Dec 22 '21 02:12 JonathanShrek

As of now, CS:GO does not work straight away directly on 5.15.12-1-MANJARO on Wayland Gnome with nVidia 1070. Also stucked on black screen with playing music and hearing mouse bumping into "active" buttons. nojoy, novid, moving video folders...

Windowed mode worked for a bit. Now it does not. Flatpacked version of Steam helped for a bit. Now it also does not work. So the only viable alternative is having either dualboot to Windows (which I do) or login into Xorg mode, where I notice significant drop in FPS in contrast to Wayland (when it worked with some workaround).

I really hope this gets fixed since one would consider Valve games to carry the flag for linux games with Steam deck on the horizon.

petrmiko avatar Jan 19 '22 19:01 petrmiko

As of now, CS:GO does not work straight away directly on 5.15.12-1-MANJARO on Wayland Gnome with nVidia 1070. Also stucked on black screen with playing music and hearing mouse bumping into "active" buttons. nojoy, novid, moving video folders...

Windowed mode worked for a bit. Now it does not. Flatpacked version of Steam helped for a bit. Now it also does not work. So the only viable alternative is having either dualboot to Windows (which I do) or login into Xorg mode, where I notice significant drop in FPS in contrast to Wayland (when it worked with some workaround).

I really hope this gets fixed since one would consider Valve games to carry the flag for linux games with Steam deck on the horizon.

When i launch i get black screen. But i open console (~), enter disconnect, (press video skip button), to get to main menu.

SupinePandora43 avatar Jan 20 '22 01:01 SupinePandora43

https://github.com/michaaels/scripts_fedora35/blob/main/csgo_fix_blackscreen.sh The solution for fedora 35

michaaels avatar Feb 04 '22 00:02 michaaels

-nojoy -novid -fullscreen and renaming the videos folder to videos.bak fixed it for me. This causes a black screen behind the player model in the menu, but game play is fine for me. I'm running Manjaro KDE Plasma.

this also works for me (manjaro gnome here). I think that fps looks a little too low, but I don't really remember how much it was before. Anyway, I think that is worth mentioning the the videos folder to rename is the one into:

$HOME/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/csgo/panorama

leorac avatar Feb 05 '22 13:02 leorac

Still doesn`t work on plasma and no solutions posted above work either.

Kinda sad that we don`t have a playable version of a game :(

yernarakimzhanov avatar Feb 11 '22 22:02 yernarakimzhanov

Still doesn`t work on plasma and no solutions posted above work either.

Kinda sad that we don`t have a playable version of a game :(

I'm on plasma and was able to get it to work by doing the follow:

Set launch options to -nojoy -novid -fullscreen and rename the videos folder (~/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/csgo/panorama/videos) to videos.bak.

This will cause a black screen behind the player model in the main menu, but the game should play fine.

JonathanShrek avatar Feb 13 '22 06:02 JonathanShrek

Apparently somebody else figured out how to make it work.

Sharing link from the other thread.

It solved it for me.

https://github.com/ValveSoftware/csgo-osx-linux/issues/2659#issuecomment-934357559

yernarakimzhanov avatar Feb 22 '22 11:02 yernarakimzhanov

-nojoy -novid -fullscreen and renaming the videos folder to videos.bak fixed it for me. This causes a black screen behind the player model in the menu, but game play is fine for me. I'm running Manjaro KDE Plasma.

Worked for me on zorin os 16.3. thanks a lot mate

AbbasSaad27 avatar May 08 '22 17:05 AbbasSaad27

From my experience, the game is launching ONLY if I enable Kwin compositions, otherwise it closes.

ToRRent1812 avatar Aug 22 '22 20:08 ToRRent1812

not working in ArchLinx Wayland image

Linux UNEXPECTED 6.0.2-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Sat, 15 Oct 2022 14:00:51 +0000 x86_64 GNU/Linux

NEX-S avatar Oct 24 '22 10:10 NEX-S

not working in ArchLinx Wayland image

Linux UNEXPECTED 6.0.2-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Sat, 15 Oct 2022 14:00:51 +0000 x86_64 GNU/Linux

same here, I remember playing with xwayland before, i think something happened recently with opengl sound plays, i can click on buttons in menu and they make sound of being clicked on, but screen is black with -vulkan, game shows a black screen for 2 seconds and then it crashes and goes back to desktop https://gist.github.com/barfin/c452a21ce1bec3cd1baf768d91ec23fd

Weirdo1312 avatar Oct 25 '22 08:10 Weirdo1312

Hello @barfin, looking at your system information, something's fishy with EGL + OpenGL (https://gist.github.com/barfin/c452a21ce1bec3cd1baf768d91ec23fd#file-gistfile1-txt-L420-L444 https://gist.github.com/barfin/c452a21ce1bec3cd1baf768d91ec23fd#file-gistfile1-txt-L841-L865) which is causing that render path to use llvmpipe to render on the CPU instead of the NVIDIA proprietary driver. I wouldn't expect CS:GO to use that render path, but it's possible that XWayland is using it and that might expose an edge case the proprietary driver didn't account for.

I would check if that render path uses NVIDIA with their 515 series driver and if the temporary downgrade has an effect.

kisak-valve avatar Oct 25 '22 12:10 kisak-valve

@barfin If you can open the console, run the following command (everything in the same line): map de_mirage; disconnect

gabriel11027 avatar Oct 25 '22 13:10 gabriel11027

Hello @barfin, looking at your system information, something's fishy with EGL + OpenGL (https://gist.github.com/barfin/c452a21ce1bec3cd1baf768d91ec23fd#file-gistfile1-txt-L420-L444 https://gist.github.com/barfin/c452a21ce1bec3cd1baf768d91ec23fd#file-gistfile1-txt-L841-L865) which is causing that render path to use llvmpipe to render on the CPU instead of the NVIDIA proprietary driver. I wouldn't expect CS:GO to use that render path, but it's possible that XWayland is using it and that might expose an edge case the proprietary driver didn't account for.

I would check if that render path uses NVIDIA with their 515 series driver and if the temporary downgrade has an effect.

this might actually be a steam-runtime(scout) issue because non-steam xwayland apps all have hardware acceleration, and in my gist at first (line 47) it shows that nvidia is being used for opengl 4.6 but then only in scout runtime section it says llvmpipe for opengl 4.5 instead and also there is no mention of llvmpipe in KDE's opengl report https://gist.github.com/barfin/d5abf6597b28a69503a9134d5149ce51 https://gist.github.com/barfin/00568f2b62744c7b122210c14a3eb943 image edit: 0% gpu usage in the screenshot is related to another bug with my system and not related to this issue at all

Weirdo1312 avatar Oct 25 '22 19:10 Weirdo1312

-nojoy -novid -fullscreen and renaming the videos folder to videos.bak fixed it for me. This causes a black screen behind the player model in the menu, but game play is fine for me. I'm running Manjaro KDE Plasma.

It work for me, Manjaro XFCE. FPS not checking, but visually it's normal. Thanks!

GouriiD avatar Mar 15 '23 19:03 GouriiD

Source 2 version was announced. Let's hope it will work great 🙏

SupinePandora43 avatar Mar 23 '23 05:03 SupinePandora43