I want to give as much info as possible so that what I am asking for is clearly known. Therefore before I start. I apologize. There is going to be a lot of stuff here. Lots of reading perhaps.
I am going to try very hard to stick only to the point.
As it says this is an 8 inch GPD WIN MAX. Some may be familiar with it.
I am pasting here first the link to the actual POST in Reddit where the solution was given:
Now I am actually going to include the info from that post here for redundancy and maybe
to save time. It is actually pretty simple and mostly clear. I am familiar with Debian and have
Debian working on it right now.
The FIX:
The EDID information identifying the display isnât in ACPI like on the Win 2. I extracted it from Windows (still not sure what the source is, it could be only in the registry) and saved the copy in u /lib/firmware/edid/gpdwinmax.bin
, then passed the kernel parameters to load it:
video=eDP-1:800x1280 drm.edid_firmware=eDP-1:edid/gpdwinmax.bin fbcon=rotate:1
(Note: This works fine here as I did this in Manjaro a few months ago when I first got this unit.)
This sets the console rotation and video mode, but not the GUI rotation; in gnome, this had to be set to âPortrait Leftâ. The kernel parameters were in my case stored in /etc/default/grub
.
(Actually I canât recall now. Maybe the rotation did not work in Grub or Framebuffer. The important part
is being able to see your screen at login and once you login. Login was not rotated. I use Plasma or Xfce.)
If you want a copy of my EDID, paste the following into:
base64 --decode > /lib/firmware/edid/gpdwinmax.bin
AP///////wAJ5QMAAwAAAAEdAQOACxF4LwAAoFdJmyYQSE8AAAABAQEBAQEBAQEBAQEBAQEBwhog
UDAAEFAQEDIAbKwAAAAYAAAA/ABUVjA4MFdVTS1OTDAKAAAA/QA8PBAQBwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMM=
(not sure whatâs going on with the forum options here. May be better to get that from the original article.)
Ok, all the above was done and it worked at least I could see my screen and it didnât make you feel like you had blurry vision or had been drugged. (Quad vision overlapping images on the display because not only was the original size not detected. Neither was the proper refresh rate. Best if you have another monitor to plug in to do your install.) Can rotate it once logged in. But the next part will get you that and
let it stay there.
The NEXT PART is all I needed and on several ARCH based distro forums and of course Manjaro Forum I could not get an answer how to set this basically to start at boot. I DID read the Arch Wiki
and I didnât know whether I needed to use wiki.archlinux index.php Mkinitcpio#Customized_generation
Mkinitcpio or another tool or process. I also hadnât figured out what exactly I needed to tell Mkinitcpio.
It is done like this in an RPM Distro, Fedora too I think.
echo âinstall_items+=" /lib/firmware/edid/gpdwinmax.bin "â > /etc/dracut.conf.d/99-edid.conf
(I even saw in the ARCH wiki that you could install Dracut to do this with in fact.)
Itâs done like this in Debian per the posts instructions:
If your system starts DRM early, as mine does, youâll want to have the EDID in the initramfs to get the console mode right. I did this using a hook /etc/initramfs-tools/hooks/edid
, so update-initramfs -u
would add the EDID file. Contents of the hook script:
```#!/bin/sh
case $1 in
prereqs)
exit 0
;;
esac
. /usr/share/initramfs-tools/hook-functions
copy_file EDID /lib/firmware/edid/gpdwinmax.bin```
So my question is how do I achieve this 2nd part here in âRebornOSâ?
All the previous stuff I can get going but how do I make it load the custom-edid at boot? How exactly to
get EDID in the initramfs? The mystery. (Another option to do this from reading is I think to edit Xorg.conf I believe and tell Xorg to use the EDID for that particular device, the default screen since plugging everything else into HDMI at least is normal. (I have no idea what the result would be using USB C or the Thunderbolt plug. I have no hardware to plug those into)
Sorry if this post may have been longer than needed but just want to try to include all the needed
info to what I want the answer too.
Thank you in advance for reading my LONG post.
Looking forward to getting RebornOS on the âLittle beastâ!
(My nickname for this problematic hardware. Why on earth a screen that does not give itâs information? Seems like they purposely tried to force people not to use anything else. All other hardware on it is Intel and any Linux as I discovered a few months ago will run the other hardware except the screen. Well, those that could even make it past the screen to boot into a blurry screen and that was a small number. It does need the newer kernel 5.10+. )