tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

DRM and VIA Chipset



Hi,

I've booted a 4.99.54 with viadrm enabled.
It seems to be attached correctly:
==========
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: VIA Technologies VT8623 (Apollo CLE266) CPU-PCI Bridge (rev.  0x00)
agp0 at pchb0 (v2): aperture at 0xe4000000, size 0x10000000
ppb0 at pci0 dev 1 function 0: VIA Technologies VT8633 (Apollo Pro 266)
CPU-AGP Bridge (rev. 0x00)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga1 at pci1 dev 0 function 0: VIA Technologies VT8623 (Apollo CLE266)
VGA Controller (rev. 0x03)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
viadrm0 at vga1
info: [drm] VIA CLE266 (unit 0)
info: [drm] AGP at 0xe4000000 64MB
info: [drm] Initialized via 2.11.1 20070202
==========

I've compiled wip/MesaLib-dri-7.0.2nb1 and xf86-video-via-0.2.2.
X starts correctly and DRI seems all right:
==========
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
==========

But I have an issue when trying to run MPlayer : it can't use XV.
MPlayer goes:
==========
Starting playback...
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 720x576 => 768x576 Planar YV12  [fs]
X11 error: BadAccess (attempt to access private resource denied)
X11 error: BadAccess (attempt to access private resource denied)
X11 error: BadAccess (attempt to access private resource denied)
X11 error: BadAccess (attempt to access private resource denied)
==========

Xorg says:
(EE) VIA(0): [Xv] Port 0: PCI DMA blit failed. You probably encountered a bug.

The console says:
error: [drm:pid277:via_dma_blit] *ERROR* PCI DMA BitBlt is not implemented for 
this system.
error: [drm:pid277:via_dma_blit] *ERROR* PCI DMA BitBlt is not implemented for 
this system.
error: [drm:pid277:via_dma_blit] *ERROR* PCI DMA BitBlt is not implemented for 
this system.

I can still run MPlayer using '-vo x11' but I loose the zoom feature.

Anyone knows what happens and how to solve this ?

I can go back to non-DRM kernel but I was hopping to get better MPlayer
performance with it (the CPU is a VIA C3).

TIA,
        Jo

Attachment: pgpGOA9DexxQI.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index