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
  3. Dismiss Notice

Bug URP Rendering Issues on wayland Pop!_OS 22.04 using OpenGL 4.5

Discussion in 'Linux' started by Farfi55, Jun 21, 2023.

  1. Farfi55

    Farfi55

    Joined:
    Jul 18, 2016
    Posts:
    11
    Specs:
    OS: Pop!_OS 22.04 LTS x86_64
    Host: HP ProBook 430 G8 Notebook PC
    Kernel: 6.2.0-76060200-generic
    DE: GNOME 42.5
    WM: Mutter
    CPU: 11th Gen Intel i7-1165G7 (8) @ 4.700GHz
    GPU: Intel TigerLake-LP GT2 [Iris Xe Graphics] (integrated graphic card)

    unity version: 2022.3.0 LTS
    using OpenGL 4.5

    I'm having rendering issues on a brand new URP project running in unity 2022.3.0 LTS, everything other than the game tab rendering is broken, for example the scene rendering has a red tint to it and sometimes flickering to a bluish tint.
    Any Prefab/material preview also suffer from this glitch (see screenshot).

    I've tried running the editor using the -force-vulkan command line argument, but that instantly crashes unity, so it's not a viable solution.

    Has anyone else experienced something like this?
    Any solutions?

    screenshot Screenshot from 2023-06-21 19-55-48.png
     
  2. ChiwTheNeko

    ChiwTheNeko

    Joined:
    Mar 24, 2022
    Posts:
    150
    Did you try switching to Vulkan through the project settings instead of the command line?
    Also, why 2022.3.0? The latest is 2022.3.3.
     
  3. Farfi55

    Farfi55

    Joined:
    Jul 18, 2016
    Posts:
    11
    Hi, yes just tried switching to vulkan from the player settings and that also causes unity to crash while trying to render the scene view.
    Also I'm now running the project on 2022.3.2 and the issue is still there, I'll try it out on the new version tomorrow.
     
  4. Farfi55

    Farfi55

    Joined:
    Jul 18, 2016
    Posts:
    11
    Tested it with unity version 2022.3.3 and nothing has changed, same broken rendering sadly
     
  5. ChiwTheNeko

    ChiwTheNeko

    Joined:
    Mar 24, 2022
    Posts:
    150
    Then this definitely looks like a driver issue. I would try 2021 instead of 2022, X instead of Wayland and legacy instead of URP. And if all that fail then I would try installing a different version of the graphic driver. I'm sure PopOS has several kernel available.
     
  6. Farfi55

    Farfi55

    Joined:
    Jul 18, 2016
    Posts:
    11
    From my testing, the issue arise only on 2022.x and with URP, changing between wayland and X doesn't change much.

    I tried booting pop!_OS on the latest kernel supported and the old one, that didn't fix it either.

    Right now I switched to my windows partition since I couldn't find a fix for this problem, I'd love to switch back once the issue is resolved.
     
  7. ChiwTheNeko

    ChiwTheNeko

    Joined:
    Mar 24, 2022
    Posts:
    150
    You should install one of the officially supported distro and report to Unity. They will want to fix this.