GPD MicroPC

Discussion in 'Everything else' started by vcoleiro1, Dec 12, 2018.

  1. Eight Bit

    Eight Bit Hardcore Member

    Joined:
    Nov 16, 2008
    Messages:
    1,620
    Location:
    Amsterdam, Netherlands
    I installed this Ubuntu image, it works great!
    It's my first experience with Ubuntu but so far everything works as I expect it to and the micro seems to cope quite well.

    The windows install it came with had weird graphic driver bugs. sometimes IT split my screen in 2 and made one side black, or it started to jitter and show a double screen.
    None of that anymore. I'm happy so far!
     
    levi likes this.
  2. jvoriz

    jvoriz Newbie

    Joined:
    Jul 4, 2019
    Messages:
    1
    I've successfully installed latest Ubuntu Mate 19.04 and latest kernel, rotation are OK on console, login screen and graphical session (HDMI out is OK too for dual screen, USB-C not tested... not sure if it will work)

    i've put here the few easy steps:


    Happy to have ditched OS that came with my MicroPC xD
     
  3. Eight Bit

    Eight Bit Hardcore Member

    Joined:
    Nov 16, 2008
    Messages:
    1,620
    Location:
    Amsterdam, Netherlands
    Me too!
    I do get a popping sound when the sound wakes up from sleep mode or something... Also when I have headphones plugged in.
    Does anyone have an idea?
     
  4. Silent-Hunter

    Silent-Hunter Hardcore Member

    Joined:
    May 29, 2010
    Messages:
    3,025
    I still can't figure out why VAAPI or VDPAU don't work.

    Mplayer does the below when I try to use it.

    Code:
    kavus@micropc:~/Downloads$ mplayer -vo vdpau test.mov
    MPlayer 1.3.0 (Debian), built with gcc-6.2.1 (C) 2000-2016 MPlayer Team
    do_connect: could not connect to socket
    connect: No such file or directory
    Failed to open LIRC support. You will not be able to use your remote control.
    
    Playing test.mov.
    libavformat version 57.56.101 (external)
    Mismatching header version 57.56.100
    libavformat file format detected.
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f5ae5b37d00]Protocol name not provided, cannot determine if input is local or a network protocol, buffers and access patterns cannot be configured optimally without knowing the protocol
    [lavf] stream 0: video (h264), -vid 0
    [lavf] stream 1: audio (aac), -aid 0, -alang eng
    VIDEO:  [H264]  1280x720  24bpp  59.940 fps  1144.2 kbps (139.7 kbyte/s)
    libva info: VA-API version 0.39.4
    libva info: va_getDriverName() returns 0
    libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
    libva info: Found init function __vaDriverInit_0_39
    libva error: /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so init failed
    libva info: va_openDriver() returns -1
    ==========================================================================
    Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
    libavcodec version 57.64.101 (external)
    Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
    ==========================================================================
    Clip info:
     major_brand: qt 
     minor_version: 512
     compatible_brands: qt 
     encoder: Lavf57.25.100
    Load subtitles in ./
    ==========================================================================
    Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
    AUDIO: 48000 Hz, 2 ch, floatle, 86.3 kbit/2.81% (ratio: 10789->384000)
    Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
    ==========================================================================
    AO: [pulse] 48000Hz 2ch floatle (4 bytes per sample)
    Starting playback...
    Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
    VO: [vdpau] 1280x720 => 1280x720 Planar YV12
    A:   9.9 V:   9.9 A-V:  0.000 ct:  0.017   0/  0 24% 46%  0.2% 0 0
    
    Exiting... (Quit)
    
    And Moonlight game streaming does this:

    Code:
    kavus@micropc:~/Downloads$ moonlight
    00:00:00 - Qt Info: Found "gamecontrollerdb.txt" at ":/data/gamecontrollerdb.txt"
    00:00:00 - SDL Info (0): Loaded 32 new gamepad mappings
    00:00:00 - SDL Info (0): V-sync enabled
    00:00:00 - SDL Error (0): Failed to initialize VAAPI: -1
    Failed to open VDPAU backend libvdpau_va_gl.so: cannot open shared object file: No such file or directory
    00:00:00 - FFmpeg: [AVHWDeviceContext @ 0x563242e9b940] VDPAU device creation on X11 display :99.0 failed.
    00:00:00 - SDL Error (0): Failed to create VDPAU context: -1313558101
    00:00:00 - Qt Info: Found "ModeSeven.ttf" at ":/data/ModeSeven.ttf"
    00:00:00 - SDL Info (0): Using SDL renderer
    00:00:00 - FFmpeg: [h264 @ 0x56324446fc40] nal_unit_type: 7(SPS), nal_ref_idc: 3
    00:00:00 - FFmpeg: [h264 @ 0x56324446fc40] nal_unit_type: 8(PPS), nal_ref_idc: 3
    00:00:00 - FFmpeg: [h264 @ 0x56324446fc40] nal_unit_type: 5(IDR), nal_ref_idc: 3
    00:00:00 - FFmpeg: [h264 @ 0x56324446fc40] nal_unit_type: 5(IDR), nal_ref_idc: 3
    00:00:00 - FFmpeg: [h264 @ 0x56324446fc40] nal_unit_type: 5(IDR), nal_ref_idc: 3
    00:00:00 - FFmpeg: [h264 @ 0x56324446fc40] nal_unit_type: 5(IDR), nal_ref_idc: 3
    00:00:00 - FFmpeg: [h264 @ 0x56324446fc40] Format yuv420p chosen by get_format().
    00:00:00 - FFmpeg: [h264 @ 0x56324446fc40] Reinit context to 1280x720, pix_fmt: yuv420p
    00:00:00 - SDL Info (0): FFmpeg-based video decoder chosen
    
    --- Double Post Merged, Jul 5, 2019, Original Post Date: Jul 5, 2019 ---
    Output of vdpauinfo:

    Code:
    kavus@micropc:~$ vdpauinfo
    display: :0   screen: 0
    libva info: VA-API version 0.39.4
    libva info: va_getDriverName() returns 0
    libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
    libva info: Found init function __vaDriverInit_0_39
    libva error: /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so init failed
    libva info: va_openDriver() returns -1
    API version: 1
    Information string: OpenGL/VAAPI backend for VDPAU
    
    Video surface:
    
    name   width height types
    -------------------------------------------
    420     4096  4096  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8
    422     4096  4096  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8
    444     4096  4096  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8
    
    Decoder capabilities:
    
    name                        level macbs width height
    ----------------------------------------------------
    MPEG1                          --- not supported ---
    MPEG2_SIMPLE                   --- not supported ---
    MPEG2_MAIN                     --- not supported ---
    H264_BASELINE                  --- not supported ---
    H264_MAIN                      --- not supported ---
    H264_HIGH                      --- not supported ---
    VC1_SIMPLE                     --- not supported ---
    VC1_MAIN                       --- not supported ---
    VC1_ADVANCED                   --- not supported ---
    MPEG4_PART2_SP                 --- not supported ---
    MPEG4_PART2_ASP                --- not supported ---
    DIVX4_QMOBILE                  --- not supported ---
    DIVX4_MOBILE                   --- not supported ---
    DIVX4_HOME_THEATER             --- not supported ---
    DIVX4_HD_1080P                 --- not supported ---
    DIVX5_QMOBILE                  --- not supported ---
    DIVX5_MOBILE                   --- not supported ---
    DIVX5_HOME_THEATER             --- not supported ---
    DIVX5_HD_1080P                 --- not supported ---
    H264_CONSTRAINED_BASELINE      --- not supported ---
    H264_EXTENDED                  --- not supported ---
    H264_PROGRESSIVE_HIGH          --- not supported ---
    H264_CONSTRAINED_HIGH          --- not supported ---
    H264_HIGH_444_PREDICTIVE       --- not supported ---
    HEVC_MAIN                      --- not supported ---
    HEVC_MAIN_10                   --- not supported ---
    HEVC_MAIN_STILL                --- not supported ---
    HEVC_MAIN_12                   --- not supported ---
    HEVC_MAIN_444                  --- not supported ---
    
    Output surface:
    
    name              width height nat types
    ----------------------------------------------------
    B8G8R8A8          8192  8192    - 
    R8G8B8A8          8192  8192    - 
    R10G10B10A2       8192  8192    - 
    B10G10R10A2       8192  8192    - 
    A8                8192  8192    - 
    
    Bitmap surface:
    
    name              width height
    ------------------------------
    B8G8R8A8          8192  8192
    R8G8B8A8          8192  8192
    R10G10B10A2       8192  8192
    B10G10R10A2       8192  8192
    A8                8192  8192
    
    Video mixer:
    
    feature name                    sup
    ------------------------------------
    DEINTERLACE_TEMPORAL             -
    DEINTERLACE_TEMPORAL_SPATIAL     -
    INVERSE_TELECINE                 -
    NOISE_REDUCTION                  -
    SHARPNESS                        -
    LUMA_KEY                         -
    HIGH QUALITY SCALING - L1        -
    HIGH QUALITY SCALING - L2        -
    HIGH QUALITY SCALING - L3        -
    HIGH QUALITY SCALING - L4        -
    HIGH QUALITY SCALING - L5        -
    HIGH QUALITY SCALING - L6        -
    HIGH QUALITY SCALING - L7        -
    HIGH QUALITY SCALING - L8        -
    HIGH QUALITY SCALING - L9        -
    
    parameter name                  sup      min      max
    -----------------------------------------------------
    VIDEO_SURFACE_WIDTH              - 
    VIDEO_SURFACE_HEIGHT             - 
    CHROMA_TYPE                      - 
    LAYERS                           - 
    
    attribute name                  sup      min      max
    -----------------------------------------------------
    BACKGROUND_COLOR                 - 
    CSC_MATRIX                       - 
    NOISE_REDUCTION_LEVEL            - 
    SHARPNESS_LEVEL                  - 
    LUMA_KEY_MIN_LUMA                - 
    LUMA_KEY_MAX_LUMA                - LIBVA_DRIVER_NAME=i965 vainfo
    
    vainfo outputs this:

    Code:
    kavus@micropc:~$ vainfo
    libva info: VA-API version 0.39.4
    libva info: va_getDriverName() returns 0
    libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
    libva info: Found init function __vaDriverInit_0_39
    libva error: /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so init failed
    libva info: va_openDriver() returns -1
    vaInitialize failed with error code -1 (unknown libva error),exit
    
     
  5. Silent-Hunter

    Silent-Hunter Hardcore Member

    Joined:
    May 29, 2010
    Messages:
    3,025
    Upgrading to Debian 10 has fixed this issue, and a few others too.
     
  6. Eight Bit

    Eight Bit Hardcore Member

    Joined:
    Nov 16, 2008
    Messages:
    1,620
    Location:
    Amsterdam, Netherlands
    Which Debian 10 image did you use? And which desktop?
     
  7. levi

    levi Still fresh, damnit!

    Joined:
    Oct 6, 2008
    Messages:
    10,986
    Location:
    Somewhere off the coast of the EU
    I take it it hasn't fixed the rotation and maybe the need to add nomodeset to the kernel options at boot yet? I saw the 5.2 kernel was released yesterday, but debian buster runs the 4.19 series according to their own docs, and I've not seen notification that those patches had been backported yet.

    Still, any bugfix is always worth having.
     
  8. Silent-Hunter

    Silent-Hunter Hardcore Member

    Joined:
    May 29, 2010
    Messages:
    3,025
    I just used the Debian 9 netinstall, and then upgraded to Debian 10 yesterday. Oh, and I'm using i3.
    --- Double Post Merged, Jul 9, 2019, Original Post Date: Jul 9, 2019 ---
    I've been using 5.2-rc6 for a while now.
     
    levi and Eight Bit like this.
  9. levi

    levi Still fresh, damnit!

    Joined:
    Oct 6, 2008
    Messages:
    10,986
    Location:
    Somewhere off the coast of the EU
    Backports to older supported kernels was annouced at about 3pm today (GMT), I checked the kernel that debian buster claims to be using, and it includes all of the patches hans made, so as soon as debian pick it up it should be safe to let it upgrade to that.
     
  10. jose1711

    jose1711 Still Fresh

    Joined:
    Apr 27, 2007
    Messages:
    70
    Location:
    Slovakia
    No idea but just want to say that I get those too on Arch Linux. Regularly when starting VMware Horizon Client. Besides that xbacklight stops working at random intervals (Xorg restart does the remedy).
     

Share This Page

Loading...