[MPlayer-users] Re: adjusting overscan?

nico berndt nico.berndt at gmx.de
Fri May 7 08:17:29 CEST 2004


> > I guess not, I never saw :vidix drivers ever working on radeons.
Only
> > xvidix & mga_vid.
>   Thanks for your answer. Do you know anything about the reasons why
it
>   doesn't work (yet?)?
     
I saw, I have Radeon 7500 LE, and with CVS  versions from 2003.10.03
(vo_cvidix.c, vo_vesa.c - just copy these files to new CVS version) 
-vo cvidix and -vo vesa:vidix is working. I don't know about these
drivers
can works on new Radeons.

Now, I have new motherboard Asrock K7S8XE+ with SiS 748 chipset
(it's SiS 746 and new SouthBridge SiS 964), Radeon 7500 LE and I got
this error (running MPlayer versions: 0.91, 1.0pre4, last CVS snapshots,
kernel 2.4.26, 2.6.6-rc1 - nothing change):

mplayer -v -vo xvidix:radeon_vid.so file.avi
mplayer -v -vo vesa:vidix:radeon_vid.so file.avi
mplayer -v -vo cvidix:radeon_vid.so file.avi

(...)
vidixlib: PROBING: /usr/lib/mplayer/vidix/cyberblade_vid.so
[cyberblade] Error occured during pci scan: No such device
vidixlib: PROBING: /usr/lib/mplayer/vidix/mach64_vid.so
[mach64] Error occured during pci scan: No such device
vidixlib: PROBING: /usr/lib/mplayer/vidix/mga_crtc2_vid.so
[mga] probe
[mga] Error occured during pci scan: No such device
vidixlib: PROBING: /usr/lib/mplayer/vidix/mga_vid.so
[mga] probe
[mga] Error occured during pci scan: No such device
vidixlib: PROBING: /usr/lib/mplayer/vidix/pm3_vid.so
[pm3] Error occured during pci scan: No such device
vidixlib: PROBING: /usr/lib/mplayer/vidix/radeon_vid.so
[radeon] Error occured during pci scan: No such device
vidixlib: PROBING: /usr/lib/mplayer/vidix/rage128_vid.so
[rage128] Error occured during pci scan: No such device
vosub_vidix: Couldn't find working VIDIX driver



Before this, everything was working on MOBO with SiS 735.


new MOBO SIS 748/964, lspci -vvv output:

00:00.0 Host bridge: Silicon Integrated Systems [SiS]: Unknown device
0746 (rev 10)
	Subsystem: Unknown device 1849:0746
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr-
Stepping- SERR- FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort+ >SERR- <PERR-
	Latency: 0
	Region 0: Memory at d0000000 (32-bit, non-prefetchable)
[size=64M]
	Capabilities: [c0] AGP version 2.0
		Status: RQ=32 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64-
HTrans-
64bit- FW+ AGP3- Rate=x1,x2,x4
		Command: RQ=1 ArqSz=0 Cal=0 SBA- AGP- GART64- 64bit- FW-
Rate=<none>

00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SG86C202
(prog-if 00 [Normal decode])
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr-
Stepping- SERR+ FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
	Latency: 32
	Bus: primary=00, secondary=01, subordinate=02, sec-latency=32
	I/O behind bridge: 00009000-00009fff
	Memory behind bridge: cfd00000-cfefffff
	Prefetchable memory behind bridge: bfa00000-cfbfffff
	BridgeCtl: Parity- SERR+ NoISA- VGA+ MAbort- >Reset- FastB2B-

00:02.0 ISA bridge: Silicon Integrated Systems [SiS]: Unknown device
0964 (rev 36)
	Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop-
ParErr-
Stepping- SERR- FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
	Latency: 0

(...)

01:00.0 VGA compatible controller: ATI Technologies Inc Radeon RV200
QW [Radeon 7500] (prog-if 00 [VGA])
	Subsystem: Hightech Information System Ltd.: Unknown device 2002
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr-
Stepping+ SERR+ FastB2B-
	Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
	Latency: 32 (2000ns min), cache line size 08
	Interrupt: pin A routed to IRQ 11
	Region 0: Memory at c0000000 (32-bit, prefetchable) [size=128M]
	Region 1: I/O ports at 9800 [size=256]
	Region 2: Memory at cfef0000 (32-bit, non-prefetchable)
[size=64K]
	Expansion ROM at <unassigned> [disabled] [size=128K]
	Capabilities: [58] AGP version 2.0
		Status: RQ=48 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64-
HTrans-
64bit- FW- AGP3- Rate=x1,x2,x4
		Command: RQ=1 ArqSz=0 Cal=0 SBA+ AGP- GART64- 64bit- FW-
Rate=<none>
	Capabilities: [50] Power Management version 2
		Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-



lspci and scanpci can scan PCI bus and can find all pci devices.
Again - what libdha/pci.c (code for pci_scan function) search, scan:
PCI bus, PCI devices, AGP port, VGA videocard ???



################################## scanpci -v:
pci bus 0x0 cardnum 0x00 function 0x0000: vendor 0x1039 device 0x0746
 SiS  Device unknown
 CardVendor 0x1849 card 0x0746 (Card unknown)
  STATUS    0x2210  COMMAND 0x0007
  CLASS     0x06 0x00 0x00  REVISION 0x10

pci bus 0x0 cardnum 0x01 function 0x0000: vendor 0x1039 device 0x0002
 SiS SG86C202
  STATUS    0x0000  COMMAND 0x0107
  CLASS     0x06 0x04 0x00  REVISION 0x00
  HEADER    0x01  LATENCY 0x20
  PRIBUS    0x00  SECBUS 0x01  SUBBUS 0x02  SECLT 0x20
  IOBASE    0x9000  IOLIM 0x9fff  SECSTATUS 0x2000
  NOPREFETCH_MEMBASE 0xcfd00000  MEMLIM 0xcfefffff
  PREFETCH_MEMBASE   0xbfa00000  MEMLIM 0xcfbfffff
  NO_FAST_B2B NO_SEC_BUS_RST NO_M_ABRT VGA_EN NO_ISA_EN NO_PERR_EN

(...)

pci bus 0x1 cardnum 0x00 function 0x0000: vendor 0x1002 device 0x5157
 ATI  Device unknown
 CardVendor 0x17af card 0x2002 (Card unknown)
  STATUS    0x02b0  COMMAND 0x0187
  CLASS     0x03 0x00 0x00  REVISION 0x00
  BIST      0x00  HEADER 0x00  LATENCY 0x20  CACHE 0x08
  BASE0     0xc0000008  addr 0xc0000000  MEM PREFETCHABLE
  BASE1     0x00009801  addr 0x00009800  I/O
  BASE2     0xcfef0000  addr 0xcfef0000  MEM
  BASEROM   0xcfec0000  addr 0xcfec0000  not-decode-enabled
  MAX_LAT   0x00  MIN_GNT 0x08  INT_PIN 0x01  INT_LINE 0x0b


PCI: Probing config type using method 1                              
          
PCI: Config type is 1                                                
          
PCI: PCI scan (all values are in hex)                                
          
PCI: 00:00:0: chip 1039,0746 card 1849,0746 rev 10 class 06,00,00 hdr
00        
PCI: 00:01:0: chip 1039,0002 card 0000,0000 rev 00 class 06,04,00 hdr
01        
PCI: 00:02:0: chip 1039,0964 card 0000,0000 rev 36 class 06,01,00 hdr
80        
PCI: 00:02:5: chip 1039,5513 card 1849,5513 rev 01 class 01,01,80 hdr
00        
PCI: 00:02:7: chip 1039,7012 card 1849,7012 rev a0 class 04,01,00 hdr
00        
PCI: 00:03:0: chip 1039,7001 card 1849,7001 rev 0f class 0c,03,10 hdr
80        
PCI: 00:03:1: chip 1039,7001 card 1849,7001 rev 0f class 0c,03,10 hdr
00        
PCI: 00:03:2: chip 1039,7001 card 1849,7001 rev 0f class 0c,03,10 hdr
00        
PCI: 00:04:0: chip 1039,0900 card 1849,8201 rev 90 class 02,00,00 hdr
00        
PCI: 00:09:0: chip 109e,036e card 0000,0000 rev 11 class 04,00,00 hdr
80        
PCI: 00:09:1: chip 109e,0878 card 0000,0000 rev 11 class 04,80,00 hdr
80        
PCI: 00:0b:0: chip 1102,0002 card 1102,8067 rev 0a class 04,01,00 hdr
80        
PCI: 00:0b:1: chip 1102,7002 card 1102,0020 rev 0a class 09,80,00 hdr
80        
PCI: 01:00:0: chip 1002,5157 card 17af,2002 rev 00 class 03,00,00 hdr
00        
PCI: End of PCI scan                                                 




Dubug is nothing help (same less information output, like before
without debugging). Maybe libdha/pci.c is to old:

(XFree86 3.3.3 scanpci.c, modified for GATOS/win/gfxdump
XFree86: xc/programs/Xserver/hw/xfree86/etc/scanpci.c,v 
3.34.2.17 1998/11/10 11:55:40 dawes Exp)
^^^^^^^^^^^^^^^^^^^ !!!! for new MoBos?

-vo vesa:vidix was always working for me with the 0.9xx versions of
mplayer and somehow broke (for me) when switching to mplayer 1.0.pre.xx.
i was able to fix it by replacing the radeon_vid.so from the 1.0.pre.xx
version with the one from mplayer 0.9.xx. i was told it should be right
the same and therefor ok to use. works nicely!





More information about the MPlayer-users mailing list