Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Yet another question about Tv-out for Ati cards
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
MasterX
Veteran
Veteran


Joined: 26 Jun 2003
Posts: 1165

PostPosted: Sun Dec 07, 2003 2:18 am    Post subject: Yet another question about Tv-out for Ati cards Reply with quote

I have Radeon 7500 with xvideo output. I have tested it on Windows and it works fine.
On Linux I have a picture only when I am in the console.
I have build in the kernel support for framebuffer (tip and tricks)
I tried to run (from the console) mplayer -vo directfb, but I am getting the following error

Error opening/initializing the selected video_out (-vo) device

I guess this is because mplayer -vo help does not show directfb.

Anyway, what I would like to do is to modify the system so that I have a picture when I am in X.
I have read that for that I need to load the vesa driver, but thats gives me some errors. I want to have only one XF86COnfig file
Here is my XF86Config file:
Code:

Section "ServerLayout"
   Identifier     "XFree86 Configured"
   Screen     0   "Screen0"
   Screen     1    "Screen1" RightOf "Screen0"
   InputDevice    "Mouse0" "CorePointer"
   InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
   RgbPath      "/usr/X11R6/lib/X11/rgb"
   ModulePath   "/usr/X11R6/lib/modules"
   FontPath     "unix/:-1" 
   FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
#   FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
#   FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
#   FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
#   FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
#   FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
#        FontPath     "/usr/X11R6/lib/X11/fonts/truetype/"
#   FontPath     "/usr/X11R6/lib/X11/fonts/TTF/"
#   FontPath     "/usr/X11R6/lib/X11/fonts/cyrillic"
#   FontPath     "/usr/X11R6/lib/X11/fonts/sharefont"
EndSection

Section "Module"
   Load  "glx"
   Load  "extmod"
   Load  "dri"
   Load  "dbe"
   Load  "record"
   Load  "xtrap"
   Load  "speedo"
   Load  "type1"
EndSection

Section "InputDevice"
   Identifier  "Keyboard0"
   Driver      "keyboard"
   Option "XkbModel" "pc104"
   Option "XkbLayout" "us,el"
#   Option "Xkboptions"  "grp:alt_shift_toggle"
EndSection

Section "InputDevice"
   Identifier  "Mouse0"
   Driver      "mouse"
   Option       "Protocol" "IMPS/2"
   Option       "Device" "/dev/psaux"
   Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"

   #DisplaySize     310   230   # mm
   Identifier   "Monitor0"
   VendorName   "PHL"
   ModelName    "PHILIPS 107T4"
   Option       "DPMS"
EndSection

Section "Monitor"
     Identifier  "TV"
     HorizSync 30-50
     VertRefresh 60
 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     "ForcePCIMode"          # [<bool>]
        #Option     "CPPIOMode"             # [<bool>]
        #Option     "CPusecTimeout"         # <i>
        Option     "AGPMode"         "4"      # <i>
        Option     "AGPFastWrite"    "True"      # [<bool>]
        #Option     "AGPSize"               # <i>
        #Option     "RingSize"              # <i>
        #Option     "BufferSize"            # <i>
        #Option     "EnableDepthMoves"      # [<bool>]
        Option     "EnablePageFlip"   "True"     # [<bool>]
        #Option     "NoBackBuffer"          # [<bool>]
        #Option     "DRIReinit"             # [<bool>]
        #Option     "PanelOff"              # [<bool>]
        Option     "DDCMode"    "True"           # [<bool>]
        #Option     "MonitorLayout"         # [<str>]
        #Option     "IgnoreEDID"            # [<bool>]
        #Option     "OverlayOnCRTC2"        # [<bool>]
        #Option     "CloneMode"             # [<str>]
        #Option     "CloneHSync"            # [<str>]
        #Option     "CloneVRefresh"         # [<str>]
        #Option     "UseFBDev"              # [<bool>]
        #Option     "VideoKey"              # <i>
   Identifier  "Card0"
   Driver      "radeon"
        VendorName  "ATI Technologies Inc"
        BoardName   "Radeon RV200 QW [Radeon 7500]"
        BusID       "PCI:1:0:0"
   Screen       0
EndSection

Section "Device"
     Identifier  "card1"
     Driver      "radeon"
     BusId       "PCI:1:0:0"
     Screen      1
     Option   "SecondMonitorHorizSync" "30-50"
     Option   "SecondMonitorVertRefresh" "60"
     Option   "TVStandard" "NTSC-M"
 EndSection
 
 
 

Section "Screen"
   Identifier "Screen0"
   Device     "Card0"
   Monitor    "Monitor0"
   DefaultDepth    24
   SubSection "Display"
      Depth   24
      Modes "1024x768"   
      Virtual 0 0
   EndSubSection
EndSection

Section "Screen"
     Identifier  "Screen1"
     Device      "card1"
     Monitor     "TV"
     DefaultDepth 16
 
     Subsection "Display"
         Depth       16
         Modes       "800x600"
         ViewPort    0 0
     EndSubsection
 EndSection
 
 
 

Section "DRI"
   #Group        0666
   Mode         0666
EndSection

 
Section "ServerFlags"
 
EndSection


Any help is greatly appreciated.

Thank you
Back to top
View user's profile Send private message
MasterX
Veteran
Veteran


Joined: 26 Jun 2003
Posts: 1165

PostPosted: Sun Dec 07, 2003 4:21 pm    Post subject: Reply with quote

It can not be that difficult.
I know it is a problem that it is being discussed several times.
Can you at least give the link to the discussion? I was not able to find it

Thank you
Back to top
View user's profile Send private message
pgratz
n00b
n00b


Joined: 06 May 2003
Posts: 26

PostPosted: Mon Dec 08, 2003 7:08 pm    Post subject: Reply with quote

I'd actually recommend a different approach (the one I'm using with the same video card). If you get the tv-out branch of the CVS tree from the Gatos site it will give you tv out support in X which is somewhat accelerated (XV works and stuff like that). I've been using that for a few weeks and I'm happy with it (although it still requires you boot up with a regular external monitor.

In the past I've tried the framebuffer approach but I could never get it working correctly....
Paul
Back to top
View user's profile Send private message
i_hate_your_os
Tux's lil' helper
Tux's lil' helper


Joined: 29 Aug 2002
Posts: 128
Location: Manhattan Beach, CA

PostPosted: Mon Dec 08, 2003 9:50 pm    Post subject: hmm Reply with quote

Did you use the fglrxconfig program and specify two monitors? This sort of worked for me, although when I last tried it there were some glitches.
_________________
-IHYOS

"All laws which are repugnant to the constitution are null and void."
-Marbury vs. Madison, 5 US (2 Cranch) 137, 174, 176, (1803)
Back to top
View user's profile Send private message
MasterX
Veteran
Veteran


Joined: 26 Jun 2003
Posts: 1165

PostPosted: Tue Dec 09, 2003 2:14 am    Post subject: Re: hmm Reply with quote

i_hate_your_os wrote:
Did you use the fglrxconfig program and specify two monitors? This sort of worked for me, although when I last tried it there were some glitches.


Xmm, I need some help here. Where can I find fglrxconfig?
It seems to me that it is in ati-driver packages. I have radeon 7500 which is not supported by the ati-drivers.
Also I saw that it is good to run opengl-update ati. But why?

Thank you for the info
Back to top
View user's profile Send private message
MasterX
Veteran
Veteran


Joined: 26 Jun 2003
Posts: 1165

PostPosted: Tue Dec 09, 2003 5:55 am    Post subject: Reply with quote

pgratz wrote:
I'd actually recommend a different approach (the one I'm using with the same video card). If you get the tv-out branch of the CVS tree from the Gatos site it will give you tv out support in X which is somewhat accelerated (XV works and stuff like that). I've been using that for a few weeks and I'm happy with it (although it still requires you boot up with a regular external monitor.

In the past I've tried the framebuffer approach but I could never get it working correctly....
Paul


Do you need to do any changes in the XF86Config file?
Do you need to create a second screen, like I have done above?

I am sorry guys for the trouble but I am really lost.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia 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