pstglia
2015-04-22 02:34:49 UTC
Hi everyone,
I've managed to compile radeonsi on Lollipop using Mesa 10.4.2 (which not
means that will work when testing on hardware :D )
At first I tried kitkat, but older llvm version was giving me problems.
That's why I tried lollipop, which uses a "mix" of version 3.4 / 3.5...
I had basically to change/create Android makefiles on "external/mesa" and
"external/llvm" (the the last one is a requirement for radeonsi).
I had also to create manually "format_srgb.c" file by executing these cmds
(not the first time I face this issue, but still can't figure out how to
solve it in order to generate it on compile time - Python doesn't like
me... ):
cd external/mesa/src/util/
python format_srgb.py > format_srgb.c
I've attached patches. If you want to build by your own, don't forget to
create format_srgb.c as described above (or by fixing Android.mk files,
your choice)
I had not the chance to test it (no hardware to test). If you have a CGN
AMD GPU (R7/R9 series) or an CGN APU (like A10 7850K, A4 1200, etc) *and
you are aware of the risks (damage/data loss)*, here's a testing ISO:
https://drive.google.com/file/d/0Bx12U5yGNcQCTHVsR0FHaVE2eVU/view?usp=sharing
Working or not, if possible collect this info to check gallium is being
used:
# Check gallium renderer and version:
logcat | grep "SurfaceFlinger" | grep -E "renderer|version|extensions"
# Check if radeondrmfb is being used
cat /proc/fb
Thanks,
Pstglia
I've managed to compile radeonsi on Lollipop using Mesa 10.4.2 (which not
means that will work when testing on hardware :D )
At first I tried kitkat, but older llvm version was giving me problems.
That's why I tried lollipop, which uses a "mix" of version 3.4 / 3.5...
I had basically to change/create Android makefiles on "external/mesa" and
"external/llvm" (the the last one is a requirement for radeonsi).
I had also to create manually "format_srgb.c" file by executing these cmds
(not the first time I face this issue, but still can't figure out how to
solve it in order to generate it on compile time - Python doesn't like
me... ):
cd external/mesa/src/util/
python format_srgb.py > format_srgb.c
I've attached patches. If you want to build by your own, don't forget to
create format_srgb.c as described above (or by fixing Android.mk files,
your choice)
I had not the chance to test it (no hardware to test). If you have a CGN
AMD GPU (R7/R9 series) or an CGN APU (like A10 7850K, A4 1200, etc) *and
you are aware of the risks (damage/data loss)*, here's a testing ISO:
https://drive.google.com/file/d/0Bx12U5yGNcQCTHVsR0FHaVE2eVU/view?usp=sharing
Working or not, if possible collect this info to check gallium is being
used:
# Check gallium renderer and version:
logcat | grep "SurfaceFlinger" | grep -E "renderer|version|extensions"
# Check if radeondrmfb is being used
cat /proc/fb
Thanks,
Pstglia
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at http://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at http://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.