Article View: comp.os.linux.misc
Article #332DRI error (cross-posted)
From: Helge Hoel
Date: Mon, 11 Jun 2001 22:14
Date: Mon, 11 Jun 2001 22:14
102 lines
4746 bytes
4746 bytes
First I have to say that this message was crossposted to "comp.os.linux.misc, 3dfx.glide.linux, 3dfx.products.voodoo3" I dont know which of the groups that's most correct, but you can send your answers to the most appropriate. I have recently installed slackware-current, and upgraded the XFree86 server to 4.1.0. I got a voodoo3 3000 AGP board, and would now really like to view the GL screensavers, and play Tuxracer =) I then had to find a way to get DRI to work then. I recompiled my kernel, to the 2.4.5, in my kernel config, things look like this. ----------------------------------- (*) /dev/agpgart (AGP Support) (*) Intel 440LX/BX/GX and I815/I840/I850 support (*) Direct Rendering Manager (XFree86 DRI support) (*) 3dfx Banshee/Voodoo3+ ----------------------------------- Yes, my motherboard is an Intel board, with 440BX chipset. So now I think my kernel should support DRI. Let's then move on to my XF86Config.. ----------------------------------- <SNIPP> Load "glx" Load "dri" Section "dri" Mode 0666 EndSection <MORE SNIPP> Section "Device" Identifier "voodoo3 (generic)" Driver "tdfx" EndSection ------------------------------------ So now I guess my XF86Config should handle DRI too. Let's start XFree.. here's some info from "/var/log/XFree86.0.log" .. ------------------------------------- <SNIPP> (II) TDFX(0): [drm] created "tdfx" driver at busid "PCI:1:0:0" (II) TDFX(0): [drm] added 4096 byteSAREA at 0xc5d33000 (II) TDFX(0): [drm] mapped SAREA 0xc5d33000 to 0x40017000 (II) TDFX(0): [drm] framebuffer handle = 0xe2000000 (II) TDFX(0): [drm] added 1 reserved context for kernel (II) TDFX(0): [drm] Registers = 0xde000000 (II) TDFX(0): visual configs initialized (II) TDFX(0): Using XFree86 Acceleration Architecture (XAA) <MORE SNIPP> (==) TDFX(0): Backing store disabled (==) TDFX(0): Silken mouse enabled (II) TDFX(0): X context handle = 0x00000001 (II) TDFX(0): [drm] installed DRM signal handler (II) TDFX(0): [DRI] installation complete (==) TDFX(0): Direct rendering enabled -------------------------------------- I'm not a X guru, but it looks to me like everything's fine so far. Then after X have started, lets try "xdpyinfo" --------------------------------------- number of extensions: 26 <SNIPP> GLX SGI-GLX XFree86-DRI </SNIPP> ---------------------------------------- Theese extensions are listed. I've heard that theese are the one's I need for DRI. Now things are getting interesting.. I'll print you all the lines I think might help from "glxinfo" ----------------------------------------- direct rendering: No server glx vendor string: SGI server glx version string: 1.2 OpenGL vendor string: VA Linux Systems Inc. OpenGL renderer string: Mesa GLX Indirect OpenGL version string: 1.2 Mesa 3.4.2 glu version: 1.3 ------------------------------------------ First of all, glxinfo says that direct rendering isn't in use. It then says that OpenGL is rendered with "Mesa GLX Indirect" instead of my voodoo3 board. So I'm then asking you, why? "setpci 01:00.0 4.w" returns 0003, which means, no DMA support on my graphic card. I've heard bus-mastering-dma is required for DRI. So how do I turn this on? (If that's the problem). I got a "/dev/dri", but I dont got a "/dev/drm" shouldn't I've had one? All answers are higly appreciated !! Thanks in advance!
Technical Details
Message-ID:
<dobV6.2027$q82.91072@news3.oke.nextra.no>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.skycache.com!Cidera!news100.world-online.no!news100.world-online.no!nntp.newmedia.no!newsfeed1.enitel.no!news.ost.eltele.no!news2.oke.nextra.no!nextra.com!news3.oke.nextra.no.POSTED!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 104191,9efa0b3021159198,start X-Google-Attributes: gid104191,public X-Google-Thread: 10320c,9efa0b3021159198,start X-Google-Attributes: gid10320c,public X-Google-Thread: 1103af,9efa0b3021159198,start X-Google-Attributes: gid1103af,public X-Google-ArrivalTime: 2001-06-11 15:14:05 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.skycache.com!Cidera!news100.world-online.no!news100.world-online.no!nntp.newmedia.no!newsfeed1.enitel.no!news.ost.eltele.no!news2.oke.nextra.no!nextra.com!news3.oke.nextra.no.POSTED!not-for-mail From: "Helge Hoel" <vvizard@online.no> Subject: DRI error (cross-posted) Newsgroups: comp.os.linux.misc,3dfx.glide.linux,3dfx.products.voodoo3 Followup-To: comp.os.linux.misc User-Agent: Pan/0.9.7 (Unix) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Lines: 108 Message-ID: <dobV6.2027$q82.91072@news3.oke.nextra.no> NNTP-Posting-Host: 130.67.90.81 X-Complaints-To: news-abuse@nextra.no NNTP-Posting-Date: Tue, 12 Jun 2001 00:13:29 MEST Organization: Nextra Public Access X-Trace: news3.oke.nextra.no 992297610 130.67.90.81 Date: Tue, 12 Jun 2001 00:14:45 +0200