From owner-freebsd-multimedia@FreeBSD.ORG Mon May 29 06:29:41 2006 Return-Path: X-Original-To: multimedia@freebsd.org Delivered-To: freebsd-multimedia@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DA42916AC92 for ; Mon, 29 May 2006 06:29:40 +0000 (UTC) (envelope-from gmarco@giovannelli.it) Received: from freebsd.giovannelli.com (freebsd.giovannelli.com [83.149.149.149]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D0C343D46 for ; Mon, 29 May 2006 06:29:39 +0000 (GMT) (envelope-from gmarco@giovannelli.it) Received: from hp.giovannelli.com (pc4.giovannelli.com [10.254.254.104]) by freebsd.giovannelli.com (8.13.6/8.13.6) with SMTP id k4T6WPHM009785 for ; Mon, 29 May 2006 08:32:26 +0200 (CEST) (envelope-from gmarco@giovannelli.it) Date: Mon, 29 May 2006 08:29:32 +0200 From: Gianmarco Giovannelli To: multimedia@freebsd.org Message-Id: <20060529082932.d6439e7c.gmarco@giovannelli.it> X-Mailer: Sylpheed version 2.2.4 (GTK+ 2.8.18; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-antivirus: scanned by vbmsrv 1.0.4 vdb sdb Cc: Subject: i915 found but dri not working... X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 May 2006 06:29:41 -0000 After the last commit my i915 graphic card is properly detected and, I think, attached ... pci0: on pcib0 agp0: port 0x1800-0x1807 mem 0xb0080000-0xb00fffff,0xc0000000-0xcfffffff,0xb0000000-0xb003ffff irq 16 at device 2.0 on pci0 agp0: detected 7932k stolen memory agp0: aperture size is 256M drmsub0: : (child of agp_i810.c) on agp0 info: [drm] AGP at 0xb0080000 0MB info: [drm] Initialized i915 1.4.0 20060119 pci0: at device 2.1 (no driver attached) agp0@pci0:2:0: class=0x030000 card=0x3080103c chip=0x25928086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82915GM/GMS, 82910GML Integrated Graphics Device' class = display subclass = VGA none0@pci0:2:1: class=0x038000 card=0x3080103c chip=0x27928086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82915GM/GMS,82910GML Mobile Express Family Graphics Controller (??)' class = display but dri continues to not work. I have in my kernel: [...] device agp # support several AGP chipsets device drm # DRM core module required by DRM drivers device i915drm # Intel i830 through i915 [...] # glxinfo name of display: :0.0 display: :0 screen: 0 direct rendering: No server glx vendor string: SGI server glx version string: 1.2 server glx extensions: GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context, GLX_OML_swap_method, GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_hyperpipe, GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig client glx vendor string: SGI client glx version string: 1.4 client glx extensions: GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory, GLX_MESA_swap_control, GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_OML_sync_control, GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group GLX extensions: GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_OML_swap_method, GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group OpenGL vendor string: Mesa project: www.mesa3d.org OpenGL renderer string: Mesa GLX Indirect OpenGL version string: 1.2 (1.5 Mesa 6.4.1) OpenGL extensions: [...] I have installed: dri-6.2.20050719,1 DRI OpenGL drivers snapshot and I have in my xorg.conf: Section "Module" Load "freetype" Load "extmod" Load "glx" Load "dri" Load "dbe" Load "record" Load "xtrap" EndSection and in my Xorg.log I found: drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 7, (OK) drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 7, (OK) drmOpenByBusid: Searching for BusID pci:0000:00:02.0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 7, (OK) drmOpenByBusid: drmOpenMinor returns 7 but glxgears reports: 1276 frames in 5.0 seconds = 252.701 FPS 1240 frames in 5.1 seconds = 245.529 FPS 1220 frames in 5.0 seconds = 243.443 FPS 1200 frames in 5.0 seconds = 239.097 FPS 1200 frames in 5.0 seconds = 239.866 FPS 1220 frames in 5.0 seconds = 243.112 FPS Any idea and help ? -- Best Regards, Gianmarco Giovannelli http://www.gufi.org/~gmarco