Opened 17 years ago
Closed 17 years ago
#795 closed defect (fixed)
xvidix can no longer detect my radeon chip a RV280 [Radeon 9200 SE]
Reported by: | Owned by: | beastd | |
---|---|---|---|
Priority: | normal | Component: | vo |
Version: | HEAD | Severity: | normal |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Reproduced by developer: | no | Analyzed by developer: | no |
Description
I upgraded to head 22920, from 22217 and now I get no video. I waited awhile and tried again with 22992 still nothing.
I figured out that detection fails because my radeon chip is not included in radeon_vid.c eventhou it is in pci_ids.h. I have a patch which makes the radeon driver detect my chip again, but I have no real understanding of the side effects. However I can play videos with the patch, and nothing seems wrong to me.
Patch is forth comming.
I have included the some of the common debugging below
- broken mplayer
- xdpyinfo
- libhda/test
- lspci
Here is output of mplayer
adrian@debian64: ~/media/video/tv/house$ sudo mplayer -v -vo xvidix RayBethell_384kbps.wmv
MPlayer dev-SVN-r22992-4.1.2 (C) 2000-2007 MPlayer Team
CPU: AMD Athlon(tm) 64 Processor 3000+ (Family: 15, Model: 12, Stepping: 0)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
get_path('codecs.conf') -> '/home/adrian/.mplayer/codecs.conf'
Reading /home/adrian/.mplayer/codecs.conf: Can't open '/home/adrian/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open '/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
Configuration:
CommandLine: '-v' '-vo' 'xvidix' 'RayBethell_384kbps.wmv'
init_freetype
get_path('font/font.desc') -> '/home/adrian/.mplayer/font/font.desc'
font: can't open file: /home/adrian/.mplayer/font/font.desc
Bitmap font /usr/local/share/mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/home/adrian/.mplayer/fonts'
Using nanosleep() timing
get_path('input.conf') -> '/home/adrian/.mplayer/input.conf'
Parsing input config file /home/adrian/.mplayer/input.conf
Input config file /home/adrian/.mplayer/input.conf parsed: 61 binds
get_path('RayBethell_384kbps.wmv.conf') -> '/home/adrian/.mplayer/RayBethell_384kbps.wmv.conf'
Playing RayBethell_384kbps.wmv.
get_path('sub/') -> '/home/adrian/.mplayer/sub/'
[file] File size is 13612152 bytes
STREAM: [file] RayBethell_384kbps.wmv
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
CACHE_PRE_INIT: 0 [0] 7929856 pre:838860 eof:0
Checking for YUV4MPEG2
ASF file format detected.
stream type: guid_audio_stream
stream concealment: guid_audio_conceal_interleave
type: 28 bytes, stream: 8 bytes ID: 1
unk1: 0 unk2: 130484
FILEPOS=0x145B
==> Found audio stream: 1
======= WAVE Format =======
Format Tag: 353 (0x161)
Channels: 2
Samplerate: 32000
avg byte/sec: 6000
Block align: 1152
bits/sample: 16
cbSize: 10
Unknown extra header dump: [0] [88] [0] [0] [1f] [0] [0] [2d] [0] [0]
==========================================================================
ASF: audio scrambling: 1 x 1 x 1152
stream type: guid_video_stream
stream concealment: unknown guid 0057fb20-555b-cf11-a8fd00805f5c442b
type: 55 bytes, stream: 0 bytes ID: 2
unk1: 0 unk2: 0
FILEPOS=0x14CD
==> Found video stream: 2
======= VIDEO Format ======
biSize 44
biWidth 320
biHeight 240
biPlanes 1
biBitCount 24
biCompression 861293911='WMV3'
biSizeImage 0
Unknown extra header dump: [4e] [49] [1a] [1]
===========================
ASF: packets: 9411 flags: 2 max_packet_size: 1444 min_packet_size: 1444 max_bitrate: 368962 preroll: 5000
Title:
Author:
Copyright:
Comment:
Rating:
============ ASF Stream group == START ===
stream count=[0x2][2]
stream id=[0x1][1]
max bitrate=[0xc9b8][51640]
stream id=[0x2][2]
max bitrate=[0x4d78a][317322]
============ ASF Stream group == END ===
Found movie at 0x155C - 0xCF7148
ASF: 1 audio and 1 video streams found
Auto-selected ASF video ID = 2
ASF: Searching for audio stream (id:-1).
Auto-selected ASF audio ID = 1
VIDEO: [WMV3] 320x240 24bpp 30.000 fps 0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:6 fourcc:0x33564D57 size:320x240 fps:30.00 ftime:=0.0333
Clip info:
name:
author:
copyright:
comments:
get_path('sub/') -> '/home/adrian/.mplayer/sub/'
No vidix driver name provided, probing available ones (-v option for details)!
X11 opening display: :0
vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1600x1200 with depth 24 and 32 bpp (":0" => local display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Detected wm supports STAYS_ON_TOP state.
[x11] Current fstype setting honours FULLSCREEN STAYS_ON_TOP ABOVE BELOW X atoms
vidixlib: PROBING: cyberblade
[cyberblade] Can't find chip
vidixlib: PROBING: mach64
[mach64] Can't find chip
vidixlib: PROBING: mga
[mga] probe
[mga] found 19 pci devices
[mga] Can't find chip
vidixlib: PROBING: mga_crtc2
[mga] probe
[mga] found 19 pci devices
[mga] Can't find chip
vidixlib: PROBING: nvidia
[nvidia_vid] Can't find chip
vidixlib: PROBING: pm3
[pm3] Can't find chip
vidixlib: PROBING: radeon
[radeon] Can't find chip
vidixlib: PROBING: rage128
[rage128] Can't find chip
vidixlib: PROBING: savage
[savage_vid] Can't find chip
vidixlib: PROBING: sis
[SiS] Can't find chip
vidixlib: PROBING: unichrome
[unichrome] Can't find chip
vidixlib: No suitable driver can be found.
[VO_SUB_VIDIX] Couldn't find working VIDIX driver.
Error opening/initializing the selected video_out (-vo) device.
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
dec_audio: Allocating 192000 + 65536 = 257536 bytes for output buffer.
FFmpeg's libavcodec audio codec
INFO: libavcodec init OK!
AUDIO: 32000 Hz, 2 ch, s16le, 48.0 kbit/4.69% (ratio: 6000->128000)
Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))
==========================================================================
Building audio filter chain for 32000Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter volume
alsa-init: requested format: 32000 Hz, 2 channels, 9
alsa-init: using ALSA 1.0.13
alsa-init: setup for 1/2 channel(s)
alsa-init: using device default
alsa-init: pcm opened in blocking mode
alsa-init: chunksize set to 1024
alsa-init: fragcount=16
alsa-init: got buffersize=65536
alsa-init: got period size 1024
alsa: 32000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 32000Hz 2ch s16le (2 bytes per sample)
AO: Description: ALSA-0.9.x-1.x audio output
AO: Author: Alex Beregszaszi, Zsolt Barat <joy@…>
AO: Comment: under developement
Building audio filter chain for 32000Hz/2ch/s16le -> 32000Hz/2ch/s16le...
Video: no video
Freeing 4 unused video chunks.
Starting playback...
Uninit audio filters...0 (05:03.0) 0.5% 96%
[libaf] Removing filter volume
Uninit audio: ffmpeg
alsa-uninit: pcm closed
vo: uninit ...
Exiting... (Quit)
Here is output of xdpyinfo:
name of display: :0.0
version number: 11.0
vendor string: The X.Org Foundation
vendor release number: 70101000
X.Org version: 7.1.1
maximum request size: 16777212 bytes
motion buffer size: 256
bitmap unit, bit order, padding: 32, LSBFirst, 32
image byte order: LSBFirst
number of supported pixmap formats: 7
supported pixmap formats:
depth 1, bits_per_pixel 1, scanline_pad 32
depth 4, bits_per_pixel 8, scanline_pad 32
depth 8, bits_per_pixel 8, scanline_pad 32
depth 15, bits_per_pixel 16, scanline_pad 32
depth 16, bits_per_pixel 16, scanline_pad 32
depth 24, bits_per_pixel 32, scanline_pad 32
depth 32, bits_per_pixel 32, scanline_pad 32
keycode range: minimum 8, maximum 255
focus: window 0x1800005, revert to PointerRoot
number of extensions: 27
BIG-REQUESTS
DAMAGE
DOUBLE-BUFFER
DPMS
Extended-Visual-Information
MIT-SCREEN-SAVER
MIT-SHM
MIT-SUNDRY-NONSTANDARD
RANDR
RECORD
RENDER
SECURITY
SHAPE
SYNC
TOG-CUP
X-Resource
XC-APPGROUP
XC-MISC
XFIXES
XFree86-Bigfont
XFree86-DGA
XFree86-Misc
XFree86-VidModeExtension
XInputExtension
XKEYBOARD
XTEST
XVideo
default screen number: 0
number of screens: 1
screen #0:
dimensions: 1600x1200 pixels (423x318 millimeters)
resolution: 96x96 dots per inch
depths (7): 24, 1, 4, 8, 15, 16, 32
root window id: 0x3c
depth of root window: 24 planes
number of colormaps: minimum 1, maximum 1
default colormap: 0x20
default number of colormap cells: 256
preallocated pixels: black 0, white 16777215
options: backing-store NO, save-unders NO
largest cursor: 64x64
current input event mask: 0xfa6031
KeyPressMask EnterWindowMask LeaveWindowMask
ButtonMotionMask KeymapStateMask StructureNotifyMask
SubstructureNotifyMask SubstructureRedirectMask FocusChangeMask
PropertyChangeMask ColormapChangeMask
number of visuals: 2
default visual id: 0x21
visual:
visual id: 0x21
class: TrueColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
visual:
visual id: 0x22
class: DirectColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
Here is output of libhda/test:
sudo /home/adrian/src/xine/xine-lib-1.1.1/src/video_out/libdha/test
Bus:card:func vend:dev base0 :base1 :base2 :baserom :irq:pin:gnt:lat
0000:0000:0000 1106:3188 F8000000:FFFFFFFF:FFFFFFFF:000C0000:00 :00 :00 :00
0000:0001:0000 1106:B188 FFFFFFFF:FFFFFFFF:00010100:000C0000:00 :00 :0A :00
0000:0007:0000 1106:3044 FDA00000:0000EC00:FFFFFFFF:000C0000:0B :01 :00 :20
0000:000A:0000 11AB:4320 FDE00000:0000B000:FFFFFFFF:FDD00000:0A :01 :17 :1F
0000:000D:0000 1260:3873 F7F00000:FFFFFFFF:FFFFFFFF:000C0000:05 :01 :00 :00
0000:000F:0000 1106:3149 0000E800:0000E400:0000E000:000C0000:01 :02 :00 :00
0000:000F:0001 1106:0571 FFFFFFFF:FFFFFFFF:FFFFFFFF:000C0000:01 :01 :00 :00
0000:0010:0000 1106:3038 FFFFFFFF:FFFFFFFF:FFFFFFFF:000C0000:02 :01 :00 :00
0000:0010:0001 1106:3038 FFFFFFFF:FFFFFFFF:FFFFFFFF:000C0000:02 :01 :00 :00
0000:0010:0002 1106:3038 FFFFFFFF:FFFFFFFF:FFFFFFFF:000C0000:02 :02 :00 :00
0000:0010:0003 1106:3038 FFFFFFFF:FFFFFFFF:FFFFFFFF:000C0000:02 :02 :00 :00
0000:0010:0004 1106:3104 FDF00000:FFFFFFFF:FFFFFFFF:000C0000:02 :03 :00 :00
0000:0011:0000 1106:3227 FFFFFFFF:FFFFFFFF:FFFFFFFF:000C0000:00 :00 :00 :00
0000:0018:0000 1022:1100 FFFFFFFF:FFFFFFFF:FFFFFFFF:000C0000:00 :00 :00 :00
0000:0018:0001 1022:1101 FFFFFFFF:FFFFFFFF:FFFFFFFF:000C0000:00 :00 :00 :00
0000:0018:0002 1022:1102 FFFFFFFF:FFFFFFFF:FFFFFFFF:000C0000:00 :00 :00 :00
0000:0018:0003 1022:1103 FFFFFFFF:FFFFFFFF:FFFFFFFF:000C0000:00 :00 :00 :00
0001:0000:0000 1002:5964 F0000000:0000A000:FD200000:FD100000:0B :01 :08 :00
0001:0000:0001 1002:5D44 EC000000:FD600000:FFFFFFFF:000C0000:FF :00 :08 :00
Additional info:
================
base3 :base4 :base5 :name (vendor)
FFFFFFFF:FFFFFFFF:FFFFFFFF:VT8385 [K8T800 AGP] Host Bridge (VIA Technologies, Inc.)
2220A0A0:FD60FD10:F7C0E7D0:VT8237 PCI bridge [K8T800 South] (VIA Technologies, Inc.)
FFFFFFFF:FFFFFFFF:FFFFFFFF:IEEE 1394 Host Controller (VIA Technologies, Inc.)
FFFFFFFF:FFFFFFFF:FFFFFFFF:Gigabit Ethernet Controller (Marvell Technology Group Ltd.)
FFFFFFFF:FFFFFFFF:FFFFFFFF:Prism 2.5 Wavelan chipset (Intersil Corporation)
0000D800:0000D400:0000D000:VIA VT6420 SATA RAID Controller (VIA Technologies, Inc.)
FFFFFFFF:0000FC00:FFFFFFFF:VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (VIA Technologies, Inc.)
FFFFFFFF:0000B400:FFFFFFFF:VT82xxxxx UHCI USB 1.1 Controller (VIA Technologies, Inc.)
FFFFFFFF:0000B800:FFFFFFFF:VT82xxxxx UHCI USB 1.1 Controller (VIA Technologies, Inc.)
FFFFFFFF:0000C000:FFFFFFFF:VT82xxxxx UHCI USB 1.1 Controller (VIA Technologies, Inc.)
FFFFFFFF:0000C400:FFFFFFFF:VT82xxxxx UHCI USB 1.1 Controller (VIA Technologies, Inc.)
FFFFFFFF:FFFFFFFF:FFFFFFFF:USB 2.0 (VIA Technologies, Inc.)
FFFFFFFF:FFFFFFFF:FFFFFFFF:VT8237 ISA bridge [KT600/K8T800 South] (VIA Technologies, Inc.)
FFFFFFFF:FFFFFFFF:FFFFFFFF:K8 [Athlon64/Opteron] HyperTransport Technology Configuration (Advanced Micro Devices [AMD])
FFFFFFFF:FFFFFFFF:FFFFFFFF:K8 [Athlon64/Opteron] Address Map (Advanced Micro Devices [AMD])
FFFFFFFF:FFFFFFFF:FFFFFFFF:K8 [Athlon64/Opteron] DRAM Controller (Advanced Micro Devices [AMD])
FFFFFFFF:FFFFFFFF:FFFFFFFF:K8 [Athlon64/Opteron] Miscellaneous Control (Advanced Micro Devices [AMD])
FFFFFFFF:FFFFFFFF:FFFFFFFF:RV280 [Radeon 9200 SE] (ATI Technologies Inc)
FFFFFFFF:FFFFFFFF:FFFFFFFF:RV280 [Radeon 9200 SE] (Secondary) (ATI Technologies Inc)
Here is the output of lspci:
00:00.0 Host bridge: VIA Technologies, Inc. VT8385 [K8T800 AGP] Host Bridge (rev 01)
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge [K8T800/K8T890 South]
00:07.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 80)
00:0a.0 Ethernet controller: Marvell Technology Group Ltd. 88E8001 Gigabit Ethernet Controller (rev 13)
00:0d.0 Network controller: Intersil Corporation Prism 2.5 Wavelan chipset (rev 01)
00:0f.0 RAID bus controller: 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: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
01:00.0 VGA compatible controller: ATI Technologies Inc RV280 [Radeon 9200 SE] (rev 01)
01:00.1 Display controller: ATI Technologies Inc RV280 [Radeon 9200 SE] (Secondary) (rev 01)
Attachments (1)
Change History (3)
by , 17 years ago
Attachment: | patchForMyRadeon2 added |
---|
comment:1 by , 17 years ago
Straight forward 2 line patch, but I know very little about mplayer. After applying this patch I can play videos, and I did not see anything bad happen.
comment:2 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
OK I upgraded to 23164 and now xvidix can detect my radeon chip.
A quick read of the patch 22923 shows that it makes the same changes as the attached patch, plus lots lots more.
So fixed.
Patch to allow mplayer to detect my radeon chip