GPD MicroPC

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

  1. Silent-Hunter

    Silent-Hunter Hardcore Member

    Joined:
    May 29, 2010
    Messages:
    3,025
    I dislike Ubuntu, so hopefully Debian really will work.
    --- Double Post Merged, Jun 24, 2019, Original Post Date: Jun 24, 2019 ---
    I really don't want to have to join a discord server though. Will the patches be uploaded anywhere else?
    --- Double Post Merged, Jun 24, 2019 ---
    Also, yeah, the built-in keypad doesn't work in the debian installer. That's weird, isn't it just an internal PS/2 interface like most laptops?
     
  2. levi

    levi Still fresh, damnit!

    Joined:
    Oct 6, 2008
    Messages:
    10,986
    Location:
    Somewhere off the coast of the EU
    That patches are already in kernel version 5.2rc5 and will be in stock 5.2 once that's ready. I'd expect them to be backported to older supported kernels too, although to be fair I don't know exactly how that works.

    Here's the panel rotation patch from hans: https://git.kernel.org/pub/scm/linu.../?id=652b8b086538c8a10de5aa5cbdaef79333b46358

    There are other patches from him on that page and the one before at the very least, but that's the main one of interest I assume.
     
  3. Silent-Hunter

    Silent-Hunter Hardcore Member

    Joined:
    May 29, 2010
    Messages:
    3,025
    Will the screen be automatically rotated when I add the new kernel? Or will I need to do something to it?
     
  4. levi

    levi Still fresh, damnit!

    Joined:
    Oct 6, 2008
    Messages:
    10,986
    Location:
    Somewhere off the coast of the EU
    Providing you install a kernel with that patch included, it looks like it defines the rotation needed as standard. That's the main reason I linked that particular changeset.
     
  5. Silent-Hunter

    Silent-Hunter Hardcore Member

    Joined:
    May 29, 2010
    Messages:
    3,025
    Okay. Unfortunately it doesn't look like 5.2rc5 is in the debian experimental repo.
     
  6. levi

    levi Still fresh, damnit!

    Joined:
    Oct 6, 2008
    Messages:
    10,986
    Location:
    Somewhere off the coast of the EU
    Yeah, debian doesn't use the latest kernels. Stable seems to be on 4.9, testing and unstable on 4.19. Stuff should be backported to those kernels in time, but I don't quite understand why stable claimed to be using 4.9.65 while the kernel community's supported version for that is 4.9.183, but I guess debian doesn't take all of the backports and maintains their own old kernels, so I guess we'll have to wait and see if they decide to backport that one.

    But I'm sure there are more than a few of you who've got a GPD Micro on order and want to use Linux on it, and someone will produce packages for you. Just follow the crowd, and even if they take you to ubuntu that's not the end of the world.
     
  7. Eight Bit

    Eight Bit Hardcore Member

    Joined:
    Nov 16, 2008
    Messages:
    1,620
    Location:
    Amsterdam, Netherlands
    I just received mine, nice device! I'm typing this post on it right now. In windows though, I'll wait for such a linux package myself :)
     
    crazyhorse and levi like this.
  8. ckblackm

    ckblackm Member

    Joined:
    Dec 3, 2008
    Messages:
    446
    Location:
    North Carolina, USA
    I'm going to leave mine on Windows right now until some time's passed for all the kinks to be worked out. Besides.. it makes a pretty good video streamer for the Women's World Cup soccer matches.
     
    Last edited: Jun 25, 2019
    Nintendo likes this.
  9. Silent-Hunter

    Silent-Hunter Hardcore Member

    Joined:
    May 29, 2010
    Messages:
    3,025
    Could I trouble anyone for a link to the kernel sources I should be using? I don't want to use the wrong ones.
     
  10. levi

    levi Still fresh, damnit!

    Joined:
    Oct 6, 2008
    Messages:
    10,986
    Location:
    Somewhere off the coast of the EU
    Here's kernel v5.2rc6 sources which includes the rc5 patches you're interested in plus extra good stuff. In a little while, proper v5.2 should be released though, and then you should use that in preference, or use the patches backported into a closer kernel to the one your system started with.

    As far as I understand it, running with the wrong kernel won't stop your machine booting or running many applications, although if the kernel build doesn't populate /usr/lib/modules some things will likely fail like mounting usb and network devices might fail. Actually if you've anything pluggable automounted by your fstab then that might affect booting too, and you'll end up dropped back to an emergency shell. Maybe on consideration, I'd try putting those patches I linked previously against a more representative set of sources. The kernels that debian uses in its stable release is still supported until 2023 for example, but first I'd see if the kernel build populates that folder.

    Edit: Or just live with the screen being rotated for a few weeks until this all gets sorted out amicably. This machine comes with an RS232 port for example, so perhaps getting used to using that might be a valuable use of your time.
     
  11. Silent-Hunter

    Silent-Hunter Hardcore Member

    Joined:
    May 29, 2010
    Messages:
    3,025
    Well, I've never built a kernel before (except with Gentoo's tools). But I'll give it a try. Will it build in support for everything? Or do I have to use that curses menu thing to select what kernel features I need?
     
  12. levi

    levi Still fresh, damnit!

    Joined:
    Oct 6, 2008
    Messages:
    10,986
    Location:
    Somewhere off the coast of the EU
    No idea, I've not built a kernel since the late 90s myself. I find a little patience is usually all that's required for devices to be supported properly in whatever kernel you want to use, but it's fair to say I don't buy a lot of brand new computers for this reason.
     
    Last edited: Jun 26, 2019
  13. Silent-Hunter

    Silent-Hunter Hardcore Member

    Joined:
    May 29, 2010
    Messages:
    3,025
    I'll just give it a try.
    --- Double Post Merged, Jun 27, 2019, Original Post Date: Jun 26, 2019 ---
    Well, it's building now. I guess we'll see!
    --- Double Post Merged, Jun 27, 2019 ---
    Well, it didn't work. It gave a mipi related gpio error several times, and is still sideways.
    --- Double Post Merged, Jun 27, 2019 ---
    Should I have done `make defconfig` instead of `make oldconfig`?
     
    levi likes this.
  14. Grench

    Grench Forum Addict!

    Joined:
    Oct 3, 2008
    Messages:
    6,045
    Is there any chance that the work that was done to get rotation properly working on the GPD micro PC may have application to getting the combined rotation and 3D working on the Pyra? It sounds like the two issues may be similar enough for some learning?
     
  15. Silent-Hunter

    Silent-Hunter Hardcore Member

    Joined:
    May 29, 2010
    Messages:
    3,025
    I wish I knew exactly what kernel option this patch is in. It may be unchecked.
    --- Double Post Merged, Jun 27, 2019, Original Post Date: Jun 27, 2019 ---
    I found it, and it was checked, so I don't know.
    --- Double Post Merged, Jun 27, 2019 ---
    I tried it again, and it's still not working.
    IMG_20190626_190251_DRO.jpg
     
  16. levi

    levi Still fresh, damnit!

    Joined:
    Oct 6, 2008
    Messages:
    10,986
    Location:
    Somewhere off the coast of the EU
    As far as I can see, the rotation should only expect to be applied inside X. It's defined as a dri quirk, which I read is to control how mesa works, so wouldn't be much use on the Pyra project where we're trying to use TIs tiler subsystem to do the rotation outside of X too, and to have it not interfere with the use of OpenGLES.
     
  17. EvilDragon

    EvilDragon Administrator Staff Member

    Joined:
    Mar 4, 2003
    Messages:
    19,693
    Location:
    Ingolstadt
    Totally unrelated. 3D also works on the Pyra with rotation, just not yet with the hacked up TILER we're using right now. And there's nothing to learn, it's known why this happens and how to fix it. It was just a lack of time to rewrite the TILER test into a propely working environment.
    Basically, Matthijs just did a quick proof of concept to show TILER can be used for fast rotation (so we can get rid of the rotator chip), it's never been meant to be used in that state.
     
    ClockworkCoder and Grench like this.
  18. Silent-Hunter

    Silent-Hunter Hardcore Member

    Joined:
    May 29, 2010
    Messages:
    3,025
    Oh, because I had to use "xrandr -o right" to rotate it, and VAAPI and VDPAU don't work, so Moonlight game streaming app complains. I assumed that was because the rotation was killing accelerated video support.
     
  19. SNESFAN

    SNESFAN Retro game fanatic

    Joined:
    Oct 3, 2008
    Messages:
    3,405
    Location:
    Fort Knox, KY. USA
     
    Last edited: Jun 30, 2019
    crazyhorse, Eight Bit and levi like this.
  20. Silent-Hunter

    Silent-Hunter Hardcore Member

    Joined:
    May 29, 2010
    Messages:
    3,025
    Hmm... I wonder if there's a way to get just the kernel package from that.
    --- Double Post Merged, Jun 30, 2019, Original Post Date: Jun 30, 2019 ---
    I added the xorg.conf.d files from that source link and now there's no tearing, but still no vdpau or vaapi support, so moonlight still complains about no h264 acceleration.
     

Share This Page

Loading...