nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   [SOLUTION] linux 2.4.2 + nvidia4496 + GF4 = CRT Desktop + TV-OUT fullscreen DVD (http://www.nvnews.net/vbulletin/showthread.php?t=28684)

mojoholder 05-13-04 01:16 AM

[SOLUTION] linux 2.4.2 + nvidia4496 + GF4 = CRT Desktop + TV-OUT fullscreen DVD
 
input:
Linux 2.4.2
nvidia 4496
GeForce4
CRT
TV connected via SVIDEO
KDE 3.1
xine + dvdnav + ...

output:
Our usual desktop environment on CRT (display=:0.0) and another desktop on TV (display=:0.1)
Exiting KDE doesn't break the fb
You can watch fullscreen DVD on TV and use CRT desktop. Or in case you have 2 DVD drives you can watch two different movies on TV and CRT.

Please note the order of sections IS important. You need to edit the monitors' characteristics to match your hardware.
The solution is not new, but it works and might be helpful.

Enjoy!


/etc/X11/XF86Config-4


************************************************** ********************
# Refer to the XF86Config man page for details about the format of
# this file.
# ************************************************** ********************

Section "Files"
FontPath "unix/:-1"
EndSection

Section "ServerFlags"
AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
EndSection

Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "glx" # 3D layer
EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "us,ru(winkeys)"
Option "XkbCompat" "default+group_led"
Option "XkbOptions" "grp:alt_shift_toggle"
EndSection

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

#Let's configure GF4 TV-Out

Section "Monitor"
Identifier "crt"
VendorName "Dell"
ModelName "Dell D825HT"
HorizSync 31.0-70.0
VertRefresh 50.0-120.0
Option "DPMS" "on"
EndSection

Section "Monitor"
Identifier "tv"
VendorName "LG"
ModelName "ArtVisionJoy"
HorizSync 30.0-50.0
VertRefresh 60.0
Option "DPMS" "on"
Option "IgnoreDisplayDevices" "DFP"
Option "ConnectedMonitor" "TV"
Option "NoBandWidthTest" "True"
EndSection


Section "Device"
Identifier "nvidia-tv"
VendorName "Unknown"
BoardName "Unknown"
Driver "nvidia"
BusID "PCI:1:0:0"

Option "NvAGP" "1" #"4"
Option "DPMS" "on"
Option "NoLogo" "on"
Option "TVStandard" "NTSC-M"
Option "TVOutFormat" "SVIDEO"
Option "ConnectedMonitor" "TV"
Screen 1
Option "NoDDC" "True"
EndSection

Section "Device"
Identifier "nvidia-crt"
VendorName "Unknown"
BoardName "Unknown"
Driver "nvidia"
BusID "PCI:1:0:0"

Option "NvAGP" "1" #"4"
Option "DPMS" "on"
Option "NoLogo" "on"
Screen 0
Option "NoDDC" "True"
EndSection

Section "Screen"
Identifier "Monitor"
Device "nvidia-crt"
Monitor "crt"
DefaultColorDepth 24
Subsection "Display"
Depth 24
Modes "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection

Section "Screen"
Identifier "TV"
Device "nvidia-tv"
Monitor "tv"
DefaultColorDepth 24
Subsection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection

Section "ServerLayout"
Identifier "layout1"
Screen 0 "Monitor"
Screen 1 "TV" rightof "Monitor"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection

delt 05-22-04 10:30 PM

Re: [SOLUTION] linux 2.4.2 + nvidia4496 + GF4 = CRT Desktop + TV-OUT fullscreen DVD
 
Hello,

Thanks for the help, but it doesn't work -(
At least it doen't screw up my framebuffer, but the X server gives me this --->

Fatal server error:
Requested Entity already in use!


A visit to dr. Google showed me that i'm not the only one having this problem, and on other card types (than nvidia) as well, but i wasn't able to find what causes this.

Last entries in the log file are:

(II) Primary Device is: PCI 01:00:0
(--) Chipset NVIDIA GPU found
(--) Chipset NVIDIA GPU found
(II) resource ranges after xf86ClaimFixedResources() call:
[0] -1 0 0xffe00000 - 0xffffffff (0x200000) MX[b](B)
[1] -1 0 0x00100000 - 0x1fffffff (0x1ff00000) MX[b]E(B)
[2] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[b]
[3] -1 0 0x000c0000 - 0x000effff (0x30000) MX[b]
[4] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[b]
[5] -1 0 0xfeafbc00 - 0xfeafbcff (0x100) MX[b]
[6] -1 0 0xfeafc000 - 0xfeafffff (0x4000) MX[b]
[7] -1 0 0xfebff800 - 0xfebff8ff (0x100) MX[b]
[8] -1 0 0xfebffc00 - 0xfebffdff (0x200) MX[b]
[9] -1 0 0x20000000 - 0x200003ff (0x400) MX[b]
[10] -1 0 0xf0000000 - 0xefffffff (0x0) MX[b]O
[11] -1 0 0xfe9f0000 - 0xfe9fffff (0x10000) MX[b](B)
[12] -1 0 0xefe80000 - 0xefefffff (0x80000) MX[b](B)
[13] -1 0 0xe0000000 - 0xe7ffffff (0x8000000) MX[b](B)
[14] -1 0 0xfd000000 - 0xfdffffff (0x1000000) MX[b](B)
[15] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[b]
[16] -1 0 0x00000000 - 0x000000ff (0x100) IX[b]
[17] -1 0 0x0000d400 - 0x0000d4ff (0x100) IX[b]
[18] -1 0 0x0000dfe0 - 0x0000dfe7 (0x8) IX[b]
[19] -1 0 0x0000df80 - 0x0000df9f (0x20) IX[b]
[20] -1 0 0x0000d800 - 0x0000d8ff (0x100) IX[b]
[21] -1 0 0x0000ef00 - 0x0000ef3f (0x40) IX[b]
[22] -1 0 0x0000e800 - 0x0000e8ff (0x100) IX[b]
[23] -1 0 0x00000400 - 0x0000041f (0x20) IX[b]
[24] -1 0 0x0000fc00 - 0x0000fc0f (0x10) IX[b]

Fatal server error:
Requested Entity already in use!


.... any advice?


All times are GMT -5. The time now is 09:24 PM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.