[Openchrome-users] 50€ REWARD: Still 'BadAccess' - please help!!

Thomas Hellström unichrome
Tue Jan 3 13:33:56 PST 2006


Hi,


> Hi,
>
> I've already reported lots of my problems a few days ago.. Unfortunately
> noone was able to help me yet, so I'd like to ask again, since this is
> really driving me nuts. I've been doing nothing else for a full week now,
> so I'm now offering a 50??? PayPal donation to whoever gives me the final
> hint to the problem. I want this working by tomorrow.
>
> I have an Epia SP8000E (C3 800Mhz, Unichrome Pro CN400 chipset) with the
> latest Gentoo Linux (kernel 2.6.14 and Xorg 7.0).
>
> When I try  "mplayer -vo xv ntv-dvbs.mpeg" it gives me:
>
> X11 error: BadAccess (attempt to access private resource denied)
>
> Same thing with -vo xvmc. Similar thing with Xine:
>
> xine -V xxmc ntv-dvbs.mpeg
> This is xine (X11 gui) - a free video player v0.99.3.
> (c) 2000-2004 The xine Team.
> X Error of failed request:  BadValue (integer parameter out of range for
> operation)
>   Major opcode of failed request:  94 (X_CreateGlyphCursor)
>   Value in failed request:  0x9a
>


I'm not really interested in the money, but here are some hints how to
proceed:

1) Why do you use the option
Option      "XaaNoOffscreenPixmaps"
Remove that one.

2) Xv:

a) How do you start the X session and the movie players? The errors
indicate that you don't have access to the X server? Are you running the
movie players interactively from within the X environment?

b) Run "xvinfo" and check the output.

c) Try "xvtestcard",
http://www.blackfiveservices.co.uk/xvtestcard.shtml
define IMAGEFORMAT as YV12

d) 32 MB should be sufficient, but make sure you set your bios to "Optimal
defaults". Trying to tweak memory timings in bios may result in the via
driver detecting too little memory bandwidth, which will give you an Xv
BadAlloc error.

3) XvMC: XvMC won't work unless you get Xv working. Note that to run
mplayer  with XvMC you need to patch it with Ivor's patch first. (See
other postings on this list.)



> Now I don't know if "xv" uses openchrome drivers or not? Is it a problem
> with X, or mplayer AND xine, or the openchrome driver?
>
> I've tried Xorg 6.9.99-15 AND Xorg 7.0, I've tried the standard mplayer
> package from gentoo and also the CVS version, same with Xine. I've tried
> the November 16th snapshot of openchrome, the CVS version from Jan 1st,
> and also the integrated drivers in X11-7.0. They all give me the same
> results.
>
> Mplayer does play the video with the -vo x11 parameter, but thats not
> acceptable on my system, I need the hardware acceleration, thats the whole
> reason I bought this whole setup!!
>
> What could possibly be the problem? I've really read all I can find on
> this subject. Is there any debug output / trace / whatever I can make to
> get behind the cause?
>
> Could it be some setting on my system? Does the software not like the -Os
> compiler directive? (Please dont suggest to just try a different oiption
> without a suspicion, it takes 2 days to recompile everything!) Or is 32MB
> shared memory not enough for the VGA memory?
>
> Glxgears runs fine and gives me 600 fps, so X seems to be working, more or
> less.
>
> The only answers to "BadAccess" and "BadValue" problems in Xorg I've found
> on Google basically just say "I reinstalled everything and then it
> worked"... Haha. I want to know what the problem is because I've done that
> several times now. And it takes fucking days to recompile everything on
> Gentoo on this slow board.
>
> I'll be happy to phone you (worldwide, I'm in Germany) or use messenger
> (MSN or Yahoo) to fill you in detail.
>
> Thanks...
> Ethan
>
>
> Xorg.0.log:
> (II) VIA(0): [drm] DRM interface version 1.2
> (II) VIA(0): [drm] created "via" driver at busid "PCI:1:0:0"
> (II) VIA(0): [drm] added 8192 byte SAREA at 0xce951000
> (II) VIA(0): [drm] mapped SAREA 0xce951000 to 0xb58e8000
> (II) VIA(0): [drm] framebuffer handle = 0xe4000000
> (II) VIA(0): [drm] added 1 reserved context for kernel
> (II) VIA(0): [dri] visual configs initialized.
> (II) VIA(0): [drm] register handle = 0xe8000000
> (II) VIA(0): [drm] mmio Registers = 0xe8000000
> (II) VIA(0): [dri] mmio mapped.
> (II) VIA(0): VIAInternalScreenInit
> (**) VIA(0): Option "XaaNoOffscreenPixmaps"
> (II) VIA(0): Using XFree86 Acceleration Architecture (XAA)
>         Screen to screen bit blits
>         Solid filled rectangles
>         8x8 mono pattern filled rectangles
>         8x8 color pattern filled rectangles
>         Solid Lines
>         Dashed Lines
>         Image Writes
>         Setting up tile and stipple cache:
>                 32 128x128 slots
>                 9 256x256 slots
>                 32 8x8 color pattern slots
> (==) VIA(0): Backing store disabled
> (II) VIA(0): [drm] Detected AGP vendor 0x1106, device 0x259
> (II) VIA(0): [drm] Found AGP v3 compatible device. Trying AGP 8X mode.
> (II) VIA(0): [drm] Trying to enable AGP fast writes.
> (II) VIA(0): [drm] drmAgpEnabled succeeded
> (II) VIA(0): [drm] agpAddr = 0xea000000
> (II) VIA(0): [drm] agpBase = (nil)
> (II) VIA(0): [drm] agpAddr = 0xea000000
> (II) VIA(0): [drm] agpSize = 0x01e00000
> (II) VIA(0): [drm] agp physical addr = 0x00000000
> (II) VIA(0): [dri] use agp.
> (II) VIA(0): [drm] FBFreeStart= 0x00500000 FBFreeEnd= 0x01fbf000 FBSize=
> 0x01abf000
> (II) VIA(0): [dri] frame buffer initialized.
> (II) VIA(0): X context handle = 0x1
> (II) VIA(0): [drm] installed DRM signal handler
> (II) VIA(0): [DRI] installation complete
> (II) VIA(0): [dri] kernel data initialized.
> (II) VIA(0): direct rendering enabled
> (II) VIA(0): Benchmarking video copy. Less is better.
> (--) VIA(0): Timed   libc YUV420 copy... 5882869. Throughput: 80.7 MiB/s.
> (--) VIA(0): Timed kernel YUV420 copy... 5091043. Throughput: 93.2 MiB/s.
> (--) VIA(0): Timed    SSE YUV420 copy... 3021675. Throughput: 157.1 MiB/s.
> (--) VIA(0): Timed    MMX YUV420 copy... 5254947. Throughput: 90.3 MiB/s.
> (--) VIA(0): Ditch 3DNow! YUV420 copy... Not supported by CPU.
> (--) VIA(0): Timed   MMX2 YUV420 copy... 3088441. Throughput: 153.7 MiB/s.
> (--) VIA(0): Using SSE YUV42X copy for video.
> (II) VIA(0): [XvMC] Registering viaXvMCPro.
> (II) VIA(0): [XvMC] Initialized XvMC extension.
> (==) RandR enabled
> (II) Setting vga for screen 0.
> (II) Initializing built-in extension MIT-SHM
> (II) Initializing built-in extension XInputExtension
> (II) Initializing built-in extension XTEST
> (II) Initializing built-in extension XKEYBOARD
> (II) Initializing built-in extension LBX
> (II) Initializing built-in extension XC-APPGROUP
> (II) Initializing built-in extension SECURITY
> (II) Initializing built-in extension XINERAMA
> (II) Initializing built-in extension XFIXES
> (II) Initializing built-in extension XFree86-Bigfont
> (II) Initializing built-in extension RENDER
> (II) Initializing built-in extension RANDR
> (II) Initializing built-in extension COMPOSITE
> (II) Initializing built-in extension DAMAGE
> (II) Initializing built-in extension XEVIE
>
>
>
> Xorg.conf:
> Section "dri"
>         Mode 0666
> EndSection
>
> Section "ServerLayout"
>         Identifier     "X.org Configured"
>         Screen      0  "Screen0" 0 0
>         InputDevice    "Mouse0" "CorePointer"
>         InputDevice    "Keyboard0" "CoreKeyboard"
> EndSection
>
> Section "Files"
>         RgbPath      "/usr/share/X11/rgb"
>         ModulePath   "/usr/lib/xorg/modules"
>         FontPath     "/usr/share/fonts/misc"
>         FontPath     "/usr/share/fonts/75dpi"
>         FontPath     "/usr/share/fonts/100dpi"
>         FontPath     "/usr/share/fonts/TTF"
>         FontPath     "/usr/share/fonts/Type1"
> EndSection
>
> Section "Module"
>         Load  "extmod"
>         Load  "dbe"
>         Load  "record"
>         Load  "glx"
>         Load  "xtrap"
>         Load  "dri"
>         Load  "freetype"
>         Load  "type1"
> EndSection
>
> Section "InputDevice"
>         Identifier  "Keyboard0"
>         Driver      "kbd"
>         Option      "XkbLayout" "de"
> EndSection
>
> Section "InputDevice"
>         Identifier  "Mouse0"
>         Driver      "mouse"
>         Option      "Protocol" "auto"
>         Option      "Device" "/dev/input/mice"
>         Option      "ZAxisMapping" "4 5"
> EndSection
>
> Section "Monitor"
>         Identifier   "Monitor0"
>         VendorName   "Monitor Vendor"
>         ModelName    "Monitor Model"
>         HorizSync       31.5 - 90.5
>         VertRefresh     50 - 70
> EndSection
>
> Section "Device"
>     Option      "XaaNoOffscreenPixmaps"
>     Identifier  "VIA Unichrome"
>     Driver      "via"
>     VendorName  "VIA"
>     BoardName   "VIA Unichrome"
>     Option      "DisableIRQ"
> #    Option     "EnableAGPDMA"
>     Option      "VideoRAM"      "32"
> EndSection
>
> Section "Screen"
>         Identifier "Screen0"
>         Device     "VIA Unichrome"
>         Monitor    "Monitor0"
>         SubSection "Display"
>                 Modes      "800x600" "720x576" "640x480"
>                 Viewport   0 0
>                 Depth     24
>         EndSubSection
> EndSection
>
>
>
> _______________________________________________
> openchrome-users mailing list
> openchrome-users at openchrome.org
> http://wiki.openchrome.org/mailman/listinfo/openchrome-users
>




More information about the Openchrome-users mailing list