My TV is 14 inches.
Ubuntu does not see integer.
I just see the folder.
If I put the course above you can see a few letters of the options above.
How can I see full ubuntu on TV so I can use it?
Thank you
You can follow below step to have a try.
HDMI Overscan
root@Khadas:~# echo 10 10 1909 1069 > /sys/class/graphics/fb0/window_axis
root@Khadas:~# echo 0x10001 > /sys/class/graphics/fb0/free_scale
Tips: window_axis parameter valued as: left + bottom + right + top
- left + right = 1919
- bottom + top = 1079
If you want this change as a permanent. You can modify the file /etc/initramfs-tools/scripts/local-top/khadas_init.sh
echo 0 > /sys/class/graphics/fb0/free_scale
echo 1 > /sys/class/graphics/fb0/freescale_mode
echo 0 0 1919 1079 > /sys/class/graphics/fb0/free_scale_axis
-echo 0 0 1919 1079 > /sys/class/graphics/fb0/window_axis
+echo 10 10 1909 1069 > /sys/class/graphics/fb0/window_axis
Me sale
Khadas@khadas:~/Desktops
Pongo
Khadas@khadas:~/Desktops root @ Khadas: ~ # echo 10 10 1909 1069> / sys / class / graphics / fb0 / window_axis
Pulso enter. Me sale
bash: root: command not found
Lo pongo sin espacios
Khadas@khadas:~/Desktops root @ Khadas:~#echo 10 10 1909 1069>/sys/class/graphics/fb0/window_axis
Pulso enter. Me sale
bash: /sys/class/graphics/fb0/window_axis: Permission denied
¿Que hago mal?
Gracias
Hi fym73,
You should execute echo 10 10 1909 1069> / sys / class / graphics / fb0 / window_axis
NOT root @ Khadas:~#echo 10 10 1909 1069>/sys/class/graphics/fb0/window_axis
.
Please try the following commands.
- Change to root user:
khadas@Khadas:~$ sudo -i
[sudo] password for khadas:
- Then execute:
root@Khadas:~# echo 10 10 1909 1069 > /sys/class/graphics/fb0/window_axis
root@Khadas:~# echo 0x10001 > /sys/class/graphics/fb0/free_scale
Good Luck!
Thanks.
Casi se ve lo de arriba. Falta un poco más para verse todo.
Algún cambio?
Gracias
root@Khadas:~# echo 10 10 1869 1049 > /sys/class/graphics/fb0/window_axis
root@Khadas:~# echo 0x10001 > /sys/class/graphics/fb0/free_scale
Así se ve bien de los lados y de abajo.
Pero falta que se vea completo de arriba.
Algún cambio?
Gracias
Hi fym73,
Sorry, I can not understand you well. I use Google translater, but still confused.
So could you please post it in English?
Thanks.
You do not see the entire screen of Ubuntu mate.
I put this:
root @ Khadas: ~ # echo 10 10 1869 1049> / sys / class / graphics / fb0 / window_axis
root @ Khadas: ~ # echo 0x10001> / sys / class / graphics / fb0 / free_scale
Now it looks good by the sides and the bottom.
It is missing all the way up.
What do I have to put in order to see the complete top?
Thanks
I do not see the entire screen of Ubuntu mate.
I put this:
root @ Khadas: ~ # echo 10 10 1869 1049> / sys / class / graphics / fb0 / window_axis
root @ Khadas: ~ # echo 0x10001> / sys / class / graphics / fb0 / free_scale
Now it looks good by the sides and the bottom.
It is missing all the way up.
What do I have to put in order to see the complete top?
Thanks
Hi fym73,
What’s the resolution of your TV?
Thanks.
HD ready
I believe that
1366 x 768
Thanks
Hi fym73,
I don’t have 1366x768
display screen now, but you can try the followd commands:
root@Khadas:~# echo 10 20 1909 1059 > /sys/class/graphics/fb0/window_axis
root@Khadas:~# echo 0x10001 > /sys/class/graphics/fb0/free_scale
With your advice already looks good.
That looks good
root @ Khadas: ~ # echo 10 30 1869 1049> / sys / class / graphics / fb0 / window_axis
root @ Khadas: ~ # echo 0x10001> / sys / class / graphics / fb0 / free_scale
What do I do to keep it permanently?
I open the file khadas_init.sh
I give display.
Can not be modified.
It is read only.
How do I modify the file? Thanks
Modify the khadas_init.sh file
Modify line 9
Remove echo 0 0 1909 1079> / sys / class / graphics / fb0 / window_axis
I put echo 10 30 1869 1049> / sys / class / graphics / fb0 / window_axis
The changes were saved.
I deleted Ubuntu.
I turn it on.
It looks bad.
It looks like before.
What do I have to put in the khadas_init.sh file?
Thanks
Hi fym73,
After modify khadas_init.sh
, you need to update the initrd, try the following commands.
# mkinitramfs -o /boot/initrd.img "4.9.40"
# mkimage -A arm64 -O linux -T ramdisk -a 0x0 -e 0x0 -n "initrd" -d /boot/initrd.img /boot/uInitrd
# reboot
Where do I put that code?
In what file and on what site?
Sorry for the inconvenience.
Thanks
I put it in the khadas_init.sh file.
Still the same.
Nothing changed.
What do I have to put in order for these changes to be permanent and where?
Thanks
Hi fym73,
You can put them in /etc/rc.local
too.
root@Khadas:~# vim /etc/rc.local
Add them here:
# Setup LED: breathing if bootup completed
echo breathe > /sys/class/leds/red/trigger
echo 10 20 1909 1059 > /sys/class/graphics/fb0/window_axis
echo 0x10001 > /sys/class/graphics/fb0/free_scale
exit 0
Yes now.
Perfect.
Thank you very much.
Have a good day.