xstudio icon indicating copy to clipboard operation
xstudio copied to clipboard

WSL Ubuntu 22.04 possible build issues

Open vfxbyjohn opened this issue 2 years ago • 4 comments

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

vfxbyjohn avatar Jan 25 '23 22:01 vfxbyjohn

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: @.***>

dami-isreal avatar Jan 26 '23 05:01 dami-isreal

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.

alatdneg avatar Jan 30 '23 09:01 alatdneg

@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

jhodges10 avatar Mar 23 '23 00:03 jhodges10

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

mpkepic avatar Jun 06 '24 17:06 mpkepic