Dingoonity.org

Dingux (Dingoo Linux) => Development => Topic started by: uli on June 05, 2010, 07:10:47 pm

Title: TV-out
Post by: uli on June 05, 2010, 07:10:47 pm
Hi, guys. Long time no see, huh? :) Check out my latest hack: http://github.com/uli/dingoo-tvout

Be sure to read the README. It has a couple of problems, but mostly works for me.

Have fun.
Title: Re: TV-out
Post by: xdpirate on June 05, 2010, 07:28:54 pm
Great work. I haven't the balls for testing this out yet, but after success reports starts ticking in, I'll test it too :) +karma
Title: Re: TV-out
Post by: zear on June 05, 2010, 07:47:36 pm
Someone needs to test it and record the footage :D
Title: Re: TV-out
Post by: flaming_goat on June 05, 2010, 08:09:24 pm
EDIT: TV-OUT IN ACTION
https://www.youtube.com/watch?v=ea_3OI_jw7o
EDIT: Amazing Stuff - well done. Ive been looking forward to someone making this work for ages. ;D
Title: Re: TV-out
Post by: uli on June 05, 2010, 08:14:36 pm
Could you upload a 9325 kernel plz. I would love to give this a go!

Check http://github.com/uli/dingoo-tvout/downloads
Title: Re: TV-out
Post by: DannyBoyTheDude on June 05, 2010, 08:20:35 pm
Is there a risk when trying it?
Title: Re: TV-out
Post by: uli on June 05, 2010, 08:27:31 pm
Is there a risk when trying it?

As for CRT TVs, in theory, it could fry it if something goes wrong. You would have to leave it plugged in for quite a while though. Just unplug if your TV starts squeaking, and you should be safe. :) My set (15-year-old Sony Trinitron) has suffered a lot of abuse during development and is still fine. LCD TVs are generally said to be unimpressed by strange input signals.
Title: Re: TV-out
Post by: DannyBoyTheDude on June 05, 2010, 08:48:59 pm
My dingoo gets stuck at the dingux screen with the zImage provided.

Edit: Thanks xdpirate! It worked perfectly and so does tv-out.
Title: Re: TV-out
Post by: xdpirate on June 05, 2010, 09:19:14 pm
My dingoo gets stuck at the dingux screen with the zImage provided.
Try reformatting and copy from pc to sd in this order:
zImage > rootfs > local (with contents)
Title: Re: TV-out
Post by: mrkingoo on June 05, 2010, 09:19:22 pm
TV-out for Dingux at last! :) +karma for you
Title: Re: TV-out
Post by: cas398 on June 05, 2010, 09:38:35 pm
Progress.

I'll wait til it's 100% though, then I'll do a screen cap vid.
Title: Re: TV-out
Post by: LTStone on June 05, 2010, 09:44:15 pm
Tried it and it works, the menu and everything has to be set at 336mhz. Tried Vice, snes(menu is garbled) and Final Burn all with success.
Title: Re: TV-out
Post by: RodrigoCard on June 05, 2010, 09:47:47 pm
Wow!

Thanks Uli :)
Title: Re: TV-out
Post by: Uguru on June 05, 2010, 11:10:02 pm
Very good job!
Title: Re: TV-out
Post by: SiENcE on June 05, 2010, 11:18:33 pm
Such a great day in Berlin (24?c).

And now this.

WOW. TVout for Dingux. Great.

How can I express my gratitude to you?
Title: Re: TV-out
Post by: LTStone on June 05, 2010, 11:32:35 pm
Here is a quick and crappy phone video I made real quick because the guys/gals on the chat wanted something quick but Flaming Goat beat me to it. By the way this is on a crt rear projection tv:

http://www.sendspace.com/file/t4xpjp

Title: Re: TV-out
Post by: eule on June 05, 2010, 11:37:49 pm
Wow, will try it asap! Have to find the cable though... 
Thanks Uli! :)
Title: Re: TV-out
Post by: Siloucos on June 05, 2010, 11:38:03 pm
Finally Finally Finally!!!

Uli, Thanks a bunch man!!!  :D :D
Title: Re: TV-out
Post by: tiagao_extremo on June 06, 2010, 12:21:38 am
Hey Uli such a great job you did man. After the advent of linux, this is probably the most important event ever. If BooBoo is still alive he must be really proud of you.  :D
Just a curious question: Do you think in the future would be possible to use tv-out with overclock or is there some kind of technical difficulty that wouldn't allow it?
Title: Re: TV-out
Post by: Stephanie on June 06, 2010, 12:23:58 am
Fantastic work!
Title: Re: TV-out
Post by: SiENcE on June 06, 2010, 12:24:23 am
@uli: zImage-9325 works!

Is it in future possible, to disable the dingoo speakers when using tvout audio?
Title: Re: TV-out
Post by: LTStone on June 06, 2010, 12:25:38 am
Yes all we need now is the overclock with tv-out , a way to turn off the lcd while in tv-out mode and....

A paypal account from Uli because some of us want to send this guy a donation :)
Title: Re: TV-out
Post by: SiENcE on June 06, 2010, 12:30:32 am
I think, turn off is not needed, because its and Slcd and not an Lcd.

But set to the slcd to black would be usefull.
Title: Re: TV-out
Post by: Siloucos on June 06, 2010, 01:50:48 am
I think everyone here is curious to know, I hope asking don't hurt. Did you "officially" give up on Psx4all Dingoo?
Title: Re: TV-out
Post by: mth on June 06, 2010, 02:12:31 am
@uli: Great work!
Are you perhaps interested in cleaning up the patch and integrating it in the OpenDingux kernel (http://github.com/mthuurne/opendingux-kernel/)? The idea behind the OpenDingux kernel is to reuse the work of the Qi Hardware people, who made the Ben NanoNote that also uses the Ingenic JZ SoC, to get an up-to-date (2.6.34 right now) and maintainable kernel for Dingux. At the moment most features work, except battery charge status and some bugs in the SLCD driver.
Title: Re: TV-out
Post by: Reo on June 06, 2010, 02:37:33 am
Is RTC also enabled in this I2C kernel? Poweroff? Also, what's left now that isn't utilized in Dingux besides radio? If the corruption issues could be fixed and everything else tidied up, I'd flash my Dingoo so that Linux boots over the native OS.
Title: Re: TV-out
Post by: LTStone on June 06, 2010, 02:57:35 am
I get no sound with scumm(monkey island 3), Vice, Frodo and UAE4all, anyone else have sound issues?
Title: Re: TV-out
Post by: santino on June 06, 2010, 06:51:06 am
Wow this is just awesome! Hail to the dingoonity! :)
Title: Re: TV-out
Post by: darfgarf on June 06, 2010, 09:08:45 am
Is RTC also enabled in this I2C kernel? Poweroff? Also, what's left now that isn't utilized in Dingux besides radio? If the corruption issues could be fixed and everything else tidied up, I'd flash my Dingoo so that Linux boots over the native OS.

I'll he doing more work on the radio in a couple of weeks, got it sorted apart from the fact dingux won't write to the chip, something odd with the i2c drivers etc, I dunno
Title: Re: TV-out
Post by: quadomatic on June 06, 2010, 09:21:21 am
Very cool, I've been hoping this would come along
Title: Re: TV-out
Post by: uli on June 06, 2010, 10:33:58 am
I think everyone here is curious to know, I hope asking don't hurt. Did you "officially" give up on Psx4all Dingoo?

"Officially"? Didn't know I'd have to register somewhere. ;)

No, I guess I just wasn't interested that much in the whole Dingoo thing anymore. In fact, I just stumbled over it a couple of days ago when I read in some blog that there was a new "localpack". I had actually assumed that this whole thing had died by now, given the rapid nature of change in the Chinese gadget market. To my surprise, it hadn't. :) So I browsed some posts on this board, and saw that people were trying to get TV output working in Linux, but all efforts seemed to die down at some point for reasons I could not fathom. Can't be that hard, I thought...

I might pick up work on psx4all at some point, but while I have more interesting things to do, I'll do those. :) I must say, however, that I do find it rather odd that everybody here seems wait for the messiah to hand down the code instead of taking matters into their own hands...
Title: Re: TV-out
Post by: uli on June 06, 2010, 10:38:35 am
@uli: Great work!
Are you perhaps interested in cleaning up the patch and integrating it in the OpenDingux kernel (http://github.com/mthuurne/opendingux-kernel/)?

Yes, absolutely, especially since it could pass as "real work". ;) (Would have to talk to my boss about that first, though.)

Is there an OpenDingux kernel mailing list?
Title: Re: TV-out
Post by: zear on June 06, 2010, 10:56:13 am
I think everyone here is curious to know, I hope asking don't hurt. Did you "officially" give up on Psx4all Dingoo?
No, I guess I just wasn't interested that much in the whole Dingoo thing anymore. In fact, I just stumbled over it a couple of days ago when I read in some blog that there was a new "localpack". I had actually assumed that this whole thing had died by now, given the rapid nature of change in the Chinese gadget market. To my surprise, it hadn't. :) So I browsed some posts on this board, and saw that people were trying to get TV output working in Linux, but all efforts seemed to die down at some point for reasons I could not fathom. Can't be that hard, I thought...
Well, it is indeed true that for some time dingux developement was stalled due to booboo's retirement from the project, though first poweroff and RTC patches, and now a completely new OpenDingux resurrected it. Dingux is alive again, and with your tv-out driver, even better than before :D
Quote
I must say, however, that I do find it rather odd that everybody here seems wait for the messiah to hand down the code instead of taking matters into their own hands...
Well, it's not that we are lazy, but mips asm knowledge is rather limited among the people :)
Title: Re: TV-out
Post by: mrkingoo on June 06, 2010, 11:46:20 am
I must say, however, that I do find it rather odd that everybody here seems wait for the messiah to hand down the code instead of taking matters into their own hands...

You're not the Messiah?  :'(
http://www.youtube.com/watch?v=Zjz16xjeBAA

Jokes aside I would have given it a shot myself but I know diddly squat about programming. It's all Greek to me :)
Title: Re: TV-out
Post by: Solstice on June 06, 2010, 12:03:35 pm
Your the man!!! thanks very much uli  :D
Title: Re: TV-out
Post by: SiENcE on June 06, 2010, 01:25:36 pm
I might pick up work on psx4all at some point, but while I have more interesting things to do, I'll do those. :) I must say, however, that I do find it rather odd that everybody here seems wait for the messiah to hand down the code instead of taking matters into their own hands...

If you read the dingoonity News posts, it's obvious that people are working hard to port and enhance apps for the Dingoo. But i think you know for shure, that a there is only a minority of people having the knowledge to code on kernel/i2c/mips asm.

So, if people really want to thank you for doing a great job, just take it as it's meant. That is not the case in all communities.

I also get several requests on enhancing the Snes emulator or portings Apps. I also have limited time, but I have to say, that the Dingoo Community is far the nicest Community I know. Thats why I'm coding for it from time to time and helping out, when I have the time beside my other oss projects.
Title: Re: TV-out
Post by: ruffnutts on June 06, 2010, 02:02:46 pm
well well well getting drunk las night did pay off - woke up to this, 3 pages long lol cant wait to try it,
Just one thing as you can tell I always bang on about psx4all - greatwork BTW - but please make psx4all use the extra ram in the A330 and modded A320 its a shame to watch it go to waist lol

Anyway Uli - its nice to see you spring out of no where and give us this, your a secret dingoo freak at heart lol

thanks again matey  ;D
Title: Re: TV-out
Post by: uli on June 06, 2010, 02:30:41 pm
So, if people really want to thank you for doing a great job, just take it as it's meant. That is not the case in all communities.

That is very true, and I would be lying if I said that I didn't do it for the most part to see the excitement it would generate here. :) Thanks, everyone.
Title: Re: TV-out
Post by: Siloucos on June 06, 2010, 03:11:16 pm
So, if people really want to thank you for doing a great job, just take it as it's meant. That is not the case in all communities.

That is very true, and I would be lying if I said that I didn't do it for the most part to see the excitement it would generate here. :) Thanks, everyone.


I must admit, I have not contributed to Dingoo Scene widely, In fact I don't have any coding knowledge, and I already tried to learn coding by myself for fun but I am not very self-taught and since I already in a course that takes too much time and money :P So, instead, I have chosen something that may contribute to General Emulation scene (or not), Which I can do without much problems.  http://www.youtube.com/watch?v=pzAI6ZfyuLg (http://www.youtube.com/watch?v=pzAI6ZfyuLg)  Rom hacking.

Anyway, I will try to contribute more. ;)
Title: Re: TV-out
Post by: wy_scorpio on June 06, 2010, 04:29:55 pm
very nice work,great!
i have test my 9325,but mplayer cant work..
so ,if can support mplayer again?
Title: Re: TV-out
Post by: mth on June 06, 2010, 04:40:10 pm
Is there an OpenDingux kernel mailing list?

No, we usually meet on the #dingoonity IRC channel on freenode. If you don't like IRC, you could use the issue tracker on github instead.
Title: Re: TV-out
Post by: Derk on June 06, 2010, 06:30:10 pm
Great Job Uli!  Thanks for coming back with such a great improvement.
Title: Re: TV-out
Post by: zear on June 06, 2010, 06:45:49 pm
Some TV-OUT footage:
http://www.youtube.com/watch?v=QT-xwT2YA0w
http://www.youtube.com/watch?v=HBoWyKy07Lg
Title: Re: TV-out
Post by: Soulflier on June 06, 2010, 08:33:51 pm
This is a really great app, I hope it will be improved. Hope this dingux tv-out gets other people's attention and many great programmers join in this effort. NTSC video mode doesn't work properly on my tv, the image is off horizontally (my TV supports PAL & NTSC too)
I made a video too: http://www.youtube.com/watch?v=I3hJu97C56k (http://www.youtube.com/watch?v=I3hJu97C56k)
Title: Re: TV-out
Post by: santino on June 06, 2010, 09:07:33 pm
Does this kernel include the right poweroff functions from the rtc kernel?
Title: Re: TV-out
Post by: mrkingoo on June 06, 2010, 09:25:17 pm
Can't get it to work  :(

It hangs and says "libpng warning: Incorrect sRGB chunk length" and I have to reset
Title: Re: TV-out
Post by: santino on June 06, 2010, 09:29:24 pm
Just start the tvout app with --ntsc or --pal @ about 336mhz (mine works best on 337). How did you try to start it?
Title: Re: TV-out
Post by: mrkingoo on June 06, 2010, 09:39:03 pm
Yeah I tried with --pal and --ntsc, gmenu2x at 336MHz

What am I missing? I replaced the zImage put the tvout in apps, added two shortcuts for tvout and added params --pal and --off
Title: Re: TV-out
Post by: fuzzi23 on June 06, 2010, 11:11:39 pm
Cant get it to work too. :(

If my tv screen shows the gmenu, the tv image runs. But if I start an game, the tv image is clear but split. I tried it on two different crt tv's. And another question: is it possible to run the tv out from dmenu? With "./tvout-2010-06-05" as executable declaration it dosent run.

EDIT: Ok, with "./tvout-2010-06-05 --pal" it "works" with dmenu too. But what about the split screen and the running tv image while it shows the menu?
Title: Re: TV-out
Post by: RodrigoCard on June 07, 2010, 01:32:37 am
(...) I had actually assumed that this whole thing had died by now, given the rapid nature of change in the Chinese gadget market. To my surprise, it hadn't. :) (...)

I think this is because A320 is surprisingly better than most chinese gaming gadgets. Dingoo is a really nice exception. :)

Dingoo receives much more love than Wiz by the community...
Day after day it becomes more popular, unlike the wiz, which is supposed to receive more support given the GPH?s "tradition".
Title: Re: TV-out
Post by: byo on June 07, 2010, 06:00:36 am
I might pick up work on psx4all at some point, but while I have more interesting things to do, I'll do those. :) I must say, however, that I do find it rather odd that everybody here seems wait for the messiah to hand down the code instead of taking matters into their own hands...

If you read the dingoonity News posts, it's obvious that people are working hard to port and enhance apps for the Dingoo. But i think you know for shure, that a there is only a minority of people having the knowledge to code on kernel/i2c/mips asm.

So, if people really want to thank you for doing a great job, just take it as it's meant. That is not the case in all communities.

I also get several requests on enhancing the Snes emulator or portings Apps. I also have limited time, but I have to say, that the Dingoo Community is far the nicest Community I know. Thats why I'm coding for it from time to time and helping out, when I have the time beside my other oss projects.

Well said. It's very comforting that the Dingoo community is more active and passionate than most gadget communities around. And thanks to you and some other talented programmers the scene is pretty much alive.

I hope to learn the dingoo-sdk really well to be producing something cool soon.

And uli, congrats, man. This is an amazing work.  ;D
Title: Re: TV-out
Post by: ruffnutts on June 07, 2010, 07:44:37 am
I nice thick question lol - how do I add --pal --off ect?
Also TV only seem to work some times, or am I doing something wrong....


ruffnutts  ;)
Title: Re: TV-out
Post by: zear on June 07, 2010, 08:10:10 am
I nice thick question lol - how do I add --pal --off ect?
You can write shell scripts to execute the tvout app with parameters. I believe gmenu2x itself can also launch programs with parameters if you set them in the options for each entry.
Title: Re: TV-out
Post by: ruffnutts on June 07, 2010, 08:55:36 am
Nice one zear - I will figure it out  :D
Title: Re: TV-out
Post by: Reo on June 07, 2010, 09:39:50 am
Does using TV-Out cause slowdown like on the native OS, or is that just a bug?
Title: Re: TV-out
Post by: 240-185 on June 07, 2010, 11:30:07 am
Hi,

I installed the zImage-9325 thing on http://github.com/uli/dingoo-tvout/downloads, but when I want to boot, the device freezes and nothing happens.

What's wrong?
Title: Re: TV-out
Post by: santino on June 07, 2010, 11:50:59 am
Hi,

I installed the zImage-9325 thing on http://github.com/uli/dingoo-tvout/downloads, but when I want to boot, the device freezes and nothing happens.

What's wrong?
The zimage and the rootfs need to be put on the first sectors of the sdcard. You need to copy them first and then the rest. I got the same issue when I tried to change the zimage only.

And I noticed no slowdowns with TVout, but you can only use this with a clock about 336mhz, so no overclocking is available. And the picture on the screen is a bit cut on the left. Can anyone confirm this?
Title: Re: TV-out
Post by: SiENcE on June 07, 2010, 12:06:10 pm
@santiago: Mh...i only exchanged the zImage and it works for me. Every time ;-)
Title: Re: TV-out
Post by: mrkingoo on June 07, 2010, 12:23:22 pm
Ok I got it working. Great work uli! :) Though sometimes I get no picture or the picture is messed up and have to reset
Title: Re: TV-out
Post by: fuzzi23 on June 07, 2010, 12:39:14 pm
Did anyone tryed it too on an crt tv and can confirm my issues?
Title: Re: TV-out
Post by: natanaelxp on June 07, 2010, 01:02:37 pm
I log in Gmenu, but when I turn on the application and start iniatiazing tvout, appears at the end "Close DNAC_DCMD_LINK" and tvout not boot.
Ideas?

My TV is LCD
Title: Re: TV-out
Post by: pasteur on June 07, 2010, 01:20:39 pm
I log in Gmenu, but when I turn on the application and start iniatiazing tvout, appears at the end "Close DNAC_DCMD_LINK" and tvout not boot.
Ideas?

I experienced the same problem. Set gmenu cpu frequency at 336mHz. It will work.
Title: Re: TV-out
Post by: 240-185 on June 07, 2010, 01:40:02 pm
The zimage and the rootfs need to be put on the first sectors of the sdcard. You need to copy them first and then the rest. I got the same issue when I tried to change the zimage only.

And I noticed no slowdowns with TVout, but you can only use this with a clock about 336mhz, so no overclocking is available. And the picture on the screen is a bit cut on the left. Can anyone confirm this?

Thanks for your reply ;)
And I can confirm the bug too: http://www.youtube.com/v/H_pA0wx0mgA&hl=fr_FR&fs= (Enjoy some captured video without filming a TV ;))
Title: Re: TV-out
Post by: natanaelxp on June 07, 2010, 01:53:21 pm
I log in Gmenu, but when I turn on the application and start iniatiazing tvout, appears at the end "Close DNAC_DCMD_LINK" and tvout not boot.
Ideas?

I experienced the same problem. Set gmenu cpu frequency at 336mHz. It will work.
Now I can hear the sound in games but I can't see, sometimes the screen gets all blurry and off and sometimes not even light up

The cables are not the problem because the native TV out works fine

Strangely every time the screen gave some sign of life was soon after testing the native tvout
Title: Re: TV-out
Post by: SiENcE on June 07, 2010, 01:58:22 pm
Ok I got it working. Great work uli! :) Though sometimes I get no picture or the picture is messed up and have to reset

Did you read his readme? There he wrote that sometimes picture get massed up. So no need to write it twice i think ;).
Title: Re: TV-out
Post by: fuzzi23 on June 07, 2010, 02:44:20 pm
Yihaa! Now it works for me too. The problem was that word "sometimes" at the phrase "sometimes picture get massed up". Because for me it was not sometimes but rather every time up to now. ;D I have tried it ten times I think, and every time the picture get massed up.

Great job Uli. +karma
Title: Re: TV-out
Post by: natanaelxp on June 07, 2010, 03:35:00 pm
I managed to solve my problem thanks to a community member DingooBR
First I turned on the tv-out and waited for the screen goes all messed up, so I reset without removing the cable from dingoo and put back into the option tv out and it worked! =D

Waiting for the version that allows overclocking XD
Title: Re: TV-out
Post by: ruffnutts on June 07, 2010, 04:19:11 pm
I love it man - at least I can see what I`m doing now lol - and I can read the terminal pmsl - wow I`m blind,
Just waiting for Icons to be released like on and on ond off ect - might have it as a section as oppose to and app  ;)
Title: Re: TV-out
Post by: rutjoni on June 07, 2010, 04:23:58 pm
hello, someone can pass the file to put tv? thanks
Title: Re: TV-out
Post by: santino on June 07, 2010, 04:52:45 pm
Waiting for the version that allows overclocking XD
Its not the fault of uli that overclocking doesnt work. Its due the way gmenu overclocks. So gmenu needs an update to overclock with tvout enabled.
Quote
hello, someone can pass the file to put tv? thanks
Look at the linked site on the very first post in this topic.
Title: Re: TV-out
Post by: SiENcE on June 07, 2010, 08:08:31 pm
hello, someone can pass the file to put tv? thanks

Folks....please read carefully (all posts of a Forum thread, google aswers most questions and even you get help on IRC) and don't be hasty and don't ask every single shXt here. I can't read this stupid question over and over again. Am I the only one who feels this way?
Title: Re: TV-out
Post by: rutjoni on June 07, 2010, 08:30:59 pm
Waiting for the version that allows overclocking XD
Its not the fault of uli that overclocking doesnt work. Its due the way gmenu overclocks. So gmenu needs an update to overclock with tvout enabled.
Quote
hello, someone can pass the file to put tv? thanks
Look at the linked site on the very first post in this topic.

Gracias carlos ,But that is what I have to fine droplets? And how to make it work?
Title: Re: TV-out
Post by: rollo on June 07, 2010, 09:59:00 pm
I want to use this in Dmenu

How can I?
Title: Re: TV-out
Post by: santino on June 07, 2010, 10:00:13 pm
Okay now, try to click this link...
http://github.com/downloads/uli/dingoo-tvout/tvout-2010-06-05

And start this file with the parameters "--pal" or "--ntsc" depending on your tv.
Title: Re: TV-out
Post by: 240-185 on June 08, 2010, 12:05:47 am
I want to use this in Dmenu

How can I?

MenuItem tvout

    {

    Icon = "/usr/local/dmenu/themes/default/iconsset/unused2.png"

    Name = " TV Out"

    Executable = "./tvout --pal"

    WorkDir = "/usr/local/soft/tvout"

   }



MenuItem tvin

    {

    Icon = "/usr/local/dmenu/themes/default/iconsset/unused2.png"

    Name = " Switch back to LCD"

    Executable = "./tvout --off"

    WorkDir = "/usr/local/soft/tvout"

   }
Title: Re: TV-out
Post by: Reo on June 08, 2010, 02:28:41 am
I'm excited to see this built into the kernel. Perhaps then we could have output at 640x480 (and the PAL equivalent) and CPU overclocking without effing up the LCD timer.
Title: Re: TV-out
Post by: santino on June 08, 2010, 10:28:02 am
Yes a higher resolution with a better mplayer would be really amazing. Watching videos on the go in real pal resolution. :)
Title: Re: TV-out
Post by: rutjoni on June 08, 2010, 10:42:20 am
I want to use this in Dmenu

How can I?

MenuItem tvout

    {

    Icon = "/usr/local/dmenu/themes/default/iconsset/unused2.png"

    Name = " TV Out"

    Executable = "./tvout --pal"

    WorkDir = "/usr/local/soft/tvout"

   }



MenuItem tvin

    {

    Icon = "/usr/local/dmenu/themes/default/iconsset/unused2.png"

    Name = " Switch back to LCD"

    Executable = "./tvout --off"

    WorkDir = "/usr/local/soft/tvout"

   }


hello, do not get it to work, where are the ejecucables to turn off TV and TV dingux? thanks
Title: Re: TV-out
Post by: santino on June 08, 2010, 10:46:28 am
I have already linked the executeable directly in this topic, sorry but I think your kinda dumb...
Title: Re: TV-out
Post by: SiENcE on June 08, 2010, 01:14:02 pm
:-D.

Some people are too dumb to download and execute.
Title: Re: TV-out
Post by: NEODAN on June 08, 2010, 02:22:31 pm
- Formatted my SD card (8GB), copied the files in order: zImage> rootfs> remaining;
- Archive zImage was used that has the CRC E0CF5FF7 (dingoes A320 (ILI9331) kernel with I2C support);
- Also reinstalled the dualboot;
- In my dingoo are showing the following error:
Code: [Select]
Mounting /proc /sys /dev
Reading kernel command line
mmc0: new SDHC card at address bf3d
mmcb1k0: mmc0:bf3d █ ▀c^ █ ▀c^ █ ▀c^ █ ▀c^ █ ▀c^ 7782400KiB
 mmcb1k0: p1
FATAL: cannot mount /dev/mmcb1k0/dev/mmcb1k0p1 on /boot
 (17)
Kernel panic - not syncing: Attempted to kill init!

Does anyone know the origin of the problem? Please! :'(
Title: Re: TV-out
Post by: santino on June 08, 2010, 02:49:33 pm
What filesystem did you put on your card? It says it cant mount the sd card, so its either damaged or the fs is wrong / damaged.
Title: Re: TV-out
Post by: NEODAN on June 08, 2010, 02:58:20 pm
What filesystem did you put on your card? It says it cant mount the sd card, so its either damaged or the fs is wrong / damaged.
Previously I was using dingux normally. I changed the zImage and he could not get more on screen dingux. Then I restarted the whole installation process as already mentioned.
Title: Re: TV-out
Post by: Friendly Neighborhood Dingoonity Troll on June 08, 2010, 03:27:28 pm
I think he's asking what fs you put on your card when you formatted it, right? It should be formatted as such.

format x: /FS:fat32 /A:32K
Title: Re: TV-out
Post by: NEODAN on June 08, 2010, 03:49:00 pm
I think he's asking what fs you put on your card when you formatted it, right? It should be formatted as such.

format x: /FS:fat32 /A:32K
Well, not formatted in MS-DOS mode, I can test. But in windows I formatted FAT-32 mode. Thus functioned normally until then.
Title: Re: TV-out
Post by: rutjoni on June 08, 2010, 04:01:32 pm

hello, I have crt tv, but when I start out the tv in dingux the tv screen stays black and does not exit the menu, but if I give the keys to load the applications and appear on the screen, why not get the menu dingux ,? thanks
Title: Re: TV-out
Post by: KillerStefan on June 08, 2010, 07:42:44 pm
Wow, this is the real good stuff!
Keep it up :)
Title: Re: TV-out
Post by: eule on June 08, 2010, 07:57:22 pm
@rutjoni: Probably because you didn?t tell gmenu to run at 336 mhz?
Title: Re: TV-out
Post by: SiENcE on June 08, 2010, 08:44:54 pm
What filesystem did you put on your card? It says it cant mount the sd card, so its either damaged or the fs is wrong / damaged.
Previously I was using dingux normally. I changed the zImage and he could not get more on screen dingux. Then I restarted the whole installation process as already mentioned.

I had the similar issue with my 8gb sdcard. Some Kernels didn't work with my sdcard. Test another one.
Title: Re: TV-out
Post by: rutjoni on June 08, 2010, 08:49:25 pm
@rutjoni: Probably because you didn?t tell gmenu to run at 336 mhz?

I have put the maximum gmenu2x to 336, but do not exit the menu imangen on TV, but I can cargargo seven applications if em tv, why is this happening? thank you very much for the help and the creator of the TV output. sorry for my English
Title: Re: TV-out
Post by: fuzzi23 on June 09, 2010, 11:09:36 am
You have to set the menu point "clock for dmenu2x" to 336mhz. Try these.
Title: Re: TV-out
Post by: Derek182 on June 09, 2010, 01:11:28 pm
Oh, how I love leaving for a while and coming back to find awesome news like this... ;D
Thanks, uli!
Title: Re: TV-out
Post by: Meneer Jansen on June 09, 2010, 03:18:57 pm
Since I accidentally fried me 'ol Dingoo: can anyone tell me how the quality is of Dinux's TV out is? I mean for movies. Because movies "need" full 24 bit colour. Most of our beloved classic games do not come in more than 16 bit colours, so TV out for games is perfect on the Digoo (meaning that we can now even play Mame on the TV!!!!)

However, I've heard that the TV chip on the Dingoo does support 24 bit colour, but it isn't "utilized" by the Dingoo firmware. Another problem is that there (to my knowledge) isn't a good movie player yet for Dingux. There seems to be a port of mplayer out there, but it doesn't support the graphical overlays (i.e. displaying movie duration, time left etc.) I think. And does sound work properly yet in mplayer? Anyway, if one of you would be so kind as to watch a movie for a few minutes in Dinux and compare it with the TV output using the native firmware movie player, I'd be very grateful. :)
Title: TV-out cable pinout
Post by: borus on June 09, 2010, 07:14:21 pm
I lost my tv-out cable. I have a similar one, but it doesn't work. Can anybody test and post here the pinout so I can build my own cable?
thx in advance.
Title: Re: TV-out cable pinout
Post by: rutjoni on June 09, 2010, 08:25:44 pm
I lost my tv-out cable. I have a similar one, but it doesn't work. Can anybody test and post here the pinout so I can build my own cable?
thx in advance.
hello, if it works, try connecting the red or white plug the yellow plug tv, cables are similar but have changed the order of cable. sorry for my English
Title: Re: TV-out
Post by: NEODAN on June 09, 2010, 09:47:11 pm
I think he's asking what fs you put on your card when you formatted it, right? It should be formatted as such.

format x: /FS:fat32 /A:32K
Well, not formatted in MS-DOS mode, I can test. But in windows I formatted FAT-32 mode. Thus functioned normally until then.
OK! The Dingux started correctly with this format via MS-DOS! The screen was only with the normal setting gmenu2x with the cpu at 336. At first the screen was all displaced. But after a few attempts, he ended up setting.
Something I noticed and I did not like was the audio out on dingoo and also on TV and in most of the programs I tested, with the volume very low.
Would put the audio on the TV when activated in the same way TV system's native dingoo?
I look forward to the implementation of overclocking on tv-out!
Thank you all for your help! :)
Title: Re: TV-out
Post by: mvrotc on June 10, 2010, 01:51:06 am
Ok guys please bare with me here i am a total noob to the dingoo and especially to linux.

I download the tv out patch file in the first post, but where on my sd card do i put it?
And how does one ''execute with parameters'' on the dingoo

sorry no flaming :-(
Title: Re: TV-out
Post by: santino on June 10, 2010, 06:36:59 am
You dont need the patchfile, use the binary: http://github.com/downloads/uli/dingoo-tvout/tvout-2010-06-05

Are you using gmenu2x or dmenu? Gmenu2x offers a function to start files with parameters, just edit the link.
Title: Re: TV-out
Post by: mvrotc on June 10, 2010, 04:54:23 pm
im using gmenu

Title: Re: TV-out
Post by: santino on June 10, 2010, 06:15:48 pm
Add a link to the tvout binary and press SELECT -> EDIT -> PARAMETER "--pal" or "--ntsc". That should work.
Title: Re: TV-out
Post by: remax on June 15, 2010, 03:40:28 pm
Does this kernel include the right poweroff functions from the rtc kernel?
It seems that it has poweroff but no RTC
Title: Re: TV-out
Post by: uli on June 18, 2010, 08:35:42 am
Just pushed a new commit with a "--speed" option using a TV-out-friendly version of the jz_cpuspeed() function that everybody(?) uses to set the clock speeds. Somebody please review this and make it into a binary and put it somewhere, I wrote it under severe jet lag after a 45-hour trip Baguio->Manila->Hong Kong->Frankfurt->Nuernberg and a day at the office without sleep in between, so there may be errors...

Now if all programs would use this patched version of jz_cpuspeed() (which rounds down frequencies to multiples of 24 MHz and sets the right pixclock divider), there would be no more overclocking problems with TV output. What would be even greater (IMO) is if somebody would turn this into a command-line tool that goes into the rootfs, and everybody would use that instead. That way, it would be way easier to fix this stuff next time, for instance to use the CPU scaling in the kernel instead.
Title: Re: TV-out
Post by: SiENcE on June 18, 2010, 11:03:15 am
Good Ideas. I also don't like, that every app has it's own overclocking implementation.


the new binary with speed option: tvout-dingoo_2010-06-18.zip (http://sience.schattenkind.net/dingoo/tvout-dingoo_2010-06-18.zip)
Title: Re: TV-out
Post by: uli on June 19, 2010, 01:00:50 pm
Did some work on getting this stuff into the kernel:

http://dingoowip.blogspot.com/
Title: Re: TV-out
Post by: ruffnutts on June 21, 2010, 07:37:57 pm
@ uli - So can we use your new gmenu2x with any kernel?
Title: Re: TV-out
Post by: Leoscarax on August 05, 2010, 02:31:31 pm
Hi everybody,

I tried several times to use the TV Out option on my A320 Dingoo with Dmenu,( I am using Dingux integrale V2, ans I am still a beginner ) however I can never use it, when I start the exe TVout, Dingux freeze and all I can do is put something into the reset Hole...
I read all I can to understand how to fix Dingux's TV out but it refuses to work !

Is anybody make it works with Dmenu ? And is any special tips to know to make it work ? I thank you in advance for your help and also apologize for my very bad English !

Regards
Title: Re: TV-out
Post by: ValdikSS on August 11, 2010, 04:34:52 pm
Tried to disable sound from the internal speakers and no luck. Tried everything with /dev/mixer and /dev/mixer1.
But wrote a code to turn off the backlight but we need to patch gmenu I think(it sets the backlight value every program start). Should I commit it?
Title: Re: TV-out
Post by: tolust on September 02, 2010, 10:49:33 pm
Hi,

Just a small suggestion can someone please make/include (TV-OUT) this with a LOCAL PACK ? so all we need to do is just unzip everything into a SD card. it would be soooooo much easy for noobs like me :D as i still cant install this on my  gmenu2x. and yes i know i followed everything but the problem im having is installed what files to spacify were on my sd card. Thanks for your help and time :)

....Better yet can someone post a VIDEO ON YOUTUBE with simple STEP by STEP info on how to install this on a Dingux gmenu2x ?
Title: Re: TV-out
Post by: SiENcE on September 03, 2010, 12:54:54 am
As soon as OpenDingux kernel is released also a rootfs is released with included tvtool.
Title: Re: TV-out
Post by: olio on September 09, 2010, 02:45:46 pm
As soon as OpenDingux kernel is released also a rootfs is released with included tvtool.
I try your kernel+tv out on my A330, but it don't work =(

I try with this parameter:
Quote
--pal

Quote
--pal --speed 430

What i have to do?
Title: Re: TV-out
Post by: mandrake88 on September 10, 2010, 02:50:40 am
As soon as OpenDingux kernel is released also a rootfs is released with included tvtool.

Is there an estimated release date?