Author Topic: 810 beta2, s-video or component chosen in AVwizard --> crash  (Read 4260 times)

rhayes

  • Making baby steps
  • Posts: 3
    • View Profile
810 beta2, s-video or component chosen in AVwizard --> crash
« on: December 22, 2009, 05:15:38 am »
Hi,

I have a shuttle SK22G2v2 with a GeForce 7300 GT, outputting to a non-HD TV over s-video. Until recently this was running 710, where everything worked (and thanks for that!) Now it has a clean install of 810 beta 2 from DVD.

I have the strange problem that selecting any S-video (or component, which I don't actually have but tried just to test) type in the AVwizard causes LMCE to crash. Specifically, I get a black screen, then the scroll lock and caps lock LEDs start flashing together, and I have to do a hard reboot. However : I can see it on my TV by pressing 5 before making this selection, so clearly it is capable of outputting over S-Video somehow.

If it matters, I'm in the UK hence have been trying to select PAL-I but other kinds like PAL-B do the same thing.

If I select VGA instead I can complete the installation using a monitor and everything is fine, except that no matter how many times I re-run the AVwizard the same thing happens and I can't get it to use my TV. I have tried reinstalling a few times with the same result.

Any ideas? It seems to me that if I could see what settings it was using after pressing "5", I could hardcode it in xorg.conf, but perhaps it's more complicated than that.

When it's sat at the orbiter things look like this :

Code: [Select]
$ dkms status
nvidia, 195.22, 2.6.27-16-generic, i686: installed
nvidia, 195.22, 2.6.27-7-generic, i686: installed
nvidia, 195.22, 2.6.27-15-generic, i686: installed

$ lspci
00:00.0 Host bridge: VIA Technologies, Inc. K8M890CE Host Bridge
00:00.1 Host bridge: VIA Technologies, Inc. K8M890CE Host Bridge
00:00.2 Host bridge: VIA Technologies, Inc. K8M890CE Host Bridge
00:00.3 Host bridge: VIA Technologies, Inc. K8M890CE Host Bridge
00:00.4 Host bridge: VIA Technologies, Inc. K8M890CE Host Bridge
00:00.5 PIC: VIA Technologies, Inc. K8M890CE I/O APIC Interrupt Controller
00:00.7 Host bridge: VIA Technologies, Inc. K8M890CE Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge [K8T800/K8T890 South]
00:02.0 PCI bridge: VIA Technologies, Inc. K8T890 PCI to PCI Bridge Controller
00:03.0 PCI bridge: VIA Technologies, Inc. K8T890 PCI to PCI Bridge Controller
00:0a.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6306 Fire II IEEE 1394 OHCI Link Layer Controller (rev 80)
00:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
00:0f.0 IDE interface: VIA Technologies, Inc. VIA VT6420 SATA RAID Controller (rev 80)
00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [KT600/K8T800/K8T890 South]
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 78)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
02:00.0 VGA compatible controller: nVidia Corporation G70 [GeForce 7300 GT] (rev a1)

$ lsmod
Module                  Size  Used by
xt_TCPMSS              12160  1
ipt_MASQUERADE         10752  1
ipt_TTL                 9984  1
iptable_mangle         10880  1
xt_tcpudp              11008  6
xt_mark                10112  1
xt_state               10112  1
iptable_nat            13448  1
bridge                 56980  0
stp                    10628  1 bridge
bnep                   20352  2
sco                    18308  2
rfcomm                 44432  0
l2cap                  30464  6 bnep,rfcomm
bluetooth              62180  6 bnep,sco,rfcomm,l2cap
nfsd                  231024  13
lockd                  71976  1 nfsd
nfs_acl                11264  1 nfsd
auth_rpcgss            42528  1 nfsd
sunrpc                196960  13 nfsd,lockd,nfs_acl,auth_rpcgss
exportfs               12544  1 nfsd
ppdev                  15748  0
autofs4                27780  1
powernow_k8            22148  1
cpufreq_stats          13188  0
cpufreq_ondemand       14988  1
cpufreq_powersave       9856  0
cpufreq_userspace      11396  0
cpufreq_conservative    14600  0
freq_table             12672  3 powernow_k8,cpufreq_stats,cpufreq_ondemand
pci_slot               12680  0
video                  25488  0
output                 11008  1 video
wmi                    14504  0
container              11520  0
sbs                    19464  0
sbshc                  13440  1 sbs
battery                18436  0
af_packet              25856  4
iptable_filter         10752  1
ip_tables              19600  3 iptable_mangle,iptable_nat,iptable_filter
x_tables               22916  8 xt_TCPMSS,ipt_MASQUERADE,ipt_TTL,xt_tcpudp,xt_mark,xt_state,iptable_nat,ip_tables
ac                     12292  0
nf_nat_irc             10240  0
nf_nat_ftp             10880  0
nf_nat                 25368  4 ipt_MASQUERADE,iptable_nat,nf_nat_irc,nf_nat_ftp
nf_conntrack_irc       13348  1 nf_nat_irc
nf_conntrack_ftp       15652  1 nf_nat_ftp
nf_conntrack_ipv4      21772  4 iptable_nat,nf_nat
nf_conntrack           72032  9 ipt_MASQUERADE,xt_state,iptable_nat,nf_nat_irc,nf_nat_ftp,nf_nat,nf_conntrack_irc,nf_conntrack_ftp,nf_conntrack_ipv4
sbp2                   29324  0
lp                     17156  0
snd_via82xx            32536  1
gameport               19340  1 snd_via82xx
snd_ac97_codec        111652  1 snd_via82xx
ac97_bus                9856  1 snd_ac97_codec
snd_pcm                83204  2 snd_via82xx,snd_ac97_codec
snd_page_alloc         16136  2 snd_via82xx,snd_pcm
snd_mpu401_uart        15360  1 snd_via82xx
snd_seq_midi           14336  0
snd_seq_midi_event     15232  1 snd_seq_midi
snd_rawmidi            29824  2 snd_mpu401_uart,snd_seq_midi
snd_seq                57776  2 snd_seq_midi,snd_seq_midi_event
snd_timer              29960  2 snd_pcm,snd_seq
snd_seq_device         15116  3 snd_seq_midi,snd_rawmidi,snd_seq
pcspkr                 10624  0
evdev                  17696  9
snd                    63396  10 snd_via82xx,snd_ac97_codec,snd_pcm,snd_mpu401_uart,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore              15328  1 snd
k8temp                 12416  0
i2c_viapro             15764  0
nvidia               9990884  50
i2c_core               31892  2 i2c_viapro,nvidia
parport_pc             39332  1
parport                42604  3 ppdev,lp,parport_pc
shpchp                 38036  0
pci_hotplug            34976  1 shpchp
button                 14224  0
amd64_agp              18184  1
agpgart                42184  2 nvidia,amd64_agp
ipv6                  264356  30
ext3                  133384  1
jbd                    55956  1 ext3
mbcache                16004  1 ext3
sr_mod                 22212  0
sd_mod                 42392  3
crc_t10dif              9984  1 sd_mod
cdrom                  43168  1 sr_mod
sg                     39732  0
usbhid                 35712  0
hid                    50560  1 usbhid
ata_generic            12932  0
sata_via               15492  2
pata_via               16260  0
via_rhine              30216  0
pata_acpi              12160  0
ehci_hcd               43788  0
uhci_hcd               30864  0
libata                178336  4 ata_generic,sata_via,pata_via,pata_acpi
scsi_mod              155468  5 sbp2,sr_mod,sd_mod,sg,libata
dock                   16656  1 libata
8139cp                 27520  0
8139too                31616  0
usbcore               149616  4 usbhid,ehci_hcd,uhci_hcd
mii                    13440  3 via_rhine,8139cp,8139too
ohci1394               37936  0
ieee1394               96324  2 sbp2,ohci1394
floppy                 64644  0
raid10                 30464  0
raid456               135184  0
async_xor              11520  1 raid456
async_memcpy           10112  1 raid456
async_tx               15312  3 raid456,async_xor,async_memcpy
xor                    23688  2 raid456,async_xor
raid1                  30080  0
raid0                  15488  0
multipath              15104  0
linear                 13440  0
md_mod                 94108  6 raid10,raid456,raid1,raid0,multipath,linear
thermal                23708  0
processor              42156  2 powernow_k8,thermal
fan                    12548  0
fbcon                  47648  0
tileblit               10880  1 fbcon
font                   16512  1 fbcon
bitblit                13824  1 fbcon
softcursor              9984  1 bitblit
fuse                   60956  1
compcache              13004  1
lzo_decompress         10880  1 compcache
lzo_compress           10880  1 compcache
tlsf                   14220  1 compcache

dmesg is too long to post but doesn't seem to contain anything of interest.

Thanks!

pga57

  • Veteran
  • ***
  • Posts: 145
    • View Profile
Re: 810 beta2, s-video or component chosen in AVwizard --> crash
« Reply #1 on: December 22, 2009, 07:02:21 am »
I have the same result with component output.
It worked with alpha 2.28 but crached now with a fresh beta2 (DVD like network install).

I have not find where is the problem. I've test a previous alpha saved xorg.conf but the MD crached to.
It is like the problem is not the xorg.conf file.

Philippe

rhayes

  • Making baby steps
  • Posts: 3
    • View Profile
Re: 810 beta2, s-video or component chosen in AVwizard --> crash
« Reply #2 on: December 22, 2009, 09:51:01 pm »
OK, some progress : at the point where I have pressed "5" to get the display showing over S-video I did :

Code: [Select]
cd /etc/X11
mv xorg.conf xorg.conf.monitor
cp xorg.conf.pluto.avwizard xorg.conf

Reboot and I gets the orbiter on the (widescreen) TV, but unsurprisingly with the wrong dimensions. At this point I'm wishing I'd backed up my old xorg.conf ...

I tried to manually bodge it by changing the "TVstandard" to "PAL-I" and the modelines to the "720x576" ones I found here : http://www.kingcot.eclipse.co.uk/unichrome/xorg.conf.txt

This probably wasn't right, is widescreen PAL 1024 x 576? Either way it resulted in a CRASH of the same sort again (blinking LEDs.) I don't know whether it was selecting PAL or the resolution change that did it though.

Conclusion : at least in my case this seems to be caused by the nvidia driver choking on something in the xorg.conf.

rhayes

  • Making baby steps
  • Posts: 3
    • View Profile
Re: 810 beta2, s-video or component chosen in AVwizard --> crash (WORKAROUND)
« Reply #3 on: December 23, 2009, 04:00:06 am »
OK, I fixed it sort of : don't ask me why, but the problem is with choosing PAL. Option   "TVStandard"   "PAL-I", or any other variant of PAL that I tried (and only this change), makes it crash every time.

If I leave it on NTSC-M then my TV (Sony Trinitron) copes with it anyway. I've played the start of a few films and they look fine.

In case it's helpful to someone, here's my current xorg.conf (modelines taken from http://www.gentoo-wiki.info/HOWTO_Setup_X_for_MythTV) :

Code: [Select]
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder63)  Sun Nov 22 18:17:43 PST 2009

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
#    Option         "DPMS"
# Modeline "640x480" 25.18 640 656 752 800 480 490 492 525

        ModeLine "720x576@25i" 13.5   720 732 795 864  576 581 586 625 interlace -hsync -vsync

        ## Set for 16:9 display. For 4:3 replace 225 with 300.
        DisplaySize     400 225

HorizSync 20-500
VertRefresh 59-61
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
Option "XvmcUsesTextures" "true"
Option "renderAccel" "true"
Option "NoDDCValue"
Option "UseEDID" "true"
Option "ExactModeTimingsDVI" "true"
Option "NoLogo" "true"
Option "NoBandWidthTest" "true"
Option "ModeValidation" "NoDFPNativeResolutionCheck, NoEdidMaxPClkCheck, NoMaxPClkCheck, AllowInterlacedModes, AllowNon60HzDFPModes, NoEdidModes"
Option "DynamicTwinView" "false"
Option "UseEvents" "true"
Option "AllowGLXWithComposite" "true"
Option "AddARGBGLXVisuals" "true"
Option "ConnectedMonitor" "TV"
Option "TVOutFormat" "SVideo"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
SubSection "Display"
                Modes   "702x576@25i" "704x576@25i" "720x576@25i" "768x576@25i" "768x576@50" "720x576@60" "720x576i"
                Depth   24
# Modes "640x480"
# Virtual 640 480
EndSubSection
Option "XvmcUsesTextures" "true"
Option "renderAccel" "true"
Option "NoDDCValue"
Option "UseEDID" "true"
Option "ExactModeTimingsDVI" "true"
Option "NoLogo" "true"
Option "NoBandWidthTest" "true"
Option "ModeValidation" "NoDFPNativeResolutionCheck, NoEdidMaxPClkCheck, NoMaxPClkCheck, AllowInterlacedModes, AllowNon60HzDFPModes, NoEdidModes"
Option "DynamicTwinView" "false"
Option "UseEvents" "true"
Option "AllowGLXWithComposite" "true"
Option "AddARGBGLXVisuals" "true"
Option "TVStandard" "NTSC-M"
EndSection

Section "ServerFlags"
Option "AutoAddDevices" "False"
EndSection
Section "ServerFlags"
Option "AutoAddDevices" "False"
EndSection
Section "ServerFlags"
Option "AutoAddDevices" "False"
EndSection
Section "ServerFlags"
Option "AutoAddDevices" "False"
EndSection
Section "ServerFlags"
Option "AutoAddDevices" "False"
EndSection
Section "Extensions"
Option "RENDER" "true"
EndSection
Section "ServerFlags"
Option "AutoAddDevices" "False"
EndSection

On an unrelated note, this is the second time your MySQL has gone down whilst I've been trying to post ... wtf, hope I'm not causing it somehow!

Thingie

  • Veteran
  • ***
  • Posts: 114
    • View Profile
Re: 810 beta2, s-video or component chosen in AVwizard --> crash (WORKAROUND)
« Reply #4 on: December 27, 2009, 02:35:24 pm »
If I leave it on NTSC-M then my TV (Sony Trinitron) copes with it anyway. I've played the start of a few films and they look fine.

Choosing NTSC-M did the trick for me. Video is displaying fine and screen size is perfect.

Thx for the solution

MDH1966

  • Veteran
  • ***
  • Posts: 103
    • View Profile
Re: 810 beta2, s-video or component chosen in AVwizard --> crash
« Reply #5 on: January 30, 2010, 05:46:02 pm »
This could be related to this issue.

Quoted from  http://blog.xbmc.org/forum/showthread.php?p=485495


As long as you don't need to set special settings in the xorg.conf for a legacy TV (connected via s-video, composite, etc.), this driver is quite fine.

But if you set the option TVStandard, X freezes the whole system while starting. I had a long fight against my HTPC after upgrading to 195.30 until I found out the reason for the crashes. This is of no interest for people who connect the TV via digital interfaces (or better: who are not using the tv-out of the graphics card) or who have a TV which works with the default standard set by the driver (which might be NTSC, but I'm not sure).

I had the choice between a) having the new driver with no TVStandard set and the picture being black and white or b) using the old driver and having color TV again. My choice was b)

As far as I know now, this error applies to all drivers since 190. Nvidia knows about it but doesn't fix it. Therefore I'm stuck with drivers up to version 185. Now I'm running 185.18 again and everything is fine.

(On my main PC the 195 runs without problems but I also don't see any improvements compared to 190)
__________________