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

cs:go black screen when starting #2643

Open
gabriel11027 opened this issue Jan 30, 2021 · 29 comments
Open

cs:go black screen when starting #2643

gabriel11027 opened this issue Jan 30, 2021 · 29 comments
Labels

Comments

@gabriel11027
Copy link

gabriel11027 commented Jan 30, 2021

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
@Bodyash
Copy link

Bodyash commented Feb 1, 2021

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.

@robintherich
Copy link

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.

@mackatozis
Copy link

mackatozis commented Mar 4, 2021

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

@robintherich
Copy link

robintherich commented Mar 4, 2021 via email

@mackatozis
Copy link

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
#608 (comment)

@SupinePandora43
Copy link

SupinePandora43 commented Jun 29, 2021

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

@kag1sho
Copy link

kag1sho commented Oct 17, 2021

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

@joeg1484
Copy link

-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?

@Soulwest
Copy link

-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

@joeg1484
Copy link

-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.

@rbbl-dev
Copy link

rbbl-dev commented Dec 2, 2021

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

@Redo11
Copy link

Redo11 commented Dec 12, 2021

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

@JonathanShrek
Copy link

JonathanShrek commented Dec 22, 2021

-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.

@petrmiko
Copy link

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.

@SupinePandora43
Copy link

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.

@michaaels
Copy link

@leorac
Copy link

leorac commented Feb 5, 2022

-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

@yernarakimzhanov
Copy link

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 :(

@JonathanShrek
Copy link

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.

@yernarakimzhanov
Copy link

yernarakimzhanov commented Feb 22, 2022

Apparently somebody else figured out how to make it work.

Sharing link from the other thread.

It solved it for me.

#2659 (comment)

@AbbasSaad27
Copy link

-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

@ToRRent1812
Copy link

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

@NEX-S
Copy link

NEX-S commented Oct 24, 2022

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

@Weirdo1312
Copy link

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

@kisak-valve
Copy link
Member

kisak-valve commented Oct 25, 2022

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.

@gabriel11027
Copy link
Author

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

@Weirdo1312
Copy link

Weirdo1312 commented Oct 25, 2022

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

@GouriiD
Copy link

GouriiD commented Mar 15, 2023

-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!

@SupinePandora43
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests