All of lore.kernel.org
 help / color / mirror / Atom feed
* Freescale i.MX6 SabreSD vs 1024x768 over HDMI
@ 2014-07-22 14:57 zboszor
  2014-07-22 15:43 ` Jean-Michel Hautbois
  2014-07-22 15:59 ` David Chirgwin
  0 siblings, 2 replies; 6+ messages in thread
From: zboszor @ 2014-07-22 14:57 UTC (permalink / raw)
  To: meta-freescale

Hi,

how can I set 1024x768 for a HDMI-connected monitor for the board in
$SUBJECT?
Originally, I had this:

setenv video mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24,bpp=32
setenv mmcargs 'setenv bootargs console=${console},${baudrate}
root=${mmcroot} video=${video} consoleblank=0 vt.global_cursor_default=0'

and all was well, fullHD is the native resolution of the monitor.

However, if I change the "setenv video ..." line like:

setenv video mxcfb0:dev=hdmi,1024x768M@60,if=RGB24,bpp=32
or
setenv video mxcfb0:dev=hdmi,1024x768@60,if=RGB24,bpp=32
or
setenv video mxcfb0:dev=hdmi,1024x768,if=RGB24,bpp=32
or
setenv video mxcfb0:dev=hdmi,1024x768,bpp=32

then I get a 640x480 resolution. What is the proper incantation to set
1024x768?

Thanks in advance,
Zoltán Böszörményi




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Freescale i.MX6 SabreSD vs 1024x768 over HDMI
  2014-07-22 14:57 Freescale i.MX6 SabreSD vs 1024x768 over HDMI zboszor
@ 2014-07-22 15:43 ` Jean-Michel Hautbois
  2014-07-22 15:59 ` David Chirgwin
  1 sibling, 0 replies; 6+ messages in thread
From: Jean-Michel Hautbois @ 2014-07-22 15:43 UTC (permalink / raw)
  To: zboszor; +Cc: meta-freescale

Hi

2014-07-22 16:57 GMT+02:00  <zboszor@pr.hu>:
> Hi,
>
> how can I set 1024x768 for a HDMI-connected monitor for the board in
> $SUBJECT?

Is it a true HDMI monitor or are you using a HDMI-DVI connector ?

JM


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Freescale i.MX6 SabreSD vs 1024x768 over HDMI
  2014-07-22 14:57 Freescale i.MX6 SabreSD vs 1024x768 over HDMI zboszor
  2014-07-22 15:43 ` Jean-Michel Hautbois
@ 2014-07-22 15:59 ` David Chirgwin
  1 sibling, 0 replies; 6+ messages in thread
From: David Chirgwin @ 2014-07-22 15:59 UTC (permalink / raw)
  To: zboszor; +Cc: meta-freescale

Hi Zoltan,

----- Original Message -----
> From: zboszor@pr.hu
> To: meta-freescale@yoctoproject.org
> Sent: Tuesday, 22 July, 2014 3:57:56 PM
> Subject: [meta-freescale] Freescale i.MX6 SabreSD vs 1024x768 over HDMI
> 
> Hi,
> 
> how can I set 1024x768 for a HDMI-connected monitor for the board in
> $SUBJECT?
> Originally, I had this:
> 
> setenv video mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24,bpp=32
> setenv mmcargs 'setenv bootargs console=${console},${baudrate}
> root=${mmcroot} video=${video} consoleblank=0
> vt.global_cursor_default=0'
> 
> and all was well, fullHD is the native resolution of the monitor.
> 
> However, if I change the "setenv video ..." line like:
> 
> setenv video mxcfb0:dev=hdmi,1024x768M@60,if=RGB24,bpp=32
> or
> setenv video mxcfb0:dev=hdmi,1024x768@60,if=RGB24,bpp=32
> or
> setenv video mxcfb0:dev=hdmi,1024x768,if=RGB24,bpp=32
> or
> setenv video mxcfb0:dev=hdmi,1024x768,bpp=32
> 
> then I get a 640x480 resolution. What is the proper incantation to
> set
> 1024x768?
> 
You need to make sure your monitor will support 1024x768 - not all monitors do. I had a similar issue with my monitor reverting to 640x480 because it didn't support the mode I had set.
Try this from Linux command line:

cat /sys/class/graphics/fb0/modes

Dave C

> Thanks in advance,
> Zoltán Böszörményi
> 
> 
> --
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
>
Blue Chip Technology Limited. Chowley Oak Lane, Tattenhall, Chester, Cheshire CH3 9EX Tel: 01829 772000 Registered in England 3110403 Vat No: GB 618 374134


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Freescale i.MX6 SabreSD vs 1024x768 over HDMI
@ 2014-07-22 16:48 zboszor
  0 siblings, 0 replies; 6+ messages in thread
From: zboszor @ 2014-07-22 16:48 UTC (permalink / raw)
  To: meta-freescale

> You need to make sure your monitor will support 1024x768 - not all
monitors do. I had a similar issue with my monitor reverting to 640x480
because it didn't support the mode I had set.
> Try this from Linux command line:
>
> cat /sys/class/graphics/fb0/modes

root@imx6qsabresd:~# cat /sys/class/graphics/fb0/modes
V:640x480p-60
D:1920x1080p-60
V:640x480p-60

I also tried my HD-ready TV with a HDMI connector.
It gave me a lot of resolutions but 1024x768 is missing.
Thanks to all who gave me pointers.

Best regards,
Zoltán Böszörményi



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Freescale i.MX6 SabreSD vs 1024x768 over HDMI
  2014-07-22 15:47 zboszor
@ 2014-07-22 16:00 ` Jean-Michel Hautbois
  0 siblings, 0 replies; 6+ messages in thread
From: Jean-Michel Hautbois @ 2014-07-22 16:00 UTC (permalink / raw)
  To: zboszor; +Cc: meta-freescale

2014-07-22 17:47 GMT+02:00  <zboszor@pr.hu>:
>>2014-07-22 16:57 GMT+02:00  <zboszor@pr.hu>:
>>> Hi,
>>>
>>> how can I set 1024x768 for a HDMI-connected monitor for the board in
>>> $SUBJECT?
>>
>>Is it a true HDMI monitor or are you using a HDMI-DVI connector ?
>>
>>JM
>
> HDMI-DVI converter cable. DVI-D connector on the monitor.
>
> Thanks,
> Zoltán Böszörményi
>
>

I tested and the monitor switches its resolution. During splash
screen, it is indeed in 1024x768, but when init is done, it switches
back to 640x480. It does the same if I ask for another resolution.

cat /sys/class/graphics/fb0/modes
V:640x480p-60
V:640x480p-60

I am also using a DVI-HDMI connector.
When using a true HDMI monitor, I get :
 cat /sys/class/graphics/fb0/modes
S:1920x1080p-50
S:1440x576p-50
S:1280x720p-50
S:720x576p-50
S:720x576p-50
S:1920x1080p-60
S:1280x720p-60
S:720x480p-60
S:720x480p-60
S:640x480p-60
V:640x480p-60
D:1920x1080p-60
V:640x480p-60


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Freescale i.MX6 SabreSD vs 1024x768 over HDMI
@ 2014-07-22 15:47 zboszor
  2014-07-22 16:00 ` Jean-Michel Hautbois
  0 siblings, 1 reply; 6+ messages in thread
From: zboszor @ 2014-07-22 15:47 UTC (permalink / raw)
  To: meta-freescale

>2014-07-22 16:57 GMT+02:00  <zboszor@pr.hu>:
>> Hi,
>>
>> how can I set 1024x768 for a HDMI-connected monitor for the board in
>> $SUBJECT?
>
>Is it a true HDMI monitor or are you using a HDMI-DVI connector ?
>
>JM

HDMI-DVI converter cable. DVI-D connector on the monitor.

Thanks,
Zoltán Böszörményi




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-07-22 16:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-22 14:57 Freescale i.MX6 SabreSD vs 1024x768 over HDMI zboszor
2014-07-22 15:43 ` Jean-Michel Hautbois
2014-07-22 15:59 ` David Chirgwin
2014-07-22 15:47 zboszor
2014-07-22 16:00 ` Jean-Michel Hautbois
2014-07-22 16:48 zboszor

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.