Newbie still at it (DSS question)

All

I’m making progress, slow but steady.

As of today I can build & run kernel 2.6.22.18 (from the beagleboard wiki – no patches). Once it boots, it the output screen has a penguin in the upper left of a blue screen (hooray!). The monitor resolution is 1024 x 768

My goal is to change the resolution to 640 x 480, RGB 888. Khasim provided the suggestion below and I tried them (and several other slight modifications). They build but when I run, I am not seeing anything displayed on my monitor (completely black). I’m wondering if there are some other registers that need changing too (pixel clock?) Does anything come to mind?

Thanks in advance and regards

Jim

If you move up to the git tree kernel with the OE patches, you can
check out [1], [2], and [3] to gain the ability to dynamically select
640x480 from the bootargs. [1] is the initial submission of the patch
to the git tree to add DVI-D support for Beagle. [2] adds to [1]
additional resolution options that are configurable by 'make
menuconfig'. I don't believe that [3] cleanly patches [2], but it
adds the ability to fetch the resolution/mode settings from the
bootargs command-line.

[1] http://source.mvista.com/git/?p=linux-omap-2.6.git;a=commitdiff;h=0e3ef44c3c56ea2b46d59ffcb230f00c49d19916
[2] http://www.sakoman.net/cgi-bin/gitweb.cgi?p=linux-omap-2.6.git;a=commitdiff;h=2498f7c4179b37d971e283a707211b9874fcce55
[3] http://git.mansr.com/?p=linux-omap;a=commitdiff;h=c76a61167997a1dc680c421b1cdb753dfd492b0a

At least you can get some additional ideas from these patches.

All,

Does anyone know if S-Video and DVI (LCD data) can display simultaneously, with different source?

I want two different video streams running at the same time.

Regards
Jim

The answer is Yes. Now, as to whether or not the kernel can support that, that is another question.

Gerald

From OMAP perspective -> I think a pipeline - GFX, Video1 or 2 can
only be output to a single device at a time. Now the trouble is
thinking of this as a complete system. can the same pipeline be send
to two devices? I am not completely sure it can.. I am sure the
graphics experts in the list can comment better than I on the system
wide capability as a whole.

Regards,
Nishanth Menon

I want pipeline 1 going to DVI and pipeline 2 going to s-video....

Possible?

I believe yes from OMAP side of things. The question as Gerald points
is: is the kernel capable of doing it?
To my knowledge:
with the TI kernel - yes. with the bare l-o kernel probably nope - i
dont see even a stable s-video support there.. but there is a patch
which basically moves TI kernel support over to l-o kernel and enables
s-video and routing various pipelines to various devices.
Regards,
Nishanth Menon

Possible?

I believe yes from OMAP side of things. The question as Gerald points
is: is the kernel capable of doing it?
To my knowledge:
with the TI kernel - yes. with the bare l-o kernel probably nope - i
dont see even a stable s-video support there.. but there is a patch
which basically moves TI kernel support over to l-o kernel and enables
s-video and routing various pipelines to various devices.

Try the patches from the link below
http://linux.omap.com/pipermail/linux-omap-open-source/2008-June/012744.html

echo 'lcd' > /sys/class/display_control/omap_disp_control/video1
echo 'tv' >/sys/class/display_control/omap_disp_control/video2

-Ragha

Thanks for the link. We see the LCD/DVI drivers but not the ones for s-video. Are they somewhere else?

The validation kernel on code.google does support S-video and DVI together.

the below command will send Video1 pipeline content on to S-video

echo 'tv' > /sys/class/disp_control/omap_disp_out/video1

Regards,
Khasim

Hello Khasim,

The validation kernel on code.google does support S-video and DVI together.

the below command will send Video1 pipeline content on to S-video

echo 'tv' > /sys/class/disp_control/omap_disp_out/video1

Regards,
Khasim

I tried that:
[root@OMAP3EVM omap_disp_control]# uname -a
Linux OMAP3EVM 2.6.22.18-omap3 #1 Thu Jul 24 15:29:36 IST 2008 armv7l
unknown

[root@OMAP3EVM omap_disp_control]# echo 'tv' > video1
[root@OMAP3EVM omap_disp_control]# cat video1
tv
But I do not have a signal on s-video. Where could be the problem? I
used the linux and kernel image from http://code.google.com/p/beagleboard/wiki/BeagleSourceCode

Bye - Robert

rowkajjh@googlemail.com said the following on 09/18/2008 08:27 AM:

I tried that:
[root@OMAP3EVM omap_disp_control]# uname -a
Linux OMAP3EVM 2.6.22.18-omap3 #1 Thu Jul 24 15:29:36 IST 2008 armv7l
unknown

[root@OMAP3EVM omap_disp_control]# echo 'tv' > video1
[root@OMAP3EVM omap_disp_control]# cat video1
tv
But I do not have a signal on s-video. Where could be the problem? I
used the linux and kernel image from http://code.google.com/p/beagleboard/wiki/BeagleSourceCode
  

Try the kernel patch discussed in this email thread.
http://groups.google.com/group/beagleboard/browse_thread/thread/dc11612c4d6533cf/78cf140584cbe070?lnk=gst&q=s-video#78cf140584cbe070

BTW, I guess this email belong to the set of mails Jason is letting thru
-> please note posting to this mailing list requires subscription to the
group first..
Regards,
Nishanth Menon

rowka...@googlemail.com said the following on 09/18/2008 08:27 AM:> I tried that:
> [root@OMAP3EVM omap_disp_control]# uname -a
> Linux OMAP3EVM 2.6.22.18-omap3 #1 Thu Jul 24 15:29:36 IST 2008 armv7l
> unknown

> [root@OMAP3EVM omap_disp_control]# echo 'tv' > video1
> [root@OMAP3EVM omap_disp_control]# cat video1
> tv
> But I do not have a signal on s-video. Where could be the problem? I
> used the linux and kernel image fromhttp://code.google.com/p/beagleboard/wiki/BeagleSourceCode

Try the kernel patch discussed in this email thread.http://groups.google.com/group/beagleboard/browse_thread/thread/dc116

It now works with the kernel from Google Code Archive - Long-term storage for Google Code Project Hosting.
and Angström:
root@beagleboard:/sys/class/display_control/omap_disp_control# cat
video1
tv

I do have the enlightment desktop on DVI and a video with stream_video
on a s-video.
:slight_smile:

BTW, I guess this email belong to the set of mails Jason is letting thru
-> please note posting to this mailing list requires subscription to the
group first..

Now I am subscribed.

Bye - Robert

I should be getting my beagle in october, and I will definately want
to do something
similar... Mind if I contact you at that time?

No problem.

2008/9/23 Doug Emes <kyojin@gmail.com>