Linux3188 icon indicating copy to clipboard operation
Linux3188 copied to clipboard

screen resolution

Open danielprint opened this issue 11 years ago • 9 comments

I'm trying to change the resolution to 480p through marvin the script, you think this is possible? I have a monitor that works with that resolution but does not support the upper.

danielprint avatar Mar 24 '14 20:03 danielprint

Hello,

Have a look at file drivers/video/rockchip/hdmi/hdmi_lcdc.c This resolution should be supported: 720x480p@60Hz

So you can try changing HDMI_VIDEO_DEFAULT_MODE in drivers/video/rockchip/hdmi/rk_hdmi.h

Line 321, modify like this for a 4/3 monitor:

#define HDMI_VIDEO_DEFAULT_MODE HDMI_720x480p_60HZ_4_3

or like that for a 16/9 monitor:

#define HDMI_VIDEO_DEFAULT_MODE HDMI_720x480p_60HZ_16_9

julienchauveau avatar Mar 27 '14 08:03 julienchauveau

thanks for your reply, I had already tried that, when compiled, an error regarding the get_fb_size emerged, this feature was not present in lcd_480p.c file, so I added and also changed the kernel to 480p, however he compiled a 720p resolution remains on the monitors.

sorry my english

danielprint avatar Mar 27 '14 14:03 danielprint

  • Get latest kernel source from Alok's site instead of from Marvin project
  • Change the following in Linux3188/drivers/video/rockchip/hdmi/rk_hdmi.h:
    • HDMI_VIDEO_DEFAULT_MODE to HDMI_720x480p_60HZ_4_3 instead of HDMI_1920x1080p_60HZ
  • Add the following to the end of Linux3188/drivers/video/display/screen/lcd_480p.c (it is missing):
size_t get_fb_size(void)
{
    size_t size = 0;
    #if defined(CONFIG_THREE_FB_BUFFER)
        size = ((H_VD)*(V_VD)<<2)* 3; //three buffer
    #else
        size = ((H_VD)*(V_VD)<<2)<<1; //two buffer
    #endif
    return ALIGN(size,SZ_1M);
}
  • ./marvin mrproper
  • ./marvin platform picuntu3188
  • ./marvin config mk802iv_rtl8188eu 480p (or whatever your mini PC is)
  • ./marvin build

This worked on my Lapdock.

sgjava avatar Apr 02 '14 01:04 sgjava

thank you for your commitment and dedication, followed all the steps, the tamnho the 480p screen is put in the info display continues 1080p

danielprint avatar Apr 03 '14 19:04 danielprint

This is strange, but I've had some kernels (RK3188 and RK3066) that were 1080P detect the lower resolution and adjust (although blinking) and some just show "out of range" on the lapdock. When I compile for 480P it actually works at 480P. Can you try another device like a 720P or 1080P TV and see what it comes up as?

sgjava avatar Apr 03 '14 19:04 sgjava

thanks for your reply, good, it seems the problem is compatibility with my hardware, the device can not work the low 720p. The way is to buy a screen that supports that resolution with 7 or 10 inches

danielprint avatar Apr 07 '14 18:04 danielprint

I bought a Lapdock http://www.ebay.com/itm/Lapdock-for-Motorola-ATRIX-4G-11-6-Motorola-AT-T-/321036423824, but it is 1366x768, so it can only support 480P and 720P. This was cheaper than a small HDMI monitor plus you get a keyboard and USB ports. It will allows you to make a mini PC and Lapdock into a laptop.

On Mon, Apr 7, 2014 at 2:43 PM, Daniel [email protected] wrote:

thanks for your reply, good, it seems the problem is compatibility with my hardware, the device can not work the low 720p. The way is to buy a screen that supports that resolution with 7 or 10 inches

Reply to this email directly or view it on GitHubhttps://github.com/aloksinha2001/Linux3188/issues/27#issuecomment-39767632 .

Steven P. Goldsmith

sgjava avatar Apr 07 '14 19:04 sgjava

this is perfect! can run up raspberry! thank you!

danielprint avatar Apr 07 '14 23:04 danielprint

The screen, keyboard and mouse pad work on MK808 and MK802IV (should support any Google TV stick), but you will need adapters since it uses mirco HDMI and micro USB. You can get the HDMI and USB adapters on EBay cheap from China. It takes a while coming from China, but you save a lot of money. I paid $89 US for a new Lapdock on EBay I believe which is a lot cheaper than HDMI monitors.

For Pi: http://www.instructables.com/id/The-Raspberry-Pi-Lapdock-Connection For MK802IV: http://www.rikomagic.co.uk/forum/viewtopic.php?f=2&t=34

On Mon, Apr 7, 2014 at 7:27 PM, Daniel [email protected] wrote:

this is perfect! can run up raspberry! thank you!

Reply to this email directly or view it on GitHubhttps://github.com/aloksinha2001/Linux3188/issues/27#issuecomment-39796107 .

Steven P. Goldsmith

sgjava avatar Apr 07 '14 23:04 sgjava