You are not logged in.

#1 2005-05-07 08:42:12

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

Nvidia+using a tv....

Hi!
I have been using tv-out and such for a long time in Linux, never had any issues..
now I wanna expand this and wondering how and if it is possible to create this scenario:

I have an Dell inspiron 8500 running Arch-Linux with nvidia-drivers 7174
I use Enligthenment 16.8 built from CVS

I have a 15.4" Widescreen Laptop LCD-screen
I have a 32" Widescreen TV

I wanna have my Laptopscreen display a rezolution @ 1680x1050
and the TV @ 1024x768

at the same time, but I wanna have the TV displayed as an own device, (somehow like dualhead i am guessing)
I do not want the screen stretched, I want it to have it's own rezolution at display :1,

How would I achieve that ?
edit: I have achieved some kind of dualhead, but glx doesn't work sad

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
Screen 1 "ScreenTV" RightOf "Screen0"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "Xinerama" "false"
EndSection

Section "Extensions"
Option "Composite" "Enable"
EndSection

# ************************************************** *******************
# Files section. This allows default font and rgb paths to be set
# not to self, this section should be good to go
# ************************************************** ******************
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/X11R6/lib/X11/fonts/misc/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/TTF/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/local/"
EndSection

# ************************************************** ********************
# Module section -- this is an optional section which is used to specify
# which run-time loadable modules to load when the X server starts up.
# ************************************************** ********************
Section "Module"
Load "glx"
Load "record"
Load "extmod"
Load "dbe"
Load "xtrap"
Load "freetype"
Load "type1"
EndSection

# ************************************************** ********************
# Keyboards - need to fix this...
# ************************************************** ********************
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "AutoRepeat" "500 30"
Option "XkbModel" "pc105"
Option "XkbLayout" "se"
EndSection

# ************************************************** ********************
# Mice (one section takes care of all)
# ************************************************** ********************
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "CorePointer"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "on"
EndSection

Section "Monitor"
Identifier "Monitor0"
ModelName "Dell Inspiron 8500 WXGA Panel"
HorizSync 15-100.0
VertRefresh 15.0-120.0
DisplaySize 426 266
# 60Hz
Modeline "640x480" 25.175 640 664 760 800 480 491 493 525
Modeline "800x600" 40.12 800 848 968 1056 600 601 605 628
Modeline "1024x768" 85 1024 1056 1152 1360 768 784 787 823
Modeline "1680x1050" 147.14 1680 1784 1968 2256 1050 1051 1054 1087
# 75Hz
Modeline "1680x1050" 188.07 1680 1800 1984 2288 1050 1051 1054 1096
# 85Hz
Modeline "1680x1050" 214.51 1680 1800 1984 2288 1050 1051 1054 1103
# 100Hz
Modeline "1680x1050" 256.20 1680 1808 1992 2304 1050 1051 1054 1112
EndSection

Section "Monitor"
Identifier "MonitorTV"
VendorName "Centrum"
ModelName "Centrum 32 widescreen TV"
HorizSync 30 - 100
VertRefresh 30-100
DisplaySize 670 380
Modeline "1024x768@100" 85 1024 1056 1152 1360 768 784 787 823
# Modeline "1024x576@60" 45.81 1024 1056 1224 1256 576 587 593 605
Option "TVStandard" "PAL-B"
Option "TVOutFormat" "SVIDEO"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "NVidia"
BoardName "NVIDIA GeForce 4200 Go"
Option "NoLogo" "true"
Option "ConnectedMonitor" "DFP"
Option "NvAGP" "3"
BusID "PCI:1:0:0"
VideoRam 65536
Option "DPMS" "true"
BusID "PCI:1:0:0"
Option "RenderAccel" "true"
Option "NoRenderExtension" "false"
# Option "FlatPanelProperties" "Scaling = aspect-scaled"
Option "NoPowerConnectorCheck" "true"
Option "dpms"
Option "UseEdidFreqs" "yes"
Option "IgnoreEDID" "false"
Option "AllowGLXWithComposite" "true"
Option "NoFlip" "false"
Option "RandRRotation" "false"
# Option "DigitalVibrance" "2"
# Option "SWCursor" "0"
# Option "HWCursor" "1"
# Option "CursorShadow" "1"
# Option "CursorShadowAlpha" "64"
# Option "CursorShadowXOffset" "4"
# Option "CursorShadowYOffset" "2"

EndSection

Section "Device"
Identifier "VideocardTV"
Driver "nvidia"
VendorName "NVidia"
BoardName "NVIDIA GeForce 4200 Go"
Option "NoLogo" "true"
Option "ConnectedMonitor" "TV"
Option "NvAGP" "3"
BusID "PCI:1:0:0"
Screen 1
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
Subsection "Display"
Depth 8
Modes "1680x1050" "1024x768" "800x600" "640x480"
#ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1680x1050" "1024x768" "800x600" "640x480"
#ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1680x1050" "1024x768" "800x600" "640x480"
#ViewPort 0 0
EndSubSection
EndSection

Section "Screen"
Identifier "ScreenTV"
Device "VideocardTV"
Monitor "MonitorTV"
DefaultDepth 24
EndSection

Section "DRI"
Group 0
Mode 0666
EndSection

http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

#2 2005-05-07 13:02:09

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: Nvidia+using a tv....

When using nvidia's drivier you should comment out the DRI section (that's why glx is not working).

If you want a working example of xorg.conf for tv and crt at separate resolutions (etc etc) search the forums for my posts and xorg.conf nvidia keywords.

Offline

#3 2005-05-07 18:24:29

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

Re: Nvidia+using a tv....

I have now removed everything that is related to dri, but i still don't have any glx..

this is what I get when I run glxgears:

Xlib:  extension "GLX" missing on display ":0.0".
glxgears: Error: couldn't get an RGB, Double-buffered visual.


Which means that the GLX isn't loading, I have looked at your (lanrat) config for dual monitors, and it looks like mine (except i got more options for nvidia)

I have gotten two different screens at the moment, dualhead, but no glx at neither of them..

any clue why? (my xorg.conf is above but without the dri code)

btw. Xorg logg says that GLX is loading


http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

#4 2005-05-07 18:34:03

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

Re: Nvidia+using a tv....

just found out the solution

I have composite extension enabled, and somehow, it doesn't like the dualscreen.. just found that Xorg.log says "GLX is not supported with the Composite extension"

must have forgot the Allowglx option....


http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

#5 2005-05-07 19:00:32

i3839
Member
Registered: 2004-02-04
Posts: 1,185

Re: Nvidia+using a tv....

Nvidia's readme says that GLX is disabled by default when composite is enabled, nothing to do with dualscreen.

Offline

#6 2005-05-07 19:05:28

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

Re: Nvidia+using a tv....

yes you are right, but when i added the extra screens i forgot to add allowglx on Both screens, i did it with just one, and when using dualhead, it seems, if forgotten in one screen it disables totally


http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

Board footer

Powered by FluxBB