Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

screen resolution #27

Open
danielprint opened this issue Mar 24, 2014 · 9 comments
Open

screen resolution #27

danielprint opened this issue Mar 24, 2014 · 9 comments

Comments

@danielprint
Copy link

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.

@julienchauveau
Copy link
Contributor

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

@danielprint
Copy link
Author

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

@sgjava
Copy link

sgjava commented Apr 2, 2014

  • 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.

@danielprint
Copy link
Author

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

@sgjava
Copy link

sgjava commented Apr 3, 2014

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?

@danielprint
Copy link
Author

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

@sgjava
Copy link

sgjava commented Apr 7, 2014

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//issues/27#issuecomment-39767632
.

Steven P. Goldsmith

@danielprint
Copy link
Author

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

@sgjava
Copy link

sgjava commented Apr 7, 2014

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//issues/27#issuecomment-39796107
.

Steven P. Goldsmith

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants