Author |
Message |
homeijer
|
Posted: Wed Sep 08, 2004 1:23 pm |
|
Joined: Tue Jun 15, 2004 1:27 pm
Posts: 19
|
My first KnoppMyth setup:
- no pvr card
- nvidia gforge 440 mx + tv-out working
After a few weeks I put the machine into the living room again and added a PVR-350. It worked almost instantly (except for NTSC - PAL issues).
The only thing was that the live-tv image seemed to drift up-and-down one pixel. So I had to change something......
I edited the XF86Config-4 and changed the frequency and added a modeline for PAL. This gave very strange results (ending in a signal 11 and a screen with black vertical lines. Okay, lets copy the backup.
Soooo .... because the install the first time was very straightforward, I tried to copy the nvidia-tvout sample and change it, but this gave much the same problems (I can see the nvidia splash screen before X locks).
From the log, it seems like the driver is setting this mode:
(**) NVIDIA(0): Mode "800x600": 40.1 MHz, 38.0 kHz, 60.5 Hz
When I change the driver from nvidia back to nv, I get the mythv
screen, but with the wrong frequencies. With the nvidia driver X locks up again (signal 11, vertical lines in X).
I did install-update for the latest nvidia drivers, but that didn't solve anything.
Where do I start?
TIA
Michael
|
|
Top |
|
 |
Xsecrets
|
Posted: Wed Sep 08, 2004 1:27 pm |
|
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location:
Nashville, TN
|
I would first find out what refresh rates you need. I know the sample file is for NTSC and that is 60Hz vert I also believe I heard that PAL is 50Hz vert, but I'm not sure if the X config and modelines need to be adjusted to reflect this, seems like I read somewhere that you still use 60, but I'm not sure, so the first thing I would do if I were you is put google to use and find out what your modelines and refresh rates are supposed to be for PAL. I can't really help you there I have no access to a PAL TV or PAL signal.
_________________ Have a question search the forum and have a look at the KnoppMythWiki.
Xsecrets
|
|
Top |
|
 |
homeijer
|
Posted: Wed Sep 08, 2004 1:34 pm |
|
Joined: Tue Jun 15, 2004 1:27 pm
Posts: 19
|
The last time I got it working I only rememer having changed TVStandard and TVOutFormat to get it working.
I remember having checked the 60 Hz but it doesn't need to be changed. I guess that's the tv-out magic from the nvidia card? So I guess it's not a modeline issue?
|
|
Top |
|
 |
phase1
|
Posted: Thu Sep 09, 2004 2:53 am |
|
Joined: Thu Sep 09, 2004 2:41 am
Posts: 8
|
Hi,
I have been playing with the TVOUT for NVidia for some time now and this is my experience.
1. Download the very latest NVidia drivers 6111.
2. Use a XFree86 Modeline generator e.g http://xtiming.sourceforge.net/cgi-bin/xtiming.pl.
3. I set the box to run 720x576 (PAL).
4. Manually set the vertical refresh rate to 50 or 60 (both worked for me but 60 was more stable).
5. To correct any instability in the on screen display open a terminal window and run nvidia-settings and adjust the screen flicker setting to suit your TV.
6. Make sure you have set the correct options for TVOUT in XFree86 (see the nvidia readme). I will send my config if required.
7. Watch out for errors e.g. virtual size too small blah blah blah. If this happens set the XFree86 config to include virtual 720x576.
NOTE: If you have any problems running 720x576 then set to either 640x480 or 800x600 and remove any mode lines the Nvidia driver will automatically detect supported settings.
Thats it for now, I hope this helps.
Tim.
|
|
Top |
|
 |
homeijer
|
Posted: Fri Sep 10, 2004 12:49 pm |
|
Joined: Tue Jun 15, 2004 1:27 pm
Posts: 19
|
I've installed the latest driver.
The modeline for 720x576@60 with the nv driver gives an image that seems to have PAL/NTSC problems. With the nvidia driver I see 3 or 4 times the logo and then only vertical lines, it even messes my logon screen (after ctrl-alt-f1). Is there a mode reset command for the console? (  I'll do some more reading on linux).
The last part of the log:
Code: Symbol __glXActiveScreens from module /usr/X11R6/lib/modules/extensions/libdri.a is unresolved! Symbol __glXActiveScreens from module /usr/X11R6/lib/modules/extensions/libdri.a is unresolved! (II) Initializing built-in extension MIT-SHM (II) Initializing built-in extension XInputExtension (II) Initializing built-in extension XTEST (II) Initializing built-in extension XKEYBOARD (II) Initializing built-in extension LBX (II) Initializing built-in extension XC-APPGROUP (II) Initializing built-in extension SECURITY (II) Initializing built-in extension XINERAMA (II) Initializing built-in extension XFree86-Bigfont (II) Initializing built-in extension RENDER (II) Initializing built-in extension RANDR (II) Initializing extension GLX
*** If unresolved symbols were reported above, they might not *** be the reason for the server aborting.
Fatal server error: Caught signal 11. Server aborting
Any help appreciated.
Michael
|
|
Top |
|
 |
homeijer
|
Posted: Fri Sep 10, 2004 2:03 pm |
|
Joined: Tue Jun 15, 2004 1:27 pm
Posts: 19
|
BTW: the unresolved messages where gone after removing the "dri" module as stated in the readme from nvidia. The problem remains the same.
|
|
Top |
|
 |
phase1
|
Posted: Sat Sep 11, 2004 4:11 am |
|
Joined: Thu Sep 09, 2004 2:41 am
Posts: 8
|
I had similar problems when installing the driver, I found that disabling GLX in the XF86Config-4 solved the server fault.
Simple comment out GLX support.
Hope this works.
|
|
Top |
|
 |
phase1
|
Posted: Sat Sep 11, 2004 4:25 am |
|
Joined: Thu Sep 09, 2004 2:41 am
Posts: 8
|
Here is my config, I have reverted back to running 800x600 because of TV not showing fullscreen correct. You should be able to work it out from this.
Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
# PS/2 Mouse not detected
# Serial Mouse not detected
InputDevice "USB Mouse" "CorePointer"
EndSection
Section "ServerFlags"
Option "AllowMouseOpenFail" "true"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo"
FontPath "/usr/X11R6/lib/X11/fonts/PEX"
# Additional fonts: Locale, Gimp, TTF...
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
# FontPath "/usr/X11R6/lib/X11/fonts/latin2/75dpi"
# FontPath "/usr/X11R6/lib/X11/fonts/latin2/100dpi"
# True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/share/fonts/ttf/western"
FontPath "/usr/share/fonts/ttf/decoratives"
FontPath "/usr/share/fonts/truetype"
FontPath "/usr/share/fonts/truetype/openoffice"
FontPath "/usr/share/fonts/truetype/ttf-bitstream-vera"
FontPath "/usr/share/fonts/latex-ttf-fonts"
FontPath "/usr/X11R6/lib/X11/fonts/defoma/CID"
FontPath "/usr/X11R6/lib/X11/fonts/defoma/TrueType"
EndSection
Section "Module"
Load "ddc" # ddc probing of monitor
# Load "GLcore"
Load "dbe"
Load "v4l"
Load "extmod"
#Load "glx"
Load "bitmap" # bitmap-fonts
Load "speedo"
Load "type1"
Load "freetype"
Load "record"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "uk"
EndSection
Section "InputDevice"
Identifier "Serial Mouse"
Driver "mouse"
Option "Protocol" "Microsoft"
Option "Device" "/dev/ttyS0"
Option "Emulate3Buttons" "true"
Option "Emulate3Timeout" "70"
Option "SendCoreEvents" "true"
EndSection
Section "InputDevice"
Identifier "PS/2 Mouse"
Driver "mouse"
Option "Protocol" "auto"
Option "ZAxisMapping" "4 5"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "true"
Option "Emulate3Timeout" "70"
Option "SendCoreEvents" "true"
EndSection
Section "InputDevice"
Identifier "USB Mouse"
Driver "mouse"
Option "Device" "/dev/input/mice"
Option "SendCoreEvents" "true"
Option "Protocol" "IMPS/2"
Option "ZAxisMapping" "4 5"
Option "Buttons" "5"
EndSection
# Auto-generated by KNOPPIX mkxf86config
Section "Monitor"
Identifier "Monitor0"
Option "DPMS" "true"
Option "TVStandard" "PAL-I"
VendorName "MAX"
ModelName "MAX060e"
HorizSync 30 - 50 # DDC-probed
VertRefresh 60 # DDC-probed
# These are the DDC-probed settings reported by your monitor.
#Modeline "720x576_60.00" 32.67 720 744 816 912 576 577 580 597 -HSync +Vsync
#Modeline "720x576_50.00" 26.57 720 736 808 896 576 577 580 593 -HSync +Vsync
#Modeline "720x576" 27.15 720 736 880 896 576 578 579 606
#Modeline "720x576" 29.09 768 792 936 960 576 578 579 606
# 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, 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, 60.0Hz; hfreq=37.88, vfreq=60.32
#ModeLine "800x600" 40.00 800 840 968 1056 600 601 605 628 +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, 60.0Hz; hfreq=31.47, vfreq=59.94
#ModeLine "640x480" 25.17 640 648 744 784 480 482 484 509 -hsync -vsync
EndSection
Section "Device"
### Available Driver options are:-
# sw_cursor is needed for some ati and radeon cards
Option "sw_cursor"
#Option "hw_cursor"
#Option "NoAccel"
#Option "ShowCache"
#Option "ShadowFB"
#Option "UseFBDev"
#Option "Rotate"
Identifier "Card0"
# The following line is auto-generated by KNOPPIX mkxf86config
Driver "nvidia"
VendorName "All"
BoardName "All"
# BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultColorDepth 24
SubSection "Display"
Depth 1
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "800x600" "720x576" "640x480"
EndSubSection
SubSection "Display"
Depth 24
#Virtual 720 576
Modes "800x600"
EndSubSection
SubSection "Display"
Depth 32
Modes "800x600" "640x480"
EndSubSection
EndSection
Section "DRI"
Mode 0666
EndSection
|
|
Top |
|
 |
homeijer
|
Posted: Sat Sep 11, 2004 5:27 am |
|
Joined: Tue Jun 15, 2004 1:27 pm
Posts: 19
|
I commented out the load "glx" and everything works fine again.
Many, many thnx.
Michael
|
|
Top |
|
 |
tjc
|
Posted: Sat Sep 11, 2004 9:17 am |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
|
Top |
|
 |
homeijer
|
Posted: Wed Sep 15, 2004 1:07 pm |
|
Joined: Tue Jun 15, 2004 1:27 pm
Posts: 19
|
The fix solves the glx problem, thanx. On to the next
Switching from X to the console doesn't restore the console properly. The readme states I should move to a newer version of xfree86, but I am allready running 4.3.0 as mentioned in the nvidia readme.
From the readme:
Quote: The NVIDIA X driver may not restore the console correctly with XFree86 versions older than 4.3 when the console is a TV. This is due to binary incompatibilities between XFree86 int10 modules. If you use a TV as your console it is recommended that you upgrade to XFree86 4.3 or later.
|
|
Top |
|
 |