Current-Users archive

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

Re: amd64 DRMKMS results, 28 Jun 2014



On Sat, Jun 28, 2014 at 06:25:32PM +0200, Piotr Meyer wrote:
> Today I got working console and X (stable, as I assume - Firefox works
> without troubles) on 6.99.44. I noticed problems with glxinfo, although
 
[...]

> name of display: :0
> Unrecognized deviceID 152
> X Error of failed request:  BadAlloc (insufficient resources for operation)
>   Major opcode of failed request:  155 (GLX)
>   Minor opcode of failed request:  3 (X_GLXCreateContext)
>   Serial number of failed request:  21
>   Current serial number in output stream:  24

For record: I have been digging around a little and found clue - some 
bits of code were introduced by upstream after NetBSD port.

Jun 28 22:27:37 dodo /netbsd: drm kern debug: [drm:i915_driver_open],
Jun 28 22:27:37 dodo /netbsd: drm kern debug: [drm:drm_add_magic], 1
Jun 28 22:27:37 dodo /netbsd: drm kern debug: [drm:drm_getmagic], 1
Jun 28 22:27:37 dodo /netbsd: drm kern debug: [drm:drm_authmagic], 1
Jun 28 22:27:37 dodo /netbsd: drm kern debug: [drm:drm_remove_magic], 1
Jun 28 22:27:37 dodo /netbsd: drm kern debug: [drm:i915_getparam], Unknown 
parameter 22
Jun 28 22:27:37 dodo /netbsd: drm kern debug: [drm:drm_remove_magic], 1

http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/external/bsd/drm2/dist/drm/i915/i915_dma.c
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/external/bsd/drm2/dist/uapi/drm/i915_drm.h
#define I915_PARAM_RSVD_FOR_FUTURE_USE   22

vs.

http://lxr.free-electrons.com/source/drivers/gpu/drm/i915/i915_dma.c#L925
http://lxr.free-electrons.com/source/include/uapi/drm/i915_drm.h#L311
#define I915_PARAM_HAS_VEBOX             22 
(+ rest supporting code)
 
-- 
Piotr 'aniou' Meyer


Home | Main Index | Thread Index | Old Index