Moderator Control Panel ]

Matrix Display Resolution

Matrix Display Resolution

Postby hansiart » Fri Aug 08, 2014 6:45 pm

I Use my Matrix as an Ubuntu computer. The default display resolution is not good readable for me, must be the age...
I however found out that one can change the display resolution by making a change in U-boot.
For this purpose I replaced a part of bootargs with a variable, this reduces the endless typing and errorchances.
for this purpose I define a new variable bootargs_test, this is the same as bootargs_mmc except for the term dev=hdmi,1920x1080@60 video=mxcbf1: I replaced that with ${video}
Now the changes in videoresolution can be made in the variable video.
So fisrst setup the new bootargs:

Code: Select All Code
setenv bootargs_test setenv 'bootargs ${bootargs} root=/dev/sda1 rootwait video=mxcfb1:dev=ldb,LDB-XGA,if=RGB666 video=mxcfb0:${video} off video=mxcfb2:off fbmem=28M consoleblank=0 quiet'

Please note that the rootfs is on sda1, if you don't have a rootfilesystem on SDA1 than root=/dev/mmcblk0p1, see bootargs_mmc
then we define the videovariable to get a lower resolution:
Code: Select All Code
setenv video dev-hdmi,1080x720@M60 video=mxcbf1:

Now we setup a new bootcmd named bootcmd_test
Code: Select All Code
setenv bootcmd_test run 'bootargs_base bootargs_test; mmc dev 3; mmc read ${loadaddr} 0x800 0x4000; bootm'

To make this defenite we change bootcmd otherwise you can type bootcmd_test to immediate boot
Code: Select All Code
setenv bootcmd run bootcmd_test

Code: Select All Code
saveenv

now boot and the display is 1080x720. So far so good.
What I would like to accomplish however is that I can change the resolution in ubuntu, if necesarry on commandline.

so I tried this:
I installed fbset (apt-get install fbset)
when booted in 1920x1010 I type fbset. I made notes of the information on the screen.
Now I edit /etc/fb.modes and add a mode 1920x1080-60 with the notes I made.
Save it and reboot, this time in 1280x720 as described above. Type fbset, make notes an add a mode 1280-x720-60 in /etc/fb.modes
Now I open a terminal in ubuntu and type fbset 1920x1080-60. The screen goes black

So why does this mode work if you boot in it and why not if you change to it with fbset?
Anyone any ideas?
hansiart
 
Posts: 3
Joined: Wed Jul 09, 2014 9:47 pm

Re: Matrix Display Resolution

Postby elbandido » Mon Sep 01, 2014 9:28 pm

I am also looking for different resolutions because the Matrix does not display correctly on any of my displays unless it is 1080 in resolution.
I tried what is listed in the first post and ended up with a black screen with the output from putty listed below.
Any ideas on how to fix this or am I stuck with loading a fresh copy of Ubuntu?

Uncompressing Linux... done, booting the kernel.
machine_constraints_voltage: VDDD: unsupportable voltage constraints
reg-fixed-voltage reg-fixed-voltage.2: Failed to register regulator: -22
_regulator_get: get() with no identifier
mxc_sdc_fb mxc_sdc_fb.2: Can't get fb option for mxcfb2!
mxc_sdc_fb mxc_sdc_fb.3: ipu1-di0 already in use
imx-hdmi-soc-dai imx-hdmi-soc-dai.0: Failed: Load HDMI-video first.
sgtl5000 0-000a: Failed to get supply 'VDDD': -19
Initialize HDMI-audio failed. Load HDMI-video first!
elbandido
 
Posts: 18
Joined: Mon May 05, 2014 11:25 am


Return to General discussion

Who is online

Users browsing this forum: No registered users and 15 guests