Ativando o modo clone da ATI no xorg para exibir desktop Linux na TV

Publicado por juliano em 18/01/2007

[ Hits: 7.466 ]

 


Ativando o modo clone da ATI no xorg para exibir desktop Linux na TV



Depois de ter perdido parte de meu cérebro tentando fazer o que eu sempre quis, que era usar o modo clone da minha Radeon 9600 (na verdade eu já tinha conseguido habilitar o modo clone, o que eu não conseguia era fazer a TV ter a imagem de tamanho correto, a imagem ficava muito grande cortando a barra de iniciar do KDE entre outras partes), finalmente consegui resolver isso e ter a TV mostrando a imagem como se deve e assim podendo por exemplo rodar filmes no Linux para assistir na TV :)

Se você está sofrendo com esse problema como já sofri antes, não encontrando em lugar algum a solução, deixo aqui meu xorg.conf para você analisá-lo.

OBS: Esse meu xorg está funcionando perfeitamente aqui, altere nele os dados de seu hardware: mouse, teclado, horizontal e vertical do monitor, se sua TV é ntsc-m, pal-m e etc (deixe a resolução de 1024x768 que se encontra na sessão screen como padrão, pois ela interfere no tamanho que aparece lá na TV se você mudar, pode deixar a imagem de sua TV grande cortando pedaços), mantenha as opções do fglrx intactas também e você tem que ter o driver proprietário da ATI instalado corretamente.

Meu xorg.conf:

#############################################
Section "ServerLayout"
	
        Identifier "Default Layout"
        Screen "Screen0"
        InputDevice    "Keyboard[0]" "CoreKeyboard"
	InputDevice    "Mouse[1]" "CorePointer"
        
EndSection

Section "Files"
	InputDevices   "/dev/gpmdata"
	InputDevices   "/dev/input/mice"
	FontPath     "/usr/share/fonts/misc:unscaled"
	FontPath     "/usr/share/fonts/local"
	FontPath     "/usr/share/fonts/75dpi:unscaled"
	FontPath     "/usr/share/fonts/100dpi:unscaled"
	FontPath     "/usr/share/fonts/Type1"
	FontPath     "/usr/share/fonts/URW"
	FontPath     "/usr/share/fonts/Speedo"
	FontPath     "/usr/share/fonts/PEX"
	FontPath     "/usr/share/fonts/cyrillic"
	FontPath     "/usr/share/fonts/latin2/misc:unscaled"
	FontPath     "/usr/share/fonts/latin2/75dpi:unscaled"
	FontPath     "/usr/share/fonts/latin2/100dpi:unscaled"
	FontPath     "/usr/share/fonts/latin2/Type1"
	FontPath     "/usr/share/fonts/latin7/75dpi:unscaled"
	FontPath     "/usr/share/fonts/baekmuk:unscaled"
	FontPath     "/usr/share/fonts/japanese:unscaled"
	FontPath     "/usr/share/fonts/kwintv"
	FontPath     "/usr/share/fonts/truetype"
	FontPath     "/usr/share/fonts/uni:unscaled"
	FontPath     "/usr/share/fonts/CID"
	FontPath     "/usr/share/fonts/ucs/misc:unscaled"
	FontPath     "/usr/share/fonts/ucs/75dpi:unscaled"
	FontPath     "/usr/share/fonts/ucs/100dpi:unscaled"
	FontPath     "/usr/share/fonts/hellas/misc:unscaled"
	FontPath     "/usr/share/fonts/hellas/75dpi:unscaled"
	FontPath     "/usr/share/fonts/hellas/100dpi:unscaled"
	FontPath     "/usr/share/fonts/hellas/Type1"
	FontPath     "/usr/share/fonts/misc/sgi:unscaled"
	FontPath     "/usr/share/fonts/xtest"
	FontPath     "/opt/kde3/share/fonts"
	FontPath     "unix/:7100"
EndSection

Section "Module"
	Load  "dbe"
	Load  "type1"
	Load  "freetype"
	Load  "extmod"
	Load  "glx"
	Load  "v4l"
	Load  "dri"
EndSection

Section "ServerFlags"
	Option	    "AllowMouseOpenFail" "on"
	Option	    "IgnoreABI" "on"
EndSection

Section "InputDevice"
	Identifier  "Keyboard[0]"
	Driver      "kbd"
	Option	    "Protocol" "Standard"
	Option	    "XkbLayout" "br"
	Option	    "XkbModel" "abnt2"
	Option	    "XkbRules" "xfree86"
EndSection

Section "InputDevice"
	Identifier  "Mouse[1]"
	Driver      "mouse"
	Option	    "Buttons" "7"
	Option	    "Device" "/dev/input/mice"
	Option	    "Name" "Chic Browser Mouse"
	Option	    "Protocol" "explorerps/2"
	Option	    "Vendor" "Sysp"
	Option	    "ZAxisMapping" "4 5"
EndSection

Section "Modes"
	Identifier     "Modes[0]"
EndSection

Section "Monitor"
	Identifier   "lg"
	VendorName   "LG ELECTRONICS"
	ModelName    "FLATRON 775FT"
	UseModes     "Modes[0]"
	DisplaySize  315	230
	HorizSync    30.0 - 70.0
	VertRefresh  50.0 - 160.0
	Option	    "CalcAlgorithm" "XServerPool"
	Option	    "DPMS"
EndSection


Section "Device"

	Identifier  "Radeon Primary"
	Driver      "fglrx"
	VendorName  "ATI"
	BoardName   "RV350 AP"
	Option	    "UseInternalAGPGART" "yes"
        Option      "DesktopSetup"       "clone" 
        Option      "TVFormat"           "NTSC-M"     
        Option      "TVStandard"         "VIDEO"
        Option      "VideoOverlay"       "on"
        Option	    "no_accel" "no"
	Option	    "no_dri" "no"
	Option	    "mtrr" "off"
	BusID       "1:0:0"
        Screen 0
EndSection

Section "Screen"
    Identifier  "Screen0"
    Device      "Radeon Primary"
    Monitor     "lg"
    DefaultDepth 24
    

    Subsection "Display"
        Depth       24
        Modes       "1024x768"
        ViewPort    0 0  # initial origin if mode is smaller than desktop
    EndSubsection
EndSection

Section "DRI"
	Group        "video"
	Mode         0666
EndSection
Outras dicas deste autor
Nenhuma dica encontrada.
Leitura recomendada

Instalando Linux num notebook Dell Latitude 131L

Instalação de modem ISA serial e plug and play no Linux

Configurando o som no Notebook Acer 4520

Teste de USB - prevenindo queima de pendrive

Compartilhar impressora no Slackware 12 com Windows via CUPS

  

Comentários

Nenhum comentário foi encontrado.



Contribuir com comentário




Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts