AcademySoftwareFoundation / xstudio

xSTUDIO is a modern, high performance and feature rich playback and review application designed for organisations and individuals in the post production, VFX and Animation industries.
Apache License 2.0
626 stars 78 forks source link

WSL Ubuntu 22.04 possible build issues #20

Open johnperrigo-vfx opened 1 year ago

johnperrigo-vfx commented 1 year ago

I'm sure this is outside of the expected use, but... Under Windows using WSL Ubuntu 22.04 I have managed to compile xstudio following the Ubuntu 22.04 instructions.

It appeared to work fine, the application launches, I can define a range of exr's to load at launch.

However the main image view is completely white.

I can see and even scrub my exr files in the thumbnail of the media pool though, its just the main viewer that is completely blank.

Is this user error or simply a limitation of WSL? Thanks.

I am seeing one error in the shell when running:

[xstudio] [error] shader error: Vertex shader error:
0:2(10): error: GLSL 4.30 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.40, 1.50, 3.30, 1.00 ES, 3.00 ES, and 3.10 ES
dami-isreal commented 1 year ago

It is the program error, that's where the fault is coming from

On Wed, Jan 25, 2023, 11:45 PM johnperrigo-vfx @.***> wrote:

I'm sure this is outside of the expected use, but... Under Windows using WSL Ubuntu 22.04 I have managed to compile xstudio following the Ubuntu 22.04 instructions.

It appeared to work fine, the application launches, I can define a range of exr's to load at launch.

However the main image view is completely white.

I can see and even scrub my exr files in the thumbnail of the media pool though, its just the main viewer that is completely blank.

Is this user error or simply a limitation of WSL? Thanks.

I am seeing one error in the shell when running:

[xstudio] [error] shader error: Vertex shader error: 0:2(10): error: GLSL 4.30 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.40, 1.50, 3.30, 1.00 ES, 3.00 ES, and 3.10 ES

— Reply to this email directly, view it on GitHub https://github.com/AcademySoftwareFoundation/xstudio/issues/20, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5H5N56ER3KUS6ULXZO3PRDWUGUHPANCNFSM6AAAAAAUG3ZIR4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>

alatdneg commented 1 year ago

Looks like whatever GFX driver is being used doesn't support the version of the GLSL that we need. I'm not up on what WSL actually uses here, or how you might upgrade it.

Running Ubuntu 22.04 on Linux inside a VM works, so I'm guessing it's specific to WSL.

jhodges10 commented 1 year ago

@johnperrigo-vfx you may need to get the NVIDIA vGPU driver. I haven't done this yet, but I do want to try it if I can get the right license from NVIDIA.

https://learn.microsoft.com/en-us/windows/wsl/tutorials/gui-apps

https://ubuntu.com/tutorials/enabling-gpu-acceleration-on-ubuntu-on-wsl2-with-the-nvidia-cuda-platform#2-install-the-appropriate-windows-vgpu-driver-for-wsl

mpkepic commented 3 months ago

If you are still interested in getting xStudio built on Windows; there has been some significant work done recently in the Windows pull request to allow for native building.

Hopefully that helps you get up to speed in case you were looking to develop on xStudio under Windows rather than strictly WSL.

https://github.com/AcademySoftwareFoundation/xstudio/pull/50