This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Framebuffer resolution to 1920 x 1080

Hi,

I am trying to display Hdmi on Full HD resolution ie 1920 x 1080 on Pandaboard ES.

So I disabled DVI and made hdmi as default display and added the argument in bootargs omapfb.mode=hdmi:1920x1080MR-32@60 

Its not able to display any thing and HDMI is enabling twice so applied the following patch

--- drivers/video/omap2/dss/hdmi_panel.c 
+++ drivers/video/omap2/dss/hdmi_panel.c
@@ -204,6 +204,12 @@
DSSDBG("ENTER hdmi_panel_enable\n");

mutex_lock(&hdmi.hdmi_lock);
+//TEST
+ if (dssdev->state == OMAP_DSS_DISPLAY_ACTIVE) {
+ DSSWARN(" HDMI already active, returning 0\n");
+ r = 0;
+ goto err;
+ }

if (dssdev->state != OMAP_DSS_DISPLAY_DISABLED) {
r = -EINVAL;

Now HDMI is seting to resolution 1920x1080 But still i can see only some display some display is blank

The HDMI display timings is 

148500,1920/88/148/44,1080/4/36/5

The overlay and frame buffer resolution is 1280 x 1024

cat /sys/devices/platform/omapdss/overlay0/*

1
255
1280,1024
tv
gfx
1280,1024
0,0
1
0
1..255
1..255
0

Here is the Log

[ 8.009277] PVR: Installing MISR with cookie bf03fd88
[ 8.015838] PVR: Installing device LISR SGX ISR on IRQ 53 with cookie c7302100
[ 8.023773] PVR: OSUnMapPhysToLin: unmapping 65535 bytes from c8de0000
[ 8.034027] PVR: SysFinalise: Version string: SGX revision = 1.2.0
[ 9.275939] omapdss HDMI: Enter omapdss_hdmi_display_set_mode
[ 9.287200] omapdss HDMI: Enter hdmi_display_disable
[ 9.303833] omapdss HDMI: Release c-state constraint for HDMI
[ 9.303833]
[ 9.312347] hdmi: clearing EDID info
[ 9.316345] omapdss HDMI: ENTER hdmi_display_enable
[ 9.322235] omapdss HDMI: Set c-state constraint for HDMI
[ 9.322235]
[ 9.427490] omapdss DISPC error: timeout waiting for EVSYNC
[ 9.743316] omapdss HDMI: Enter hdmi_display_disable
[ 9.743316] misc dsscomp: [c6e11000] ignoring set failure -22
[ 9.743347] cannot apply mgr(tv) on inactive device
[ 9.743347] misc dsscomp: failed while applying -19
[ 9.750518] omapdss HDMI: Release c-state constraint for HDMI
[ 9.781616] cannot apply mgr(tv) on inactive device
[ 9.787597] misc dsscomp: failed while applying -19
[ 9.793914] cannot apply mgr(tv) on inactive device
[ 9.799835] misc dsscomp: failed while applying -19
[ 9.825958] in hpd work 1, state=0
[ 9.830352] omapdss HDMI: ENTER hdmi_display_enable
[ 9.835845] omapdss HDMI: Set c-state constraint for HDMI
[ 9.946655] omapdss DISPC error: timeout waiting for EVSYNC
[ 10.013427] in hpd work 2, state=1
[ 23.272552] binder: release 174:186 transaction 3747 out, still active
[ 23.308380] binder: 101:187 transaction failed 29189, size 8-0
[ 23.323669] binder: send failed reply for transaction 3747, target dead

All the graphics modules are updated after changing the kernel.

I am using 4AI.1.4 release on Pandaboard ES

How to make frame buffer and overaly resolution to full HD 1920 x 1080

Regards

Sandeep

  • Hi Sandeep,

    To have display working at FHD with the video fitting the screen you need two things. Kernel at 1080p size and android sending the UI image. What you have made is that you modify the kernel to use 1080p always, but if android is sending it the UI image at 720p it wont be adjusted and you will see some blank area in the screen. so what you probably are missing is to configure android to also set the UI at 1080p.

    ie. by default when using 4AI.1.4 ported to Panda the android UI is at 720p but when you make a video playback of a FHD clip it change to 1080p because android change the resolution in user space and sends de video at 1080p.

    Try changing this property:

    persist.hwc.mirroring.region=0:0:1280:720