Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

The Big Face

He always knows where you are, even if you don't know where you are... · By DedicatedGhostArt, Squeaks D'Corgeh

[Feature Request]: Add OpenGL support on Linux Systems

A topic by trota68 created May 30, 2020 Views: 169 Replies: 3
Viewing posts 1 to 2
(2 edits)

Hi,
I was trying this game on a Linux system (Kernel 5.3 series, Intel HD3000 graphic card, Mesa 20.2 graphic drivers) but I get the following error (terminal output, user name hidden):

Set current directory to /home/XXXXXX/.config/itch/apps/the-big-face/The Big Face 1.0.3 (Linux)
Found path: /home/XXXXXX/.config/itch/apps/the-big-face/The Big Face 1.0.3 (Linux)/The Big Face.x86_64
Mono path[0] = '/home/XXXXXX/.config/itch/apps/the-big-face/The Big Face 1.0.3 (Linux)/The Big Face_Data/Managed'
Mono config path = '/home/XXXXXX/.config/itch/apps/the-big-face/The Big Face 1.0.3 (Linux)/The Big Face_Data/MonoBleedingEdge/etc'
Preloaded 'libfmodstudio.so'
Preloaded 'libfmodstudioL.so'
Preloaded 'libresonanceaudio.so'
Display 0 '0': 1366x768 (primary device).
Loading player data from /home/XXXXXX/.config/itch/apps/the-big-face/The Big Face 1.0.3 (Linux)/The Big Face_Data/data.unity3d
Unable to load player prefs
Desktop is 1366 x 768 @ 60 Hz
[Vulkan init] extensions: count=18
[Vulkan init] extensions: name=VK_KHR_device_group_creation, enabled=0
[Vulkan init] extensions: name=VK_KHR_display, enabled=1
[Vulkan init] extensions: name=VK_KHR_external_fence_capabilities, enabled=0
[Vulkan init] extensions: name=VK_KHR_external_memory_capabilities, enabled=0
[Vulkan init] extensions: name=VK_KHR_external_semaphore_capabilities, enabled=0
[Vulkan init] extensions: name=VK_KHR_get_display_properties2, enabled=0
[Vulkan init] extensions: name=VK_KHR_get_physical_device_properties2, enabled=0
[Vulkan init] extensions: name=VK_KHR_get_surface_capabilities2, enabled=0
[Vulkan init] extensions: name=VK_KHR_surface, enabled=1
[Vulkan init] extensions: name=VK_KHR_surface_protected_capabilities, enabled=0
[Vulkan init] extensions: name=VK_KHR_wayland_surface, enabled=1
[Vulkan init] extensions: name=VK_KHR_xcb_surface, enabled=0
[Vulkan init] extensions: name=VK_KHR_xlib_surface, enabled=1
[Vulkan init] extensions: name=VK_EXT_acquire_xlib_display, enabled=0
[Vulkan init] extensions: name=VK_EXT_debug_report, enabled=0
[Vulkan init] extensions: name=VK_EXT_direct_mode_display, enabled=0
[Vulkan init] extensions: name=VK_EXT_display_surface_counter, enabled=0
[Vulkan init] extensions: name=VK_EXT_debug_utils, enabled=0
Vulkan detection: 0
No supported renderers found, exiting 
(Filename:  Line: 618)

If I read it correctly there is only Vulkan support, but on last Unity Editor versions I've used (2019.x series) OpenGL on Linux was still supported (but I don't know if it's the same for 2020.x series).
In case of any planned future update, it could be possible to publish a Liinux version with OpenGL support (along with the Vulkan version one)?

Thanks anyway for your work!

Developer (1 edit)

Hey trota! Unfortunately it seems I won't be able to do that, because after attempting to before, it seems Vulcan is the only one supported for Linux exports on my side. It may be due to me having Mac OS Catalina, which now only supports 64-bit, and as a result most older versions of Unity break for me completely due to a lot of them also supporting 32-bit, so I'm kinda forced to use a new Unity version which may not support more than Vulcan for Linux anymore. I'm a bit new though when it comes to Unity and such, so that's only what I believe is happening. ^^' I'm really sorry about that!

(1 edit)

Hi, and thanks for the answer!
Referring to this link "https://docs.unity3d.com/Manual/class-PlayerSettingsStandalone.html" for what concern Vulkan / OpenGL support on Linux you have to go to Player settings (for standalone/desktop applications): Edit > Project Settings > Player.
In the Player tab look for a table  grouping  various voices as indicated in this image



Alternatively it could appear like this:



Now click on the first down-arrow or pc-monitor icon above to switch to Settings for PC, Pac & Linux Standalone and click on Other Settings.
As indicated here "https://docs.unity3d.com/Manual/GraphicsAPIs.html" you'll find a  section called "Rendering" where there are 3 graphics API options:
- Auto Graphics API for Windows;
- Auto Graphics API for Mac;
- Auto Graphics API for Linux;
If the last one for Linux was checked, uncheck it and an element list will be displayed as in the following image:



Now you should see Vulkan option as first; if there's no OpenGLCore row, click on the little plus icon on the right just below the this mini-index and a dropdown list should appear. If present, select and add OpenGLCore option and drag the just added row above the Vulkan one so that OpenGL will become the default option and Vulkan as a fallback one if the player can't use OpenGL on the target device.
At the following link you'll find more detailed technical infos about Unity Editor latest stable release (2019.3.x series with 64bit support on Mac): https://docs.unity3d.com/Manual/system-requirements.html.

Anyway thanks again for your interest!

Developer

Ye I went through that process before, and my computer couldn't build it for OpenGLCore. It gave me error messages. Only one that worked was Vulkan, unfortunately. Sorry about that! It's very unfortunate. Seems Mac has been cutting a lot of stuff loose, recently.