fbstatus not showing/updating on Morefine M6S N100
Ref #3 and https://github.com/gokrazy/kernel.amd64/issues/34#issuecomment-2708491758
I've been analyzing this issue for a bit and found a temporary workaround with this command:
timeout 2s /user/fbstatus ; while true; do /user/fbstatus; sleep 10; done
Without it, the screen just shows a thin gray bar at the top of the screen. Running /user/fbstatus and then Control+C to quit shows the correct frame. If I try looping it it just shows the gray bar so I have to do a single initial run and quit and then the loop to get the desired effect. After some trial and error, I found 10 seconds to be the right delay to get the full top results. Here's a video of the workaround in action in case it helps: https://u.pcloud.link/publink/show?code=XZqCCf5Zej2lpfoAiVJ3MnsbbzCSWRfU2Nsk
On which hardware are you observing issues? Can you describe the issue in your own word, without referencing these other (perhaps unrelated) issues?
It’s bizarre that such looping would be required 😲 I wonder what the actual issue is.
Admittedly, my test monitor is a wonky 5:4 aspect ratio: HP LP1965. My device is a Morefine M6S N100.
Here's the behavior:
- Create vanilla gokrazy instance via USB thumb drive:
gok new
gok overwrite --full /dev/sda
This boots with a gray bar along the top and no other visuals.
- On another computer, I enable breakglass and SSH into the device and run fbstatus:
# /user/fbstatus
2025/07/07 18:49:42 opening next free console /dev/tty3
2025/07/07 18:49:42 framebuffer screeninfo: {Xres:1280 Yres:1024 Xres_virtual:1280 Yres_virtual:1024 Xoffset:0 Yoffset:0 Bits_per_pixel:32 Grayscale:0 Red:{Offset:16 Length:8 Right:0} Green:{Offset:8 Length:8 Right:0} Blue:{Offset:0 Length:8 Right:0} Transp:{Offset:0 Length:0 Right:0} Nonstd:0 Activate:0 Height:300 Width:380 Accel_flags:0 Pixclock:0 Left_margin:0 Right_margin:0 Upper_margin:0 Lower_margin:0 Hsync_len:0 Vsync_len:0 Sync:0 Vmode:0 Rotate:0 Colorspace:0 Reserved:[0 0 0 0]}
2025/07/07 18:49:42 font scale factor: 1
2025/07/07 18:49:42 gopher scaled in 30.911971ms
The screen briefly flickers with the gokrazy screen and then goes back to the gray bar along the top with no other visuals.
- I
Ctrl+Cto stop fbstatus in the SSH session
2025/07/07 18:49:42 gopher scaled in 30.911971ms
^C2025/07/07 18:50:52 context canceled
The gokrazy screen now appears but does not refresh (live updates)
-
I run fbstatus again. Same behavior as Step 2.
-
I
Ctrl+Cto stop fbstatus in the SSH session
# /user/fbstatus
2025/07/07 18:52:04 opening next free console /dev/tty3
2025/07/07 18:52:04 framebuffer screeninfo: {Xres:1280 Yres:1024 Xres_virtual:1280 Yres_virtual:1024 Xoffset:0 Yoffset:0 Bits_per_pixel:32 Grayscale:0 Red:{Offset:16 Length:8 Right:0} Green:{Offset:8 Length:8 Right:0} Blue:{Offset:0 Length:8 Right:0} Transp:{Offset:0 Length:0 Right:0} Nonstd:0 Activate:0 Height:300 Width:380 Accel_flags:0 Pixclock:0 Left_margin:0 Right_margin:0 Upper_margin:0 Lower_margin:0 Hsync_len:0 Vsync_len:0 Sync:0 Vmode:0 Rotate:0 Colorspace:0 Reserved:[0 0 0 0]}
2025/07/07 18:52:04 font scale factor: 1
2025/07/07 18:52:04 gopher scaled in 31.747624ms
^C2025/07/07 18:52:54 context canceled
The gokrazy screen does not appear. The gray bar along the top remains with no other visuals (other than a very thin gray bar along the bottom).
- I run fbstatus and just have the gray bar. I Ctrl-C and now have the gokrazy screen
# /user/fbstatus
2025/07/07 18:54:30 opening next free console /dev/tty3
2025/07/07 18:54:30 framebuffer screeninfo: {Xres:1280 Yres:1024 Xres_virtual:1280 Yres_virtual:1024 Xoffset:0 Yoffset:0 Bits_per_pixel:32 Grayscale:0 Red:{Offset:16 Length:8 Right:0} Green:{Offset:8 Length:8 Right:0} Blue:{Offset:0 Length:8 Right:0} Transp:{Offset:0 Length:0 Right:0} Nonstd:0 Activate:0 Height:300 Width:380 Accel_flags:0 Pixclock:0 Left_margin:0 Right_margin:0 Upper_margin:0 Lower_margin:0 Hsync_len:0 Vsync_len:0 Sync:0 Vmode:0 Rotate:0 Colorspace:0 Reserved:[0 0 0 0]}
2025/07/07 18:54:30 font scale factor: 1
2025/07/07 18:54:30 gopher scaled in 29.244301ms
^C2025/07/07 18:54:37 context canceled
Hopefully that helps somewhat.