[MPlayer-users] X hangs on Ati Rage128AIW
Tapani L.
kk014932 at kemi.fi
Mon Jul 29 21:57:01 CEST 2002
Arkadiusz Miskiewicz wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> "Tapani L." <kk014932 at kemi.fi> writes:
> Do you have DRM (DRI) module loaded into kernel?
[drm] AGP 0.99 on VIA Apollo Pro @ 0xe0000000 64MB
[drm] Initialized r128 2.2.0 20010917 on minor 0
and in XFree's output:
(II) Loading extension XVideo
----
(II) Loading extension XVideo-MotionCompensation
LoadModule: "dri"
(II) Loading /usr/X11R6/lib/modules/extensions/libdri.a
(II) Module dri: vendor="The XFree86 Project"
compiled for 4.2.0, module version = 1.0.0
ABI class: XFree86 Server Extension, version 0.1
(II) Loading sub module "drm"
(II) LoadModule: "drm"
(II) Loading /usr/X11R6/lib/modules/linux/libdrm.a
-----
(II) R128(0): Starting up Xvideo subsystems
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 6, (OK)
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 6, (OK)
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 6, (OK)
drmGetBusid returned '(II) R128(0): [drm] created "r128" driver at busid
"PCI:1:0:0"
(II) R128(0): [drm] added 8192 byte SAREA at 0xd087e000
(II) R128(0): [drm] mapped SAREA 0xd087e000 to 0x40014000
(II) R128(0): [drm] framebuffer handle = 0xd8000000
(II) R128(0): [drm] added 1 reserved context for kernel
--
agp stuff
---
(II) R128(0): [drm] register handle = 0xdfefc000
(II) R128(0): [dri] Visual configs initialized
----
(II) R128(0): [drm] installed DRM signal handler
(II) R128(0): [DRI] installation complete
(II) R128(0): [drm] Added 128 16384 byte vertex/indirect buffers
(II) R128(0): [drm] Mapped 128 vertex/indirect buffers
(II) R128(0): Direct rendering enabled
etc.. full works
and in XFconfig:
Load "dri"
only extra option is:
Option "AGPMode" "2"
> IMO it is not a mplayer problem. I and one more guy from PLD has
> exactly the same problem. When DRM module is loaded (in my case
> DRM from http://www.xfree86.org/~alanh/linux-drm-4.2.0-kernelsource.tar.gz
> on 2.4.18 kernel compiled using gcc 2.95.4 prerelease) and _any_
> program tries to use xv then whole XFree hangs in way that you already
> described.
hmm... Im using AVview from gatos-project right now and its output is:
(and for this i have the ati.2 binaries, as i want to use the tuner on
my r128 to watch tv..)
/avview.scp
control_screen=
NUM_ADAPTORS=1
Adaptor 0: ATI Rage128 Video Overlay
type input video image
ports 59
59 ATI Rage128 Video Overlay
master=.controlwin row=1 column=0
master=.controlwin row=1 column=0
XV_SET_DEFAULTS 0 1 button
XV_AUTOPAINT_COLORKEY 0 1 none
XV_COLORKEY 0 -1 none
XV_DOUBLE_BUFFER 0 1 toggle
XV_ENCODING 0 12 none
XV_FREQ 0 -1 entry
XV_TUNER_STATUS -1000 1000 label
XV_BRIGHTNESS -1000 1000 slider
XV_CONTRAST -1000 1000 slider
XV_SATURATION -1000 1000 slider
XV_COLOR -1000 1000 slider
XV_HUE -1000 1000 slider
XV_MUTE 0 1 toggle
widget=.controlwin.allattributes.f1.c.f.label59_8 args=AVview XVideo
attribute 5 9 8 5
Are these xv stuff or is the naming just same?
And i can also change AVvies enconding from pal-tuner to XV_IMAGE..
With my previous processor/motherboard i had DRi etc all working and xv
worked fine. Biggest difference was kernel, then 2.4.17 now 2.4.18-3..
> For me it happens when I'm using mplayer, avifile, zapping etc.
> Note that only XFree hangs (video ,,freezed'' and keyboard not working beside
> SysRq) - linux kernel still works properly because I can login via network.
Same here except i dont have VT-terminals anymore..so its power switch
time.....
> As workaround I'm simply not loading r128.o drm module and then xv works
> without any (!) problems but this sucks as I want to have OpenGL hw accel,
> too :-(
I wand/need DRI too, and it has worked before..
Is XFree 4.3.0 far from release?
More information about the MPlayer-users
mailing list