Announcement

Collapse
No announcement yet.

S-video keeps resetting or no S-video at all --> [drm] not detecting due to 00000004

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • S-video keeps resetting or no S-video at all --> [drm] not detecting due to 00000004

    Dear all,

    I recently updated my distro LMDE to find KMS was re-enabled, which I had disabled previously to allow for manually configuring direct rendering and tv-out at the same time.

    After the upgrade, inxi says:
    Code:
    jb@LMDE-desktop ~ $ inxi -F
    System:    Host LMDE-desktop Kernel 2.6.37-2-686 i686 (32 bit) Distro Linux Mint Debian Edition
    CPU:       Single core AMD Athlon XP 2800+ (-UP-) cache 512 KB flags (sse) bmips 4375.37 clocked at 2187.688 MHz 
    Graphics:  Card ATI R300 AD [Radeon 9500 Pro] X.Org 1.9.4 Res: [email protected], [email protected] 
               GLX Renderer Gallium 0.4 on ATI R300 GLX Version 2.1 Mesa 7.10 Direct Rendering Yes
    ... and with everything default (KMS on, no xorg.xonf, xrandr S-video load detection 1) S-video keeps resetting e.g. the output frequently drops out very shortly to turn up immidiately after resulting in a 'jump' on the tv screen.

    /var/log/messages is loaded with
    Code:
    [drm] not detecting due to 00000004
    disabling load detection and configuring manually
    Code:
    xrandr --output S-video --set "load detection" 0
    xrandr --newmode "800x600m"  38.2  800 832 912 1024  600 603 607 624  -HSync +Vsync
    xrandr --addmode S-video 800x600m
    xrandr --output S-video --mode 800x600m --right-of VGA-0 --crtc 1
    gives no S-video at all and xrandr says 'S-video disconnected 800x600+1152+0'.

    Disabeling modesetting by creating /etc/modprobe.d/radeon-kms.conf:
    Code:
    options radeon modeset=0
    allows properly working tv-out but no direct rendering at all.

    WORKAROUND:
    Finally, with KMS back on, I forced S-video out 'e'nabled by using in Grub the kernel parameter
    Code:
    video=SVIDEO-1:e
    and switched off load detection after logging in:
    Code:
    xrandr --output S-video --set "load detection" 0
    While KMS still picks up the right settings for tv-out, the output isn't 'jumpy' (being reset?) anymore. However my logs are still bloated with
    Code:
    [drm] not detecting due to 00000004
    Anyone any thoughts on this?

    output of: cat /var/log/messages |grep drm
    Code:
    Mar  2 22:57:22 LMDE-desktop kernel: [    7.148426] [drm] Initialized drm 1.1.0 20060810
    Mar  2 22:57:22 LMDE-desktop kernel: [    7.480611] [drm] radeon kernel modesetting enabled.
    Mar  2 22:57:22 LMDE-desktop kernel: [    7.495452] [drm] initializing kernel modesetting (R300 0x1002:0x4144).
    Mar  2 22:57:22 LMDE-desktop kernel: [    7.495624] [drm] register mmio base: 0xFF5F0000
    Mar  2 22:57:22 LMDE-desktop kernel: [    7.495627] [drm] register mmio size: 65536
    Mar  2 22:57:22 LMDE-desktop kernel: [    7.500422] [drm] Generation 1 PCI interface in multifunction mode
    Mar  2 22:57:22 LMDE-desktop kernel: [    7.500424] [drm] Limiting VRAM to one aperture
    Mar  2 22:57:22 LMDE-desktop kernel: [    7.500464] [drm] radeon: irq initialized.
    Mar  2 22:57:22 LMDE-desktop kernel: [    7.500576] [drm] Detected VRAM RAM=128M, BAR=128M
    Mar  2 22:57:22 LMDE-desktop kernel: [    7.500581] [drm] RAM width 256bits DDR
    Mar  2 22:57:22 LMDE-desktop kernel: [    7.501456] [drm] radeon: 128M of VRAM memory ready
    Mar  2 22:57:22 LMDE-desktop kernel: [    7.501459] [drm] radeon: 128M of GTT memory ready.
    Mar  2 22:57:22 LMDE-desktop kernel: [    7.501500] [drm] radeon: 1 quad pipes, 1 Z pipes initialized.
    Mar  2 22:57:22 LMDE-desktop kernel: [    7.503263] [drm] Loading R300 Microcode
    Mar  2 22:57:22 LMDE-desktop kernel: [    7.569303] [drm] radeon: ring at 0x00000000F0001000
    Mar  2 22:57:22 LMDE-desktop kernel: [    7.569326] [drm] ring test succeeded in 1 usecs
    Mar  2 22:57:22 LMDE-desktop kernel: [    7.569601] [drm] radeon: ib pool ready.
    Mar  2 22:57:22 LMDE-desktop kernel: [    7.569673] [drm] ib test succeeded in 0 usecs
    Mar  2 22:57:22 LMDE-desktop kernel: [    7.569983] [drm] Radeon Display Connectors
    Mar  2 22:57:22 LMDE-desktop kernel: [    7.569986] [drm] Connector 0:
    Mar  2 22:57:22 LMDE-desktop kernel: [    7.569988] [drm]   VGA
    Mar  2 22:57:22 LMDE-desktop kernel: [    7.569991] [drm]   DDC: 0x60 0x60 0x60 0x60 0x60 0x60 0x60 0x60
    Mar  2 22:57:22 LMDE-desktop kernel: [    7.569993] [drm]   Encoders:
    Mar  2 22:57:22 LMDE-desktop kernel: [    7.569995] [drm]     CRT1: INTERNAL_DAC1
    Mar  2 22:57:22 LMDE-desktop kernel: [    7.569997] [drm] Connector 1:
    Mar  2 22:57:22 LMDE-desktop kernel: [    7.569999] [drm]   DVI-I
    Mar  2 22:57:22 LMDE-desktop kernel: [    7.570000] [drm]   HPD1
    Mar  2 22:57:22 LMDE-desktop kernel: [    7.570003] [drm]   DDC: 0x64 0x64 0x64 0x64 0x64 0x64 0x64 0x64
    Mar  2 22:57:22 LMDE-desktop kernel: [    7.570005] [drm]   Encoders:
    Mar  2 22:57:22 LMDE-desktop kernel: [    7.570006] [drm]     CRT2: INTERNAL_DAC2
    Mar  2 22:57:22 LMDE-desktop kernel: [    7.570008] [drm]     DFP1: INTERNAL_TMDS1
    Mar  2 22:57:22 LMDE-desktop kernel: [    7.570010] [drm] Connector 2:
    Mar  2 22:57:22 LMDE-desktop kernel: [    7.570012] [drm]   S-video
    Mar  2 22:57:22 LMDE-desktop kernel: [    7.570013] [drm]   Encoders:
    Mar  2 22:57:22 LMDE-desktop kernel: [    7.570015] [drm]     TV1: INTERNAL_DAC2
    Mar  2 22:57:22 LMDE-desktop kernel: [    7.633243] [drm] forcing SVIDEO-1 connector ON
    Mar  2 22:57:22 LMDE-desktop kernel: [    7.787310] [drm] fb mappable at 0xE0040000
    Mar  2 22:57:22 LMDE-desktop kernel: [    7.787314] [drm] vram apper at 0xE0000000
    Mar  2 22:57:22 LMDE-desktop kernel: [    7.787316] [drm] size 5242880
    Mar  2 22:57:22 LMDE-desktop kernel: [    7.787318] [drm] fb depth is 24
    Mar  2 22:57:22 LMDE-desktop kernel: [    7.787320] [drm]    pitch is 5120
    Mar  2 22:57:22 LMDE-desktop kernel: [    7.851489] [drm] crtc 1 is connected to a TV
    Mar  2 22:57:22 LMDE-desktop kernel: [    8.067357] fb0: radeondrmfb frame buffer device
    Mar  2 22:57:22 LMDE-desktop kernel: [    8.067359] drm: registered panic notifier
    Mar  2 22:57:22 LMDE-desktop kernel: [    8.075826] [drm] Initialized radeon 2.7.0 20080528 for 0000:01:00.0 on minor 0
    Mar  2 22:57:26 LMDE-desktop kernel: [   16.114210] [drm] not detecting due to 00000004
    Mar  2 22:57:26 LMDE-desktop kernel: [   16.116361] [drm] not detecting due to 00000004
    Mar  2 22:57:26 LMDE-desktop kernel: [   16.213441] [drm] not detecting due to 00000004
    Mar  2 22:57:26 LMDE-desktop kernel: [   16.217567] [drm] not detecting due to 00000004
    Mar  2 22:57:27 LMDE-desktop kernel: [   16.452714] [drm] crtc 1 is connected to a TV
    Mar  2 22:57:31 LMDE-desktop kernel: [   21.022687] [drm] not detecting due to 00000004
    Mar  2 22:57:31 LMDE-desktop kernel: [   21.024847] [drm] not detecting due to 00000004
    Mar  2 22:57:31 LMDE-desktop kernel: [   21.092214] [drm] not detecting due to 00000004
    Mar  2 22:57:31 LMDE-desktop kernel: [   21.094208] [drm] not detecting due to 00000004
    Mar  2 22:57:31 LMDE-desktop kernel: [   21.206480] [drm] not detecting due to 00000004
    Mar  2 22:57:31 LMDE-desktop kernel: [   21.208607] [drm] not detecting due to 00000004
    Mar  2 22:57:36 LMDE-desktop kernel: [   26.221016] [drm] not detecting due to 00000004
    Mar  2 22:57:48 LMDE-desktop kernel: [   37.775721] [drm] not detecting due to 00000004
    Mar  2 22:57:48 LMDE-desktop kernel: [   37.777889] [drm] not detecting due to 00000004
    Mar  2 22:57:48 LMDE-desktop kernel: [   37.850642] [drm] not detecting due to 00000004
    Mar  2 22:57:48 LMDE-desktop kernel: [   37.852771] [drm] not detecting due to 00000004
    Mar  2 22:57:48 LMDE-desktop kernel: [   37.914655] [drm] not detecting due to 00000004
    Mar  2 22:57:48 LMDE-desktop kernel: [   37.916714] [drm] not detecting due to 00000004
    Mar  2 22:57:49 LMDE-desktop kernel: [   39.285241] [drm] not detecting due to 00000004
    Mar  2 22:57:49 LMDE-desktop kernel: [   39.287236] [drm] not detecting due to 00000004
    Mar  2 22:57:51 LMDE-desktop kernel: [   41.053606] [drm] not detecting due to 00000004
    Mar  2 22:57:51 LMDE-desktop kernel: [   41.057732] [drm] not detecting due to 00000004
    Mar  2 22:58:07 LMDE-desktop kernel: [   57.015487] [drm] not detecting due to 00000004
    Mar  2 22:58:38 LMDE-desktop kernel: [   88.006694] [drm] not detecting due to 00000004
    Mar  2 22:58:55 LMDE-desktop kernel: [  104.673694] [drm] not detecting due to 00000004
    Mar  2 22:58:55 LMDE-desktop kernel: [  104.675694] [drm] not detecting due to 00000004
    Mar  2 22:59:02 LMDE-desktop kernel: [  111.642374] [drm] not detecting due to 00000004
    Mar  2 22:59:02 LMDE-desktop kernel: [  111.644546] [drm] not detecting due to 00000004
    Mar  2 22:59:09 LMDE-desktop kernel: [  119.033741] [drm] not detecting due to 00000004
    Mar  2 22:59:12 LMDE-desktop kernel: [  121.694226] [drm] not detecting due to 00000004
    Mar  2 22:59:12 LMDE-desktop kernel: [  121.696384] [drm] not detecting due to 00000004
    Mar  2 22:59:12 LMDE-desktop kernel: [  121.762091] [drm] not detecting due to 00000004
    Mar  2 22:59:12 LMDE-desktop kernel: [  121.764248] [drm] not detecting due to 00000004
    Mar  2 22:59:40 LMDE-desktop kernel: [  150.027087] [drm] not detecting due to 00000004
    output of: xrandr -q --verbose
    Code:
    Screen 0: minimum 320 x 200, current 1952 x 864, maximum 4096 x 4096
    VGA-0 connected 1152x864+0+0 (0x56) normal (normal left inverted right x axis y axis) 306mm x 230mm
    	Identifier: 0x51
    	Timestamp:  416429
    	Subpixel:   no subpixels
    	Gamma:      1.0:1.0:1.0
    	Brightness: 1.0
    	Clones:     DVI-0
    	CRTC:       0
    	CRTCs:      0 1
    	Transform:  1.000000 0.000000 0.000000
    	            0.000000 1.000000 0.000000
    	            0.000000 0.000000 1.000000
    	           filter: 
    	EDID:
    		00ffffffffffff00410c04e07b1e0200
    		210b0101681f17bae8d5f89e584a9c27
    		10484cadee0031594559615981803168
    		45678140714fd60980a0205e63101060
    		520832e61000001a000000ff0020425a
    		20203133383837350a20000000fc0050
    		48494c495053204d31303754000000fd
    		0032a01e470b000a202020202020003c
    	load detection: 1 (0x00000001)	range:  (0,1)
      1280x1024 (0x54)  108.0MHz +HSync +VSync
            h: width  1280 start 1328 end 1440 total 1688 skew    0 clock   64.0KHz
            v: height 1024 start 1025 end 1028 total 1066           clock   60.0Hz
      1280x960 (0x55)  108.0MHz +HSync +VSync
            h: width  1280 start 1376 end 1488 total 1800 skew    0 clock   60.0KHz
            v: height  960 start  961 end  964 total 1000           clock   60.0Hz
      1152x864 (0x56)  108.0MHz +HSync +VSync *current
            h: width  1152 start 1216 end 1344 total 1600 skew    0 clock   67.5KHz
            v: height  864 start  865 end  868 total  900           clock   75.0Hz
      1024x768 (0x57)   94.5MHz +HSync +VSync
            h: width  1024 start 1072 end 1168 total 1376 skew    0 clock   68.7KHz
            v: height  768 start  769 end  772 total  808           clock   85.0Hz
      1024x768 (0x58)   78.8MHz +HSync +VSync
            h: width  1024 start 1040 end 1136 total 1312 skew    0 clock   60.1KHz
            v: height  768 start  769 end  772 total  800           clock   75.1Hz
      1024x768 (0x59)   75.0MHz -HSync -VSync
            h: width  1024 start 1048 end 1184 total 1328 skew    0 clock   56.5KHz
            v: height  768 start  771 end  777 total  806           clock   70.1Hz
      1024x768 (0x5a)   65.0MHz -HSync -VSync
            h: width  1024 start 1048 end 1184 total 1344 skew    0 clock   48.4KHz
            v: height  768 start  771 end  777 total  806           clock   60.0Hz
      832x624 (0x5b)   57.3MHz -HSync -VSync
            h: width   832 start  864 end  928 total 1152 skew    0 clock   49.7KHz
            v: height  624 start  625 end  628 total  667           clock   74.6Hz
      800x600 (0x5c)   56.2MHz +HSync +VSync
            h: width   800 start  832 end  896 total 1048 skew    0 clock   53.7KHz
            v: height  600 start  601 end  604 total  631           clock   85.1Hz
      800x600 (0x5d)   50.0MHz +HSync +VSync
            h: width   800 start  856 end  976 total 1040 skew    0 clock   48.1KHz
            v: height  600 start  637 end  643 total  666           clock   72.2Hz
      800x600 (0x5e)   49.5MHz +HSync +VSync
            h: width   800 start  816 end  896 total 1056 skew    0 clock   46.9KHz
            v: height  600 start  601 end  604 total  625           clock   75.0Hz
      800x600 (0x5f)   40.0MHz +HSync +VSync
            h: width   800 start  840 end  968 total 1056 skew    0 clock   37.9KHz
            v: height  600 start  601 end  605 total  628           clock   60.3Hz
      640x480 (0x60)   36.0MHz -HSync -VSync
            h: width   640 start  696 end  752 total  832 skew    0 clock   43.3KHz
            v: height  480 start  481 end  484 total  509           clock   85.0Hz
      640x480 (0x61)   31.5MHz -HSync -VSync
            h: width   640 start  664 end  704 total  832 skew    0 clock   37.9KHz
            v: height  480 start  489 end  491 total  520           clock   72.8Hz
      640x480 (0x62)   31.5MHz -HSync -VSync
            h: width   640 start  656 end  720 total  840 skew    0 clock   37.5KHz
            v: height  480 start  481 end  484 total  500           clock   75.0Hz
      640x480 (0x63)   25.2MHz -HSync -VSync
            h: width   640 start  656 end  752 total  800 skew    0 clock   31.5KHz
            v: height  480 start  490 end  492 total  525           clock   60.0Hz
      720x400 (0x64)   28.3MHz -HSync +VSync
            h: width   720 start  738 end  846 total  900 skew    0 clock   31.5KHz
            v: height  400 start  412 end  414 total  449           clock   70.1Hz
      640x350 (0x65)   25.2MHz +HSync -VSync
            h: width   640 start  656 end  752 total  800 skew    0 clock   31.5KHz
            v: height  350 start  357 end  359 total  449           clock   70.1Hz
    DVI-0 disconnected (normal left inverted right x axis y axis)
    	Identifier: 0x52
    	Timestamp:  416429
    	Subpixel:   horizontal rgb
    	Clones:     VGA-0
    	CRTCs:      0 1
    	Transform:  1.000000 0.000000 0.000000
    	            0.000000 1.000000 0.000000
    	            0.000000 0.000000 1.000000
    	           filter: 
    	load detection: 1 (0x00000001)	range:  (0,1)
    S-video connected 800x600+1152+264 (0x66) normal (normal left inverted right x axis y axis) 0mm x 0mm
    	Identifier: 0x53
    	Timestamp:  416429
    	Subpixel:   no subpixels
    	Gamma:      1.0:1.0:1.0
    	Brightness: 1.0
    	Clones:    
    	CRTC:       1
    	CRTCs:      0 1
    	Transform:  1.000000 0.000000 0.000000
    	            0.000000 1.000000 0.000000
    	            0.000000 0.000000 1.000000
    	           filter: 
    	tv standard:	ntsc
    		supported: ntsc         pal          pal-m        pal-60      
    		           ntsc-j       scart-pal    pal-cn       secam       
    	load detection: 0 (0x00000000)	range:  (0,1)
      800x600 (0x66)   38.2MHz -HSync +VSync *current +preferred
            h: width   800 start  832 end  912 total 1024 skew    0 clock   37.4KHz
            v: height  600 start  603 end  607 total  624           clock   59.9Hz
      640x480 (0x67)   25.2MHz -HSync -VSync
            h: width   640 start  656 end  752 total  800 skew    0 clock   31.5KHz
            v: height  480 start  490 end  492 total  525           clock   59.9Hz
      320x240 (0x68)   12.6MHz -HSync -VSync DoubleScan
            h: width   320 start  328 end  376 total  400 skew    0 clock   31.5KHz
            v: height  240 start  245 end  246 total  262           clock  120.1Hz
Working...
X