Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
TV-out with fullscreen video.
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
DragonZeal
n00b
n00b


Joined: 28 Feb 2005
Posts: 58

PostPosted: Wed Aug 10, 2005 9:05 pm    Post subject: TV-out with fullscreen video. Reply with quote

Hi.
I'm using Gentoo kernel 2.6.12-r6 with Ati-Drivers 8.14.12-r2 and Ati-Drivers-Extra.
I wanted too have my xvid files in fullscreen on my TV like the theater option in Windows.
But I have learned that this is not possible.
What are my options to have fullscreen video like in Windows?
I have the following hardware available:
Ati Radeon 9800 Pro
Hollywood DXR3
Creative DXR3
Matrox G400
Nvidia Geforce4MX
Back to top
View user's profile Send private message
DragonZeal
n00b
n00b


Joined: 28 Feb 2005
Posts: 58

PostPosted: Thu Aug 11, 2005 7:09 am    Post subject: Reply with quote

Isn't there anybody that can help me?
Back to top
View user's profile Send private message
k_max
n00b
n00b


Joined: 28 Oct 2004
Posts: 20

PostPosted: Thu Aug 11, 2005 1:24 pm    Post subject: Reply with quote

well, you can still watch fullscreen movies with MPlayer in console (you must have framebuffer compiled in kernel, it works good with vesafb, i couldn't get it to work with atyfb). MPlayer has a lot of video-out and scaling options, look in the manual for them.
Back to top
View user's profile Send private message
DragonZeal
n00b
n00b


Joined: 28 Feb 2005
Posts: 58

PostPosted: Thu Aug 11, 2005 3:33 pm    Post subject: Reply with quote

I don't quite understand you.
So you mean that i can have video on both screens.
But I read something about 2 XServers 1 for daily use and 1 for tv-out fullscreen video only.
Should that be another option?
I might try the dxr3.
Back to top
View user's profile Send private message
Antimatter
Guru
Guru


Joined: 11 Aug 2003
Posts: 463

PostPosted: Thu Aug 11, 2005 10:44 pm    Post subject: Reply with quote

k_max wrote:
well, you can still watch fullscreen movies with MPlayer in console (you must have framebuffer compiled in kernel, it works good with vesafb, i couldn't get it to work with atyfb). MPlayer has a lot of video-out and scaling options, look in the manual for them.


Yes that works for the screen, but i haven't had any luck on geting any form of output using framebuffer (by output i mean output to the tv screen)
Back to top
View user's profile Send private message
k_max
n00b
n00b


Joined: 28 Oct 2004
Posts: 20

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

Antimatter wrote:


Yes that works for the screen, but i haven't had any luck on geting any form of output using framebuffer (by output i mean output to the tv screen)


well, i have a notebook with ATI Rage Moblility P/M (mach64 chip) and use 'atitvout' program to switch the screens. it also worked with Fn+F3 buttons earlier, when i've had non-ACPI kernel. you can try to launch Xserver with vesa driver (640x480 resolution and 16bit color depth). a lot of video cards require booting with TV-out cable attached to the TV or the card doesn't detect the TV-screen.
Back to top
View user's profile Send private message
DragonZeal
n00b
n00b


Joined: 28 Feb 2005
Posts: 58

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

But does atitvout works with a radeon9800pro?
Back to top
View user's profile Send private message
Antimatter
Guru
Guru


Joined: 11 Aug 2003
Posts: 463

PostPosted: Fri Aug 12, 2005 4:31 pm    Post subject: Reply with quote

k_max wrote:
Antimatter wrote:


Yes that works for the screen, but i haven't had any luck on geting any form of output using framebuffer (by output i mean output to the tv screen)


well, i have a notebook with ATI Rage Moblility P/M (mach64 chip) and use 'atitvout' program to switch the screens. it also worked with Fn+F3 buttons earlier, when i've had non-ACPI kernel. you can try to launch Xserver with vesa driver (640x480 resolution and 16bit color depth). a lot of video cards require booting with TV-out cable attached to the TV or the card doesn't detect the TV-screen.


I used atitvout, and had the tv plugged into the tv, and it detected, but it always failed with a VBE error of sort when i tried to activate the tv out, but that has mainly been with the radeonfb, and/or vesa fb, but i'll give the 640x480 a shot to see if that gets me anywhere, but i did get the secondary screen out to work (vga out) and it seemed to work just fine, the issue was and is still the tv out, but i'll give that another shot with 320x240 and some other lower end resolution.
Back to top
View user's profile Send private message
DragonZeal
n00b
n00b


Joined: 28 Feb 2005
Posts: 58

PostPosted: Fri Aug 12, 2005 6:59 pm    Post subject: Reply with quote

I have tv-out but the problem is that either the monitor or either the tv shows the movie.
Back to top
View user's profile Send private message
lamekain
Guru
Guru


Joined: 25 Nov 2003
Posts: 331
Location: Helsinki, Finland

PostPosted: Fri Sep 16, 2005 4:57 pm    Post subject: Reply with quote

using opengloverlay i have output on both screens (clone mode, drivers 8.16.20, 9700 mobile)
_________________
"Only when the last tree has died, the last river been poisoned,
and the last fish been caught, will we realize we cannot eat money"

-Global Terrorism.org
Back to top
View user's profile Send private message
alienjon
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1726

PostPosted: Tue Dec 06, 2005 6:08 am    Post subject: Reply with quote

I have my TV plugged into my x800 pro card and I can see videos just fine, but my monitor resolution is 1280x1024 whilte my tv is 1024x768. I've heard that you can't set up a 'theater mode' option in Linux (as you can with the windows drivers) but is there some way to have my tv display at a different resolution than my monitor (If it comes down to having to change my desktop resolution whenever I want to watch a video, I'll just stick with xp for my movies, etc...)
Back to top
View user's profile Send private message
lamekain
Guru
Guru


Joined: 25 Nov 2003
Posts: 331
Location: Helsinki, Finland

PostPosted: Tue Dec 06, 2005 8:19 am    Post subject: Reply with quote

alienjon wrote:
I have my TV plugged into my x800 pro card and I can see videos just fine, but my monitor resolution is 1280x1024 whilte my tv is 1024x768. I've heard that you can't set up a 'theater mode' option in Linux (as you can with the windows drivers) but is there some way to have my tv display at a different resolution than my monitor (If it comes down to having to change my desktop resolution whenever I want to watch a video, I'll just stick with xp for my movies, etc...)

Not sure what you mean by 'theather mode', but if you mean to have the two screens act as one huge (wide) screen, then that is possible. Anyway here are the relevant parts of my xorg.conf. If the TV is connected then I get it at 800x600 and my lcd at 1400x1050, if it's not connected then I just get my laptop screen (ideal configuration IMHO). The screens are separate meaning I can't drag stuff from one to the other, but I can switch by moving my mouse "off" the first screen (also you can command mplayer for example, to play a video on the other screen).
Code:
# **********************************************************************
# DRI Section
# **********************************************************************
Section "dri"
# Access to OpenGL ICD is allowed for all users:
    Mode 0666
# Access to OpenGL ICD is restricted to a specific user group:
#    Group 100    # users
#    Mode 0660
EndSection
(....)
# these are in the module-section:
# This loads the GLX module
    Load        "glx"   # libglx.a
    Load        "dri"   # libdri.a
(...)
Section "Monitor"
   Identifier   "LaptopLCD"
   Option      "DPMS"
   HorizSync   28-50
   VertRefresh   43-75
EndSection

Section "Monitor"
    Identifier  "TV"
    Option      "DPMS"
EndSection
(...)
# === ATI device section ===

Section "Device"
    Identifier                          "ATI Graphics Adapter"
    Driver                              "fglrx"
# ### generic DRI settings ###
# === disable PnP Monitor  ===
    #Option                              "NoDDC"
# === disable/enable XAA/DRI ===
    Option "no_accel"                   "no"
    Option "no_dri"                     "no"
# === misc DRI settings ===
    Option "mtrr"                       "off" # disable DRI mtrr mapper, driver has its own code for mtrr
# ### FireGL DDX driver module specific settings ###
# === Screen Management ===
    Option "DesktopSetup"               "(null)" # "horizontal"
    Option "ScreenOverlap"              "0"
# === TV-out Management ===
    Option "TVFormat"                   "PAL-B"     
    Option "TVStandard"                "VIDEO" # "NTSC-N"
    Option "TVHSizeAdj"                 "0"     
    Option "TVVSizeAdj"                 "0"     
    Option "TVHPosAdj"                  "0"     
    Option "TVVPosAdj"                  "0"     
    Option "TVHStartAdj"                "0"     
    Option "TVColorAdj"                 "0"     
    Option "GammaCorrectionI"           "0x00000000"
    Option "GammaCorrectionII"          "0x00000000"
# === OpenGL specific profiles/settings ===
    Option "Capabilities"               "0x00000000"
    Option "CapabilitiesEx"             "0x00000000"
# === Video Overlay for the Xv extension ===
    Option "VideoOverlay"               "on"
# === OpenGL Overlay ===
# Note: When OpenGL Overlay is enabled, Video Overlay
#       will be disabled automatically
    Option "OpenGLOverlay"              "on"
# === Center Mode (Laptops only) ===
    Option "CenterMode"                 "off"
# === Pseudo Color Visuals (8-bit visuals) ===
    Option "PseudoColorVisuals"         "off"
# === QBS Management ===
    Option "Stereo"                     "off"
    Option "StereoSyncEnable"           "1"
# === FSAA Management ===
    Option "FSAAEnable"                 "no"
    Option "FSAAScale"                  "1"
    Option "FSAADisableGamma"           "no"
    Option "FSAACustomizeMSPos"         "no"
    Option "FSAAMSPosX0"                "0.000000"
    Option "FSAAMSPosY0"                "0.000000"
    Option "FSAAMSPosX1"                "0.000000"
    Option "FSAAMSPosY1"                "0.000000"
    Option "FSAAMSPosX2"                "0.000000"
    Option "FSAAMSPosY2"                "0.000000"
    Option "FSAAMSPosX3"                "0.000000"
    Option "FSAAMSPosY3"                "0.000000"
    Option "FSAAMSPosX4"                "0.000000"
    Option "FSAAMSPosY4"                "0.000000"
    Option "FSAAMSPosX5"                "0.000000"
    Option "FSAAMSPosY5"                "0.000000"
# === Misc Options ===
    Option "UseFastTLS"                 "0"
    Option "BlockSignalsOnLock"         "on"
    Option "UseInternalAGPGART"         "yes"
    Option "ForceGenericCPU"            "no"
    BusID "PCI:1:0:0"    # vendor=1002, device=4e50
    Screen 0
EndSection

Section "Device"
    Identifier                          "ATI Graphics Adapter connector 1"
    Driver                              "fglrx"
    BusID "PCI:1:0:0"    # vendor=1002, device=4e50
    Screen 1
EndSection
(...)
Section "Screen"
    Identifier  "Screen0"
    Device      "ATI Graphics Adapter"
    Monitor     "Monitor0"
    DefaultDepth 24
    #Option "backingstore"

    Subsection "Display"
        Depth       24
        Modes       "1400x1050" "1024x768" "800x600"
        ViewPort    0 0  # initial origin if mode is smaller than desktop
#        Virtual     1280 1024
    EndSubsection
EndSection

Section "Screen"
    Identifier  "Screen1"
    Device      "ATI Graphics Adapter connector 1"
    Monitor     "TV"
    DefaultDepth 24
    #Option "backingstore"

    Subsection "Display"
        Depth       24
        Modes       "800x600" "640x480"
        ViewPort    0 0  # initial origin if mode is smaller than desktop
#        Virtual     1280 1024
    EndSubsection
EndSection
(...)
# in the serverlayout section:
    Screen "Screen0"
    Screen "Screen1" RightOf "Screen0"

_________________
"Only when the last tree has died, the last river been poisoned,
and the last fish been caught, will we realize we cannot eat money"

-Global Terrorism.org
Back to top
View user's profile Send private message
batistuta
Veteran
Veteran


Joined: 29 Jul 2005
Posts: 1384
Location: Aachen

PostPosted: Tue Dec 06, 2005 8:47 am    Post subject: Reply with quote

I don't have my xorg.cong here, but I think I know what you are looking for.
The basic idea is to set the TV to clone your monitor. The next problem is that you have different resolutions on each. so the idea is to set your monitor to temporarily use a different resolution, let's say 1024x800 instead of 1280x1024. This is done with something called "metamodes". You first have to define them in your xorg.conf, and you activate them using (I think) CTRL-ALT-"+ keypad key" or CTRL-ALT-"- keypad key" if to increase or decrease resolution. Your desktop itself doesn't change, it is jst that your monitor only shows part of it on the screen (you scroll using the mouse)

the nice thing about this is that when maximizing mplayer or VCL, they maximize to what your monitor shows.
So a tipical step-by-step is:
- set metatmodes (search in the forums for this)
- press CTRL-ALT-"- keypad key" to reduce resolution
- start mplayer
- Move the mplayer window all the way to the top left
- start your video
- maximize mplayer
- enjoy your film :D
Back to top
View user's profile Send private message
alienjon
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1726

PostPosted: Tue Dec 06, 2005 4:15 pm    Post subject: Reply with quote

Thanks for the replies everyone :) I'm going to give both ideas a shot but I'm in the process of updating to gcc 3.4.4, so my comp will be busy for a little while. I'll restart my comp to test a modified xorg (thanks lamekain) right after compiling has finished. Meanwhile I'll look into this "metatmodes" that you were talking about, since it sounds like an easy way to change resolutions in a "snap", so to speak :-p. I'll let you guys know how it goes probably later on today or tomorrow.
Back to top
View user's profile Send private message
batistuta
Veteran
Veteran


Joined: 29 Jul 2005
Posts: 1384
Location: Aachen

PostPosted: Wed Dec 07, 2005 8:49 am    Post subject: Reply with quote

I've meant "metamodes" and not "metatmodes", you know that... it was just a typo, so don't kill yourself if the search doesn't return anything :D
Back to top
View user's profile Send private message
alienjon
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1726

PostPosted: Wed Dec 07, 2005 3:07 pm    Post subject: Reply with quote

Actually I wasn't aware of that, but I haven't had the time to really look into it yet either. Thanks for the clarification :)
Back to top
View user's profile Send private message
alienjon
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1726

PostPosted: Thu Dec 08, 2005 4:10 am    Post subject: Reply with quote

Ok, so here's the beef. I tried editing my xorg.conf to similarly display the second screen. (as lamekain had suggested) The plus is that the TV displays at the proper resolution, the problem is that it is 'positioned' directly next to my monitor, so when I move the mouse to a certain edge of the screen the mouse 'moves' onto the second display (my TV). I looked at the xorg.conf man file and the part that I think is the problem:

Code:
Screen "Screen1" RightOf "Screen0"


can only be positioned differently, in that I can have it above, below, or to the left or right of the screen but not as a 'double' of the current screen (at least by this configuration) Taking out the entire "RightOf "Screen0" doesn't help the problem either (didn't think it would, but I gave it a shot anyway) In fact my login manager won't even load with things set this way!

I then tried the metamodes option, also to no avail, unfortunately. I searched the forums and noticed that everyone who was talking about this option was using an nvidia card (making me think it was an nvidia option) but I tried it anyway and ended up not being able to load the login manager (same end result as I had mentioned above, but this was one step at a time for consistency)

Basically I am now wondering if what I want to do is setup a second serverlayout section with the functional second screen but I am not sure how to activate this screen (the next step being to activate this screen automatically, but I won't get ahead of myself now)
Back to top
View user's profile Send private message
lamekain
Guru
Guru


Joined: 25 Nov 2003
Posts: 331
Location: Helsinki, Finland

PostPosted: Thu Dec 08, 2005 2:49 pm    Post subject: Reply with quote

Well you can get the mirror-setup by editing the ati-driver section. If I remember correctly changing this:
Code:
Option "DesktopSetup"               "(null)" # "horizontal"

into this:
Code:
Option "DesktopSetup"               "mirror"

does the trick. But this will probably make the screens use the same resolution..

[EDIT] Probably "clone" will work better :) [/EDIT]
_________________
"Only when the last tree has died, the last river been poisoned,
and the last fish been caught, will we realize we cannot eat money"

-Global Terrorism.org


Last edited by lamekain on Thu Dec 08, 2005 3:35 pm; edited 1 time in total
Back to top
View user's profile Send private message
batistuta
Veteran
Veteran


Joined: 29 Jul 2005
Posts: 1384
Location: Aachen

PostPosted: Thu Dec 08, 2005 3:26 pm    Post subject: Reply with quote

I don't know about ATI, but for nvidia the clone mode does not require same resolution. In fact, if the monitor runs with higher resolution than your TV, the TV runs in a metamode (you only see part of the TV).
Look at the metamodes. I really belive that is what you need. I am also coming from Windows world (haven't missed it for 10 months by now :D
I used to love the theater mode. And the metamodes is the closest thing I've found on Linux. I wish nvidia, Xorg, or whoever could do something about it, that they did it :evil:. the theater mode really rocks.
Back to top
View user's profile Send private message
alienjon
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1726

PostPosted: Thu Dec 08, 2005 3:59 pm    Post subject: Reply with quote

I currently have my "DesktopSetup" set to "Clone", and for the metamodes (again, my loginmanager wouldn't load with that option set, but I could try it again) but will it only show part of the full screen at the requested resolution on my tv or the requested resolution but a virtual desktop? (If I get the chance, I'll try metamodes again in the meantime)
Back to top
View user's profile Send private message
batistuta
Veteran
Veteran


Joined: 29 Jul 2005
Posts: 1384
Location: Aachen

PostPosted: Thu Dec 08, 2005 4:26 pm    Post subject: Reply with quote

When you login, your monitor is normal (1280x1024 or whatever), but you only see part of that on the TV (1024x768 or whatever). You press control-atl-"+ key", and now you'll only see like in your TV, part of the screen. You can anyway scrool everywhere in your full desktop with the mouse.

This is my xorg.cong for reference with the metamodes.

Code:

Section "ServerLayout"
   Identifier     "CRT"
   Screen 0       "ScreenCRT"
   InputDevice    "Mouse0" "CorePointer"
   InputDevice    "Keyboard0" "CoreKeyboard"
EndSection


Section "ServerLayout"
   Identifier   "TV"
   InputDevice   "Keyboard0" "CoreKeyboard"
   InputDevice   "Mouse0" "CorePointer"
   Screen 1   "ScreenTV"

#   Screen 0   "ScreenCRT"
#   Screen 1   "ScreenTV" rightOf "ScreenCRT"
EndSection


Section "Files"
   RgbPath      "/usr/lib/X11/rgb"
   ModulePath   "/usr/lib/modules"
    FontPath    "/usr/share/fonts/misc:unscaled"
    FontPath    "/usr/share/fonts/Type1"
    FontPath    "/usr/share/fonts/TTF"
    FontPath    "/usr/share/fonts/corefonts"
    FontPath    "/usr/share/fonts/freefont"
    FontPath    "/usr/share/fonts/sharefonts"
    FontPath    "/usr/share/fonts/terminus"
    FontPath    "/usr/share/fonts/ttf-bitstream-vera"
    FontPath    "/usr/share/fonts/unifont"
    FontPath    "/usr/share/fonts/75dpi:unscaled"
    FontPath    "/usr/share/fonts/100dpi:unscaled"
    FontPath    "/usr/share/fonts/artwiz"
    FontPath    "/usr/share/fonts/WindowsFonts"
    FontPath    "/usr/local/share/fonts"
    FontPath    "/usr/share/fonts"
    FontPath    "/usr/share/fonts"
    FontPath    "/usr/share/fonts/cyrillic"
    FontPath    "/usr/share/fonts/default"
    FontPath    "/usr/share/fonts/local"
    FontPath    "/usr/share/fonts/ukr"
EndSection

Section "Module"
   Load  "record"
   Load  "extmod"
   Load  "dbe"
   # Load  "dri"
   Load  "glx"
   load  "nvidia"
   Load  "xtrap"
   Load  "freetype"
   Load  "type1"
EndSection

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

Section "InputDevice"
   Identifier  "Mouse0"
   Driver      "mouse"
   Option       "Protocol"      "ExplorerPS/2"
   Option       "Device"      "/dev/input/mouse0"
   Option      "Resolution"   "256"
   Option      "Buttons"      "7"
   Option      "ZAxisMapping"   "4 5"
EndSection


Section "Monitor"
   Identifier   "MonitorCRT"
#   DisplaySize  365 270
   DisplaySize  325 260
   VendorName   "LG"
   ModelName   "Flatron 995FT"
   HorizSync 30 - 96 # DDC-probed
   VertRefresh 50 - 160 # DDC-probed
   # These are the DDC-probed settings reported by your monitor.
   # 1600x1200, 75.0Hz; hfreq=93.75, vfreq=75.00
   ModeLine "1600x1200"   202.50 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
   # 1280x1024, 85.0Hz; hfreq=91.15, vfreq=85.02
   ModeLine "1280x1024"   157.50 1280 1344 1504 1728 1024 1025 1028 1072 +hsync +vsync
   # 1280x1024, 75.0Hz; hfreq=79.98, vfreq=75.03
   ModeLine "1280x1024"   135.00 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync
   # 1024x768, 85.0Hz; hfreq=68.68, vfreq=85.00
   ModeLine "1024x768"    94.50 1024 1072 1168 1376  768  769  772  808 +hsync +vsync
   # 1024x768, 75.0Hz; hfreq=60.02, vfreq=75.03
   ModeLine "1024x768"    78.75 1024 1040 1136 1312  768  769  772  800 +hsync +vsync
   # 1024x768, 70.0Hz; hfreq=56.48, vfreq=70.07
   ModeLine "1024x768"    75.00 1024 1048 1184 1328  768  771  777  806 -hsync -vsync
   # 1024x768, 60.0Hz; hfreq=48.36, vfreq=60.00
   ModeLine "1024x768"    65.00 1024 1048 1184 1344  768  771  777  806 -hsync -vsync
   # 800x600, 85.0Hz; hfreq=53.67, vfreq=85.06
   ModeLine "800x600"    56.25  800  832  896 1048  600  601  604  631 +hsync +vsync
   # 800x600, 75.0Hz; hfreq=46.88, vfreq=75.00
   ModeLine "800x600"    49.50  800  816  896 1056  600  601  604  625 +hsync +vsync
   # 800x600, 72.0Hz; hfreq=48.08, vfreq=72.19
   ModeLine "800x600"    50.00  800  856  976 1040  600  637  643  666 +hsync +vsync
   # 800x600, 60.0Hz; hfreq=37.88, vfreq=60.32
   ModeLine "800x600"    40.00  800  840  968 1056  600  601  605  628 +hsync +vsync
   # 800x600, 56.0Hz; hfreq=35.16, vfreq=56.25
   ModeLine "800x600"    36.00  800  824  896 1024  600  601  603  625 +hsync +vsync
   # 640x480, 85.0Hz; hfreq=43.27, vfreq=85.01
   ModeLine "640x480"    36.00  640  696  752  832  480  481  484  509 -hsync -vsync
   # 640x480, 75.0Hz; hfreq=37.50, vfreq=75.00
   ModeLine "640x480"    31.50  640  656  720  840  480  481  484  500 -hsync -vsync
   # 640x480, 72.0Hz; hfreq=37.86, vfreq=72.81
   ModeLine "640x480"    31.50  640  656  696  816  480  481  484  504 -hsync -vsync
   # 640x480, 60.0Hz; hfreq=31.47, vfreq=59.94
   ModeLine "640x480"    25.17  640  648  744  784  480  482  484  509 -hsync -vsync
   # Extended modelines with GTF timings
   # 640x480 @ 100.00 Hz (GTF) hsync: 50.90 kHz; pclk: 43.16 MHz
   ModeLine "640x480"  43.16  640 680 744 848  480 481 484 509  -HSync +Vsync
   # 768x576 @ 60.00 Hz (GTF) hsync: 35.82 kHz; pclk: 34.96 MHz
   ModeLine "768x576"  34.96  768 792 872 976  576 577 580 597  -HSync +Vsync
   # 768x576 @ 72.00 Hz (GTF) hsync: 43.27 kHz; pclk: 42.93 MHz
   ModeLine "768x576"  42.93  768 800 880 992  576 577 580 601  -HSync +Vsync
   # 768x576 @ 75.00 Hz (GTF) hsync: 45.15 kHz; pclk: 45.51 MHz
   ModeLine "768x576"  45.51  768 808 888 1008  576 577 580 602  -HSync +Vsync
   # 768x576 @ 85.00 Hz (GTF) hsync: 51.42 kHz; pclk: 51.84 MHz
   ModeLine "768x576"  51.84  768 808 888 1008  576 577 580 605  -HSync +Vsync
   # 768x576 @ 100.00 Hz (GTF) hsync: 61.10 kHz; pclk: 62.57 MHz
   ModeLine "768x576"  62.57  768 816 896 1024  576 577 580 611  -HSync +Vsync
   # 800x600 @ 100.00 Hz (GTF) hsync: 63.60 kHz; pclk: 68.18 MHz
   ModeLine "800x600"  68.18  800 848 936 1072  600 601 604 636  -HSync +Vsync
   # 1024x768 @ 100.00 Hz (GTF) hsync: 81.40 kHz; pclk: 113.31 MHz
   ModeLine "1024x768"  113.31  1024 1096 1208 1392  768 769 772 814  -HSync +Vsync
   # 1152x864 @ 60.00 Hz (GTF) hsync: 53.70 kHz; pclk: 81.62 MHz
   ModeLine "1152x864"  81.62  1152 1216 1336 1520  864 865 868 895  -HSync +Vsync
   # 1152x864 @ 85.00 Hz (GTF) hsync: 77.10 kHz; pclk: 119.65 MHz
   ModeLine "1152x864"  119.65  1152 1224 1352 1552  864 865 868 907  -HSync +Vsync
   # 1152x864 @ 100.00 Hz (GTF) hsync: 91.50 kHz; pclk: 143.47 MHz
#   ModeLine "1152x864"  143.47  1152 1232 1360 1568  864 865 868 915  -HSync +Vsync
   # 1280x960 @ 72.00 Hz (GTF) hsync: 72.07 kHz; pclk: 124.54 MHz
   ModeLine "1280x960"  124.54  1280 1368 1504 1728  960 961 964 1001  -HSync +Vsync
   # 1280x960 @ 75.00 Hz (GTF) hsync: 75.15 kHz; pclk: 129.86 MHz
   ModeLine "1280x960"  129.86  1280 1368 1504 1728  960 961 964 1002  -HSync +Vsync
   # 1280x960 @ 100.00 Hz (GTF) hsync: 101.70 kHz; pclk: 178.99 MHz
   ModeLine "1280x960"  178.99  1280 1376 1520 1760  960 961 964 1017  -HSync +Vsync
   # 1280x1024 @ 100.00 Hz (GTF) hsync: 108.50 kHz; pclk: 190.96 MHz
   ModeLine "1280x1024"  190.96  1280 1376 1520 1760  1024 1025 1028 1085  -HSync +Vsync
   # 1400x1050 @ 60.00 Hz (GTF) hsync: 65.22 kHz; pclk: 122.61 MHz
   ModeLine "1400x1050"  122.61  1400 1488 1640 1880  1050 1051 1054 1087  -HSync +Vsync
   # 1400x1050 @ 72.00 Hz (GTF) hsync: 78.77 kHz; pclk: 149.34 MHz
   ModeLine "1400x1050"  149.34  1400 1496 1648 1896  1050 1051 1054 1094  -HSync +Vsync
   # 1400x1050 @ 75.00 Hz (GTF) hsync: 82.20 kHz; pclk: 155.85 MHz
   ModeLine "1400x1050"  155.85  1400 1496 1648 1896  1050 1051 1054 1096  -HSync +Vsync
   # 1400x1050 @ 85.00 Hz (GTF) hsync: 93.76 kHz; pclk: 179.26 MHz
   ModeLine "1400x1050"  179.26  1400 1504 1656 1912  1050 1051 1054 1103  -HSync +Vsync
   # 1400x1050 @ 100.00 Hz (GTF) hsync: 111.20 kHz; pclk: 214.39 MHz
   ModeLine "1400x1050"  214.39  1400 1512 1664 1928  1050 1051 1054 1112  -HSync +Vsync
   # 1600x1200 @ 100.00 Hz (GTF) hsync: 127.10 kHz; pclk: 280.64 MHz
   ModeLine "1600x1200"  280.64  1600 1728 1904 2208  1200 1201 1204 1271  -HSync +Vsync
EndSection


Section "Monitor"
   HorizSync 30-50
   VertRefresh 60
   Identifier "MonitorTV"
EndSection


Section "Device"
   Identifier  "DeviceCRT"
   Driver      "nvidia"
   Option      "NoLogo" "on"
   Option      "NvAGP" "2"
   VendorName  "nVidia Corporation"
   Option      "RenderAccel" "true"
   BoardName   "NV34 [GeForce FX 5200]"
#   BusID       "PCI:1:0:0"
   Option      "HWCursor" "On"
   Option      "Twinview" "TRUE"
   Option      "SecondMonitorHorizSync" "30-50"
   Option      "SecondMonitorVertRefresh" "60"
   Option       "TwinViewOrientation" "clone"
   Option      "DPMS"
   Option      "MetaModes" "1280x1024@800x600, 1024x768; 1024x768,1024x768; 800x600,800x600; 640x480"
#   Screen 0
EndSection


Section "Device"
   Identifier  "DeviceTV"
   Driver      "nvidia"
   Option      "NoLogo" "on"
   Option      "NvAGP" "2"
   VendorName  "nVidia Corporation"
   Option      "RenderAccel" "true"
   BoardName   "NV34 [GeForce FX 5200]"
#   BusID       "PCI:1:0:0"
   Option      "TVOutFormat" "SVIDEO"
   Option      "TVStandard" "PAL-B"
   Option      "ConnectedMonitor" "TV"
   Option      "IgnoreEDID" "true"
   Option      "HWCursor" "On"
#   Screen 1
EndSection


Section "Screen"
   Identifier "ScreenCRT"
   Device     "DeviceCRT"
   Monitor    "MonitorCRT"
   defaultDepth 24
   Subsection "Display"
      Depth       24
      Modes       "1280x1024" "1152x864" "1024x768"
   EndSubSection
EndSection



Section "Screen"
   Identifier "ScreenTV"
   Device     "DeviceTV"
   Monitor    "MonitorTV"
   DefaultDepth 16
   SubSection "Display"
      Depth     16
      Modes "1280x1024" "1152x864" "1024x768" "800x600"
   EndSubSection
EndSection
Back to top
View user's profile Send private message
alienjon
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1726

PostPosted: Wed Dec 14, 2005 12:47 am    Post subject: Reply with quote

Ok, I had the chance to add metamodes to my xorg and I gave it a shot. Apparently when I had tried it before I had put the option in my 'screen' section and not the 'device' section, hence I could not load anything graphical. Unfortunately this time I get no effect whatsoever, the tv still has a virtual desktop that is (I'm assuming) 1280x1024.

I tried ctrl-alt-+ but that only changes the resolution of my monitor, not my tv. Is there another command for the second screen maybe?

Also, batistuta, I see that you have a second server layout for your secondary monitor (tv) How do you activate it? I know that the first one in the list is activated by default, but I'm not sure how to start a second one (I had also tried adding a second server layout section, but to no avail)

In case there is anything that is blatently 'sticking out' that should not be there or should be different, here is my xorg.conf with metamodes added to it:

Quote:

# File: xorg.conf
# File generated by fglrxconfig (C) ATI Technologies, a substitute for xf86config.

# Note by ATI: the below copyright notice is there for servicing possibly
# pending third party rights on the file format and the instance of this file.
#
# Copyright (c) 1999 by The XFree86 Project, Inc.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
# OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# Except as contained in this notice, the name of the XFree86 Project shall
# not be used in advertising or otherwise to promote the sale, use or other
# dealings in this Software without prior written authorization from the
# XFree86 Project.
#

# **********************************************************************
# Refer to the XF86Config(4/5) man page for details about the format of
# this file.
# **********************************************************************

# **********************************************************************
# DRI Section
# **********************************************************************
Section "dri"
# Access to OpenGL ICD is allowed for all users:
Mode 0666
# Access to OpenGL ICD is restricted to a specific user group:
# Group 100 # users
# Mode 0660
EndSection

# **********************************************************************
# Module section -- this section is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
Section "Module"

# This loads the DBE extension module.

Load "dbe" # Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
SubSection "extmod"
# Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection

# This loads the Type1 and FreeType font modules
Load "type1"
Load "freetype"

# This loads the GLX module
Load "glx" # libglx.a
Load "dri" # libdri.a

EndSection

# **********************************************************************
# Files section. This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"

# The location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.

RgbPath "/usr/lib/X11/rgb"

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
#
# If you don't have a floating point coprocessor and emacs, Mosaic or other
# programs take long to start up, try moving the Type1 and Speedo directory
# to the end of this list (or comment them out).
#

FontPath "/usr/share/fonts/local/"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/Type1/"
# FontPath "/usr/share/fonts/Speedo/"
FontPath "/usr/share/fonts/75dpi/"
FontPath "/usr/share/fonts/100dpi/"

# The module search path. The default path is shown here.

# ModulePath "/usr/X11R6/lib/modules"

EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"

# Uncomment this to cause a core dump at the spot where a signal is
# received. This may leave the console in an unusable state, but may
# provide a better stack trace in the core dump to aid in debugging

# Option "NoTrapSignals"

# Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
# This allows clients to receive this key event.

# Option "DontZap"

# Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
# sequences. This allows clients to receive these key events.

# Option "Dont Zoom"

# Uncomment this to disable tuning with the xvidtune client. With
# it the client can still run and fetch card and monitor attributes,
# but it will not be allowed to change them. If it tries it will
# receive a protocol error.

# Option "DisableVidModeExtension"

# Uncomment this to enable the use of a non-local xvidtune client.

# Option "AllowNonLocalXvidtune"

# Uncomment this to disable dynamically modifying the input device
# (mouse and keyboard) settings.

# Option "DisableModInDev"

# Uncomment this to enable the use of a non-local client to
# change the keyboard or mouse settings (currently only xset).

# Option "AllowNonLocalModInDev"

EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"

Identifier "Keyboard1"
Driver "kbd"
# For most OSs the protocol can be omitted (it defaults to "Standard").
# When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
# uncomment the following line.

# Option "Protocol" "Xqueue"

Option "AutoRepeat" "500 30"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"

# Option "LeftAlt" "Meta"
# Option "RightAlt" "ModeShift"

# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"

# These are the default XKB settings for XFree86

# Option "XkbModel" "pc101"
# Option "XkbLayout" "us"
# Option "XkbVariant" ""
# Option "XkbOptions" ""

# Option "XkbDisable"


Option "XkbModel" "pc101"
Option "XkbLayout" "us"

EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver

Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Device" "/dev/input/mice"

# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.

# Option "Protocol" "Xqueue"

# Baudrate and SampleRate are only for some Logitech mice. In
# almost every case these lines should be omitted.

# Option "BaudRate" "9600"
# Option "SampleRate" "150"

# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)

Option "Emulate3Buttons"
# Option "Emulate3Timeout" "50"

# ChordMiddle is an option for some 3-button Logitech mice

# Option "ChordMiddle"

EndSection


# **********************************************************************
# Other input device sections
# this is optional and is required only if you
# are using extended input devices. This is for example only. Refer
# to the XF86Config man page for a description of the options.
# **********************************************************************
#
# Section "InputDevice"
# Identifier "Mouse2"
# Driver "mouse"
# Option "Protocol" "MouseMan"
# Option "Device" "/dev/mouse2"
# EndSection
#
# Section "InputDevice"
# Identifier "spaceball"
# Driver "magellan"
# Option "Device" "/dev/cua0"
# EndSection
#
# Section "InputDevice"
# Identifier "spaceball2"
# Driver "spaceorb"
# Option "Device" "/dev/cua0"
# EndSection
#
# Section "InputDevice"
# Identifier "touchscreen0"
# Driver "microtouch"
# Option "Device" "/dev/ttyS0"
# Option "MinX" "1412"
# Option "MaxX" "15184"
# Option "MinY" "15372"
# Option "MaxY" "1230"
# Option "ScreenNumber" "0"
# Option "ReportingMode" "Scaled"
# Option "ButtonNumber" "1"
# Option "SendCoreEvents"
# EndSection
#
# Section "InputDevice"
# Identifier "touchscreen1"
# Driver "elo2300"
# Option "Device" "/dev/ttyS0"
# Option "MinX" "231"
# Option "MaxX" "3868"
# Option "MinY" "3858"
# Option "MaxY" "272"
# Option "ScreenNumber" "0"
# Option "ReportingMode" "Scaled"
# Option "ButtonThreshold" "17"
# Option "ButtonNumber" "1"
# Option "SendCoreEvents"
# EndSection

# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"
Identifier "Monitor0"
HorizSync 31.5 - 80.5
VertRefresh 60 - 75
Option "DPMS"

# === mode lines based on GTF ===
# VGA @ 100Hz
# Modeline "640x480@100" 43.163 640 680 744 848 480 481 484 509 +hsync +vsync
# SVGA @ 100Hz
# Modeline "800x600@100" 68.179 800 848 936 1072 600 601 604 636 +hsync +vsync
# XVGA @ 100Hz
# Modeline "1024x768@100" 113.309 1024 1096 1208 1392 768 769 772 814 +hsync +vsync
# 1152x864 @ 60Hz
# Modeline "1152x864@60" 81.642 1152 1216 1336 1520 864 865 868 895 +hsync +vsync
# 1152x864 @ 85Hz
# Modeline "1152x864@85" 119.651 1152 1224 1352 1552 864 865 868 907 +hsync +vsync
# 1152x864 @ 100Hz
# Modeline "1152x864@100" 143.472 1152 1232 1360 1568 864 865 868 915 +hsync +vsync
# 1280x960 @ 75Hz
# Modeline "1280x960@75" 129.859 1280 1368 1504 1728 960 961 964 1002 +hsync +vsync
# 1280x960 @ 100Hz
# Modeline "1280x960@100" 178.992 1280 1376 1520 1760 960 961 964 1017 +hsync +vsync
# SXGA @ 100Hz
# Modeline "1280x1024@100" 190.960 1280 1376 1520 1760 1024 1025 1028 1085 +hsync +vsync
# SPEA GDM-1950 (60Hz,64kHz,110MHz,-,-): 1280x1024 @ V-freq: 60.00 Hz, H-freq: 63.73 KHz
# Modeline "GDM-1950" 109.62 1280 1336 1472 1720 1024 1024 1026 1062 -hsync -vsync
# 1600x1000 @ 60Hz
# Modeline "1600x1000" 133.142 1600 1704 1872 2144 1000 1001 1004 1035 +hsync +vsync
# 1600x1000 @ 75Hz
# Modeline "1600x1000" 169.128 1600 1704 1880 2160 1000 1001 1004 1044 +hsync +vsync
# 1600x1000 @ 85Hz
# Modeline "1600x1000" 194.202 1600 1712 1888 2176 1000 1001 1004 1050 +hsync +vsync
# 1600x1000 @ 100Hz
# Modeline "1600x1000" 232.133 1600 1720 1896 2192 1000 1001 1004 1059 +hsync +vsync
# 1600x1024 @ 60Hz
# Modeline "1600x1024" 136.385 1600 1704 1872 2144 1024 1027 1030 1060 +hsync +vsync
# 1600x1024 @ 75Hz
# Modeline "1600x1024" 174.416 1600 1712 1888 2176 1024 1025 1028 1069 +hsync +vsync
# 1600x1024 @ 76Hz
# Modeline "1600x1024" 170.450 1600 1632 1792 2096 1024 1027 1030 1070 +hsync +vsync
# 1600x1024 @ 85Hz
# Modeline "1600x1024" 198.832 1600 1712 1888 2176 1024 1027 1030 1075 +hsync +vsync
# 1920x1080 @ 60Hz
# Modeline "1920x1080" 172.798 1920 2040 2248 2576 1080 1081 1084 1118 -hsync -vsync
# 1920x1080 @ 75Hz
# Modeline "1920x1080" 211.436 1920 2056 2264 2608 1080 1081 1084 1126 +hsync +vsync
# 1920x1200 @ 60Hz
# Modeline "1920x1200" 193.156 1920 2048 2256 2592 1200 1201 1203 1242 +hsync +vsync
# 1920x1200 @ 75Hz
# Modeline "1920x1200" 246.590 1920 2064 2272 2624 1200 1201 1203 1253 +hsync +vsync
# 2048x1536 @ 60
# Modeline "2048x1536" 266.952 2048 2200 2424 2800 1536 1537 1540 1589 +hsync +vsync
# 2048x1536 @ 60
# Modeline "2048x1536" 266.952 2048 2200 2424 2800 1536 1537 1540 1589 +hsync +vsync
# 1400x1050 @ 60Hz M9 Laptop mode
# ModeLine "1400x1050" 122.000 1400 1488 1640 1880 1050 1052 1064 1082 +hsync +vsync
# 1920x2400 @ 25Hz for IBM T221, VS VP2290 and compatible display devices
# Modeline "1920x2400@25" 124.620 1920 1928 1980 2048 2400 2401 2403 2434 +hsync +vsync
# 1920x2400 @ 30Hz for IBM T221, VS VP2290 and compatible display devices
# Modeline "1920x2400@30" 149.250 1920 1928 1982 2044 2400 2402 2404 2434 +hsync +vsync

EndSection

# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

# Standard VGA Device:

Section "Device"
Identifier "Standard VGA"
VendorName "Unknown"
BoardName "Unknown"

# The chipset line is optional in most cases. It can be used to override
# the driver's chipset detection, and should not normally be specified.

# Chipset "generic"

# The Driver line must be present. When using run-time loadable driver
# modules, this line instructs the server to load the specified driver
# module. Even when not using loadable driver modules, this line
# indicates which driver should interpret the information in this section.

Driver "vga"
# The BusID line is used to specify which of possibly multiple devices
# this section is intended for. When this line isn't present, a device
# section can only match up with the primary video device. For PCI
# devices a line like the following could be used. This line should not
# normally be included unless there is more than one video device
# installed.

# BusID "PCI:0:10:0"

# VideoRam 256

# Clocks 25.2 28.3

EndSection

# === ATI device section ===

Section "Device"
Identifier "ATI Graphics Adapter"
Driver "fglrx"
# ### generic DRI settings ###
# === disable PnP Monitor ===
#Option "NoDDC"
# === disable/enable XAA/DRI ===
Option "no_accel" "no"
Option "no_dri" "no"
# === misc DRI settings ===
Option "mtrr" "off" # disable DRI mtrr mapper, driver has its own code for mtrr
# ### FireGL DDX driver module specific settings ###
# === Screen Management ===
Option "DesktopSetup" "Clone"
Option "MonitorLayout" "AUTO, AUTO"
Option "HSync2" "unspecified"
Option "VRefresh2" "unspecified"
Option "ScreenOverlap" "0"
# === TV-out Management ===
Option "NoTv" "no"
Option "TVFormat" "NTSC-M"
Option "TVStandard" "VIDEO"
Option "TVHSizeAdj" "0"
Option "TVVSizeAdj" "0"
Option "TVHPosAdj" "0"
Option "TVVPosAdj" "0"
Option "TVHStartAdj" "0"
Option "TVColorAdj" "0"
Option "GammaCorrectionI" "0x06419064"
Option "GammaCorrectionII" "0x06419064"
# === OpenGL specific profiles/settings ===
Option "Capabilities" "0x00000000"
Option "CapabilitiesEx" "0x00000000"
# === Video Overlay for the Xv extension ===
Option "VideoOverlay" "off"
# === OpenGL Overlay ===
# Note: When OpenGL Overlay is enabled, Video Overlay
# will be disabled automatically
Option "OpenGLOverlay" "on"
# === Center Mode (Laptops only) ===
Option "CenterMode" "off"
# === Pseudo Color Visuals (8-bit visuals) ===
Option "PseudoColorVisuals" "off"
# === QBS Management ===
Option "Stereo" "off"
Option "StereoSyncEnable" "1"
# === FSAA Management ===
Option "FSAAEnable" "no"
Option "FSAAScale" "1"
Option "FSAADisableGamma" "no"
Option "FSAACustomizeMSPos" "no"
Option "FSAAMSPosX0" "0.000000"
Option "FSAAMSPosY0" "0.000000"
Option "FSAAMSPosX1" "0.000000"
Option "FSAAMSPosY1" "0.000000"
Option "FSAAMSPosX2" "0.000000"
Option "FSAAMSPosY2" "0.000000"
Option "FSAAMSPosX3" "0.000000"
Option "FSAAMSPosY3" "0.000000"
Option "FSAAMSPosX4" "0.000000"
Option "FSAAMSPosY4" "0.000000"
Option "FSAAMSPosX5" "0.000000"
Option "FSAAMSPosY5" "0.000000"
# === Misc Options ===
Option "UseFastTLS" "2"
Option "BlockSignalsOnLock" "on"
Option "UseInternalAGPGART" "no"
Option "ForceGenericCPU" "no"
Option "MetaModes" "1280x1024, 1024x768"
BusID "PCI:1:0:0" # vendor=1002, device=4a49
Screen 0
EndSection

# **********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present. Each describes
# the configuration of a single screen. A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
Identifier "Screen0"
Device "ATI Graphics Adapter"
Monitor "Monitor0"
DefaultDepth 24
#Option "backingstore"

Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0 # initial origin if mode is smaller than desktop
# Virtual 1280 1024
EndSubsection
EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

# Any number of ServerLayout sections may be present. Each describes
# the way multiple screens are organised. A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option. In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.

Section "ServerLayout"

# The Identifier line must be present
Identifier "Server Layout"

# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens. The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen.

Screen "Screen0"

# Each InputDevice line specifies an InputDevice section name and
# optionally some options to specify the way the device is to be
# used. Those options include "CorePointer", "CoreKeyboard" and
# "SendCoreEvents".

InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"

EndSection

### EOF ###
Back to top
View user's profile Send private message
batistuta
Veteran
Veteran


Joined: 29 Jul 2005
Posts: 1384
Location: Aachen

PostPosted: Wed Dec 14, 2005 7:57 pm    Post subject: Reply with quote

I don't recommend have two xservers, because you can't see them both simulatenously. I've experimented with this options but gave up quickly.
Regarding the matamodes, that is exactly the point: you only change the resolution of your monitor, to match that of your TV. Then fireup your media player, maximize, and voila! it will maximize to the metamode and not to the actuall full screen. Then you can switch back to full resultion, and your media player will stay at the size that you've maximized it with the metamode. The trick is to open the media player all the way top-left of the screen, because that is the part that the TV shows.
Back to top
View user's profile Send private message
alienjon
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1726

PostPosted: Thu Dec 15, 2005 2:20 am    Post subject: Reply with quote

I see where you're getting at. Nice trick, by the way. Thanks for showing me :) I don't think I'm completely satisfied yet because this process is very roundabout and seems to avoid the real issue of setting a second monitor resolution, but it certainly gets the job done.

Something else that I noticed while looking through things: I checked the man page of aticonfig and noticed that there is a: "resolution=WxH" option and a "resolution2=WxH" option but the second one doesn't work. It looks like this might be related to what I am trying to do (if not exactly what I want to do) but when I try the second command I get an 'unknown option' error. Is it deprecated for some reason?
Back to top
View user's profile Send private message
batistuta
Veteran
Veteran


Joined: 29 Jul 2005
Posts: 1384
Location: Aachen

PostPosted: Thu Dec 15, 2005 2:54 pm    Post subject: Reply with quote

I agree, compared to the "theater mode" that we are all used to from Windows, this is 20 year-old technology. But believe it or not, I don't miss theater mode anymore. Because I never watch a movie full screen on my TV while I browse the internet (my computer is not fast enough), and if you just wanna watch movies, this metamode trick does the job pretty well. Primitive solution, but it does the job :D
I don't know about ATI... I have nvidia.
By the way, there is a website (don't have link here), that you set some options, and it generates your xorg.conf automatically 8)
The output is not 100% plugable, but it gives you a good feeling for the various options.
PS: If you are happy, mark the topic as solved so others have share your joy :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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