Mesa Graphics Rendering Drivers by HMtheBoy154

GearLock-Package Mesa Graphics Rendering Drivers by HMtheBoy154 21.0.3 - LLVM11

nirav1888

New member
VC
2
View attachment 255

Source : https://www.mesa3d.org/intro.html

I. Introduction and features
Normally, you will see me compile and upload kernel only, but this time I am the one who upload Mesa. Weird huh >_>, and this Mesa version not only available for Intel, but also for AMD and Nvidia too. And I'll update it regularly :) Yes, not only 19.3.4 like this but also version like Mesa 20.0 >_>.

So the features are quite small, rather just some update since I can't modify Mesa source :
- Update libdrm to 2.4.100
- Compile with LLVM8
- Adapt drm_gralloc and gbm patches from Android-x86 team.
- Compile using GCC 5.4.1 and clang 3.8/7.0.2
- Turn on more things like Intel Iris and Vulkan for Intel&AMD (still trying to use it).

II. Intel Iris
View attachment 256


Source : https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/283

@mido.fayad actually tested my Mesa 20 build with Intel iris since it's on by default. But with 19.3.x it doesn't turn on by default so we're trying a way to turn it on since the review seems good on linux.
And as we know about the support :

Might be only for Intel Gen 5th CPU and newer (Kinda weird that they said Gen 8+) so if you guys have this CPU. Wait for this driver to availiable and hope it can boost your graphics :D
(Also it only support Kernel 4.18+ so install benares is recommended)

View attachment 257
III. Vulkan

Source : https://www.khronos.org/vulkan/

Now come to Vulkan. As you guy read in PhoenixOS Darkmatter Exo4.5 changelog, we now officialy support it. Unlike some modder like Loltrex - who don't even know about his Mesa :poop:, we know that Mesa provide 2 Vulkan libs , anv (named android-x86 by Android-x86 team) for Intel Graphics and radv for AMD Graphics.
(But I still not recommend Vulkan on POS yet, since it's still unstable and even Android-x86 team still strugling bringing support for Android 7.1 so........ don't be fooled until we or Android-x86 team found a way.)

At first, read this document to find out if your device support Vulkan :
Intel : https://www.intel.vn/content/www/vn/vi/support/articles/000005524/graphics-drivers.html
AMD : https://www.amd.com/en/technologies/vulkan
Vulkan Hardware Database : https://vulkan.gpuinfo.org/

To turn Vulkan on it's pretty simple, you just need to add these grub code to your grub2 config :
For Intel : VULKAN=1 VULKAN=android-x86
For AMD : VULKAN=1 VULKAN=radv
And check with some info tools to see if Vulkan is there.

IV. Bugs and Troubleshooting
For now, bugs are still expected. If you guys are having some weird graphic glitch/artifacts or some colored screen try to revert the files from drmbackup that I moved.
Also, for some AMD GPUs there might be some cases if FPS lock, I still need to know why. Me and @mido.fayad got this problem and we both use AMD, it happened in 3DMark's Physics test and PUBG too ?
Finally, Vulkan is unstable and still need to find a resolution for it :poop:

V. Credit
I'd like to say a huge thanks for Mauro Rossi, one of the contributor of Android-x86 team, he is the one who fixed compiling problem on Mesa 19.2+ and even made a specific version of Mesa 19.3.3 for nougat, ehich I use his commit for further version.
Also, I'd like to thank youling257, who shared some of his recipe and solution to compile Mesa and adding gralloc and gbm problem :D
I have using ryzen 3 2200g, after installing of this mesa driver taskbar in prime os disappear and chrome doesn't get start only appear black screen.
 

vaib02

New member
VC
28
After installing the laterst version 21.0.3 LLVM11, the taskbar of the phoenix OS was not visible , tho I could click on the places where there are icons and it could open the apps but I could not see the apps icons, start menu icons , notification panel ,time and all. They became invisible and I also I noticed that when I opened the settings and tapped on the three vertical dots (MENU) the list was also invisible. many other things were not visible the game helper overlay (the blue thing to open keymapper ) was also not visible ...the top bar where we close, minimize and maximize also turned invisible on full screen apps...

MY GPU is AMD vega 8 mobile graphics with CPU AMD RYZEN 5 2500

I couldnot take screenshot to show how it looked it....and now I downgraded to older versions of MESA
Post automatically merged:

and can you tell me the location where the backup mesa is stored..I actually deleted the older mesa versions file , I thought this version would be better lol.. so..I had previously installed 20.3.5 but I think I deleted the gxp file...now I have installed 20.1.10 cause thats the file I had somewhere in hard disk..lol..I dont wnna download , please tel me where the backups are stored
 

MrMiy4mo

Active member
After installing the laterst version 21.0.3 LLVM11, the taskbar of the phoenix OS was not visible , tho I could click on the places where there are icons and it could open the apps but I could not see the apps icons, start menu icons , notification panel ,time and all. They became invisible and I also I noticed that when I opened the settings and tapped on the three vertical dots (MENU) the list was also invisible. many other things were not visible the game helper overlay (the blue thing to open keymapper ) was also not visible ...the top bar where we close, minimize and maximize also turned invisible on full screen apps...

MY GPU is AMD vega 8 mobile graphics with CPU AMD RYZEN 5 2500

I couldnot take screenshot to show how it looked it....and now I downgraded to older versions of MESA
Post automatically merged:

and can you tell me the location where the backup mesa is stored..I actually deleted the older mesa versions file , I thought this version would be better lol.. so..I had previously installed 20.3.5 but I think I deleted the gxp file...now I have installed 20.1.10 cause thats the file I had somewhere in hard disk..lol..I dont wnna download , please tel me where the backups are stored
Backups are restored when you uninstall mesa using gearlock package manager.
Plus, you cant install backup, it is not stored as gearlock package.
 

vaib02

New member
VC
28
Backups are restored when you uninstall mesa using gearlock package manager.
Plus, you cant install backup, it is not stored as gearlock package.
yeah , but I uninstalled some of previously installed packages . I had like 4 mesa packages installed then I installed 3 of em .lol..so it did not restore anything this time.. bu okay I had one gxp saved somewhere..I reinstalled that
 

mutedbanana

New member
VC
2
Bro does this version of MESA support Qemu Virgl? I am trying to use phoenix os kn Qemu/KVM with vrigil support enabled to play games. But it seems like the default mesa and kernel doesn't support virgl.
I dont think so.Try bliss os. it works very well with virgl.Download this.

qemu-system-x86_64 -boot c \ -enable-kvm \ -smp <no of cores> \ -name bliss \ -device virtio-vga,virgl=on,xres=1280,yres=720 \ -cpu host \ -device AC97 \ -m 2G \ -display sdl,gl=core \ -cdrom <path to bliss.iso> -object rng-random,id=rng0,filename=/dev/urandom \ -device virtio-rng-pci,rng=rng0 \ -device virtio-keyboard \ -device virtio-tablet \ -machine type=q35,vmport=off \ -netdev user,id=mynet,hostfwd=tcp::4444-:5555 -device virtio-net-pci,netdev=mynet \ -monitor stdio \ -serial none \ -parallel none \ -drive file=<path to virtual hardisk>,if=virtio
use the above qemu script.if u have ovmf installed you can use that with appending the following --bios /usr/share/edk2-ovmf/x64/OVMF.fd \ .if you use OVMF do not forget to create an efi partition
 

ea1370

New member
VC
42
I have i3 10th gen with onboard UHD 630 graphics. I tried several versions of phoenix os, but unfortunately the os detects the graphic driver as google open gl 2.0 and swiftshader. I cannot run pubg, it crashes on startup. Please help if there is any solution. I tried gl tools and lots of mesa and kernels.
 
I have i3 10th gen with onboard UHD 630 graphics. I tried several versions of phoenix os, but unfortunately the os detects the graphic driver as google open gl 2.0 and swiftshader. I cannot run pubg, it crashes on startup. Please help if there is any solution. I tried gl tools and lots of mesa and kernels.
u upgraded the kernel or not ? try kernel 5.xx with mesa 20.xx
 

MrMiy4mo

Active member
Can you please specify which I should try? Or links. Because I installed a 5.xx kernel (sakura) and the picture of OS became distorted after boot, like colorful lines.
you must install both latest kernel and latest mesa (may mesa 20, not 21)
 

Similar threads

Similar threads

Get Connected

Discord Server

New Threads

Latest From Blog

Top