[linux-sunxi] Re: is it possible to chnage fb0 width and height for dual display.

2014-11-21 Thread Toroshin Dmitry
Hi Punith,
Try run 
fbset -xres 720 -yres 480 -x -a

 before starting Xorg, it works for me with LCD+HDMI configuretion.
Why didn't you try  480p HDMI mode?

Regards
Dmitry

On Wednesday, November 19, 2014 5:54:27 PM UTC+6, Puneet B wrote:

  Hi Dmitry,

 Thanks for your reply, Here my update in ubuntu.
 My HDMI is full screen with 1280x720p mode with normal layer (scaler not 
 enabled).
 My TV output is full screen with 720x480 mode with scaler enable.

 but problem is i am not getting video output on TV because scaler enabled.
 so i disable the scaler for TV by fallowing command
 a10disp --screen 1 disablescaler.
 then i am getting video on both display(i did some changes in VDAPU code 
 also).

 but home screen on TV going out of monitor.
 i need to reduce fb width and height for only TV without affecting HDMI. 
 this i need to do without enabling scaler for TV.

 Could you have any idea to fix this , kindly let me know.

 Regards
 Punith




-- 
You received this message because you are subscribed to the Google Groups 
linux-sunxi group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[linux-sunxi] Re: is it possible to chnage fb0 width and height for dual display.

2014-11-14 Thread Toroshin Dmitry
Hi Punith.
I have not tested hdmi and dual-screen on android, i only tested scaler and 
it worked. Also i tried to change framebuffer size by fbset. I used 
fbset -xres 1600 -yres 900 -vxres 1600 -vyres 900 -depth 16 -rgba 5,6,5,0 -a 
-x

in fbcon and started Xorg after that. a10disp already uses fbset. Note that 
scaler does not work in 16 bit mode.
https://github.com/mittorn/a10disp/blob/testing/a10disp.c
See usage of printfbinfo/readfbinfo commands. It has some bugs, which has 
to be fixed, but i have no time to fix it now. Sometimes it writes wrong 
values to onhandled fileds such as 3d_mode. It often breaks scaler until 
reboot.
a10disp also has --noscaler option.
if scaler does not work after some actions or video not showing, just try 
to reboot.
Regards
Dmitry
On Thursday, November 13, 2014 11:49:27 AM UTC+6, Puneet B wrote:

 Hi Dmitry,

 You are making confused, i tested a10disp in both android and ubuntu.

 Can you tell the a10disp command to increase the width and height without 
 enabling scaler?.

 send the link a10disp which has instruction to enable dual screen after 
 boot.

 Regards
 Punith

 

-- 
You received this message because you are subscribed to the Google Groups 
linux-sunxi group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[linux-sunxi] Re: is it possible to chnage fb0 width and height for dual display.

2014-11-12 Thread Puneet B
Hi Dmitry,

You are making confused, i tested a10disp in both android and ubuntu.

Can you tell the a10disp command to increase the width and height without 
enabling scaler?.

send the link a10disp which has instruction to enable dual screen after 
boot.

Regards
Punith

-- 
You received this message because you are subscribed to the Google Groups 
linux-sunxi group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[linux-sunxi] Re: is it possible to chnage fb0 width and height for dual display.

2014-11-11 Thread Puneet B
 Hi All,

Is it possible to scale the width and height of tv display without enabling 
scaler(By usig a10disp tool)?.
can you tell how can i get full screen on both display?.

Regards
Punith

-- 
You received this message because you are subscribed to the Google Groups 
linux-sunxi group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[linux-sunxi] Re: is it possible to chnage fb0 width and height for dual display.

2014-11-11 Thread Toroshin Dmitry
Hello. It is possible to change framebuffer size using fbset. Use fbset -a 
-x -xres 720 -yres 480 to reduce framebuffer resolution.
Set 480p mode on hdmi to make same resolution and use scaler of you HDMI 
TV/monitor. Try different size modes on TV to get whole screen visible. You 
also can use bigger output resolution on hdmi and move output to center 
(for example, 720x480 image in the middle of 720p hdmi screen.
Use a10disp enablescaler n x100y100 to move image from center. It will 
not enable scaler as n specified. 
On Monday, November 10, 2014 11:13:15 AM UTC+6, Puneet B wrote:

 Hi All,

 I have anddroid 4.2 in my A20 board with dual display support(HDMI and Tv).
 But HDMI is not full screen and some portion is missing in TV.
 Once i changed fb0_width=1280 fb0_height=720 , HDMI become full screen but 
 TV output is going out of home screen and has some jitter.
 i need to change fb0 width and height to TV as 720*480 .
 Is it possible, without disturbing HDMI?

 Regards
 Punith   


-- 
You received this message because you are subscribed to the Google Groups 
linux-sunxi group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[linux-sunxi] Re: is it possible to chnage fb0 width and height for dual display.

2014-11-11 Thread Puneet B
 Hi Dmitry,

Thanks for your replay.

I need HDMI and TV both full screen display.

a10disp enablescaler n x100y100 
this is not affecting anything ..

a10disp --screen 1enablescaler n x100y100w720h480 
then getting black screen overlapped on  home screen for screen 1(TV) .

fbset -a -x -xres 720 -yres 480
this will change fb width and height for both display then i will not get 
full screen on HDMI.

if i am enabled scaler . then video output is not coming. so i need to do 
without enabling scaler.

Regards
Punith

-- 
You received this message because you are subscribed to the Google Groups 
linux-sunxi group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.