Display limited to 800x600 [SOLVED]
#9
This is maybe the most promising thing I've found: https://linux-sunxi.org/Display  The default video mode can be fed to uboot in a string like
Code:
# fixed mode
setenv bootargs console=tty0 hdmi.audio=EDID:0 disp.screen0_output_mode=1280x720p60 root=/dev/mmcblk0p1 rootwait panic=10

A bunch of that looks like what's in /boot/cmdline.txt on a Raspberry Pi.  Uboot passes it to the kernel.  I haven't found anything like it on my Rock64.  But in there you can set the video mode, like 1280x720 above.  I know nothing about uboot except what it does, it boots mostly ARM machines and it's open source.  The Raspberry Pi doesn't use it, it uses a bootloader from Broadcom so an open source alternative was needed.   There must be a way to pass a command line to the kernel on a Rock64.

My latest search was https://duckduckgo.com/?q=uboot+hdmi+mode&t=h_&ia=web  There's more stuff than I can absorb quickly.

Just guessing, fbcon here is the console one, fb0 (aka card0?) is the one X uses?  There's only /dev/fb0 though.
Code:
rock64# pwd
/sys/class/graphics
rock64# ls -la
total 0
drwxr-xr-x  2 root root 0 Jul 13 04:20 .
drwxr-xr-x 64 root root 0 Jul 13 04:20 ..
lrwxrwxrwx  1 root root 0 Jul 13 04:20 fb0 -> ../../devices/platform/display-subsystem/graphics/fb0
lrwxrwxrwx  1 root root 0 Jul 13 04:20 fbcon -> ../../devices/virtual/graphics/fbcon
rock64# 

The X framebuffer and console one seem to be the same size on the screen, but the console one seems to stay at 1920x1080 while I can change the X one with lxrandr.  It seems stable at 1024x768.  I've rebooted a few times and it's in the same mode.  OK, so /sys is kernel output stuff: https://superuser.com/questions/794198/d...s-in-linux
  Reply


Messages In This Thread
Display limited to 800x600 [SOLVED] - by Averell - 07-06-2018, 08:04 AM
RE: Display limited to 800x600 - by ab1jx - 07-07-2018, 05:16 PM
RE: Display limited to 800x600 - by Averell - 07-09-2018, 10:51 AM
RE: Display limited to 800x600 [SOLVED] - by ab1jx - 07-12-2018, 10:07 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Question [SOLVED] Alpine Linux won't boot rock7 1 5,757 10-22-2019, 04:30 PM
Last Post: rock7
  [solved] Unable to start X Osiander 8 11,402 10-03-2018, 03:54 AM
Last Post: jovval
  If you've messed up your eMMC Card - Solved gregb49 11 16,392 07-11-2018, 02:08 PM
Last Post: gregb49
  Any reason why ntp time is 6 minutes slow (Solved) Rocklobster 1 2,530 05-29-2018, 05:27 AM
Last Post: Rocklobster
  [Solved] Open VPN +Wi-Fi hotspot - Debian S3phi40T 1 2,898 05-01-2018, 05:51 AM
Last Post: S3phi40T
  [PROBLEM SOLVED] Distcc Help cooker 2 3,993 05-01-2018, 05:35 AM
Last Post: cooker
  Im having weird crashes on a new rock64 [solved] Trash_Can_Man 4 6,434 02-06-2018, 04:06 AM
Last Post: a1w.ca
Lightbulb MPP+DRM: low level API for video codecs and display (also 4k UHD+HDR+HLG) mcerveny 0 3,021 01-27-2018, 11:23 AM
Last Post: mcerveny
Information Solved - Resize Root Filesystem (Xenial) aussiemate 4 7,900 08-29-2017, 03:43 PM
Last Post: fbms

Forum Jump:


Users browsing this thread: 1 Guest(s)