Code Monkey home page Code Monkey logo

umpc-ubuntu's Introduction

UMPC hardware configuration for Ubuntu

Here are a couple of scripts for Ultra Mobile PCs (UMPC) such as the GPD Pocket, GPD Pocket 2, GPD Pocket 3, GPD MicroPC, GPD WIN 2, GPD P2 Max, GPD WIN Max and Topjoy Falcon for Ubuntu users.

  • umpc-ubuntu.sh: install the required hardware configuration on a running Ubuntu install.
  • umpc-ubuntu-respin.sh: modify an existing Ubuntu .iso image with UMPC specific hardware configuration.

Ultra Mobile PCs (UMPC) have had something of a resurgence in recent years thanks to very successful crowd funding campaigns for netbook style laptops featuring a high resolution touch displays housed in an aluminium alloy body. These scripts for UMPC devices are based on the excellent work by Hans de Goede, nexus511, stockmind and many others.

GPD Pockets

Pre-configured images

The Ubuntu MATE team offers bespoke images for the GPD Pocket, GPD Pocket 2, GPD Pocket 3, GPD WIN 2, GPD MicroPC, GPD P2 Max, GPD WIN Max and Topjoy Falcon that include the hardware specific tweaks to get these devices working "out of the box" without any faffing about. Some models of the OneMix Yoga devices are also supported.

What works

The Ubuntu MATE images for the UMPCs add the following tweaks:

  • Enable frame buffer, Plymouth and Xorg display rotation.
    • Supports modesetting and xorg-video-intel display drivers.
  • Enable TearFree rendering by default.
  • Enable touch screen rotation for Xorg and Wayland.
  • Enable scroll wheel emulation for Xorg.
    • While holding down the right track point button on the Pocket, Pocket 2 & Topjoy Falcon.
    • While holding down the centre track point button on the MicroPC & Pocket 3.
  • Enable double size console (tty) font resolution for high resolution devices.
  • Enable fractional scaling for 1920x1200 displays. (MATE Desktop only)
    • Results in an effective resolution of 1280x800 to make the display panels easily readable.
    • Simple to toggle on/off if you want to restore full resolution.
  • GPD Pocket:
    • BRMC4356 WiFi firmware enabled by default.
    • Fan control kernel module enabled by default.
  • GPD Pocket 3 & TopJoy Falcon:
    • Accelerometer support for automatic screen rotation.
  • GPD WIN Max:
    • Features a custom, persistent, EDID.

Known Issues

The GRUB menu is rotated 90 degrees

The workaround is to tilt your head. Issue affects:

  • GPD Pocket
  • GPD Pocket 3
  • GPD MicroPC
  • GPD WIN 2
  • GPD WIN Max
  • TopJoy Falcon

Boot splash is rotated 90 degrees

The workaround is to tilt your head. Issue affects:

  • GPD WIN Max

Touch coordinates incorrect when external HDMI monitor is connected

When a HDMI display is connected, the touch coordinates on the internal display are incorrect. Issue affects:

  • GPD Pocket 3

The Scripts

These scripts have been tested on Ubuntu MATE 20.04.1. All Ubuntu flavours should work although if you use Wayland your mileage may vary.

umpc-ubuntu.sh

Install one of the Ubuntu 20.04 (or newer) flavours on a supported UMPC device and run the following to inject the required hardware configuration.

git clone https://github.com/wimpysworld/umpc-ubuntu.git
cd umpc-ubuntu

Edit ./umpc-ubuntu.sh and change UMPC="gpd-pocket3" at the top of the script to match your computer, supported options are: gpd-pocket, gpd-pocket2, gpd-pocket3, gpd-p2-max, gpd-micropc, gpd-win2, gpd-win-max or topjoy-falcon.

Then run the script to enable the configuration tweaks.

sudo ./umpc-ubuntu.sh enable

umpc-ubuntu-respin.sh

git clone https://github.com/wimpysworld/umpc-ubuntu.git
cd umpc-ubuntu
  • Download an .iso image for one of the Ubuntu MATE 20.04 (or newer) or one of the other Ubuntu flavours.
sudo ./umpc-ubuntu-respin.sh -d gpd-pocket ubuntu-mate-20.04.3-desktop-amd64.iso
sudo ./umpc-ubuntu-respin.sh -d gpd-pocket2 ubuntu-mate-20.04.3-desktop-amd64.iso
sudo ./umpc-ubuntu-respin.sh -d gpd-pocket3 ubuntu-mate-21.10-desktop-amd64.iso
sudo ./umpc-ubuntu-respin.sh -d gpd-micropc ubuntu-mate-20.04.3-desktop-amd64.iso
sudo ./umpc-ubuntu-respin.sh -d gpd-p2-max ubuntu-mate-20.04.3-desktop-amd64.iso
sudo ./umpc-ubuntu-respin.sh -d gpd-win2 ubuntu-mate-20.04.3-desktop-amd64.iso
sudo ./umpc-ubuntu-respin.sh -d gpd-win-max ubuntu-mate-20.04.3-desktop-amd64.iso
sudo ./umpc-ubuntu-respin.sh -d topjoy-falcon ubuntu-mate-20.04.3-desktop-amd64.iso

A new .iso will be created that includes the additional hardware tweaks required by the selected UMPC device.

Accessing boot menus & BIOS

Switch the device on, immediately hold/tap the corresponding key(s).

Device BIOS Boot Menu
GPD Pocket Del Fn + F7
GPD Pocket 2 Fn + F12 Fn + F12
GPD Pocket 3 Fn + F7 Fn + F7
GPD WIN 2(!) Del Del
GPD WIN 3(!) Del Del
GPD MicroPC Del Fn + F7
GPD P2 Max Fn + F7 Fn + F7
GPD WIN Max F7 F7
OneMix Yoga 2 Fn + F7 Fn + F7
TopJoy Falcon Fn + F2 Fn + F12
  • GPD WIN 2/3(!): Boot it by holding Del (Fn+Backspace), navigate to Save & Exit and choose the storage device you want to boot from under Boot Override

Device matrix

Please help complete this table by running the following commands from an Ubuntu Live image:

xrandr --query
xinput
Device Monitor Resolution Rotation Keyboard/Mouse Touch Screen Kernel Req Ubuntu Req Common
GPD Pocket DSI-1 / DSI1 1200x1920 Right SINO WEALTH Gaming Keyboard Goodix Capacitive TouchScreen >= 4.14 >= 18.04.2 gpd-pocket
GPD Pocket 2 eDP-1 / eDP1 1200x1920 Right HAILUCK CO.,LTD USB KEYBOARD Mouse Goodix Capacitive TouchScreen >= 4.18 >= 18.04.2 gpd-pocket2
GPD Pocket 3 DSI-1 / DSI1 1200x1920 Right HAILUCK CO.,LTD USB KEYBOARD Mouse GXTP7380:00 27C6:0113 >= 5.15 >= 22.04 gpd-pocket3
GPD WIN 2 eDP-1 / eDP1 720x1280 Right HK-ZYYK-US-A1-02-00 USB Keyboard Mouse Goodix Capacitive TouchScreen >= 4.18 >= 19.04 gpd-win2
GPD WIN 3 DSI-1 / DSI1 720x1280 Right Goodix Capacitive TouchScreen >= 5.15 >= 22.04 gpd-win3
GPD MicroPC DSI-1 / DSI1 720x1280 Right AMR-4630-XXX-0- 0-1023 USB KEYBOARD Mouse n/a >= 5.2 >= 19.10 gpd-micropc
GPD P2 Max eDP-1 / eDP1 2560x1600 n/a HAILUCK CO.,LTD USB KEYBOARD Mouse Goodix Capacitive TouchScreen gpd-p2-max
GPD WIN Max eDP-1 / eDP1 800x1280 Right HTIX5288:00 093A:0255 Mouse Goodix Capacitive TouchScreen >= 5.4 >= 20.04.1 gpd-win-max
OneMix Yoga 1200x1920 Right HAILUCK CO.,LTD USB KEYBOARD Mouse Goodix Capacitive TouchScreen >= 4.18 >= 18.04.2
OneMix Yoga 1s eDP-1 / eDP1 1200x1920 Right HAILUCK CO.,LTD USB KEYBOARD Mouse Goodix Capacitive TouchScreen >= 4.18 >= 18.04.2 gpd-pocket2
OneMix Yoga 2 eDP-1 / eDP1 1200x1920 Right HAILUCK CO.,LTD USB KEYBOARD Mouse Goodix Capacitive TouchScreen >= 4.18 >= 18.04.2 gpd-pocket2
TopJoy Falcon DSI-1 / DSI1 1200x1920 Right HAILUCK CO.,LTD USB KEYBOARD Mouse Goodix Capacitive TouchScreen >= 4.18 >= 18.04.2 topjoy-falcon
Chuwi Minibook X DSI-1 / DSI1 1200x1920 Right SIPODEV USB Composite Device Mouse

umpc-ubuntu's People

Contributors

a342191555 avatar casainho avatar fijimunkii avatar flexiondotorg avatar llamallama avatar petrmatula190 avatar ricmarques avatar superjamie avatar thatnerdjosh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

umpc-ubuntu's Issues

GPD Pocket 2 screen rotation GRUB commandline improvement video=eDP-1:panel_orientation=right_side_up

I've discovered that both GRUB and Plymouth rotation to landscape works much better with video=eDP-1:panel_orientation=right_side_up on the GPD Pocket 2.

I'd suggest changing gpd-pocket2.cfg from:

GRUB_CMDLINE_LINUX="${GRUB_CMDLINE_LINUX} fbcon=rotate:1"
GRUB_GFXMODE=1200x1920x32

to:

GRUB_CMDLINE_LINUX="${GRUB_CMDLINE_LINUX} splash video=eDP-1:panel_orientation=right_side_up"
GRUB_GFXMODE=1200x1920x32

22.04 GPD P2 Max Digitiser AKA Touchscreen

Respun a Mate 22.04 ISO to install on my GPD P2 Max. Everything works fantastically except for the Digitiser/Touchscreen. Noticed on your stream back in June back on these little devices, you did not test the touchscreen. https://www.youtube.com/watch?v=V1GZ3mFznkU

I have tried an upgrade from 20.04, Built a respin of the 22.04 ( after installing cd-boot-images-amd64 ). Tried running the installation on the actual device umpc-ubuntu.sh

No error messages, nothing in logs files, just touchscreen does not work.

GPD Win Max rotation issues (Ubuntu 20.04)

Respin script fixes the resolution problem but the rotation is still wrong.
Setting a "portrait left" orientation in display settings fixes it, but touch calibration is wrong.

OneMix3pro

I installed Ubuntu 20.04 on onemix3pro and there are multiple issues (screen rotation, touch screen rotation, trackpoint precision, wifi disconnecting, low energy consumption mode Fn+Delete, fingerprint reader, Insert button functionality, fan control, ticking in left channel of audio connector output, multipoint touch screen like maps zoom in).
Could we please keep this issue open till there will be a dedicated repository/scripts to make Ubuntu working well on OneMix3pro? If one already exists and is maintained, please sharing a link. Thank you.
Note that there is also OneMix3pro platinium, AFAICT it is the same as pro but having better CPU, so scripts for pro should be applicable to pro platinium as well.
Machine is usable but many things could be improved.

Touchscreen udev rule not loaded automatically

I updated configuration on my Ubuntu 18.04.3 and my testing Ubuntu 19.04 and found one issue with load udev rule.

On 18.04 (Xorg) i must reload kernel module after login, after touschsreen is rotated correctly.
sudo modprobe -r goodix && sudo modprobe goodix

On 19.04(Wayland/Xorg), touscreen not rotated in any case.

Anybody have the same problem? I am on latest HWE kernel on 18.04 (5.0 like Ubuntu 19.04, but 4.18/4.15 have the same problem).

Stylus can click but not drag or draw

Hello

I tested a stylus on a GDP Pocket 3. Clicking works but using the stylus to grab and move a window or draw a line in a graphics application does not seem to work.

Greets,
Michael

How to handle MicroPC?

I've created an unofficial Ubuntu MATE ISO for the MicroPC using this script: https://gist.github.com/joshskidmore/fa799e12739709d656d55e3ea6e08175

I would love to provide you with a pull request, but I'm unsure of how you want to handle the 5.2 / mainline requirement to support Hans De Goede's upstream patches? Installing the packages would require a drop to chroot which really clutters the simplicity of your script.

Please let me know your thoughts on this, and I'll get you a pull request.

touch support not working properly

The touch screen is being recognized as a mouse, instead of as a touch device. As a result two finger scrolling and a number of other things do not seem to work, whereas these do work on Windows. Is there something I'm missing?

Failures on TopJoy Falcon

I have just installed the TopJoy Falcon ISO (via the “try” and then “install” option on a USB Stick).
I allocated a 30GB partition for Ubuntu but kept Windows.
After install, it asked me to reboot, which I did.
It did not boot GRUB, but instead Windows. I had to go into the BIOS and swap the UEFI Boot Order so the Ubuntu partition came first.
I rebooted and saw a normal sized (not native resolution) GRUB menu (rotated 90 degrees).
Then, I selected Ubuntu.
The screen is completely garbled (lots of very thin slices). I used basic reasoning to shut it down and start it again.
This time the GRUB menu was at native resolution (the text was much much smaller).
I again selected Ubuntu.
Same issue.
Start over, this time selected recovery mode (always on the 5 kernel)
Now got the pink menu with choices to drop to root or resume.
I selected resume.
Now I had a native resolution screen, rotated 90 degrees.
I logged in, and attempted to rotate using the system displays menu or the xrandr but both allowed no rotation to occur (and xrandr had an error about gamma detection).
I restarted again and tried normal, same garbled screen for both login and the desktop.

What can I write at the root prompt to provide more info? What can I do to fix it? Should I just try installing again?

Cannot wake from suspend.

Hi!

I have a GPD Win 2 that I installed Ubuntu MATE 20.04. Everything works after running the script except whenever I suspend it (either by closing the lid or clicking Suspend in the menu), the system will not wake up.

Is there a configuration that I am missing? I really don't want to go back to Windows.

Screen not turning back on after closing lid on GPD Pocket 2 with Ubuntu

https://www.reddit.com/r/GPDPocket/comments/aohdbj/screen_not_turning_back_on_after_closing_lid_on/

I along with the original reporter kincaidDev has encontered an issue, where sometimes closing the lid does not turn off the laptop. This essentally leads to the gpd pocket 2 to become very hot and the battery to be depleted.

Also sometimes opening the lid leaves a black screen that is solved by closing and opening it again slowly.


syslog during none fault

00:19:03 systemd[1]: Starting Suspend...
00:19:03 systemd-sleep[18134]: Suspending system...
00:19:03 kernel: [53332.812446] PM: suspend entry (deep)
00:19:03 wpa_supplicant[890]: nl80211: deinit ifname=wlp1s0 disabled_11b_rates=0
00:19:03 kernel: [53332.812448] PM: Syncing filesystems ... done.
03:08:24 kernel: [53333.087046] Freezing user space processes ... (elapsed 0.003 seconds) done.
03:08:24 kernel: [53333.090322] OOM killer disabled.
03:08:24 kernel: [53333.090323] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
03:08:24 kernel: [53333.091937] Suspending console(s) (use no_console_suspend to debug)
03:08:24 kernel: [53333.755107] ACPI: EC: interrupt blocked
03:08:24 kernel: [53333.799107] ACPI: Preparing to enter system sleep state S3
03:08:24 kernel: [53333.800522] ACPI: EC: event blocked
03:08:24 kernel: [53333.800523] ACPI: EC: EC stopped
03:08:24 kernel: [53333.800524] PM: Saving platform NVS memory
03:08:24 kernel: [53333.800539] Disabling non-boot CPUs ...
03:08:24 kernel: [53333.815587] smpboot: CPU 1 is now offline
03:08:24 kernel: [53333.838596] IRQ 124: no longer affine to CPU2
03:08:24 kernel: [53333.840666] smpboot: CPU 2 is now offline
03:08:24 kernel: [53333.866418] IRQ 123: no longer affine to CPU3
03:08:24 kernel: [53333.866431] IRQ 126: no longer affine to CPU3
03:08:24 kernel: [53333.867449] smpboot: CPU 3 is now offline
03:08:24 kernel: [53333.874051] ACPI: Low-level resume complete
03:08:24 kernel: [53333.874181] ACPI: EC: EC started
03:08:24 kernel: [53333.874182] PM: Restoring platform NVS memory
03:08:24 kernel: [53333.874981] Enabling non-boot CPUs ...
03:08:24 kernel: [53333.875065] x86: Booting SMP configuration:
03:08:24 kernel: [53333.875067] smpboot: Booting Node 0 Processor 1 APIC 0x2
03:08:24 kernel: [53333.876210]  cache: parent cpu1 should not be sleeping
03:08:24 kernel: [53333.876462] CPU1 is up
03:08:24 kernel: [53333.876493] smpboot: Booting Node 0 Processor 2 APIC 0x1
03:08:24 kernel: [53333.877093]  cache: parent cpu2 should not be sleeping
03:08:24 kernel: [53333.877270] CPU2 is up
03:08:24 kernel: [53333.877314] smpboot: Booting Node 0 Processor 3 APIC 0x3
03:08:24 kernel: [53333.877840]  cache: parent cpu3 should not be sleeping
03:08:24 kernel: [53333.878023] CPU3 is up
03:08:24 kernel: [53333.882228] ACPI: Waking up from system sleep state S3
03:08:24 kernel: [53333.892182] ACPI: EC: interrupt unblocked
03:08:24 kernel: [53333.936530] ACPI: EC: event unblocked
03:08:24 kernel: [53334.171499] usb 1-7: reset full-speed USB device number 2 using xhci_hcd
03:08:24 kernel: [53334.323405] acpi LNXPOWER:00: Turning OFF
03:08:24 kernel: [53334.323536] OOM killer enabled.
03:08:24 kernel: [53334.323537] Restarting tasks ... done.
03:08:24 kernel: [53334.337365] thermal thermal_zone3: failed to read out thermal zone (-61)
03:08:24 bluetoothd[899]: Endpoint unregistered: sender=:1.44 path=/MediaEndpoint/A2DPSource
03:08:24 NetworkManager[886]: <info>  [1550246904.4835] bluez5: NAP: removed interface 38:DE:AD:70:F5:20
03:08:24 bluetoothd[899]: Endpoint unregistered: sender=:1.44 path=/MediaEndpoint/A2DPSink
03:08:24 systemd[1]: Starting Load/Save RF Kill Switch Status...
03:08:24 systemd[1]: bluetooth.target: Unit not needed anymore. Stopping.
03:08:24 systemd[1]: Stopped target Bluetooth.
03:08:24 kernel: [53334.352354] Bluetooth: hci0: read Intel version: 370810011003110e00
03:08:24 kernel: [53334.352360] Bluetooth: hci0: Intel Bluetooth firmware file: intel/ibt-hw-37.8.10-fw-1.10.3.11.e.bseq
03:08:24 systemd[1]: Started Load/Save RF Kill Switch Status.
03:08:24 systemd[1]: Reached target Bluetooth.
03:08:24 kernel: [53334.379303] PM: suspend exit
03:08:24 systemd-sleep[18134]: System resumed.

syslog during fault

tail -n 100 -f /var/log/syslog

22:34:12 systemd[1]: Reached target Sleep.
22:34:12 systemd[1]: Starting Suspend...
22:34:12 kernel: [53026.262653] PM: suspend entry (deep)
22:34:12 systemd-sleep[17609]: Suspending system...
22:34:12 wpa_supplicant[890]: nl80211: deinit ifname=wlp1s0 disabled_11b_rates=0
22:34:18 kernel: [53026.262655] PM: Syncing filesystems ... done.
22:34:18 kernel: [53026.458485] Freezing user space processes ... (elapsed 0.003 seconds) done.
22:34:18 kernel: [53026.462324] OOM killer disabled.
22:34:18 kernel: [53026.462325] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
22:34:18 kernel: [53026.463962] Suspending console(s) (use no_console_suspend to debug)
22:34:18 kernel: [53027.141651] ACPI: EC: interrupt blocked
22:34:18 kernel: [53027.185549] ACPI: Preparing to enter system sleep state S3
22:34:18 kernel: [53027.186961] ACPI: EC: event blocked
22:34:18 kernel: [53027.186962] ACPI: EC: EC stopped
22:34:18 kernel: [53027.186964] PM: Saving platform NVS memory
22:34:18 kernel: [53027.186979] Disabling non-boot CPUs ...
22:34:18 kernel: [53027.202981] smpboot: CPU 1 is now offline
22:34:18 kernel: [53027.224954] IRQ 124: no longer affine to CPU2
22:34:18 kernel: [53027.225980] smpboot: CPU 2 is now offline
22:34:18 kernel: [53027.248982] IRQ 123: no longer affine to CPU3
22:34:18 kernel: [53027.248996] IRQ 126: no longer affine to CPU3
22:34:18 kernel: [53027.250021] smpboot: CPU 3 is now offline
22:34:18 kernel: [53027.257027] ACPI: Low-level resume complete
22:34:18 kernel: [53027.257159] ACPI: EC: EC started
22:34:18 kernel: [53027.257160] PM: Restoring platform NVS memory
22:34:18 kernel: [53027.257941] Enabling non-boot CPUs ...
22:34:18 kernel: [53027.258026] x86: Booting SMP configuration:
22:34:18 kernel: [53027.258028] smpboot: Booting Node 0 Processor 1 APIC 0x2
22:34:18 kernel: [53027.259181]  cache: parent cpu1 should not be sleeping
22:34:18 kernel: [53027.259437] CPU1 is up
22:34:18 kernel: [53027.259467] smpboot: Booting Node 0 Processor 2 APIC 0x1
22:34:18 kernel: [53027.260070]  cache: parent cpu2 should not be sleeping
22:34:18 kernel: [53027.260249] CPU2 is up
22:34:18 kernel: [53027.260291] smpboot: Booting Node 0 Processor 3 APIC 0x3
22:34:18 kernel: [53027.260817]  cache: parent cpu3 should not be sleeping
22:34:18 kernel: [53027.261001] CPU3 is up
22:34:18 kernel: [53027.265206] ACPI: Waking up from system sleep state S3
22:34:18 kernel: [53027.274691] ACPI: EC: interrupt unblocked
22:34:18 kernel: [53027.319047] ACPI: EC: event unblocked
22:34:18 kernel: [53027.558211] usb 1-7: reset full-speed USB device number 2 using xhci_hcd
22:34:18 kernel: [53027.709557] acpi LNXPOWER:00: Turning OFF
22:34:18 kernel: [53027.709679] OOM killer enabled.
22:34:18 kernel: [53027.709681] Restarting tasks ... done.
22:34:18 kernel: [53027.716887] thermal thermal_zone3: failed to read out thermal zone (-61)
22:34:18 bluetoothd[899]: Endpoint unregistered: sender=:1.44 path=/MediaEndpoint/A2DPSource
22:34:18 bluetoothd[899]: Endpoint unregistered: sender=:1.44 path=/MediaEndpoint/A2DPSink
22:34:18 kernel: [53027.723971] Bluetooth: hci0: read Intel version: 370810011003110e00
22:34:18 kernel: [53027.723984] Bluetooth: hci0: Intel Bluetooth firmware file: intel/ibt-hw-37.8.10-fw-1.10.3.11.e.bseq
22:34:18 NetworkManager[886]: <info>  [1550230458.4711] bluez5: NAP: removed interface 38:DE:AD:70:F5:20
22:34:18 systemd[1]: Starting Load/Save RF Kill Switch Status...
22:34:18 systemd[1]: bluetooth.target: Unit not needed anymore. Stopping.
22:34:18 systemd[1]: Stopped target Bluetooth.
22:34:18 dbus-daemon[1504]: [session uid=1000 pid=1504] Activating service name='org.freedesktop.Notifications' requested by ':1.32' (uid=1000 pid=1952 comm="nm-applet " label="unconfined")
22:34:18 systemd[1]: Started Load/Save RF Kill Switch Status.
22:34:18 systemd[1]: Reached target Bluetooth.
22:34:18 systemd-sleep[17609]: System resumed.
22:34:18 kernel: [53027.784689] PM: suspend exit
22:34:18 systemd[1]: Started Suspend.
22:34:18 systemd[1]: sleep.target: Unit not needed anymore. Stopping.
22:34:18 systemd[1]: Stopped target Sleep.
22:34:18 systemd[1]: Reached target Suspend.
22:34:18 systemd[1]: suspend.target: Unit not needed anymore. Stopping.
22:34:18 systemd[1]: Stopped target Suspend.

Performance issues on GPD Poket 3 and DRI

Hello!

I encountered extremely poor performance in Godot on GPD Pocket 3 (i7 version) with DRI. Commenting out the following line from /data/20-gpd-pocket3-intel.conf fixes the issue for me.

Option "DRI" "1"

Thank you very much for your work!

audio issues on pocket 1

i did a fresh install of kubuntu 21.10 and updated the kernel to 5.16.3. afterwards i ran your script with gpd-pocket for model 1.

the sound worked out of the box even before using your script, however when i watch videos which are accelerated by i965 vaapi (vlc,firefox) then the audio all of sudden stops playing after about 1:30min and i get a high pitched permanent beep until i close the application that played the video. restarting the video gives me another 1:30 minutes of sound until the beep reoccurs...

i didnt find any solution on google ...any advice?

ubuntu mate touchscreen and popos 22.04 issues

Hello there

I'm trying to install ubuntu mate on my GPD pocket 3.
If I respin an image like 22.04, when I am running the live USB everything works but if I install the distro everything works except touchscreen which seems to be inverted.
It is the same with the preset image Impish 21.10.
I tried to run umpc-ubuntu script many times after install but it does nothing more.
But I have to tell that when I'm using a stylus it's ok, the pointer is calibrated well, the issue is only when using the hand.

Do you have some ideas to help me fiix that please ?
thanks for your help !

best regards

Thibault

Screen flicking after login, on GPD Pocket 3

Thank you for this great script, it helps me a lot.

I'm trying this on GPD Pocket 3, with Ubuntu 20.04, kernal 5.13.0-27. I have tested this in two times on new-installed system. (only run apt update and upgrade to the new kernal, to make the touch screen and network work will)

I got this strange behavior:
After login, screen began to flick for a while and then seem to stop freshing framebuffer (no update on screean but if rotate, it will refresh for one frame.). Switching to other tty and then switch back will fix this problem.

This makes me confused to find out the reason, Maybe something with monitor configuration or framebuffer configs.

can anyone help me?

how about Ubuntu MATE 18.04.2 LTS image?

is this in progress?

Ubuntu MATE 18.04 LTS image?
When Ubuntu MATE 18.04.2 is released in February 2019 we will evaluate creating an image that supports the GPD Pocket and GPD Pocket 2. Ubuntu MATE 18.04.2 will include the hardware enablement stack from Ubuntu 18.10 and that should provide the bulk of the required hardware support.

GPD Pocket 3 rotate issues

At least on my pocket 3, the program wants to rotate pen and stylus right. But I need the first transformation matrix to get the touch screen right in normal laptop mode:

xinput set-prop "GXTP7380:00 27C6:0113" "Coordinate Transformation Matrix" 1 0 0 0 1 0 0 0 1

Additionally, I get no further message even when rotating the device. A hacked
fprintf(stderr, "%d %d %d\n",x,y,z); gets always
50 0 -54

the raw data:
202 -3 -216
.

feature: auto switch display on an external monitor

some time, using GPD P2 (M1 for short) to slideshow need an external monitor(called M2) via TYPE-C(HDMI/VGA),
so, could you please develop this feature,

if M2 pulgs in; then; M1 turns off
if M2 plugs out; then; M1 turns on

I'v been try , but not works well

gpd-display-scaler rescales any 1920x1200 display, not just the internal panel

Steps to reproduce:

  • GPD Pocket 2 (amber black in this case)
  • External 1920x1200 HDMI display connected via adapter. I have mine set as primary but doubt that makes a difference.
  • Reboot, login and let gpd-display-scaler run
  • Marvel at the comically big fonts on your external monitor :(

Looking at the output of xrandr it seems the Pocket's internal display is always listed as eDP1 and the external is always DP1.

A second, possibly-related problem sometimes occurs when I disconnect then reconnect the HDMI monitor. It starts out at 1:1 scaling but upon reconnection is set to the same 0.64x0.64 as the built-in panel. If the DP1 and eDP1 names are static it might therefore make sense to reset it whenever gpd-display-scaler runs.

My "fixed" script looks like:

# If internal display is present & set to high res, scale it
if [ xrandr | egrep --quiet "^eDP1 connected" ]; then
  if [ "${PANEL_RESOLUTION}" == "1920x1200" ]; then
    xrandr --output eDP1 --scale 0.64x0.64
  fi
fi

# (re)set external display as 1x1 as scale can be forgotten upon reconnect
if [ xrandr | egrep --quiet "^DP1 connected" ]; then
  xrandr --output DP1 --scale 1x1
fi

The check for eDP1 being 1920x1200 might now be superfluous. I can't think of any situations where it would be running at another res where scaling isn't desired, but maybe I'm missing somebody else's use case.

I'd submit this as a PR but I don't have any other GPD Pockets to test it on so my assumption about monitor names may be flawed. Best if somebody with access to more devices can test it first.

Typo in umpc-ubuntu.sh

@flexiondotorg -- First of all, thanks for everything that you and others have done over the years to bring Ubuntu to UMPC devices. Because of you, I am now running Ubuntu 20.04 very successfully on the GPD Pocket 2; a journey that started with Ubuntu MATE 18.10.

There is, however, a typo in the script umpc-ubuntu.sh, which I have used to inject config files into existing installations: the variable TOUCH_RULES is defined at the start of the script, but ${TOUCH_CONF} is used in error in the function disable_umpc_config().

The consequence is that disabling the configuration leaves the touchscreen unusable, as the injected touchscreen config file is not removed by the script.

I would fix this myself, but I'm a noob when it comes to GitHub and I don't want to cock it up!

New P2Max 2022 2560x1600

Hi - I have one of the new P2Max 2022 umpc's which came with a 2560x1600 IPS display. It's like quad rendering the desktop and locked at 1024x768. The device is pretty similar to a pocket 3 in most aspects but the display and it doesn't need rotation so I tried modifying the display values for the p3 scripts and I set the interfaces to eDP1 and ran them successfully but my issue is still the same. Any thoughts on what I can do to fix this? Thanks for the scripts and what you've done so far!

image

Request update for GPD WIN MAX

Since the GPD WIN MAX has been released, I've bought one. However,I've followed instructions for pocket2 to fix the screen rotation issue, but didn't work.

Besides, a YouTube video ( https://www.youtube.com/watch?v=PRdaV1cSOfo ) shows the screen can, in some way, work in the correct direction.

It seems nobody has discussed about the WIN MAX here and in reddit. So could anyone help me plz?

Package dependency bug running umpc-ubuntu-respin.sh from vanilla 20.04 Ubuntu package = cd-boot-images-amd64

umpc-ubuntu-respin.sh tries to install cd-boot-images-amd64 package on line 141:

apt-get -y install cd-boot-images-amd64

This package does not exist on Ubuntu 20.04, so fails with error.

A 22.04 version package can be installed manually using:

wget http://mirrors.kernel.org/ubuntu/pool/main/c/cd-boot-images-amd64/cd-boot-images-amd64_20_all.deb
sudo apt install ./cd-boot-images-amd64_20_all.deb

There also seems to be a bunch of cleanup errors after an .ISO has been built

Does not rotate the screen at anypoint under Ubuntu 19.04 Daily 2019-03-18

any pointers on where to start looking to help update this. Last time I debugged weird X issues, systemd was round, so I am not sure where to go looking for the X startup messages anymore.

Downloaded the script (gpd-pocket-ubuntu.sh) and ran it as root with the 'enable' flag. I can see where it updated the files correctly, but I get no rotation.

Let me know where to look, and I will give it a look to see if I can figure it out.

Ubuntu Mate 20.04 kernel issues

GPD Pocket
Ubuntu Mate 20.04, 5.4.0-29-generic

I have installed Ubuntu Mate 20.04 respinned with script and I have plenty of errors in my dmesg. Should I build my own kernel? There is no config file in the repository.

[    2.396373] ACPI Error: No handler for Region [REGS] (00000000f4ebab41) [UserDefinedRegion] (20190816/evregion-127)
[    2.396384] ACPI Error: Region UserDefinedRegion (ID=143) has no handler (20190816/exfldio-261)
...
[    2.396418] ACPI Error: Aborting method \_SB.PCI0.I2C7.PMI5.GET due to previous error (AE_NOT_EXIST) (20190816/psparse-529)
[    2.396431] ACPI Error: Aborting method \_SB.PCI0.SHC1._PS0 due to previous error (AE_NOT_EXIST) (20190816/psparse-529)
...
[    7.107496] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4356-pcie for chip BCM4356/2
...
[    7.280445] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4356-pcie for chip BCM4356/2
[    7.280546] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available
[    7.281048] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4356/2 wl0: Oct 23 2017 05:12:10 version 7.35.180.176 (r674455 CY) FWID 01-7386a497
...
[   25.962438] [drm:mipi_exec_pmic [i915]] *ERROR* Your hardware requires CONFIG_PMIC_OPREGION and it is not set
[   26.016562] [drm:mipi_exec_pmic [i915]] *ERROR* Your hardware requires CONFIG_PMIC_OPREGION and it is not set

Request 👍 New 7 Inch umpc

There are several of the same 7 inch mini laptops under different names like MeeGoPad
https://www.alibaba.com/product-detail/MeeGOpad-7-inch-1280-720-J4125_1600647440639.html

on Amazon [UDKED 7-inch Notebook with Windows 11 ]
(https://www.amazon.co.uk/UDKED-Notebook-MiniHDMI-Connectivity-Terminals/dp/B0C28DTNKP/ref=sr_1_3?crid=8X4BS5ZXMRCK&keywords=7-inch+Notebook+with+Windows+11&qid=1690802356&sprefix=7-inch+notebook+with+windows+11%2Caps%2C125&sr=8-3)
Kingnovy
FsJun
Toposh
SomeNameHere
OEM versions https://www.alibaba.com/product-detail/7-Inch-Mini-Laptop-J4125-J4105_1600535420701.html

Many people have tried various versions of Linux on this device only to stumble with the touchscreen and suspend/resume
I have one coming tomorrow , could you add support for this also , feel free to contact me so i can help run any required commands to gather needed infos , thanks Stevie

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.