From owner-freebsd-questions@FreeBSD.ORG Mon May 8 01:39:23 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B1A9A16A413 for ; Mon, 8 May 2006 01:39:23 +0000 (UTC) (envelope-from e.schuele@computer.org) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [204.127.200.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id D301E43D69 for ; Mon, 8 May 2006 01:39:18 +0000 (GMT) (envelope-from e.schuele@computer.org) Received: from [192.168.214.215] (c-24-1-232-64.hsd1.tx.comcast.net[24.1.232.64]) by comcast.net (sccrmhc12) with ESMTP id <200605080139170120055isme>; Mon, 8 May 2006 01:39:17 +0000 Message-ID: <445EA144.3020506@computer.org> Date: Sun, 07 May 2006 20:39:16 -0500 From: Eric Schuele User-Agent: Thunderbird 1.5.0.2 (X11/20060426) MIME-Version: 1.0 To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: DRI and linux compat... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 May 2006 01:39:24 -0000 Hello, I'm trying to get a game running. The game in question is NeverWinterNights though I don't think the problem is related to the game specifically. The game does actually run. It is just that it is so unbelievably slow. It would appear as though I have no DRI within my linux-compat. DRI is working outside of linux-compat. I have been unable to find much on the web regarding this. Basically this is as far as I've gotten: [/compat/linux/usr/X11R6/bin] root# setenv LIBGL_DEBUG verbose [/compat/linux/usr/X11R6/bin] root# ./glxinfo libGL: XF86DRIGetClientDriverName: 5.0.3 radeon (screen 0) libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/radeon_dri.so drmOpenByBusid: busid is pci:0000:01:00.0 drmOpenDevice: minor is 0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 4, (OK) drmOpenByBusid: drmOpenMinor returns 4 drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0 libGL error: DDX DRI driver expected Radeon version 4.0.x but got version 5.0.3 libGL error: InitDriver failed display: :0.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.2 client glx extensions: I'm guessing the my linux libGL does not like my radeon driver's version? Any way to fool it? (Since I'd rather not downgrade my radeon driver.) I am running 6.1-Something as of yesterday. I have never had this game working. Just installed it today. So its not like it stopped working at some point. Not sure what else to post that might be useful. But here's a few: Ports of Interest links-0.98,1 = up-to-date with port linux-XFree86-libs-4.3.99.902_7 = up-to-date with port linux-atk-1.8.0_2 = up-to-date with port linux-expat-1.95.7_1 = up-to-date with port linux-fontconfig-2.2.3_3 = up-to-date with port linux-glib2-2.4.8_2 = up-to-date with port linux-gtk2-2.4.14_4 = up-to-date with port linux-jpeg-6b.33_1 = up-to-date with port linux-nwnclient-1.66 = up-to-date with port linux-openmotif-2.2.4_2 = up-to-date with port linux-pango-1.6.0_2 = up-to-date with port linux-png-1.2.8_1 = up-to-date with port linux-realplayer-10.0.7.785.20060201 = up-to-date with port linux-sdl-1.2.5_2 = up-to-date with port linux-tiff-3.6.1_6 = up-to-date with port linux_base-8-8.0_14 = up-to-date with port linux_dri-4.4.0 = up-to-date with port linuxdoc-1.1_1 = up-to-date with port linuxpluginwrapper-20051113_2 = up-to-date with port xmms-esound-1.2.10_6 = up-to-date with port xorg-6.9.0 = up-to-date with port xorg-clients-6.9.0_2 = up-to-date with port xorg-documents-6.9.0 = up-to-date with port xorg-fonts-100dpi-6.9.0_1 = up-to-date with port xorg-fonts-75dpi-6.9.0_1 = up-to-date with port xorg-fonts-cyrillic-6.9.0_1 = up-to-date with port xorg-fonts-encodings-6.9.0_1 = up-to-date with port xorg-fonts-miscbitmaps-6.9.0_1 = up-to-date with port xorg-fonts-truetype-6.9.0 = up-to-date with port xorg-fonts-type1-6.9.0 = up-to-date with port xorg-fontserver-6.9.0_1 = up-to-date with port xorg-libraries-6.9.0 = up-to-date with port xorg-manpages-6.9.0 = up-to-date with port xorg-nestserver-6.9.0 = up-to-date with port xorg-printserver-6.9.0_1 = up-to-date with port xorg-server-6.9.0_3 = up-to-date with port xorg-vfbserver-6.9.0_1 = up-to-date with port Some of Xorg.conf Section "Module" Load "dbe" Load "dri" Load "drm" Load "extmod" Load "glx" Load "record" Load "xtrap" Load "freetype" Load "type1" EndSection Section "DRI" Mode 0666 EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" DefaultDepth 24 DefaultFbBpp 32 SubSection "Display" #Depth 24 #FbBpp 32 Modes "1024x768" EndSubSection root# kldstat Id Refs Address Size Name 1 10 0xc0400000 82d4a0 kernel 2 1 0xc0c2e000 6c1c snd_ich.ko 3 2 0xc0c35000 27614 sound.ko 4 1 0xc0c5d000 1c77c kqemu.ko 5 1 0xc0c7a000 6b710 acpi.ko 6 1 0xc4db1000 1a000 linux.ko Hardware is a Dell Inspiron 5100 2.6GHz. drm0: port 0xc000-0xc0ff mem 0xe8000000-0xefffffff,0xfcff0000-0xfcffffff irq 11 at device 0.0 on pci1 info: [drm] AGP at 0xe0000000 128MB info: [drm] Initialized radeon 1.19.0 20050911 Any help is appreciated. -- Regards, Eric