Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
MacMini TV-Out
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
ravageNG
n00b
n00b


Joined: 29 Jul 2003
Posts: 46

PostPosted: Tue Jul 19, 2005 5:33 pm    Post subject: MacMini TV-Out Reply with quote

Hello,

I'm running VDR with Xine-Plugin and a Terratec Cinergy T2 (DVB-T) - and it works very well. No Problems yet (except the weired OSD colors, but fixed with the help of the author of xine-vdr-plugin). It's just a great peace of software!
If anybody needs some help, just ask here :)

:?: But I also need your help!
I want to connect the mac mini to my PAL-TV. But no success yet. Anybody here who had success running Tv out under linux?

May be we should try to start testing X-configurations together. But where to start? I've read someone got a B&W image - but I didn't found the config. It might be a good starting point!

I've looked into DisplayConfigX under MacOSX while having connected to the TV. But it gave no information, which helped me: the only frequency shown were the 50Hz of my TV :(

Please let's start working together and post the results here. :P
Back to top
View user's profile Send private message
JFK78
n00b
n00b


Joined: 29 Jun 2003
Posts: 17
Location: Paris, France

PostPosted: Wed Jul 20, 2005 6:55 am    Post subject: TV Out with Mac Mini Reply with quote

Ok I think that you saw my post. I got no further but what I found that worked best (relatively speaking) was
720x288@25Hz not interleaved.

The modeline was something like this:
Modeline "720x288" 13.88 720 742 808 888 288 290 292 313

If I remember, I tried to play with the hsync & vsync to no avail.

I will try again tonight.

Jeff
Back to top
View user's profile Send private message
ravageNG
n00b
n00b


Joined: 29 Jul 2003
Posts: 46

PostPosted: Thu Jul 21, 2005 5:48 pm    Post subject: Reply with quote

Maybe it was your post :) Thanks for your response.

Tomorrow I will do tests based on your modeline.

Meanwhile I contacted to author of "DisplayConfigX" - no answer yet. Maybe he has some tipps how to get informations from MacOS X which can give us a modeline ....

Another idea might be to analyse the Radeon's drivers on MacOS X - especially the Ati TV-Out Panel. But I'm not a MacOS guru to get some information - need your help :)

I'm going to contact Apple and ATI. May be this time we get informations from them :roll:
Back to top
View user's profile Send private message
JFK78
n00b
n00b


Joined: 29 Jun 2003
Posts: 17
Location: Paris, France

PostPosted: Sat Jul 23, 2005 7:43 am    Post subject: Modelines Reply with quote

OK I played with the modelines. Here are those I tested:

    Modeline "720x288@60" 15.31 720 752 808 840 288 294 297 303
    Modeline "720x288@50" 12.60 720 752 792 824 288 294 297 303
    Modeline "720x576@60i" 15.28 720 752 808 840 576 589 592 605 interlace
    Modeline "720x576@50i" 12.58 720 752 792 824 576 589 592 605 interlace
    Modeline "640x480@50" 19.66 640 672 744 776 480 490 494 505
    Modeline "640x480@60" 24.11 640 672 760 792 480 490 495 505
    Modeline "800x600@50" 30.97 800 832 944 976 600 613 618 631
    Modeline "800x600@60" 38.21 800 832 976 1008 600 612 618 631


The ones that gave some "results" are
640x480@60 => b&w dark but quite stable image is duplicated
720x576@50i => b&w lighter nearly stable image is nearly centered
720x288@50 => approximately the same as the previous one.

I don't know if MacOS just switch to a given modeline or if there are additional steps (driver level ?). If it is the case, the we will have to ask the Xorg maintener or whoever is maintaining the code (if they have the time and if we know what to do...)

Jeff
Back to top
View user's profile Send private message
ravageNG
n00b
n00b


Joined: 29 Jul 2003
Posts: 46

PostPosted: Sat Jul 23, 2005 8:02 am    Post subject: Reply with quote

Thanks again.
Maybe you can post the whole Xorg.conf? (Or send it private...)
I also tried some modelines but didn't get anything. Did you compile the radeon-fb driver into the kernel? After it's initalized I don't see anything on TV.

But it eems to be related to driver level, too.
May be GATOS (http://gatos.sf.net) will do the trick. I'm going to test it this weekend.
Hope I have the time to test.....

Once again: Thx for your help!
Back to top
View user's profile Send private message
JFK78
n00b
n00b


Joined: 29 Jun 2003
Posts: 17
Location: Paris, France

PostPosted: Sun Jul 24, 2005 8:14 am    Post subject: Reply with quote

ravageNG wrote:
Thanks again.
Maybe you can post the whole Xorg.conf? (Or send it private...)
I also tried some modelines but didn't get anything. Did you compile the radeon-fb driver into the kernel? After it's initalized I don't see anything on TV.

But it eems to be related to driver level, too.
May be GATOS (http://gatos.sf.net) will do the trick. I'm going to test it this weekend.
Hope I have the time to test.....

Once again: Thx for your help!


The results I gave are those I get when I run Xorg. Maybe it depends on the kind of TV set you use... I don't know.
here is my xorg.conf:
Code:

Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
#       InputDevice    "Mouse0" "CorePointer"
#       InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        RgbPath      "/usr/lib/X11/rgb"
        ModulePath   "/usr/lib/modules"
        FontPath     "/usr/share/fonts/misc/"
        FontPath     "/usr/share/fonts/TTF/"
        FontPath     "/usr/share/fonts/Type1/"
        FontPath     "/usr/share/fonts/CID/"
        FontPath     "/usr/share/fonts/75dpi/"
        FontPath     "/usr/share/fonts/100dpi/"
EndSection

Section "Module"
        SubSection  "extmod"
                Option    "omit xfree86-dga"   # don't initialise the DGA extension
        EndSubSection
        Load  "record"
        Load  "extmod"
        Load  "dbe"
        Load  "dri"
        Load  "glx"
        Load  "xtrap"
        Load  "freetype"
        Load  "type1"
EndSection

#Section "InputDevice"
#       Identifier  "Keyboard0"
#       Driver      "kbd"
#EndSection

#Section "InputDevice"
#       Identifier  "Mouse0"
#       Driver      "mouse"
#       Option      "Protocol" "auto"
#       Option      "Device" "/dev/mouse"
#EndSection

Section "Monitor"
        Identifier   "TV"
        VendorName   "TV"
        ModelName    "Monitor Model"
        HorizSync 15-100
        VertRefresh 45-70
        Modeline "720x288@60" 15.31 720 752 808 840 288 294 297 303
        Modeline "720x288@50" 12.60 720 752 792 824 288 294 297 303
        Modeline "720x576@60i" 15.28 720 752 808 840 576 589 592 605 interlace
        Modeline "720x576@50i" 12.58 720 752 792 824 576 589 592 605 interlace
        Modeline "640x480@50" 19.66 640 672 744 776 480 490 494 505
        Modeline "640x480@60" 24.11 640 672 760 792 480 490 495 505
        Modeline "800x600@50" 30.97 800 832 944 976 600 613 618 631
        Modeline "800x600@60" 38.21 800 832 976 1008 600 612 618 631
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"                   # [<bool>]
        #Option     "SWcursor"                  # [<bool>]
        #Option     "Dac6Bit"                   # [<bool>]
        #Option     "Dac8Bit"                   # [<bool>]
        #Option     "BusType"                   # [<str>]
        #Option     "CPPIOMode"                 # [<bool>]
        #Option     "CPusecTimeout"             # <i>
        Option     "AGPMode" "4"                # <i>
        #Option     "AGPFastWrite" "True"       # [<bool>]
        #Option     "AGPSize"                   # <i>
        #Option     "GARTSize"                  # <i>
        #Option     "RingSize"                  # <i>
        #Option     "BufferSize"                # <i>
        Option     "EnableDepthMoves"   "True"          # [<bool>]
        Option     "EnablePageFlip"     "True"          # [<bool>]
        #Option     "NoBackBuffer"              # [<bool>]
        #Option     "DRIReinit"                 # [<bool>]
        #Option     "PanelOff"                  # [<bool>]
        #Option     "DDCMode"                   # [<bool>]
        #Option     "MonitorLayout"             # [<str>]
        #Option     "IgnoreEDID"                # [<bool>]
        #Option     "UseFBDev"                  # [<bool>]
        #Option     "VideoKey"                  # <i>
        #Option     "MergedFB"                  # [<bool>]
        #Option     "CRT2HSync"                 # [<str>]
        #Option     "CRT2VRefresh"              # [<str>]
        #Option     "CRT2Position"              # [<str>]
        #Option     "MetaModes"                 # [<str>]
        #Option     "MergedDPI"                 # [<str>]
        #Option     "NoMergedXinerama"          # [<bool>]
        #Option     "MergedXineramaCRT2IsScreen0"       # [<bool>]
        #Option     "DisplayPriority"           # [<str>]
        #Option     "PanelSize"                 # [<str>]
        #Option     "ForceMinDotClock"          # <freq>
        Option     "RenderAccel"        "True"          # [<bool>]
        #Option     "SubPixelOrder"             # [<str>]
        #Option     "ShowCache"                 # [<bool>]
        #Option     "DynamicClocks"             # [<bool>]
        #Option     "VGAAccess"                 # [<bool>]
        #Option     "LVDSProbePLL"              # [<bool>]
        #Option     "ReverseDDC"                # [<bool>]
        #Option     "BIOSHotkeys"               # [<bool>]
        Identifier  "Card0"
        Driver      "ati"
        VendorName  "ATI Technologies Inc"
        BoardName   "Unknown Board"
        BusID       "PCI:0:16:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "TV"
        DefaultDepth 24
        SubSection "Display"
                Modes "720x288@60"
                Depth 24   
        EndSubSection
EndSection

Section "DRI"
        Mode 0666
EndSection


JEff
Back to top
View user's profile Send private message
JFK78
n00b
n00b


Joined: 29 Jun 2003
Posts: 17
Location: Paris, France

PostPosted: Sun Jul 24, 2005 8:19 am    Post subject: And by the way Reply with quote

By the way, I don't know if you have the same problem,
but there is one really weird behavior (and maybe that explains why you don't see anything on your tv when you boot).

I think (this is only an assumption!) that the mini do not boot when I have the dvi->svideo adapter plugged in.
I had to reboot the mini a few times (new kernel and so on) and each time I had to plug a dvi screen to see what was happening because I could not access it from the network. When I did that, there was no problem whatsoever.

I tried once to boot it without the adapter plugged in and it worked.

I am not sure about though

JEff
Back to top
View user's profile Send private message
ravageNG
n00b
n00b


Joined: 29 Jul 2003
Posts: 46

PostPosted: Fri Jul 29, 2005 10:57 pm    Post subject: Reply with quote

Hi,

sorry for my late response. :( Too busy at work...

My MacMini boots with TV adapter plugged in. No problems so far (at least under MacOS).
Over network I could it reach when booting linux - of course also when I don't see anything on TV/monitor.

Currently I'm trying Gatos which seems the right way. But no luck yet... still don't know why, but I'm searching. Good news: gatos detetcs the Rage Theater on MacMini's Radeon 9200. :)


Will let you know if I have some news.
Something new from your side?
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Fri Jul 29, 2005 11:22 pm    Post subject: Reply with quote

You may want to try an X.org 6.9/7.0 pre-release, they have GATOS built in already.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
ravageNG
n00b
n00b


Joined: 29 Jul 2003
Posts: 46

PostPosted: Sat Jul 30, 2005 1:26 pm    Post subject: Reply with quote

Thanks for this hint. :D

Is there already an ebuild somewhere?
Is also the TV-Out part in it?
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sat Jul 30, 2005 1:34 pm    Post subject: Reply with quote

Yes, GATOS handles the TV out and TV in part. It should be part of the CVS snapshot version of xorg-x11 as far as I know. The latest one in portage is 6.8.99.15.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
JFK78
n00b
n00b


Joined: 29 Jun 2003
Posts: 17
Location: Paris, France

PostPosted: Sun Jul 31, 2005 5:47 pm    Post subject: Reply with quote

OK, good advice.
I found two possible options based on xorg 6.8.99.15 on the gatos mailing list
- patch at http://megahurts.dk/rune/tv_output.html
- patch at http://www.botchco.com/alex/xorg/superpatch/

I tried the first one but it did not work (though I have not thoroughly tested so it may need some additional tests)
I haven't got the second one to work yet. The patch does not apply "cleanly" on xorg 6.8.99.15... maybe on a later version since it was create 3 days ago.

If anybody has some time, maybe it would be worth investigating in this direction

JEff
Back to top
View user's profile Send private message
ravageNG
n00b
n00b


Joined: 29 Jul 2003
Posts: 46

PostPosted: Sun Jul 31, 2005 7:22 pm    Post subject: Reply with quote

Thanks for your response JFK78.

I'm trying to get it working with the patch from Rune (your first link), but with 6.8.99.4 as mentioned on his page. No luck yet :(
But I'm in contact with Rune.

Maybe someone else could try the superpatch (the second link).
Back to top
View user's profile Send private message
ravageNG
n00b
n00b


Joined: 29 Jul 2003
Posts: 46

PostPosted: Thu Aug 11, 2005 6:08 pm    Post subject: Reply with quote

Nothing new here. I wasn't able to get closer to a working tv out. :(

Anything new from your side?
Back to top
View user's profile Send private message
JFK78
n00b
n00b


Joined: 29 Jun 2003
Posts: 17
Location: Paris, France

PostPosted: Thu Aug 11, 2005 8:27 pm    Post subject: Reply with quote

No nothing new. I am trying to get x modular to work (since the ati driver is a small package, I hope it will be easier to test with alex superpatch)

Jeff
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Fri Aug 12, 2005 12:32 am    Post subject: Reply with quote

This may help: http://dev.gentoo.org/~spyderous/xorg-x11/migrating_to_modular_x_howto.txt
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
ppcguy
n00b
n00b


Joined: 24 Sep 2005
Posts: 1

PostPosted: Sat Sep 24, 2005 12:10 pm    Post subject: Reply with quote

The Mac-on-linux project (http://www.maconlinux.org/) can supposedly run OSX inside a Linux session. Could help in figuring out how the OSX driver does the TV-out magic with the graphics card?
Back to top
View user's profile Send private message
ravageNG
n00b
n00b


Joined: 29 Jul 2003
Posts: 46

PostPosted: Sun Oct 30, 2005 6:33 am    Post subject: Reply with quote

Hello.

First of all: It's still not working. 8O

But what about these "hand made" vga to scart adapters? :idea:

http://www.idiots.org.uk/vga_rgb_scart/
http://ryoandr.free.fr/english.html

(more to find via web search)

Anyone already tried?
One problem might be the picture quality after DVI->VGA->TV conversation.
Back to top
View user's profile Send private message
JFK78
n00b
n00b


Joined: 29 Jun 2003
Posts: 17
Location: Paris, France

PostPosted: Sun Oct 30, 2005 5:16 pm    Post subject: Reply with quote

ravageNG wrote:
Hello.

First of all: It's still not working. 8O

But what about these "hand made" vga to scart adapters? :idea:

http://www.idiots.org.uk/vga_rgb_scart/
http://ryoandr.free.fr/english.html

(more to find via web search)

Anyone already tried?
One problem might be the picture quality after DVI->VGA->TV conversation.


No I did not try this but I think the quality shouldn't be too bad. The DVI connectors carries the digital signal, but also the analog signal (depending on the type of connector, you know DVI-B ...). And the converters seem more like adapters than actual converters, they only add one resistor.

Anyway, having two svideo adapters from apple, I decided to open one of them. However, I haven't been able to go any further with it. I have some pictures if anyone is interested. There seem to be an active component (it's possible to read some references on it on my photos) but I haven't been able to figure out what is its use. Anybody interested?

JEff
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum