Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Bug Black Screen after Splash screen, but can hear music in Game build [Linux / Steam Deck]

Discussion in 'General Graphics' started by prateekjadhwani, Sep 3, 2023.

  1. prateekjadhwani

    prateekjadhwani

    Joined:
    May 20, 2018
    Posts:
    8
    Here us the video to what I am seeing.

    [unable to embed the youtube video, so adding the link]
    https://youtube.com/shorts/uJnarl3tT1o?si=vW-od_gT-q5vKb85

    This works fine if I use Proton to run the windows build of the game.

    Any suggestions as to what I could be doing wrong?

    Unity Version: 2020.3.11.f1
     
    dan_ginovker likes this.
  2. prateekjadhwani

    prateekjadhwani

    Joined:
    May 20, 2018
    Posts:
    8
    Found a solution for this.
    If you are facing this issue, you will need to go to Player Settings, and set Vulcan as the default graphics option for linux
     

    Attached Files:

    pete_unity24 likes this.
  3. VoidFish

    VoidFish

    Joined:
    Nov 27, 2012
    Posts:
    31
    Ran into the same issue. However, when I set Vulcan to default now many of my other linux users are reporting instant CTD, and logs suggest vulkan init is failing:

    Code (CSharp):
    1. [Vulkan init] Selected physical device (nil)
    2. Caught fatal signal - signo:11 code:1 errno:0 addr:0x10
    3. Obtained 13 stack frames.
    4. #0  0x007f8393042520 in __sigaction
    5. #1  0x007f82c463de2e in vkGetPhysicalDeviceQueueFamilyProperties
    6. #2  0x007f8393f790e1 in vk::Initialize()
    7. #3  0x007f8393f83149 in CreateVKGfxDevice()
    8. #4  0x007f8393ef694e in CreateClientGfxDevice(GfxDeviceRenderer, GfxCreateDeviceFlags)
    9. #5  0x007f83943d080b in CreateGfxDevice(GfxDeviceRenderer, GfxCreateDeviceFlags)
    10. #6  0x007f83943d0b71 in InitializeGfxDevice()
    11. #7  0x007f839428c432 in InitializeEngineGraphics(bool)
    12. #8  0x007f839429ab3a in PlayerInitEngineGraphics(bool)
    13. #9  0x007f839446d5be in PlayerMain(int, char**)
    14. #10 0x007f8393029d90 in __libc_init_first
    15. #11 0x007f8393029e40 in __libc_start_main
    16.  
    However, when I switch it back to OpenGLCore it works on most Linux distros, but not on Steam Deck.

    Now, how do I decide: support deck, or the rest of Linux.
     
  4. prateekjadhwani

    prateekjadhwani

    Joined:
    May 20, 2018
    Posts:
    8
    Yeah, for the same reason, I am not supporting other linux distros. Just steamdeck. As a solo dev its difficult for me to support so many linux distros.
    Maybe someone from Unity can help out with this problem.