Hi, I have a geforce 4mx 440 agp 8x, and I'm trying to use the GBM library, (as jbarnes in: http://virtuousgeek.org/blog/index.php/jbarnes/2011/10/ and David Hermann in KMSCON: https://github.com/dvdhrm/kmscon), without success.
when I try to create a gbm_device, I get: (below the code.) nouveau_drm_screen_create: unknown chipset nv18 dri_init_screen_helper: failed to create pipe_screen loaded /usr/lib/gbm/pipe_nouveau.so nouveau_drm_screen_create: unknown chipset nv18 failed to load driver: nouveau My question is: Is this not supported by the driver?, It's a GBM problem? or am I doing something wrong? when I run the following code: #include <errno.h> #include <fcntl.h> #include <gbm.h> #include <stdlib.h> #include <stdio.h> #include <xf86drmMode.h> #include <xf86drm.h> #include <libdrm/drm.h> int main(int argc, char* argv[]) { int fd; struct gbm_device *gbm = NULL; fd = open("/dev/dri/card0", O_RDWR | O_CLOEXEC); if (fd < 0) { perror("====> open error /dev/dri/card0..."); exit(-1); } printf("..... open /dev/dri/card0, fd = %d\n\n", fd); gbm = gbm_create_device(fd); if (!gbm) { perror("\n====> cannot create gbm device..."); fprintf(stderr, "====> errno = %d\n", errno); exit(-1); } exit(0); } I get: ..... open /dev/dri/card0, fd = 3 nouveau_drm_screen_create: unknown chipset nv18 dri_init_screen_helper: failed to create pipe_screen loaded /usr/lib/gbm/pipe_nouveau.so nouveau_drm_screen_create: unknown chipset nv18 failed to load driver: nouveau ====> cannot create gbm device...: No such file or directory ====> errno = 2 some details: distro: Archlinux kernel: 3.3.3 Mesa 8.0 from git: ./autogen.sh --prefix=/usr --with-dri-driverdir=/usr/lib/xorg/modules/dri \ --with-dri-drivers=i915,i965,nouveau,radeon,r200 \ --with-gallium-drivers=r300,r600,nouveau,svga,swrast \ --with-egl-platforms=drm,x11 \ --enable-gallium-llvm \ --enable-gallium-egl \ --enable-shared-dricore \ --enable-shared-glapi \ --enable-egl \ --enable-gles1 \ --enable-gles2 \ --enable-openvg \ --enable-glx-tls \ --enable-xcb \ --enable-gbm \ --enable-dri \ --enable-xa \ --enable-gallium-gbm \ --enable-osmesa \ --enable-texture-float \ --enable-debug libdrm 2.4.33 from git. xf86-video-nouveau from git. If necessary I will provide any other relevant information. Thanks, Gabriel Muguerza. (English is not my native language, please excuse the typos.)
_______________________________________________ Nouveau mailing list Nouveau@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/nouveau