[Mesa-users] MESA r12778 runing on WSL 2 (Windows 10)
Francis Timmes
fxt44 at mac.com
Wed Jun 10 13:30:15 EDT 2020
hi antonio,
thanks for sharing this development and how-to!
fxt
> On Jun 10, 2020, at 4:20 AM, Antonio García Hernández <agh at ugr.es> wrote:
>
> Dear MESA users,
>
> I do not know if someone tried this before but I wanted to share with you my experience with the new WSL (Windows Subsystem for Linux) and MESA. The new WSL 2 seems to be completely functional and I was able to install and run MESA (even plots!) without any issues so far. Here is an example:
>
> <hidncbaoionbnacn.png>
>
> To install the new WSL 2 you need the Windows 10 May 2020 Update (also referred to as "version 2004" and "20H1"). It was released during this month. My Windows specifications are Windows 10 pro, version 2004 and build number 19041.
>
> To install WSL 2 I followed the steps indicated in the official Microsoft webpage: https://docs.microsoft.com/en-us/windows/wsl/install-win10 . Then, you need to install a linux distro. I chose Ubuntu 20.04 LTS that can be found at the Microsoft Store. Tip: when I tried to install update to WSL 2 after installing the 1 version, I got the following message in the PowerShell: 'WSL 2 requires an update to its kernel component.'. Installing the kernel solves the problem: https://docs.microsoft.com/en-us/windows/wsl/wsl2-kernel
>
> No further caveats needed to run MESA, once you follow its installation instructions. However, to make the pgplot windows appear needs a bit more work. First, you need to install an X11 server for windows. I tried VcXsrv: https://sourceforge.net/projects/vcxsrv/ . Launch it before opening the Ubuntu terminal and select the option "Disable access control" (default settings on the rest). It is important that the first time you launch the X server allows connections to VcXSrv from both Public and Private networks. Still, connection to X server did not worked for me. But I followed these instructions: https://wiki.ubuntu.com/WSL#Running_Graphical_Applications and everything worked like a charm!
>
> Hope this small tutorial helps you to enjoy MESA in Windows 10 too.
>
> Have a nice day,
> Antonio.
>
> --
> -----------------------------------------------------------------------------------------
> Dr. Antonio García Hernández
> Post-doctoral researcher at Física Teórica y del Cosmos Dept. (University of Granada)
> Facultad de Ciencias. 18071. Granada. Spain
>
> E-mail:
> agh at ugr.es
>
> Tel: +34 958 249 083
> -----------------------------------------------------------------------------------------
>
> _______________________________________________
> mesa-users at lists.mesastar.org
> https://lists.mesastar.org/mailman/listinfo/mesa-users
>
More information about the Mesa-users
mailing list