Full HD 1080p possible?

AmigaOne X1000 platform specific issues related to Linux only.
Post Reply
User avatar
xeno74
Posts: 9349
Joined: Fri Mar 23, 2012 7:58 am

Full HD 1080p possible?

Post by xeno74 »

I have found another way to play Full HD videos smoothly on our A1-X1000.

Image

Requirements:
  • Lubuntu 14.04 and 14.10
  • Kernel 3.17 or higher
  • libgl1-mesa-dri_10.1.3-0ubuntu0.2_powerpc.deb (Thanks to Srtest for the hint to use this new libGL for the unofficial Mesa)
  • mesa-vdpau-drivers_10.1.3-0ubuntu0.2_powerpc.deb
  • Image MesaLib-10.0.4-powerpc-unofficial.tar.bz2
Installation instructions
  1. Please install the new MPV player with the Synaptic package manager
    mpv is a movie player based on MPlayer and mplayer2. It supports a wide
    variety of video file formats, audio and video codecs, and subtitle types.
  2. Download and install the following Ubuntu packages:

    Code: Select all

    sudo dpkg -i libgl1-mesa-dri_10.1.3-0ubuntu0.2_powerpc.deb
    

    Code: Select all

    sudo dpkg -i mesa-vdpau-drivers_10.1.3-0ubuntu0.2_powerpc.deb
    
  3. Download the unofficial MesaLib package.
    Image
    Download: MesaLib-10.0.4-powerpc-unofficial.tar.bz2
  4. Unpack it
  5. Copy the folder mesa-10.0.4 as root to the directory /usr/local/

    Code: Select all

    sudo cp -R mesa-10.0.4 /usr/local/
    
  6. Please, restart your A1-X1000
  7. Set up the new library path

    Code: Select all

    export LD_LIBRARY_PATH=/usr/local/mesa-10.0.4/lib/
    
  8. Test it with glxgears. After that you can start some games for example SuperTuxKart.
  9. SuperTuxKart needs a special run_game.sh for the new Mesa:

    Code: Select all

    LD_LIBRARY_PATH=./bin/:/usr/local/mesa-10.0.4/lib bin/supertuxkart
    
  10. Download the following Big Buck Bunny movies for testing Full HD:
    big_buck_bunny_1080p_surround.avi
    big_buck_bunny_1080p_stereo.ogg
    Image
  11. You can play the movies with the following commands:

    Code: Select all

    mpv big_buck_bunny_1080p_stereo.ogg --hwdec=vdpau --vo=opengl-hq
    

    Code: Select all

    mpv big_buck_bunny_1080p_surround.avi --hwdec=vdpau --vo=opengl-hq
    
If you want that Mesa works system wide and after rebooting then you have to add the line export LD_LIBRARY_PATH= to the .profile file in your home directory.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
Post Reply