Fedora 32 - XU edition (Gnome 3.36 / Kodi 19 / Retroarch etc)

Post Reply
MastaG
Posts: 372
Joined: Mon Aug 26, 2013 6:05 pm
languages_spoken: english
Has thanked: 32 times
Been thanked: 32 times
Contact:

Fedora 32 - XU edition (Gnome 3.36 / Kodi 19 / Retroarch etc)

Post by MastaG »

Fedora 32 - XU Edition

ImageImageImage
Special thanks to AreaScout and memeka for making this possible!

Features / Info:
- Running on Linux 5.4 (thank you memeka)
- Full SELinux support (enabled by default)
- Wireguard support
- Support for rootless containers using podman (much better than Docker)
- Virtualization support enabled in the kernel (untested though)
- Firefox 76 for Wayand (built with optimized flags for XU4)
- FFMPeg built statically with patches for Kodi and TVHeadend (thanks AreaScout / memeka)
- Kodi 19 for Wayland and GBM (standalone mode) with Netflix, Amazon Prime and Disney+ pre-configured (thank you AreaScout)
- Kodi 19 binary addons pre-installed (almost all of them: PVR, RetroPlayer with almost all libretro cores, joystick support, screensavers etc etc..)
- TVHeadend with NEON-accelerated CSA descramling and all codecs enabled
- Oscam-emu pre-conigured for TVHeadend
- RetroArch for Wayland and GBM (standalone mode) with the following cores (all built with optimizations for XU4):
Flycast - Sega Dreamcast
Genesis Plus GX - Sega Genesis
Mupen64plus NX - Nintendo 64
Parallel N64 - Nintendo 64
Picodrive - Sega Genesis/MegaCD/32X
Snes9x - Super Nintendo
Gambatte - Gameboy Color
mGBA - Gameboy Advance
Nestopia - Nintendo
PCSX Rearmed - Sony Playstation
PPSSPP - Sony PSP (slow, use standalone version instead)
Yabause - Sega Saturn

- PPSSPP for Wayland and GBM (standalone mode)
- DOSBox Staging for Wayland and GBM (standalone mode)
- ODroid XU3 analog headphone jack output working
- ODroid XU3 OTG-port is configured to be used as a regular USB 3.0 host
- Suspend / Resume working (thank you memeka)
- HDMI-CEC working
- Kernel headers and config pre-installed for easily compiling modules (dkms/akmods etc)

UPDATE - V2:
- (hopefully) Fixed the GDM segfault on first boot
- Fixed X11 armsoc configuration (unused though)
- Added picodrive libretro addon for Kodi (what's kodi without Sonic CD eh)
- Added the edid firmware blobs to the kernel (forgot this in the first release)
- Cleaned up the image a bit (SSH host keys will be generated on first boot)

Requirements:
- ODroid XU3, XU3-Lite or XU4 (MC1, HC1 and HC2 should work but untested)
- eMMC or sd-card of 16GB or larger

Download:
https://mega.nz/file/68twnYIa#rT_P8Nl5f ... 1lxvxfr_Do

Getting started: (please read all of it!)
Default user: odroid
Password for odroid: odroid
Password for root: odroid

- Unpack the downloaded archive and use your favourite tool to write the image to your eMMC/sd-card (Etcher/win32diskimager/dd).
- Insert it into your ODroid and power it up, you should be prompted by the Gnome Display Manager (logon screen).

You can now manage your ODroid using Cockpit by visiting: https://odroidIP:9090/ (login with the above credentials: odroid / odroid)

If your eMMC / sd-card is larger than 16GB, you can extend the root-filesystem by issuing:

Code: Select all

sudo extend_rootfs.sh
If you want to run Fedora as a headless server you can disable the graphical target (disabling Gnome) by issuing:

Code: Select all

sudo systemctl set-default multi-user.target
sudo reboot
If you don't want to boot into Gnome but run Kodi, RetroArch, PPSSPP or DOSBox in standalone mode:
- First disable Gnome Desktop:

Code: Select all

sudo systemctl disable gdm
- Then enable your favourite application: kodi, retroarch, dosbox or ppsspp (ONLY ENABLE ONE AT THE TIME)

Code: Select all

sudo systemctl enable kodi
sudo reboot

Optionally: If you're planning on using the desktop a lot you can try to enable swap on zram.
This will compress half the ram and enables it as swap-space.
You can change the amount of ram to compress in: /etc/zram.conf
However if you're going to be running Kodi or RetroArch in standalone mode you won't need it, as 2GB is more than enough.

Code: Select all

sudo systemctl enable zram-swap.service
sudo reboot

Kodi 19:
Kodi comes pre-configured for using Netflix, Amazon Prime and Disney+
Just open the addon, logon and play.

However if you would like to enable other addons (RetroPlayer, PVR clients, codecs, screensavers, whatever), you can do so by going to:
Settings -> Addons -> My Addons

If you would like to get very smooth playback it's advised to run Kodi in standalone mode (see Getting started:).

NOTE: In standalone mode: Always make sure DRM PRIME accelerated decoding is disabled or else playback will fail! (option not visible when running under wayland)
I've already disabled prime acceleration, but if you run Kodi in wayland first and switch to standalone mode afterwards, it will be re-enabled.
Settings -> Player -> Videos -> DRM PRIME Decoder <-- DISABLE !!!

In standalone mode you can make Kodi switch the display refresh rate to match the frame-rate of the video being played.
First whitelist the display modes supported by your TV:
Settings -> System -> Display -> White-list
Then enable the following option:
Settings -> Player -> Videos -> Adjust display refresh rate -> On start/stop

TVHeadend / Oscam:
If you would like to setup TVHeadend you can enable it by issuing:

Code: Select all

sudo systemctl enable --now tvheadend
Oscam will automatically get enabled and started as well.

You can access the TVHeadend webinterface by going to: http://odroidIP:9981/
For administrator access you can login with: admin / odroid
For regular access (e.g. Kodi addon) you can use: odroid / odroid

To configure Oscam visit its webinterface by going to: http://odroidIP:9191/
Oscam credentials: odroid / odroid

Known issues:
- Gnome Software will segfault when trying to open it, probably an arm 32bit bug, see: https://gitlab.gnome.org/GNOME/gnome-so ... ssues/1007
Hopefully they'll fix it soon, for the time being you can manually use the dnf command to install software or upgrade your system
- Kodi will show a black screen in standalone mode when PRIME acceleration is enabled, see Kodi section
- Kodi cannot run any hardware-accelerated RetroPlayer addons such as Mupen64, Parallel N64 or Flycast (not implemented yet)
- Gnome Display Manager will not start if a keyboard or screen is not present, so make sure to plug those in before booting, unless you want to run as a headless server (see Getting Started)
- Chromium segfaults all the time due to the mali driver not supporting wayland dmabuf and being outdated/broken (lets hope Panfrost will get better support for the ODroid platform in the future)
- 8BitDo SN30 Pro+ controller only works with Kodi when it's paired in Switch (Pro Controller) mode (not my fault)

Technical information:
- If you would like to update the dracut initramfs image and re-generate the uInitrd image, you can issue the following command:

Code: Select all

sudo gen-uinitrd
This is useful after changing (or blacklisting) module parameters (changes to /etc/modprobe.d or /etc/modules-load.d)

- Custom SElinux rules added for ODroid:

Code: Select all

fcontext -a -f a -t xserver_misc_device_t -r 's0' '/dev/mali.*'
- Custom dracut configuration: /etc/dracut.conf.d/odroid.conf

Code: Select all

install_optional_items+=" /lib/firmware/s5p-mfc.fw  /lib/firmware/s5p-mfc-v6.fw  /lib/firmware/s5p-mfc-v6-v2.fw  /lib/firmware/s5p-mfc-v7.fw  /lib/firmware/s5p-mfc-v8.fw /etc/udev/rules.d/10-odroid.rules "
compress="xz"
- Custom udev rules:
10-odroid.rules

Code: Select all

KERNEL=="mali", SUBSYSTEM=="misc", MODE="0666", GROUP="video"
KERNEL=="mali0", SUBSYSTEM=="misc", MODE="0666", GROUP="video"
KERNEL=="ump", SUBSYSTEM=="ump", MODE="0777", GROUP="video"
KERNEL=="ttySAC0", SYMLINK+="ttyACM99"
KERNEL=="event*", SUBSYSTEM=="input", MODE="0777"
KERNEL=="CEC", MODE="0666", GROUP="video"
KERNEL=="cec*", MODE="0666", GROUP="video"
KERNEL=="cec0", MODE="0666", GROUP="video"
KERNEL=="amvideo", MODE="0666"
KERNEL=="amstream*", MODE="0666"
20-smartreader.rules (For using USB Smartreader with Oscam)

Code: Select all

ACTION=="add", SUBSYSTEMS=="usb", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", GROUP="video", MODE="0666"
- ODroid audio configuration: /etc/alsa/conf.d/00-odroid.conf

Code: Select all

# Odroid configuration

pcm.!default {
    type plug
    slave {
        pcm "hw:0,0"
        format S16_LE
        rate 48000
    }
}

ctl.!default {
    type hw
    card 0
}
- I've installed both the ARM Mali driver for wayland (r12p004) and the Hardkernel Mali r17p0 driver (GBM/X11)
By default the ARM Mali wayland driver is enabled (required for Gnome desktop).
If you would like to switch to Hardkernel's Mali driver (only for Kodi, RetroArch, DOSBox or PPSSPP), you can do so by issuing:

Code: Select all

sudo rm -f /usr/lib/mali
sudo ln -s /usr/lib/mali-x11gbm /usr/lib/mali
sudo ldconfig
sudo reboot
To switch back to the ARM Mali wayland driver:

Code: Select all

sudo rm -f /usr/lib/mali
sudo ln -s /usr/lib/mali-wayland /usr/lib/mali
sudo ldconfig
sudo reboot
That's about it :)
Enjoy!
Last edited by MastaG on Mon Jul 06, 2020 9:22 pm, edited 7 times in total.
These users thanked the author MastaG for the post (total 4):
mad_ady (Wed Jun 10, 2020 3:15 am) • AreaScout (Wed Jun 10, 2020 4:33 am) • rooted (Wed Jun 10, 2020 6:10 am) • pothos (Mon Aug 31, 2020 7:49 am)

AreaScout
Posts: 1661
Joined: Sun Jul 07, 2013 3:05 am
languages_spoken: german, english
ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
N1, Go, VU5A, Show2, CloudShell2,
H2, N2, VU7A, VuShell, Go2, C4
Has thanked: 100 times
Been thanked: 290 times
Contact:

Re: Feodra 32 - XU edition (Gnome 3.36 / Kodi 19 / Retroarch etc)

Post by AreaScout »

    Wow MastaG, I mean that's a multimedia OS, by sure one of the most complete images I have seen flying around, great all round knowledge from your site, gaming, dvb tv station and multimedia center + OS, everything !!

    RG
    These users thanked the author AreaScout for the post:
    MastaG (Wed Jun 10, 2020 5:16 am)

    User avatar
    rooted
    Posts: 8490
    Joined: Fri Dec 19, 2014 9:12 am
    languages_spoken: english
    Location: Gulf of Mexico, US
    Has thanked: 740 times
    Been thanked: 342 times
    Contact:

    Re: Feodra 32 - XU edition (Gnome 3.36 / Kodi 19 / Retroarch etc)

    Post by rooted »

    Now I know what to do with my idle XU4, it has spent years as my tvheadend server and for compiling things but I recently took it offline since I basically stopped recording live TV and didn't need it running 24/7.

    User avatar
    odroid
    Site Admin
    Posts: 37286
    Joined: Fri Feb 22, 2013 11:14 pm
    languages_spoken: English, Korean
    ODROIDs: ODROID
    Has thanked: 1749 times
    Been thanked: 1127 times
    Contact:

    Re: Feodra 32 - XU edition (Gnome 3.36 / Kodi 19 / Retroarch etc)

    Post by odroid »

    Very impressive all-in-one OS image!
    This thread is STICKY now. :D
    These users thanked the author odroid for the post:
    MastaG (Thu Jun 11, 2020 12:53 am)

    Luke.go
    Posts: 613
    Joined: Mon May 30, 2016 1:55 pm
    languages_spoken: english
    Has thanked: 76 times
    Been thanked: 86 times
    Contact:

    Re: Feodra 32 - XU edition (Gnome 3.36 / Kodi 19 / Retroarch etc)

    Post by Luke.go »

    These users thanked the author Luke.go for the post:
    MastaG (Thu Jun 11, 2020 12:53 am)

    MastaG
    Posts: 372
    Joined: Mon Aug 26, 2013 6:05 pm
    languages_spoken: english
    Has thanked: 32 times
    Been thanked: 32 times
    Contact:

    Re: Feodra 32 - XU edition (Gnome 3.36 / Kodi 19 / Retroarch etc)

    Post by MastaG »

    Thank you for the recognition guys !
    I appreciate it :)

    I've did a quick update:

    UPDATE - V2:
    - (hopefully) Fixed the GDM segfault on first boot
    - Fixed X11 armsoc configuration (unused though)
    - Added picodrive libretro addon for Kodi (what's kodi without Sonic CD eh)
    - Added the edid firmware blobs to the kernel (forgot this in the first release)
    - Cleaned up the image a bit (SSH host keys will be generated on first boot)

    Enjoy!
    These users thanked the author MastaG for the post (total 3):
    rooted (Thu Jun 11, 2020 6:25 am) • Luke.go (Thu Jun 11, 2020 9:14 am) • odroid (Thu Jun 11, 2020 10:10 am)

    zkhmcknol
    Posts: 12
    Joined: Sat Jun 20, 2015 5:31 pm
    languages_spoken: english
    Has thanked: 0
    Been thanked: 0
    Contact:

    Re: Feodra 32 - XU edition (Gnome 3.36 / Kodi 19 / Retroarch etc)

    Post by zkhmcknol »

    Looks good!! Thanks so much guys and girls. Will download it soon and try it

    MastaG
    Posts: 372
    Joined: Mon Aug 26, 2013 6:05 pm
    languages_spoken: english
    Has thanked: 32 times
    Been thanked: 32 times
    Contact:

    Re: Feodra 32 - XU edition (Gnome 3.36 / Kodi 19 / Retroarch etc)

    Post by MastaG »

    The next Fedora release (33) will probably feature Gnome 3.38 which will carry a few really important performance fixes by Daniel van Vugt: https://www.phoronix.com/scan.php?page= ... d-Multiply
    If I'm still able to get the mali driver to work, then this will run even smoother :)
    The XU4 is such a powerful thing.. sometimes I wished there was a revision with 8GB of ram and a slightly more updated wayland driver (drm prime, dmabuf, updated GBM/EGL lib etc), it could compete with the NUC when even when it comes to Desktop usage...(I think too much :P)

    zkhmcknol
    Posts: 12
    Joined: Sat Jun 20, 2015 5:31 pm
    languages_spoken: english
    Has thanked: 0
    Been thanked: 0
    Contact:

    Re: Feodra 32 - XU edition (Gnome 3.36 / Kodi 19 / Retroarch etc)

    Post by zkhmcknol »

    Hi. Great OS this...many thanks.

    Wanna have the option to roll back so I can start Kodi manually but when automatically logging into Kodi, I cannot access other Terminal to enable gnome display manager again.
    For a few seconds I can press ALT CTRL F1 or F6 (of others) and those terminals tty1 and tty6 open.....but then Kodi starts up those other Terminals cannot be accessed. Exiting Kodi simply logs me out and starts up again. Any thoughts??

    MastaG
    Posts: 372
    Joined: Mon Aug 26, 2013 6:05 pm
    languages_spoken: english
    Has thanked: 32 times
    Been thanked: 32 times
    Contact:

    Re: Feodra 32 - XU edition (Gnome 3.36 / Kodi 19 / Retroarch etc)

    Post by MastaG »

    zkhmcknol wrote: ↑
    Fri Jul 03, 2020 7:17 pm
    Hi. Great OS this...many thanks.

    Wanna have the option to roll back so I can start Kodi manually but when automatically logging into Kodi, I cannot access other Terminal to enable gnome display manager again.
    For a few seconds I can press ALT CTRL F1 or F6 (of others) and those terminals tty1 and tty6 open.....but then Kodi starts up those other Terminals cannot be accessed. Exiting Kodi simply logs me out and starts up again. Any thoughts??
    Hi there,

    I haven't tested it myself but you could try and edit the file: /etc/systemd/system/kodi.service
    And change: default.target to multi-user.target
    Like this:

    Code: Select all

    [Install]
    WantedBy = multi-user.target
    EDIT: That didn't work..

    I don't know if kodi-gbm supports virtual console switching.
    @AreaScout would you happen to know this?

    AreaScout
    Posts: 1661
    Joined: Sun Jul 07, 2013 3:05 am
    languages_spoken: german, english
    ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
    N1, Go, VU5A, Show2, CloudShell2,
    H2, N2, VU7A, VuShell, Go2, C4
    Has thanked: 100 times
    Been thanked: 290 times
    Contact:

    Re: Fedora 32 - XU edition (Gnome 3.36 / Kodi 19 / Retroarch etc)

    Post by AreaScout »

      @MastaG

      No it doesn't, Kodi GBM is always fullscreen and DRM Master, I haven't seen a configuration where you can switch to different tty and drop Master there and I have zero experience with Wayland desktop

      RG
      These users thanked the author AreaScout for the post:
      MastaG (Wed Jul 08, 2020 7:21 pm)

      zkhmcknol
      Posts: 12
      Joined: Sat Jun 20, 2015 5:31 pm
      languages_spoken: english
      Has thanked: 0
      Been thanked: 0
      Contact:

      Re: Fedora 32 - XU edition (Gnome 3.36 / Kodi 19 / Retroarch etc)

      Post by zkhmcknol »

      Only option would be to re-install from scratch....
      Don't think I can update my Fedora like this either and get security patches etc. In Ubuntu you have startup applications where I could add an app to auto start. I couldn't find that in this image. Is there another way to do this with a script or something?

      MastaG
      Posts: 372
      Joined: Mon Aug 26, 2013 6:05 pm
      languages_spoken: english
      Has thanked: 32 times
      Been thanked: 32 times
      Contact:

      Re: Fedora 32 - XU edition (Gnome 3.36 / Kodi 19 / Retroarch etc)

      Post by MastaG »

      zkhmcknol wrote: ↑
      Thu Jul 09, 2020 3:04 am
      Only option would be to re-install from scratch....
      Don't think I can update my Fedora like this either and get security patches etc. In Ubuntu you have startup applications where I could add an app to auto start. I couldn't find that in this image. Is there another way to do this with a script or something?
      Hi there,

      Unfortunately the graphical Gnome Software application hasn't been fixed yet, so it still crashes on ARM 32bit platforms.
      However, in order to update your system simply type:

      Code: Select all

      sudo dnf --refresh upgrade
      You'll get all security updates.


      For auto-starting applications at Gnome login there's unfortunately no standard procedure.
      You could manually create a .desktop file though: https://forums.fedoraforum.org/showthre ... logging-in

      zkhmcknol
      Posts: 12
      Joined: Sat Jun 20, 2015 5:31 pm
      languages_spoken: english
      Has thanked: 0
      Been thanked: 0
      Contact:

      Re: Fedora 32 - XU edition (Gnome 3.36 / Kodi 19 / Retroarch etc)

      Post by zkhmcknol »

      Hi,

      Thanks for the information, I'll get in that . Have a nice weekend.πŸ˜‰

      MastaG
      Posts: 372
      Joined: Mon Aug 26, 2013 6:05 pm
      languages_spoken: english
      Has thanked: 32 times
      Been thanked: 32 times
      Contact:

      Re: Fedora 32 - XU edition (Gnome 3.36 / Kodi 19 / Retroarch etc)

      Post by MastaG »

      Hi,

      Quick update.
      The issue where gnome-software segfaults: https://gitlab.gnome.org/GNOME/gnome-so ... ssues/1007
      Is fixed by this MR: https://gitlab.gnome.org/GNOME/gnome-so ... quests/500

      So I've rebuild the rpm for you guys so you can now actually use it.
      Download and unpack the attached file:
      gnome-software-3.36.1-1.fc32.armv7hl.zip
      (7.11 MiB) Downloaded 48 times
      Then install it as follows:

      Code: Select all

      sudo -s
      rpm -e --nodeps gnome-software
      rpm -ivh gnome-software-3.36.1-1.fc32.armv7hl.rpm
      Enjoy!

      Unfortunately Kodi doesn't start any longer after a software update, this is because one of the shared dependencies got updated to a newer version breaking the linker.

      I'm building a new image based on F33 which will be a lot cleaner, better and of course faster due to gnome 3.38.
      Stay tuned!
      These users thanked the author MastaG for the post:
      odroid (Mon Aug 24, 2020 5:45 pm)

      MastaG
      Posts: 372
      Joined: Mon Aug 26, 2013 6:05 pm
      languages_spoken: english
      Has thanked: 32 times
      Been thanked: 32 times
      Contact:

      Re: Fedora 32 - XU edition (Gnome 3.36 / Kodi 19 / Retroarch etc)

      Post by MastaG »

      Well some progress with F33.
      Schermafdruk van 2020-08-28 15-26-51.png
      Schermafdruk van 2020-08-28 15-26-51.png (1.31 MiB) Viewed 5372 times
      Gnome 3.38 still runs on the Mali Wayland drivers !
      Again with the latest changes, gnome-shell has been made a bit more snappier and performent.
      Also in F33 the rpmdb has been upgraded from Berkeley DB to a new Sqlite format, which means upgrades and other rpm operations are now much faster!

      Done:
      - Ported all Odroid patches and the mali kbase driver to stable Linux 5.7 (done)
      - RetroArch bump with cores
      - Another 32bit bug squashed in mutter: https://gitlab.gnome.org/GNOME/mutter/-/issues/1395
      - Firefox upgraded to 68.9 ESR (highly optimized for XU4)

      Pending:
      - Screen seems to go complete black when opening the hot-corner: https://gitlab.gnome.org/GNOME/mutter/-/issues/1396
      - MR for Gnome Software still pending: https://gitlab.gnome.org/GNOME/gnome-so ... ssues/1007
      - Kodi seems to segfault on Python 3.9 (not ARM related): https://forum.kodi.tv/showthread.php?tid=356701

      I'm sure Kodi will get fixed for Python 3.9, also I think the Gnome-Software MR will get merged or fixed at least before the 3.38.1 point release.
      However the screen getting completely black is a bit hard to debug because it doesn't segfault and turning on debugging produces a LOT of messages.
      These users thanked the author MastaG for the post:
      tobetter (Tue Sep 01, 2020 6:25 pm)

      Cyppa
      Posts: 1
      Joined: Sun Aug 30, 2020 4:58 pm
      languages_spoken: english
      ODROIDs: XU4
      Has thanked: 0
      Been thanked: 0
      Contact:

      Re: Fedora 32 - XU edition (Gnome 3.36 / Kodi 19 / Retroarch etc)

      Post by Cyppa »

      I've had luck running kodi by making a soft link:

      sudo ln -s /usr/lib/libdav1d.so.4 /usr/lib/libdav1d.so.3

      gdm is rather unstable. Doesn't always login. Look forward to exploring this distro!

      Cheers

      MastaG
      Posts: 372
      Joined: Mon Aug 26, 2013 6:05 pm
      languages_spoken: english
      Has thanked: 32 times
      Been thanked: 32 times
      Contact:

      Re: Fedora 32 - XU edition (Gnome 3.36 / Kodi 19 / Retroarch etc)

      Post by MastaG »

      Cyppa wrote: ↑
      Sun Aug 30, 2020 5:09 pm
      I've had luck running kodi by making a soft link:

      sudo ln -s /usr/lib/libdav1d.so.4 /usr/lib/libdav1d.so.3

      gdm is rather unstable. Doesn't always login. Look forward to exploring this distro!

      Cheers
      Thanks for testing it out :)

      For F33 I've built a static libdav1d so this doesn't happen anymore.
      Also GDM now always shows up and will logon without problems.
      Only condition is that you have a keyboard plugged in.

      Meanwhile a fix for Kodi 19 on python 3.9 has landed.

      So expect a more stable and definitely more faster F33 release soon.

      zkhmcknol
      Posts: 12
      Joined: Sat Jun 20, 2015 5:31 pm
      languages_spoken: english
      Has thanked: 0
      Been thanked: 0
      Contact:

      Re: Fedora 32 - XU edition (Gnome 3.36 / Kodi 19 / Retroarch etc)

      Post by zkhmcknol »

      Niceeeeeeee😎😎😎😎😎

      pothos
      Posts: 3
      Joined: Mon Aug 31, 2020 7:33 am
      languages_spoken: english
      Has thanked: 3 times
      Been thanked: 0
      Contact:

      Re: Fedora 32 - XU edition (Gnome 3.36 / Kodi 19 / Retroarch etc)

      Post by pothos »

      Thanks for your work! Overall it was a great experience to set it up and have a nice OS in short time.
      When your next image is ready, can you please post how to update from the old without copying the full image? I.e., which changes are not part of upstream Fedora and need to be done manually by installing an RPM or copying/changing some files. I would really appreciate if you can share the files but I'm also fine with extracting them from the new image if that's easier for you.

      One more thing, I like how you documented downstream changes in the section Technical Information. If you have time, do you want to document how you built the Linux kernel and Firefox? With this information someone else can build a new package for a critical update if you are busy with other things.

      Best regards

      pothos
      Posts: 3
      Joined: Mon Aug 31, 2020 7:33 am
      languages_spoken: english
      Has thanked: 3 times
      Been thanked: 0
      Contact:

      Re: Fedora 32 - XU edition (Gnome 3.36 / Kodi 19 / Retroarch etc)

      Post by pothos »

      By the way, if you install the package qemu-user-static you can run any x86_64 Docker images (podman) or directly any ELF binaries within a x86 chroot or via QEMU_LD_PREFIX instead of a chroot.

      jrzagar
      Posts: 3
      Joined: Fri Jul 13, 2018 12:36 am
      languages_spoken: english
      ODROIDs: ODROID XU4
      Has thanked: 0
      Been thanked: 0
      Contact:

      Re: Fedora 32 - XU edition (Gnome 3.36 / Kodi 19 / Retroarch etc)

      Post by jrzagar »

      Ever thought about switching to the Mate desktop instead of using Gnome-3.36? It'd get you out of Gnome Heck you're dealing with...

      MastaG
      Posts: 372
      Joined: Mon Aug 26, 2013 6:05 pm
      languages_spoken: english
      Has thanked: 32 times
      Been thanked: 32 times
      Contact:

      Re: Fedora 32 - XU edition (Gnome 3.36 / Kodi 19 / Retroarch etc)

      Post by MastaG »

      @pothos thanks for the tip
      @jrzaar Well I'm trying to keep the Fedora image as vanillla as possible. All of the extra additions for ODroid (e.g. kodi and retroarch) are installed in /usr/local trying to keep it as clean as possible.
      Gnome seems to work just fine and gets more performant with each release, but feel free to install Mate, I'll try to keep the armsoc driver up to date so you can also run X11 desktops which don't require acceleration.

      For the record I have Fedora 33 almost ready with the latest Kodi 19 running on two planes (they've rewrote part of the gbm/drm code).
      I just need to clean it and update some libraries (fix the segfault when closing SDL2 windows in Wayland on Dosbox and PPSSPP).

      Will open a new thread when it's done.
      These users thanked the author MastaG for the post:
      odroid (Mon Nov 09, 2020 10:13 am)

      MattGE
      Posts: 1
      Joined: Sun Jan 17, 2021 2:37 am
      languages_spoken: english
      ODROIDs: xu4
      Has thanked: 0
      Been thanked: 0
      Contact:

      Re: Fedora 32 - XU edition (Gnome 3.36 / Kodi 19 / Retroarch etc)

      Post by MattGE »

      @MastaG Thanks for the work.

      I would be very interested in a running Fedora 33 on xu4.
      I just need to clean it and update some libraries (fix the segfault when closing SDL2 windows in Wayland on Dosbox and PPSSPP).
      Will open a new thread when it's done.
      Did you finished it? Would be happy, if you can drop a link to the new thread/the working image when ready.

      MastaG
      Posts: 372
      Joined: Mon Aug 26, 2013 6:05 pm
      languages_spoken: english
      Has thanked: 32 times
      Been thanked: 32 times
      Contact:

      Re: Fedora 32 - XU edition (Gnome 3.36 / Kodi 19 / Retroarch etc)

      Post by MastaG »

      Well I'm having some trouble getting gnome-shell 3.38 work reliably on the Mali wayland driver.
      It seems to segfault when starting xwayland (which has been set to auto-start and not be enabled by default).
      So I'm now experimenting with the gbm_wrapper from https://github.com/rockchip-linux/libmali but then it will crash gnome-shell right away.. and I think there is too little memory available to create a proper coredump.

      But still trying my best :)

      EDIT:
      I think I got it to work again.
      It seems gnome desktop doesn't seem to like the way libmali installs all lbraries as dummy objects.
      I reverted back to symlinking everything back to libmali.so, except for the libgbm.so wrapper.
      Like this:

      Code: Select all

      $ ls -l /usr/local/lib | egrep 'GLES|wayland|gbm|EGL'
      libEGL.so -> libEGL.so.1
      libEGL.so.1 -> libmali.so
      libgbm.so -> libgbm.so.1.0.0
      libgbm.so.1 -> libgbm.so.1.0.0
      libgbm.so.1.0.0 <- this is the gbm wrapper by libmali
      libGLESv1_CM.so -> libGLESv1_CM.so.1
      libGLESv1_CM.so.1 -> libmali.so
      libGLESv2.so -> libGLESv2.so.2
      libGLESv2.so.2 -> libmali.so
      libmali-midgard-t62x-r12p0-wayland.so
      libwayland-egl.so -> libwayland-egl.so.1
      libwayland-egl.so.1 -> libmali.so
      Also I'm using a patched version of the r12p0 wayland/gbm driver has EGL_KHR_platform_gbm renamed to EGL_MESA_platform_gbm.

      Code: Select all

      889825,889829c889825,889829
      < 00d93e00: 6573 2045 474c 5f4b 4852 5f70 6c61 7466  es EGL_KHR_platf
      < 00d93e10: 6f72 6d5f 6762 6d20 4547 4c5f 4b48 525f  orm_gbm EGL_KHR_
      < 00d93e20: 706c 6174 666f 726d 5f77 6179 6c61 6e64  platform_wayland
      < 00d93e30: 2045 474c 5f45 5854 5f70 6c61 7466 6f72   EGL_EXT_platfor
      < 00d93e40: 6d5f 7761 796c 616e 6400 0000 4d41 4c49  m_wayland...MALI
      ---
      > 00d93e00: 6573 2045 474c 5f4d 4553 415f 706c 6174  es EGL_MESA_plat
      > 00d93e10: 666f 726d 5f67 626d 2045 474c 5f45 5854  form_gbm EGL_EXT
      > 00d93e20: 5f70 6c61 7466 6f72 6d5f 7761 796c 616e  _platform_waylan
      > 00d93e30: 6400 0000 0000 0000 0000 0000 0000 0000  d...............
      > 00d93e40: 0000 0000 0000 0000 0000 0000 4d41 4c49  ............MALI
      So far the Gnome Desktop 3.38 has been able to start after every reboot now :)

      Also for gnome-software crashing, there has been some update as the problem was also discovered on 32bit x86 (see: https://gitlab.gnome.org/GNOME/gnome-so ... ssues/1007).
      I was manually rebuilding the RPM after each new version with: https://gitlab.gnome.org/GNOME/gnome-so ... quests/500 applied (holding back the update in dnf.conf)
      But it seems it's getting some love again, so hopefully the proposed fix will be upstream soon.

      As for Kodi 19 GBM it's working again thanks to AreaScout :)

      I think if Gnome keeps on working nicely, the only major thing left is fixing the MFC for Linux 5.10 and building a new optimized version of Chomium-ozone-wayland and Firefox ESR.
      Then I can release F33 (or F34 lol).

      pothos
      Posts: 3
      Joined: Mon Aug 31, 2020 7:33 am
      languages_spoken: english
      Has thanked: 3 times
      Been thanked: 0
      Contact:

      Re: Fedora 32 - XU edition (Gnome 3.36 / Kodi 19 / Retroarch etc)

      Post by pothos »

      Good to hear, congrats!

      Do you think it's easy to update to it by replacing the upstream repo URL to the new Fedora version and manually installing your binary packages?

      MastaG
      Posts: 372
      Joined: Mon Aug 26, 2013 6:05 pm
      languages_spoken: english
      Has thanked: 32 times
      Been thanked: 32 times
      Contact:

      Re: Fedora 32 - XU edition (Gnome 3.36 / Kodi 19 / Retroarch etc)

      Post by MastaG »

      pothos wrote: ↑
      Sat Jan 23, 2021 3:01 am
      Good to hear, congrats!

      Do you think it's easy to update to it by replacing the upstream repo URL to the new Fedora version and manually installing your binary packages?
      Hi yes, that's possible my friend, it's how I upgraded the image in the first place.
      There's official documentation for it: https://docs.fedoraproject.org/en-US/qu ... m-upgrade/

      However, Kodi will be broken after the system upgrade and gnome-software probably as well (and probably other custom things I've added).

      I'd start by setting selinux to permissive before starting, by editing /etc/selinux/config.
      Don't disable it! just set it to permissive :)

      Code: Select all

      # First make sure you're running the latest version of F32
      sudo dnf upgrade --refresh
      # Install the system-upgrade plugin for dnf
      sudo dnf install dnf-plugin-system-upgrade
      # Download and stage the F33 upgrade
      sudo dnf system-upgrade download --refresh --releasever=33
      # Reboot and perform the upgrade to F33
      sudo dnf system-upgrade reboot
      It will reboot and upgrade to F33, then it will reboot again and all should be OK.
      First make sure you update new configuration files:

      Code: Select all

      sudo rpmconf -a
      Then last but not least you need to relabel your filesystem because the new selinux policy is updated:

      Code: Select all

      sudo touch /.autorelabel
      sudo reboot
      Relabeling will take a while, when done you can restore the selinux policy back to enforcing by editing /etc/selinux/config.

      For my progress:
      - Kodi 19 from master git is already working (both wayland and standalone-gbm) thanks to AreaScout.
      - I've built the latest chromium-ozone-wayland using bitbake/openembedded (heavily updated for XU4) which I'm about to test.
      - Fixed gnome-software

      Todo:
      - Update RetroArch and libretro cores
      - Build latest Firefox ESR (heavily updated for XU4)

      Things I might skip/drop:
      - Linux 5.10 kernel, as the MFC is broken and it's a bit beyond my league
      - PPSSPP and dosbox (because SDL2 is still segfaulting when exiting on Wayland)
      These users thanked the author MastaG for the post:
      pothos (Tue Jan 26, 2021 3:49 am)

      asms
      Posts: 9
      Joined: Wed Dec 02, 2015 12:50 am
      languages_spoken: english
      ODROIDs: C1+, XU4
      Has thanked: 0
      Been thanked: 0
      Contact:

      Re: Fedora 32 - XU edition (Gnome 3.36 / Kodi 19 / Retroarch etc)

      Post by asms »

      thanks MastaG for this release.

      Can you please help me with an issue I am having with my wifi adapter? Its a Techkey USB 3.0 WiFi 802.11 ac Wireless Network Adapter. Unfortunately it does not have the drivers pre installed. From one of the comments I got the steps to make and install the driver from this github https://github.com/cilynx/rtl88x2bu.
      I tried to use the instructions for Raspberry Pi since the default in the make file was for CONFIG_PLATFORM_I386_PC. But i am getting an error in the build process it says "./include/linux/kasan-checks.h:18:9: error: β€˜true’ undeclared (first use in this function)"
      This is part of the make error log

      Code: Select all

      DKMS make.log for rtl88x2bu-5.6.1 for kernel 5.4.3-odroid-xu3_and_4+ (armv7l)
      Sun 14 Feb 2021 01:21:18 AM CET
      make ARCH=arm CROSS_COMPILE= -C /lib/modules/5.4.3-odroid-xu3_and_4+/build M=/var/lib/dkms/rtl88x2bu/5.6.1/build  modulesmake ARCH=arm CROSS_COMPILE= -C /lib/modules/5.4.3-odroid-xu3_and_4+/build M=/var/lib/dkms/rtl88x2bu/5.6.1/build  modules
      make[1]: Entering directory '/usr/src/kernels/5.4.3-odroid-xu3_and_4+'
        CC [M]  /var/lib/dkms/rtl88x2bu/5.6.1/build/core/rtw_cmd.o
        CC [M]  /var/lib/dkms/rtl88x2bu/5.6.1/build/core/rtw_security.o
        CC [M]  /var/lib/dkms/rtl88x2bu/5.6.1/build/core/rtw_debug.o
        CC [M]  /var/lib/dkms/rtl88x2bu/5.6.1/build/core/rtw_io.o
        CC [M]  /var/lib/dkms/rtl88x2bu/5.6.1/build/core/rtw_ioctl_query.o
        CC [M]  /var/lib/dkms/rtl88x2bu/5.6.1/build/core/rtw_ioctl_set.o
        CC [M]  /var/lib/dkms/rtl88x2bu/5.6.1/build/core/rtw_ieee80211.o
        CC [M]  /var/lib/dkms/rtl88x2bu/5.6.1/build/core/rtw_mlme.o
      In file included from ./include/linux/compiler.h:257,
                       from ./include/linux/init.h:5,
                       from /usr/src/rtl88x2bu-5.6.1/include/basic_types.h:78,
                       from /usr/src/rtl88x2bu-5.6.1/include/drv_types.h:26,
                       from /usr/src/rtl88x2bu-5.6.1/core/rtw_debug.c:17:
      ./include/linux/kasan-checks.h:16:15: error: unknown type name β€˜bool’
         16 | static inline bool __kasan_check_read(const volatile void *p, unsigned int size)
        
      can you please help me by pointing in the right direction?
      thanks,
      asms

      spuzy
      Posts: 2
      Joined: Tue Nov 19, 2019 4:14 am
      languages_spoken: english
      Has thanked: 1 time
      Been thanked: 0
      Contact:

      Re: Fedora 32 - XU edition (Gnome 3.36 / Kodi 19 / Retroarch etc)

      Post by spuzy »

      Hello guys,

      first thx for this awesome rom ... really enjoying it.
      To make it "complete" - is it possible to start this rom from a external hdd connected to the usb3 port also?

      I tried it like with ubuntu minimal ... but wasn't so successful ...

      If you have a hint - it would be highly appreciated.

      Thx,
      spuzy

      proxymo
      Posts: 49
      Joined: Fri May 26, 2017 11:16 pm
      languages_spoken: english
      ODROIDs: xu4
      Has thanked: 0
      Been thanked: 2 times
      Contact:

      Re: Fedora 32 - XU edition (Gnome 3.36 / Kodi 19 / Retroarch etc)

      Post by proxymo »

      Hi,

      Is there any particular reason why you choose fedora over ubuntu?

      MastaG
      Posts: 372
      Joined: Mon Aug 26, 2013 6:05 pm
      languages_spoken: english
      Has thanked: 32 times
      Been thanked: 32 times
      Contact:

      Re: Fedora 32 - XU edition (Gnome 3.36 / Kodi 19 / Retroarch etc)

      Post by MastaG »

      Well I was about to give up on this as I never got the gnome-desktop to properly start.
      Even after upgrading to Fedora 34 the same damn segfault was always occuring.
      And debugging gnome-shell during startup is painfully hard as the systemd-coredump doesn't generate valid dumps and starting gnome-shell trough gdb using ssh doesn't work (or at least I couldn't find out how to attach it to seat0).

      Anyways I've been googling the segfault's invalid instruction and found one report about the graphene library on the Raspberry Pi which shares the same armv7 architecture.
      Then I stumbled upon this report: https://github.com/ebassi/graphene/issues/215

      I've rebuild graphene without neon and now the gnome-shell desktop is always starting without issues :D
      Image
      Image
      Image

      That's right Gnome Shell 40 baby!

      There's still some allignment traps left to debug (related to gstreamer).
      You can really see that major distributions dropping QA on 32 bit systems is now starting to cause all kinds of issues.

      Furthermore I'll have to rebuild Chromium and Firefox with the correct dependencies.
      At least Kodi 19 is still shining here (Thanks to AreaScout) although we're still running on HK's 5.4 kernel (as the later ones don't have working MFC decoding).
      Also the bug in gnome-software was finally recognized and fixed (when people started reporting it for 32bit x86 as well:P)

      So still some work todo, but at least good to see the desktop still shining on our old mali blob.
      spuzy wrote: ↑
      Mon Feb 15, 2021 11:16 pm
      Hello guys,

      first thx for this awesome rom ... really enjoying it.
      To make it "complete" - is it possible to start this rom from a external hdd connected to the usb3 port also?

      I tried it like with ubuntu minimal ... but wasn't so successful ...

      If you have a hint - it would be highly appreciated.

      Thx,
      spuzy
      When I'm done I'll create a script which will transfer the entire OS partition to an external USB drive.
      You'll still need the SD or eMMC due to the boot partition though.
      These users thanked the author MastaG for the post:
      odroid (Wed Mar 10, 2021 9:15 am)

      proxymo
      Posts: 49
      Joined: Fri May 26, 2017 11:16 pm
      languages_spoken: english
      ODROIDs: xu4
      Has thanked: 0
      Been thanked: 2 times
      Contact:

      Re: Fedora 32 - XU edition (Gnome 3.36 / Kodi 19 / Retroarch etc)

      Post by proxymo »

      Hi MastaG,

      Could you please provide the procedure to compile kodi 19 gbm?

      MastaG
      Posts: 372
      Joined: Mon Aug 26, 2013 6:05 pm
      languages_spoken: english
      Has thanked: 32 times
      Been thanked: 32 times
      Contact:

      Re: Fedora 32 - XU edition (Gnome 3.36 / Kodi 19 / Retroarch etc)

      Post by MastaG »

      proxymo wrote: ↑
      Thu Mar 11, 2021 5:19 pm
      Hi MastaG,

      Could you please provide the procedure to compile kodi 19 gbm?
      Sure my friend.

      Make sure you have a recent release (or git snapshot) of FFMpeg built with: --enable-v4l2-m2m
      I've attached a patch from memeka that should correct the amount of capture buffers and enabled bitrate control, but it's not mandatory for playback in Kodi.


      I've also attached the patch for Kodi that should apply to the master git (thanks to AreaScout).
      It contains all fixes and workarounds for the XU3/4, e.g. disabling drm prime by default.

      Apply it and then configure it with:

      Code: Select all

      cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local -DCORE_PLATFORM_NAME=gbm -DAPP_RENDER_SYSTEM=gles -DENABLE_ALSA=ON -DENABLE_AIRTUNES=ON -DENABLE_UPNP=ON -DENABLE_INTERNAL_FMT=ON -DENABLE_INTERNAL_RapidJSON=ON -DENABLE_OPENGLES=ON -DENABLE_OPENGL=OFF -DVERBOSE=OFF -DENABLE_SMBCLIENT=ON -DENABLE_CEC=ON -DENABLE_NEON=ON -DWITH_CPU=armv7-a -DENABLE_AVAHI=ON -DENABLE_PULSEAUDIO=ON -DENABLE_CCACHE=ON -DENABLE_INTERNAL_CROSSGUID=OFF -DENABLE_EVENTCLIENTS=ON -DENABLE_VAAPI=OFF -DENABLE_VDPAU=OFF -DENABLE_INTERNAL_FLATBUFFERS=ON
      That should do it.
      Attachments
      ffmpeg.zip
      (958 Bytes) Downloaded 11 times
      0001-Kodi-19-Support-ODroid-XU4.zip
      (3.24 KiB) Downloaded 10 times

      MastaG
      Posts: 372
      Joined: Mon Aug 26, 2013 6:05 pm
      languages_spoken: english
      Has thanked: 32 times
      Been thanked: 32 times
      Contact:

      Re: Fedora 32 - XU edition (Gnome 3.36 / Kodi 19 / Retroarch etc)

      Post by MastaG »

      Now something else, is there somebody who can give me a list of libretro cores that I should add for RetroArch?
      e.g. for Super Nintendo there's several versions of snes9x, mesen-s, higan/bsnes etc..
      Instead of building all, I'd like to only build the ones that run best on the XU3/4.
      If you know which core works best for a certain system on the XU3/4, please let me know so I can ship them.

      proxymo
      Posts: 49
      Joined: Fri May 26, 2017 11:16 pm
      languages_spoken: english
      ODROIDs: xu4
      Has thanked: 0
      Been thanked: 2 times
      Contact:

      Re: Fedora 32 - XU edition (Gnome 3.36 / Kodi 19 / Retroarch etc)

      Post by proxymo »

      Hi MastaG,

      Thank you very much indeed.

      Do I need https://github.com/rockchip-linux/libmali ?

      Do I need https://www.areascout.at/kodi/mali-x11- ... _armhf.deb?

      Is the patch ffmpeg.zip for kodi or FFMpeg?

      is the patch s5p-mfc-fix-decoding.zip needed?

      Are there any special pre-requirements required?

      MastaG
      Posts: 372
      Joined: Mon Aug 26, 2013 6:05 pm
      languages_spoken: english
      Has thanked: 32 times
      Been thanked: 32 times
      Contact:

      Re: Fedora 32 - XU edition (Gnome 3.36 / Kodi 19 / Retroarch etc)

      Post by MastaG »

      Hi proxymo,

      The ffmpeg.zip is the patch for FFMpeg yes.
      I don't know the s5p-mfc-fix-decoding.zip, could you post it?

      proxymo
      Posts: 49
      Joined: Fri May 26, 2017 11:16 pm
      languages_spoken: english
      ODROIDs: xu4
      Has thanked: 0
      Been thanked: 2 times
      Contact:

      Re: Fedora 32 - XU edition (Gnome 3.36 / Kodi 19 / Retroarch etc)

      Post by proxymo »


      MastaG
      Posts: 372
      Joined: Mon Aug 26, 2013 6:05 pm
      languages_spoken: english
      Has thanked: 32 times
      Been thanked: 32 times
      Contact:

      Re: Fedora 32 - XU edition (Gnome 3.36 / Kodi 19 / Retroarch etc)

      Post by MastaG »

      proxymo wrote: ↑
      Fri Mar 12, 2021 6:10 pm
      It is your post at viewtopic.php?p=319025#p319025

      What about https://www.areascout.at/kodi/mali-x11- ... _armhf.deb and
      https://github.com/rockchip-linux/libmali? Are they needed for kodi 19 to work?

      Ah yes, the patch was shared by Areascout and is optional but makes sure the mfc video decoder isn't left in a state where it stops decoding videos.
      For example with kodi 19 and the latest ffmpeg I found that sometimes when playing bad h264 videos, the mfc could crash and somehow stop playing videos until I reboot.
      With the patch everything keeps on working fine, you can simply stop and play the next video without issues.
      Imo someone should create a PR against HK's 5.4 branch for that.

      Regarding libmali, I only use the libgbm (stub) wrapper for running gnome shell desktop.
      It's a bit more complete compared to the one created by memeka back in the days.
      The Odroid libmali from ARM is outdated and it's libgbm implementation misses many symbols (functions).
      But I think it's not required for Kodi or RetroArch.

      I'm making steady progress on F34 btw.
      No more crashes or segfaults during booting.
      Kodi 19 is stable.
      Firefox 86.0.1 is now running natively in wayland with OpenGL compositing, which is nice.
      Chromium 89 (ozone wayland) is also smooth and hopefully the dev will look into the segfault when using --in-process-gpu soon.

      Only audio is broken atm (because Fedora switched to Pipewire), still have to look into that.

      Also I'm looking for the last kernel (with xu3/4 patches including the mali kbase driver), which still has the mfc working.
      5.4 is a bit too old for F34 (getting 'hidepid' errors from systemd).

      proxymo
      Posts: 49
      Joined: Fri May 26, 2017 11:16 pm
      languages_spoken: english
      ODROIDs: xu4
      Has thanked: 0
      Been thanked: 2 times
      Contact:

      Re: Fedora 32 - XU edition (Gnome 3.36 / Kodi 19 / Retroarch etc)

      Post by proxymo »

      Thanks MastaG,

      Great work.

      And, is mali-x11-gbm-fbdev_19.0.6-1_armhf.deb from areascout repository required?

      MastaG
      Posts: 372
      Joined: Mon Aug 26, 2013 6:05 pm
      languages_spoken: english
      Has thanked: 32 times
      Been thanked: 32 times
      Contact:

      Re: Fedora 32 - XU edition (Gnome 3.36 / Kodi 19 / Retroarch etc)

      Post by MastaG »

      proxymo wrote: ↑
      Sun Mar 14, 2021 2:44 pm
      Thanks MastaG,

      Great work.

      And, is mali-x11-gbm-fbdev_19.0.6-1_armhf.deb from areascout repository required?
      Well.. that depends on which distribution you're going to run Kodi on.
      For example for my Fedora release, the drivers are already pre-installed.
      It's been a while since I've been using debian/ubuntu, but AreaScout has a complete howto for Kodi on ubuntu minimal.
      Perhaps you can use that as a base to compile Kodi 19 on.
      Or you can use my F32 image for the time being.

      MastaG
      Posts: 372
      Joined: Mon Aug 26, 2013 6:05 pm
      languages_spoken: english
      Has thanked: 32 times
      Been thanked: 32 times
      Contact:

      Re: Fedora 32 - XU edition (Gnome 3.36 / Kodi 19 / Retroarch etc)

      Post by MastaG »

      Small update.
      Fedora 34 beta is now fully working with Gnome 4.0 (rc).
      The bugs in graphene and gnome-software have been fixed and pushed so no more segfaulting.

      I've switched to Linux 5.8.18 to satisfy the systemd requirements and applied the patches from batocera, my own patches and the ones from HK's odroid-5.4.y branch.
      So far everything seems to be working, mali_kbase, hdmi and headphone-jack audio on XU3, firmware edid blobs and mfc.
      I've attached my (extremely bloated config) and a clean patch.
      Just apply the patch and extract the firmware directory from the edid_firmware.tar.gz archive.

      I've compiled Firefox 86.0.1 with optimized compiler flags and -mthumb which now has OpenGL compositing working on wayland (happy times).
      I've also compiled Chromium 89.0 with both ozone x11 and wayland platforms enabled, --in-process-gpu is still not working (the dev promised to look into it), but it is using OpenGL compositing as well.

      TODO:
      - Rebuild ffmpeg and all of it's dependencies statically for linking into Kodi/TVHeadend (so they do not interfere with the OS packages).
      - Rebuild RetroArch + cores.
      - (optional) Rebuild Dosbos and PPSSPP with wayland-enabled SDL2.
      Attachments
      config-5.8.18.zip
      (43.37 KiB) Downloaded 6 times
      edid_firmware.tar.gz
      (1.78 KiB) Downloaded 9 times
      5.8.18_xu4.zip
      (483.94 KiB) Downloaded 8 times
      These users thanked the author MastaG for the post (total 2):
      odroid (Wed Mar 17, 2021 6:37 pm) • pothos (Fri Mar 19, 2021 7:46 am)

      MastaG
      Posts: 372
      Joined: Mon Aug 26, 2013 6:05 pm
      languages_spoken: english
      Has thanked: 32 times
      Been thanked: 32 times
      Contact:

      Re: Fedora 32 - XU edition (Gnome 3.36 / Kodi 19 / Retroarch etc)

      Post by MastaG »

      Small update for Fedora 34.
      I've created scripts to:
      - Install the OS into a USB drive (requested)
      - Setup and (re-)install the kernel with all it's patches (for easy driver compiling) (requested)
      Furthermore I've recompiled Kodi 19 with all of it's glory (Netflix, Amazon Prime, HBO, Disney+, all binary addons such as ProjectM/Shadertoy (built specifically for use with OpenGLES), everything pre-setup).
      Image
      Image
      RetroArch with all of its cores have been bumped and recompiled from scratch.
      PPSSPP and DOSBOX-Staging have been recompiled against the latest SDL2 release and don't segfault any longer when closing.
      I've rebuild Chromium for both ozone wayland and ozone x11 platforms with google hangouts, widevine and even chromecast support :)
      Image

      I guess now I have to do some heavy testing and I'll release a much cleaner F34 image (will be my last image).
      These users thanked the author MastaG for the post:
      odroid (Thu Apr 01, 2021 9:28 am)

      MastaG
      Posts: 372
      Joined: Mon Aug 26, 2013 6:05 pm
      languages_spoken: english
      Has thanked: 32 times
      Been thanked: 32 times
      Contact:

      Re: Fedora 32 - XU edition (Gnome 3.36 / Kodi 19 / Retroarch etc)

      Post by MastaG »

      Guys, check this out!
      Our kind developer maksim from igalia has fixed the deadlock which would happen when chromium's ozone wayland platform was run with --in-process-gpu :) !
      This means that Chromium can now run with full opengl hardware acceleration in wayland!

      Check this out: https://streamable.com/xubr74
      These users thanked the author MastaG for the post:
      odroid (Fri Apr 09, 2021 6:35 pm)

      User avatar
      rooted
      Posts: 8490
      Joined: Fri Dec 19, 2014 9:12 am
      languages_spoken: english
      Location: Gulf of Mexico, US
      Has thanked: 740 times
      Been thanked: 342 times
      Contact:

      Re: Fedora 32 - XU edition (Gnome 3.36 / Kodi 19 / Retroarch etc)

      Post by rooted »

      MastaG wrote:Guys, check this out!
      Our kind developer maksim from igalia has fixed the deadlock which would happen when chromium's ozone wayland platform was run with --in-process-gpu :) !
      This means that Chromium can now run with full opengl hardware acceleration in wayland!

      Check this out: https://streamable.com/xubr74
      Thanks for the heads up

      Post Reply

      Return to β€œOther OS”

      Who is online

      Users browsing this forum: No registered users and 1 guest