Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Apr 2000 23:05:42 -0400
From:      Randall Hopper <aa8vb@ipass.net>
To:        Ulf Zimmermann <ulf@Alameda.net>
Cc:        multimedia@FreeBSD.ORG
Subject:   Re: Help needed debugging 3.4-STABLE/XFree4/fxtv problem
Message-ID:  <20000414230542.A7644@ipass.net>
In-Reply-To: <20000413001831.A2695@PacHell.TelcoSucks.org>; from ulf@Alameda.net on Thu, Apr 13, 2000 at 12:18:31AM -0700
References:  <20000413001831.A2695@PacHell.TelcoSucks.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Ulf Zimmermann:
 |So I cvsuped 3.4-STABLE last night. I also compiled XFree86 4.0.
 |Now I have problems with fxtv. When I run it as me, its using
 |DGA, but as soon I touch the window (move, resize, switching between
 |virtual desktop), it core dumps with this:
 |
 |X Error of failed request:  BadAccess (attempt to access private resource denied)
 |  Major opcode of failed request:  143 (MIT-SHM)
 |  Minor opcode of failed request:  1 (X_ShmAttach)
 |  Serial number of failed request:  2318
 |  Current serial number in output stream:  2319

Fxtv defers the shared memory allocation until the first time it needs to
use XImage transfer when the display is local.  That would explain why it
works fine until you do something to the window.

Mike Muir <mmuir@es.co.nz> was having the same trouble with XFree86 4.0.
You might see if he resolved it.

A workaround to avoid this, is to give it a "non-local" display name.  It
doesn't use shared memory for this (of course it doesn't use direct video
either):

        fxtv -display 127.0.0.1:0

Not sure why XShmAttach would be working for us with XFree86 pre-4.0 and
failing with 4.x.  Or maybe it's the 3.4-RELEASE -to- 3.4-stable upgrade?

Randall


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000414230542.A7644>