On https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround there's no Fedora/CentOS/Red Hat options.
When I try this command: meson -D glx=gallium-xlib -D gallium-drivers=swrast -D platforms=x11 -D dri3=false -D dri-drivers="" -D vulkan-drivers="" -D buildtype=release -D optimization=3
ERROR: Must specify at least one directory name.
What directory name should be used?
Also a typo here: "the instructions below are valid for olter Mesa releases"
Thx, fixed. In the very same paragraph basic compilation instructions are linked. Simply replace the meson call mentioned there by the one from above.
Does that mean I should uninstall the packages installed by Fedora via dnf? Do I really have to compile?
Install package 'meson' to provide command 'meson'? [N/y] y
Waiting in queue...
Loading list of packages.... The following packages have to be installed: meson-0.54.0-1.fc32.noarch High productivity build system ninja-build-1.10.0-1.fc32.x86_64 Small build system with a focus on speed Proceed with changes? [N/y] y
Waiting in queue...
Waiting for authentication...
Waiting in queue...
Downloading packages...
Requesting data...
Testing changes...
Installing packages...
On Thu, Aug 20, 2020 at 4:18 PM Robert Kudyba <rkudyba@fordham.edu> wrote:
Thx, fixed. In the very same paragraph basic compilation instructions are linked. Simply replace the meson call mentioned there by the one from above. Does that mean I should uninstall the packages installed by Fedora via dnf? Do I really have to compile?
Yes, you generate a new library by that. That library is pre-loaded to your application and a) presents a newer OpenGL version to the application and b) translates the OpenGL calls to X-Calls.
Install package 'meson' to provide command 'meson'? [N/y] y
- Waiting in queue...
- Loading list of packages.... The following packages have to be installed: meson-0.54.0-1.fc32.noarch High productivity build system ninja-build-1.10.0-1.fc32.x86_64 Small build system with a focus on speed
Looks promising!
Uli
On Thu, Aug 20, 2020 at 4:18 PM Robert Kudyba <rkudyba@fordham.edu> wrote:
Thx, fixed. In the very same paragraph basic compilation instructions are linked. Simply replace the meson call mentioned there by the one from above. Does that mean I should uninstall the packages installed by Fedora via dnf? Do I really have to compile?
Yes, you generate a new library by that. That library is pre-loaded to your application and a) presents a newer OpenGL version to the application and b) translates the OpenGL calls to X-Calls.
So yes to have to compile, but no to the first question on uninstalling?
Install package 'meson' to provide command 'meson'? [N/y] y
- Waiting in queue...
- Loading list of packages.... The following packages have to be installed: meson-0.54.0-1.fc32.noarch High productivity build system ninja-build-1.10.0-1.fc32.x86_64 Small build system with a focus on speed
Looks promising!
Yes I am prompted by Fedora to run this when I ran the meson command. But I'm still not following. I see here https://docs.mesa3d.org/gallium/drivers/llvmpipe.html
scons: *** No SConstruct file found. File "/usr/lib/python3.8/site-packages/SCons/Script/Main.py", line 940, in _main
Then: Alternatively, you can build it with meson with: mkdir build cd build meson -D glx=gallium-xlib -D gallium-drivers=swrast ninja
So is this the meson command that I should replace with: meson -D glx=gallium-xlib -D gallium-drivers=swrast -D platforms=x11 -D dri3=false -D dri-drivers="" -D vulkan-drivers="" -D buildtype=release -D optimization=3
I still get ERROR: Must specify at least one directory name.
On Thu, Aug 20, 2020 at 4:41 PM Robert Kudyba <rkudyba@fordham.edu> wrote:
So yes to have to compile, but no to the first question on uninstalling?
exactly. But if the meson of fedora is incompatible to the mesa source you are out of luck for now.
Yes I am prompted by Fedora to run this when I ran the meson command. But I'm still not following. I see here https://docs.mesa3d.org/gallium/drivers/llvmpipe.html
scons: *** No SConstruct file found. File "/usr/lib/python3.8/site-packages/SCons/Script/Main.py", line 940, in _main
Then: Alternatively, you can build it with meson with: mkdir build cd build meson -D glx=gallium-xlib -D gallium-drivers=swrast ninja
So is this the meson command that I should replace with: meson -D glx=gallium-xlib -D gallium-drivers=swrast -D platforms=x11 -D dri3=false -D dri-drivers="" -D vulkan-drivers="" -D buildtype=release -D optimization=3
exactly.
I still get ERROR: Must specify at least one directory name.
All the examples I have seen do NOT require a directory being specified so I do not know what's going on here. I also do not have a fedora to play with.
Uli