[arch-general] new libdrm breaks nouveau

Ray Kohler ataraxia937 at gmail.com
Wed Feb 17 18:00:32 EST 2010


After upgrading to the just-released libdrm 2.4.18-1 (and the new
xorg-server), I can no longer start X:

drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenByBusid: Searching for BusID pci:0000:01:00.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenByBusid: drmOpenMinor returns 8
drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
(EE) [drm] failed to open device
(EE) No devices detected.

Fatal server error:
no screens found

I tried rebuilding xf86-video-nouveau against this new libdrm, but it
doesn't compile:

nouveau_xv.c: In function ‘nouveau_xv_bo_realloc’:
nouveau_xv.c:251: error: ‘NOUVEAU_BO_TILED’ undeclared (first use in
this function)
nouveau_xv.c:251: error: (Each undeclared identifier is reported only once
nouveau_xv.c:251: error: for each function it appears in.)
make: *** [nouveau_xv.lo] Error 1
make: *** Waiting for unfinished jobs....
nv_accel_common.c: In function ‘NVAccelInitImageBlit’:
nv_accel_common.c:273: error: ‘NV04_IMAGE_BLIT_DMA_NOTIFY’ undeclared
(first use in this function)
nv_accel_common.c:273: error: (Each undeclared identifier is reported only once
nv_accel_common.c:273: error: for each function it appears in.)
nv_accel_common.c:275: error: ‘NV04_IMAGE_BLIT_COLOR_KEY’ undeclared
(first use in this function)
nv_accel_common.c:279: error: ‘NV04_IMAGE_BLIT_CLIP_RECTANGLE’
undeclared (first use in this function)
nv_accel_common.c:283: error: ‘NV04_IMAGE_BLIT_OPERATION’ undeclared
(first use in this function)
nv_accel_common.c:284: error: ‘NV04_IMAGE_BLIT_OPERATION_ROP_AND’
undeclared (first use in this function)
nv_accel_common.c: In function ‘NVAccelInitScaledImage’:
nv_accel_common.c:327: error:
‘NV04_SCALED_IMAGE_FROM_MEMORY_DMA_NOTIFY’ undeclared (first use in
this function)
nv_accel_common.c:337: error:
‘NV04_SCALED_IMAGE_FROM_MEMORY_COLOR_CONVERSION’ undeclared (first use
in this function)
nv_accel_common.c:338: error:
‘NV04_SCALED_IMAGE_FROM_MEMORY_COLOR_CONVERSION_DITHER’ undeclared
(first use in this function)
nv_accel_common.c:340: error:
‘NV04_SCALED_IMAGE_FROM_MEMORY_OPERATION’ undeclared (first use in
this function)
nv_accel_common.c:341: error:
‘NV04_SCALED_IMAGE_FROM_MEMORY_OPERATION_SRCCOPY’ undeclared (first
use in this function)
nv_accel_common.c: In function ‘NVAccelInitImageFromCpu’:
nv_accel_common.c:436: error: ‘NV05_IMAGE_FROM_CPU_BETA4’ undeclared
(first use in this function)
nv_accel_common.c:439: error: ‘NV05_IMAGE_FROM_CPU_SURFACE’ undeclared
(first use in this function)
make: *** [nv_accel_common.lo] Error 1

Downgrading libdrm makes X work again. Is this already being worked
on, or should I open a bug? If so, against which package, libdrm or
xf86-video-nouveau?


More information about the arch-general mailing list