So you got a black screen? But you can read the resolutions from /sys/class/drm/card0-DP-1/modes
? It is strange because the resolutions are detetced.
Technically yes, but it’s an e-ink screen, so it’s not black. But you can see it power up during boot and then power off again, in the video below, the frontlight is on, so you can see very clearly when it turns off.
Yeah, in the journalctl
logs you can also see it tries to set the mode, from above:
I guess it goes wrong after doing that.
Hello @graphicore
Does this video is only connect this dp screen to Edge2 and no HDMI screen connected? Could you provide the information to us based on this video?
$ sudo -i # switch to root
# cat /sys/class/drm/card0-DP-1/modes
# cat /sys/kernel/debug/dri/0/summary
Do you have a buy link about your devices?
Only the dp screen is connected to the Edge2. I execute the reboot command via ssh from a separate laptop.
commander@kukudh:~$ sudo -i
[sudo] password for commander:
root@kukudh:~# cat /sys/class/drm/card0-DP-1/modes
2200x1650
1920x1080
1600x1200i
1280x960
1024x768
root@kukudh:~# cat /sys/kernel/debug/dri/0/summary
Video Port0: DISABLED
Video Port2: DISABLED
Video Port3: DISABLED
The official site is: BOOX E Ink Monitors | Mira and Mira Pro (Frontlight Version) – The Official BOOX Store NOTE: It’s the MIRA 13.3-inch model not the PRO version. This seems also legit E Ink monitor ONYX BOOX Mira :: ONYX BOOX electronic books
I bought it at a Czech online trading platform https://www.alza.cz/onyx-boox-mira-levne-d6930637.htm?o=1
It’s not available on Amazon, but If I google, I can find other offers from Germany: Onyx Boox Mira 13.3 E INK Monitor + FREE SHIPPING (EU)
It seems it’s gotten rare since I bought it, so maybe they will phase it out.
Hello @graphicore
Could you check with this test image and provide the below informatuon to us?
edge2-ubuntu-24.04-gnome-linux-6.1-fenix-1.7.1-241021-develop-test-only.img.xz
$ sudo -i # switch to root
# cat /sys/class/drm/card0-DP-1/modes
# cat /sys/kernel/debug/dri/0/summary
@numbqq, here’s your output:
commander@kukudh:~$ sudo -i
root@kukudh:~# uname -a
Linux kukudh 6.1.84 #1.7.1 SMP Mon Oct 21 14:57:13 CST 2024 aarch64 aarch64 aarch64 GNU/Linux
root@kukudh:~# cat /sys/class/drm/card0-DP-1/modes
2200x1650
1920x1080
1600x1200i
1280x960
1024x768
root@kukudh:~# cat /sys/kernel/debug/dri/0/summary
Video Port0: DISABLED
Video Port2: ACTIVE
Connector:DP-1 Encoder: TMDS-230
bus_format[100a]: RGB888_1X24
overlay_mode[0] output_mode[f] SDR[0] color-encoding[BT.709] color-range[Full]
Display mode: 2200x1650p38
dclk[151300 kHz] real_dclk[151300 kHz] aclk[750000 kHz] type[48] flag[5]
H: 2200 2248 2280 2360
V: 1650 1653 1659 1687
Fixed H: 2200 2248 2280 2360
Fixed V: 1650 1653 1659 1687
Esmart0-win0: ACTIVE
win_id: 8
format: XR24 little-endian (0x34325258) pixel_blend_mode[0] glb_alpha[0xff]
color: SDR[0] color-encoding[BT.601] color-range[Limited]
rotate: xmirror: 0 ymirror: 0 rotate_90: 0 rotate_270: 0
csc: y2r[0] r2y[0] csc mode[0]
zpos: 0
src: pos[0, 0] rect[2200 x 1650]
dst: pos[0, 0] rect[2200 x 1650]
buf[0]: addr: 0x00000000f0a05000 pitch: 8832 offset: 0
Video Port3: DISABLED
The screen still does not work alone. However, with also the HDMI screen attached I saw boot logs in the DP-screen until the display manager took over, the the DP-screen went to sleep again; I’m not sure if this is new behavior or if it was working like that before. The new kernel image didn’t change the situation i.e. 1920x1080 works when set in Gnome. 1600x1200i also works when set that way, I’m not sure if that’s new.
I noticed, on my openSUSE Tumbleweed Thinkpad, where the screen is working nicely, I get different results for the command above, minus 1600x1200i
:
# cat /sys/class/drm/card1-DP-1/modes
2200x1650
1920x1080
1280x960
1024x768
Hello @graphicore
Could you try this again to check the single DP display.
sudo rm -rf /usr/local/bin/fix-gdm-multi-screen-display.sh
sudo reboot
Hi @numbqq,
I just had an interesting discovery. After booting, the screen slept as always. But I wiggled the mouse by accident, and the screen turned on, showing the login screen. I logged in, screen turned off again, and the desktop did not show up. I rebooted and retried, but it didn’t happen again. Maybe waking up from the display manager screensaver after some time of sitting there untouched did something.
Next, by your request, I removed /usr/local/bin/fix-gdm-multi-screen-display.sh
. Booting without the HDMI screen attached did not change anything, the DP screen is sleeping when booting has finished, no boot logs either.
Booting with the HDMI screen attached shows boot logs in the DP screen and the HDMI screen.
I don’t get a login window on either screen, both show a prompt _
not blinking in the upper left corner. The DP-screen does not go to sleep. I switched to ctrl + alt + f7
and saw a blinking prompt then switched to tty6 with ctrl + alt + f6
and could log in to the terminal. Seems like tty3
to tty6
are accessible and I can log in, both screens show the same content. I’m not sure if the resolution on the DP screen is ideal.
When I shutdown/reboot, I get kernel logs during shutdown.
Here’s the debugging info with the HDMI screen attached:
root@kukudh:~# cat /sys/class/drm/card0-DP-1/modes
2200x1650
1920x1080
1600x1200i
1280x960
1024x768
root@kukudh:~# cat /sys/kernel/debug/dri/0/summary
Video Port0: ACTIVE
Connector:HDMI-A-1 Encoder: TMDS-214
bus_format[100a]: RGB888_1X24
overlay_mode[0] output_mode[f] SDR[0] color-encoding[BT.709] color-range[Full]
Display mode: 1920x1200p60
dclk[154000 kHz] real_dclk[154000 kHz] aclk[750000 kHz] type[48] flag[9]
H: 1920 1968 2000 2080
V: 1200 1203 1209 1235
Fixed H: 1920 1968 2000 2080
Fixed V: 1200 1203 1209 1235
Esmart0-win0: ACTIVE
win_id: 8
format: XR24 little-endian (0x34325258) pixel_blend_mode[0] glb_alpha[0xff]
color: SDR[0] color-encoding[BT.601] color-range[Limited]
rotate: xmirror: 0 ymirror: 0 rotate_90: 0 rotate_270: 0
csc: y2r[0] r2y[0] csc mode[0]
zpos: 0
src: pos[0, 0] rect[1920 x 1200]
dst: pos[0, 0] rect[1920 x 1200]
buf[0]: addr: 0x00000000ee060000 pitch: 7680 offset: 0
Video Port2: ACTIVE
Connector:DP-1 Encoder: TMDS-230
bus_format[100a]: RGB888_1X24
overlay_mode[0] output_mode[f] SDR[0] color-encoding[BT.709] color-range[Full]
Display mode: 1920x1080p38
dclk[94000 kHz] real_dclk[94000 kHz] aclk[750000 kHz] type[40] flag[5]
H: 1920 2008 2052 2200
V: 1080 1082 1087 1125
Fixed H: 1920 2008 2052 2200
Fixed V: 1080 1082 1087 1125
Esmart2-win0: ACTIVE
win_id: 9
format: XR24 little-endian (0x34325258) pixel_blend_mode[0] glb_alpha[0xff]
color: SDR[0] color-encoding[BT.601] color-range[Limited]
rotate: xmirror: 0 ymirror: 0 rotate_90: 0 rotate_270: 0
csc: y2r[0] r2y[0] csc mode[0]
zpos: 1
src: pos[0, 0] rect[1920 x 1080]
dst: pos[0, 0] rect[1920 x 1080]
buf[0]: addr: 0x00000000ee060000 pitch: 7680 offset: 0
Video Port3: DISABLED
Hello @graphicore
It needs further debug, we will try to find the same screen as yours and check on our side.
Hi @numbqq
If there’s anything I can do to help, please let me know. I’ll use the openfyde image in the meantime.