GPD MicroPC

Eight Bit

Hardcore Member
Joined
Nov 16, 2008
Messages
1,687
Age
45
Location
Amsterdam, Netherlands
Website
Visit site
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!
 

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
 

Silent-Hunter

Hardcore Member
Joined
May 29, 2010
Messages
3,089
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
[doublepost=1562300527,1562297119][/doublepost]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
 

levi

Still fresh, damnit!
Joined
Oct 6, 2008
Messages
11,531
Location
Somewhere off the coast of the EU
Upgrading to Debian 10 has fixed this issue, and a few others too.
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.
 

Silent-Hunter

Hardcore Member
Joined
May 29, 2010
Messages
3,089
Which Debian 10 image did you use? And which desktop?
I just used the Debian 9 netinstall, and then upgraded to Debian 10 yesterday. Oh, and I'm using i3.
[doublepost=1562700293,1562700254][/doublepost]
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.
I've been using 5.2-rc6 for a while now.
 

levi

Still fresh, damnit!
Joined
Oct 6, 2008
Messages
11,531
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.
 

jose1711

Member
Joined
Apr 27, 2007
Messages
71
Age
38
Location
Slovakia
Website
Visit site
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?
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).
 

Eight Bit

Hardcore Member
Joined
Nov 16, 2008
Messages
1,687
Age
45
Location
Amsterdam, Netherlands
Website
Visit site
This Ubuntu 18.04 image uses opengl 3.0 and though it's not a gaming machine I did install steam on it. Shame on me ;) Some games require opengl 3.3 or higher, does upgrading to ubuntu 19 or debian 10 remedy this? I can't find any gfx driver update with opengl 3.3 that works...
Also I'm on a camping in france right now and the internet connection here is kind of borked so I'll update when I get home again anyway...

glxinfo | grep "OpenGL version"
should show the current version if anyone wants to check for me
 

levi

Still fresh, damnit!
Joined
Oct 6, 2008
Messages
11,531
Location
Somewhere off the coast of the EU
That command shows 1.4 Mesa 19.1.2 for me, but I know I can run OpenGL 2.0. This is on 2008era on-CPU graphics, so I wouldn't expect updating the software to do any better to be honest.
 

wej

Member
Joined
Feb 14, 2013
Messages
90
Website
wej.k.vu
This Ubuntu 18.04 image uses opengl 3.0 and though it's not a gaming machine I did install steam on it. Shame on me ;) Some games require opengl 3.3 or higher, does upgrading to ubuntu 19 or debian 10 remedy this? I can't find any gfx driver update with opengl 3.3 that works...
Also I'm on a camping in france right now and the internet connection here is kind of borked so I'll update when I get home again anyway...

glxinfo | grep "OpenGL version"
should show the current version if anyone wants to check for me
You are filtering for the wrong string. What you are looking for is the "OpenGL core profile version", which should be at 4.5 on the MicroPC's UHD Graphics 600 GPU with Mesa. The OpenGL version 3.0 you saw there is for the OpenGL compatibility profile. Mesa does not support anything higher than 3.0 for that profile and there are no plans to change that, since the compatibility profile is for legacy code anyway. Most games use the core profile and should work fine.
 

Eight Bit

Hardcore Member
Joined
Nov 16, 2008
Messages
1,687
Age
45
Location
Amsterdam, Netherlands
Website
Visit site
For me it shows this now.
OpenGL version string: 3.0 Mesa 19.2.0-devel (git-159abd5 2019-07-27 bionic-oibaf-ppa)
I have no idea what @wej means but I guess I can conclude that Dying Light is a no-go and I can delete it to clear 14GB of space :) Thanks for your answers. <3
 

wej

Member
Joined
Feb 14, 2013
Messages
90
Website
wej.k.vu
For me it shows this now.
OpenGL version string: 3.0 Mesa 19.2.0-devel (git-159abd5 2019-07-27 bionic-oibaf-ppa)
I have no idea what @wej means but I guess I can conclude that Dying Light is a no-go and I can delete it to clear 14GB of space :) Thanks for your answers. <3
I just meant that grepping for "OpenGL version" doesn't yield any useful information, since it will always be 3.0 (at most), no matter which GPU is used. You'll find the actual supported OpenGL version under "OpenGL core profile version". It should be 4.5.
 

Silent-Hunter

Hardcore Member
Joined
May 29, 2010
Messages
3,089
My MicroPC is still working well for me. The hinge is getting slightly loose, and the fan makes an odd grinding noise but it still works. I also do notice that it sometimes makes two characters when I only type one.
 

Eight Bit

Hardcore Member
Joined
Nov 16, 2008
Messages
1,687
Age
45
Location
Amsterdam, Netherlands
Website
Visit site
The fan on my unit is near silent with regular usage. Sometimes I put my ear to the unit to listen if it's not broken or anything. I do hear it when I'm maxing out the CPU. The hinge is quite stiff on my MPC so no complaints there. I do get the double characters every now and then.. So far it seems to be a decent device.
 

Silent-Hunter

Hardcore Member
Joined
May 29, 2010
Messages
3,089
Unfortunately my hinge is getting even looser, I'm worried it's going to get worse until it won't be very usable.

It's both loose and tight. It flops back and forth but is stiff after about 5 degrees of movement.
 
Top