Jump to content

how do you set a custom screen resolution on armbian?


Recommended Posts

Posted (edited)

Well i just installed QEMU and do anyone here know how to open it?

the only way i know are through the command line(from the tutorial) but i want to open the GUI

 

and also does anyone know how to recompile the boot.scr and boot.txt files on windows?

i got an error on geany and there are no arm version of notepadqq and snap version of notepad++ so ican't even open scr files

well, lets just say that i gave up on recompiling boot.cmd & scr because it crashes every time i touch those files.

 

 

btw my device are an orange pi pc2 and

 

i want to modify my boot files because i have a 1366*768 monitor that only has vga and i'm using an hdmi to vga adaptor which does not correctly detect the resolution and i'm stuck with 1024*768 and black borders on the side (i can strech it but everything will look pixelated)

 

https://forum.armbian.com/topic/3749-how-to-change-resolution-hdmi-display-armbian527/

https://docs.armbian.com/Hardware_Allwinner/#how-to-reconfigure-video-output

 

sorry, im a newbie

you can probably tell that my daily driver are not linux.

 

EDIT:

trista@orangepipc2:~$ xrandr
Screen 0: minimum 320 x 200, current 1024 x 768, maximum 8192 x 8192
HDMI-1 connected primary 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1024x768      60.00* 
   800x600       60.32    56.25  
   848x480       60.00  
   640x480       59.94  
  1368x768_60.00 (0x2b9) 85.250MHz -HSync +VSync
        h: width  1368 start 1440 end 1576 total 1784 skew    0 clock  47.79KHz
        v: height  768 start  771 end  781 total  798           clock  59.88Hz

you can clearly see that the OS detected the resolution 

Quote

1368x768_60.00

but there are no modes on 1366x768(or 1368)

http://ubuntuhandbook.org/index.php/2017/04/custom-screen-resolution-ubuntu-desktop/

i have tried the tutorial above but it shows this instead

trista@orangepipc2:~$ sudo xrandr --newmode "1368x768_60.00"   85.25  1368 1440 1576 1784  768 771 781 798 -hsync +vsync
[sudo] password for trista: 
X Error of failed request:  BadName (named color or font does not exist)
  Major opcode of failed request:  140 (RANDR)
  Minor opcode of failed request:  16 (RRCreateMode)
  Serial number of failed request:  20
  Current serial number in output stream:  20
trista@orangepipc2:~$ 

 

Edited by ch3510
updates
Posted

Hi,

You can connect to your Pc2 by using putty in windows and ssh into the Pc2.

For editing try midnight commander (mc) from a terminal. Point it to the desired file and press F3 to view, F4 to edit.

If not already installed, do apt install mc as root.

HTH, gnasch

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines