6.2/i386 X/DRI issues
Hi All Installed FreeBSD i386, Rel 6.2 on a machine thats got an i945 chipset on the motherboard, integrated video too. Everything seems to be supported, SATA controllers the lot... but no AGP or DRM support? i have the statements device agp device drm device i915drm in my kernel conf, after building the new kernel. dmesg |grep agp dmesg |grep drm Returns absolutely nothing The i945 has been around for a while now.. Whats missing here? the actual motherboard has the video card integrated. This motherboard has no AGP slot on it, only PCI-E for a video card. I am not sure whether the onboard integrated graphics is wired into AGP or PCI-E Would this make a difference? is there any workaround/solution? And yes, the whole point is to get DRI working in X. Cheers Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 6.2/i386 X/DRI issues
Written by [EMAIL PROTECTED] on 05/29/07 20:14>> Hi All Installed FreeBSD i386, Rel 6.2 on a machine thats got an i945 chipset on the motherboard, integrated video too. Everything seems to be supported, SATA controllers the lot... but no AGP or DRM support? i have the statements device agp device drm device i915drm in my kernel conf, after building the new kernel. dmesg |grep agp dmesg |grep drm Returns absolutely nothing The i945 has been around for a while now.. Whats missing here? the actual motherboard has the video card integrated. This motherboard has no AGP slot on it, only PCI-E for a video card. I am not sure whether the onboard integrated graphics is wired into AGP or PCI-E Would this make a difference? is there any workaround/solution? And yes, the whole point is to get DRI working in X. Cheers Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" i945 dri is working in 6-STABLE as of some months ago. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 6.2/i386 X/DRI issues
Reid Linnemann ha scritto: > Written by [EMAIL PROTECTED] on 05/29/07 20:14>> >> Hi All >> >> Installed FreeBSD i386, Rel 6.2 on a machine thats got an i945 chipset >> on the motherboard, integrated video too. Everything seems to be >> supported, SATA controllers the lot... but no AGP or DRM support? >> >> i have the statements >> >> device agp >> device drm >> device i915drm >> >> in my kernel conf, after building the new kernel. >> >> dmesg |grep agp >> dmesg |grep drm >> >> Returns absolutely nothing >> >> The i945 has been around for a while now.. Whats missing here? the >> actual motherboard has the video card integrated. This motherboard has >> no AGP slot on it, only PCI-E for a video card. I am not sure whether >> the onboard >> integrated graphics is wired into AGP or PCI-E >> >> Would this make a difference? is there any workaround/solution? >> >> And yes, the whole point is to get DRI working in X. >> >> Cheers >> Alex >> > i945 dri is working in 6-STABLE as of some months ago. Have the same problem with via PT880 and Radeon 9600XT (AGP 8X card). When I kldload drm, I see this in dmesg May 26 15:02:24 hansolo kernel: error: [drm:pid877:radeon_cp_init] *ERROR* radeon_cp_init called without lock held May 26 15:02:24 hansolo kernel: error: [drm:pid877:drm_unlock] *ERROR* Process 877 using kernel context 0 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 6.2/i386 X/DRI issues
On Wed, 30 May 2007 11:26:24 -0500, Reid Linnemann <[EMAIL PROTECTED]> wrote: > > i945 dri is working in 6-STABLE as of some months ago. This does not seem to be the case for me. As an experiment, I booted from a 7-CURRENT CD and installed it (May snapshot) and it was detected! But not in 6.2/i386. Its detected as AGP, though the machine has no AGP slot in it?!?!? Cheers Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 6.2/i386 X/DRI issues
Alex R wrote: This does not seem to be the case for me. As an experiment, I booted from a 7-CURRENT CD and installed it (May snapshot) and it was detected! But not in 6.2/i386. Its detected as AGP, though the machine has no AGP slot in it?!?!? 6.2-what? You are probably running Release; you don't have Stable unless you've updated source and re-compiled everything. Stable is really a few steps ahead of release, with additional features and fixes, believed to be, uhh "stable" but not really recommended for production servers. Stable it the next Release in the making. -RW ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 6.2/i386 X/DRI issues
On Wed, 30 May 2007 16:38:56 -0400, Rob <[EMAIL PROTECTED]> wrote: > 6.2-what? You are probably running Release; you don't have Stable unless > you've updated source and re-compiled everything. Stable is really a few > steps ahead of release, with additional features and fixes, believed to be, > uhh "stable" but not really recommended for production servers. Stable it > the next Release in the making. > > -RW You're right.. And my fault for assuming Release/Stable meant the same thing.. My bad.. "FreeBSD 6.2-RELEASE" So I need to 'stable' for DRI to work. If the issue with DRI on the i945 was fixed some time ago, as someone else suggested, why hasn't it been merged into 6.2-Release? Is there any patch to fix this for 6.2-RELEASE? Thanks Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 6.2/i386 X/DRI issues
At 05:53 PM 5/30/2007, Alex R wrote: > 6.2-what? You are probably running Release; you don't have Stable unless > you've updated source and re-compiled everything. Stable is really a few You're right.. And my fault for assuming Release/Stable meant the same thing.. My bad.. S'ok... it's quite confusing. I only grasped it in the last year or so. So I need to 'stable' for DRI to work. If the issue with DRI on the i945 was fixed some time ago, as someone else suggested, why hasn't it been merged into 6.2-Release? Is there any patch to fix this for 6.2-RELEASE? The release engineering philosophy seems to be that the actual "Release" versions are designed with stability and security foremost. The patches that come out are usually ONLY for security issues. Merges and enhancements to Release are, by definition, what Stable is. You just need to install the source, cvsup it, and rebuild everything. I put off messing with it for many years, and just put up with out of date systems; but it's really not as hairy as it sounds. See the handbook entry: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html Also see the appendix entry for cvs release tags. -RW ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 6.2/i386 X/DRI issues
On Thu, 31 May 2007 7:53:39 +1000 Alex R <[EMAIL PROTECTED]> wrote: > So I need to 'stable' for DRI to work. If the issue with DRI on the i945 was > fixed some time ago, as someone else suggested, why hasn't it been merged > into 6.2-Release? Because 6.2-RELEASE had already been, ahem, 'released' at the time the fix was in place. > Is there any patch to fix this for 6.2-RELEASE? sure, update your src tree and rebuild your kernel and world (and install them :) ). and, just in case, you can find how to do that here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html :) _ {Beto|Norberto|Numard} Meijome "He has no enemies, but is intensely disliked by his friends." Oscar Wilde I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 6.2/i386 X/DRI issues
On Thu, 31 May 2007 12:33:35 +1000, Norberto Meijome <[EMAIL PROTECTED]> wrote: > sure, update your src tree and rebuild your kernel and world (and install > them :) ). > > and, just in case, you can find how to do that here: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html > > :) I'm not feeling that brave, I got dizzy after reading the first two pages :P ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 6.2/i386 X/DRI issues
Alex R writes: > > sure, update your src tree and rebuild your kernel and world (and install > > them :) ). > > > > and, just in case, you can find how to do that here: > > > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html > > I'm not feeling that brave, I got dizzy after reading the first > two pages :P Follow the instructions carefully, and it's not as scary as it sounds. (You will need a backup ... but you have one of those already right?) Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 6.2/i386 X/DRI issues
On Thu, 31 May 2007 13:06:39 +1000 Alex R <[EMAIL PROTECTED]> wrote: > I'm not feeling that brave, I got dizzy after reading the first two pages :P it actually isn't that hard - just issue the commands, let it build and install... anyway, you wont be getting DRI until you do it (or 6.3 comes out, in which case you may be able to use freebsd-update to upgrade) _ {Beto|Norberto|Numard} Meijome "I'm not afraid of dying, I just don't want to be there when it happens." Woody Allen I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 6.2/i386 X/DRI issues
On Thu, 31 May 2007 16:13:48 +1000, Norberto Meijome <[EMAIL PROTECTED]> wrote: > > it actually isn't that hard - just issue the commands, let it build and > install... anyway, you wont be getting DRI until you do it (or 6.3 comes > out, > in which case you may be able to use freebsd-update to upgrade) > _ > {Beto|Norberto|Numard} Meijome > thanks to everyone that has helped so far.. I have partial sucess. [EMAIL PROTECTED] ~]$ uname -a FreeBSD desktop.dhcpclient.schlossadler.net 6.2-STABLE FreeBSD 6.2-STABLE #0: Thu May 31 23:44:11 EST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CUSTOM i386 [EMAIL PROTECTED] ~]$ dmesg |grep agp agp0: port 0xc000-0xc007 mem 0xe200-0xe207,0xd000-0xdfff,0xe208-0xe20b irq 16 at device 2.0 on pci0 agp0: detected 7932k stolen memory agp0: aperture size is 256M [EMAIL PROTECTED] ~]$ dmesg |grep drm drmsub0: : (child of agp_i810.c) on agp0 info: [drm] AGP at 0xe200 0MB info: [drm] Initialized i915 1.5.0 20060119 buildworld seems to have sorted these. I have installed Xorg 7.2, but I cant seem to check whether DRI is enabled/working. the glxinfo command no longer works [EMAIL PROTECTED] ~]$ glxinfo -bash: glxinfo: command not found i did a bit of googling, apparently some changes have been made with the packages/applications included with Xorg 7.2, is glxinfo not working because its been replaced with another command? or am i missing a package? Thanks Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 6.2/i386 X/DRI issues
On Fri, 1 Jun 2007 13:01:22 +1000 Alex R <[EMAIL PROTECTED]> wrote: > On Thu, 31 May 2007 16:13:48 +1000, Norberto Meijome <[EMAIL PROTECTED]> > wrote: > > > > it actually isn't that hard - just issue the commands, let it build and > > install... anyway, you wont be getting DRI until you do it (or 6.3 comes > > out, > > in which case you may be able to use freebsd-update to upgrade) > > _ > > {Beto|Norberto|Numard} Meijome > > > > thanks to everyone that has helped so far.. I have partial sucess. cool :) > > [EMAIL PROTECTED] ~]$ uname -a > FreeBSD desktop.dhcpclient.schlossadler.net 6.2-STABLE FreeBSD 6.2-STABLE #0: > Thu May 31 23:44:11 EST 2007 [EMAIL > PROTECTED]:/usr/obj/usr/src/sys/CUSTOM i386 > > [EMAIL PROTECTED] ~]$ dmesg |grep agp > agp0: port 0xc000-0xc007 mem > 0xe200-0xe207,0xd000-0xdfff,0xe208-0xe20b irq 16 at > device 2.0 on pci0 > agp0: detected 7932k stolen memory > agp0: aperture size is 256M > > [EMAIL PROTECTED] ~]$ dmesg |grep drm > drmsub0: : (child of agp_i810.c) on agp0 > info: [drm] AGP at 0xe200 0MB > info: [drm] Initialized i915 1.5.0 20060119 looks good :) > buildworld seems to have sorted these. I have installed Xorg 7.2, but I cant > seem to check whether DRI is enabled/working. What does /var/log/Xorg.0.log tell you about it? > the glxinfo command no longer works glxinfo is not there at all anymore. > > [EMAIL PROTECTED] ~]$ glxinfo > -bash: glxinfo: command not found > > i did a bit of googling, apparently some changes have been made with the > packages/applications included with Xorg 7.2, is glxinfo not working because > its been replaced with another command? or am i missing a package? it's in the archives of the list - you need to install the mesa-demos port. _ {Beto|Norberto|Numard} Meijome "Science Fiction...the only genuine consciousness expanding drug" Arthur C. Clarke I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 6.2/i386 X/DRI issues
On Fri, 1 Jun 2007 13:16:00 +1000, Norberto Meijome <[EMAIL PROTECTED]> wrote: > On Fri, 1 Jun 2007 13:01:22 +1000 > What does /var/log/Xorg.0.log tell you about it? (have chopped out the irrelevant bits as the log is far too long to post here) (II) LoadModule: "dri" (II) Loading /usr/local/lib/xorg/modules/extensions//libdri.so (II) Module dri: vendor="X.Org Foundation" compiled for 7.2.0, module version = 1.0.0 ABI class: X.Org Server Extension, version 0.3 (II) Loading extension XFree86-DRI (II) Loading extension X-Resource (II) LoadModule: "glx" (II) Loading /usr/local/lib/xorg/modules/extensions//libglx.so (II) Module glx: vendor="X.Org Foundation" compiled for 7.2.0, module version = 1.0.0 ABI class: X.Org Server Extension, version 0.3 (==) AIGLX disabled (II) Loading extension GLX (II) I810(0): [drm] DRM interface version 1.2 (II) I810(0): [drm] created "i915" driver at busid "pci::00:02.0" (II) I810(0): [drm] added 8192 byte SAREA at 0xc5574000 (II) I810(0): [drm] mapped SAREA 0xc5574000 to 0x2858d000 (II) I810(0): [drm] framebuffer handle = 0xd002 (II) I810(0): [drm] added 1 reserved context for kernel (II) I810(0): Allocated 32 kB for the logical context at 0xffe2000. (II) I810(0): Allocated 8192 kB for the back buffer at 0xf00. (II) I810(0): Allocated 8192 kB for the depth buffer at 0xe80. (II) I810(0): Allocated 36608 kB for textures at 0xc44 (II) I810(0): 0x81cc130: Memory at offset 0x0002, size 12288 kBytes (II) I810(0): 0x81c9b80: Memory at offset 0x0000, size 4 kBytes (II) I810(0): 0x81c9ba0: Memory at offset 0x0fffb000, size 16 kBytes (II) I810(0): 0x82be304: Memory at offset 0x, size 128 kBytes (II) I810(0): 0x81cc170: Memory at offset 0x0ffea000, size 64 kBytes (II) I810(0): 0x81c9bc0: Memory at offset 0x0fffa000, size 4 kBytes (II) I810(0): 0x81cc308: Memory at offset 0x0ffe2000, size 32 kBytes (II) I810(0): 0x81cc328: Memory at offset 0x0f00, size 8192 kBytes (II) I810(0): 0x81cc348: Memory at offset 0x0e80, size 8192 kBytes (II) I810(0): 0x81cc368: Memory at offset 0x0c44, size 36608 kBytes (II) I810(0): Activating tiled memory for the back buffer. (II) I810(0): Activating tiled memory for the depth buffer. (II) I810(0): [drm] Registers = 0xe200 (II) I810(0): [drm] ring buffer = 0xd000 (II) I810(0): [drm] init sarea width,height = 1280 x 1024 (pitch 2048) (II) I810(0): [drm] Mapping front buffer (II) I810(0): [drm] Front Buffer = 0xd002 (II) I810(0): [drm] Back Buffer = 0xdf00 (II) I810(0): [drm] Depth Buffer = 0xde80 (II) I810(0): [drm] textures = 0xdc44 (II) I810(0): [drm] Initialized kernel agp heap manager, 37486592 (II) I810(0): [drm] dma control initialized, using IRQ 16 (II) I810(0): [dri] visual configs initialized (==) I810(0): Removed Write-combining range (0xe200,0x8) (==) I810(0): Write-combining range (0xd000,0x1000) (II) I810(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x (==) I810(0): Write-combining range (0xa,0x1) was already clear (WW) I810(0): Extended BIOS function 0x5f05 not supported. (II) I810(0): xf86BindGARTMemory: bind key 18 at 0x007bf000 (pgoffset 1983) (II) I810(0): xf86BindGARTMemory: bind key 10 at 0x0000 (pgoffset 65535) (II) I810(0): xf86BindGARTMemory: bind key 11 at 0x0fffb000 (pgoffset 65531) (II) I810(0): xf86BindGARTMemory: bind key 13 at 0x0ffea000 (pgoffset 65514) (II) I810(0): xf86BindGARTMemory: bind key 12 at 0x0fffa000 (pgoffset 65530) (II) I810(0): xf86BindGARTMemory: bind key 14 at 0x0ffe2000 (pgoffset 65506) (II) I810(0): xf86BindGARTMemory: bind key 15 at 0x0f00 (pgoffset 61440) (II) I810(0): xf86BindGARTMemory: bind key 16 at 0x0e80 (pgoffset 59392) (II) I810(0): xf86BindGARTMemory: bind key 17 at 0x0c44 (pgoffset 50240) X actually starts ok. Just don't know if DRI is enabled cos of the glxinfo issue. I haven't installed gnome or kde yet. I wanted to get DRI sorted out before I start. > it's in the archives of the list - you need to install the mesa-demos > port. in /usr/ports? Thanks again ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 6.2/i386 X/DRI issues
On Fri, 1 Jun 2007 13:16:00 +1000, Norberto Meijome <[EMAIL PROTECTED]> wrote: > it's in the archives of the list - you need to install the mesa-demos > port. Installed it. [EMAIL PROTECTED] ~]$ glxinfo Error: unable to open display But thats because I am ssh'd into the box from work, I dare say it will work when I get home and test from within X. You are a champion :-) Thank you! Cheers Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 6.2/i386 X/DRI issues
On Fri, 1 Jun 2007 15:11:26 +1000 Alex R <[EMAIL PROTECTED]> wrote: > > it's in the archives of the list - you need to install the mesa-demos > > port. > > Installed it. > > [EMAIL PROTECTED] ~]$ glxinfo > Error: unable to open display > > But thats because I am ssh'd into the box from work, I dare say it will work > when I get home and test from within X. ( X forwarding over ssh to your local display ..? I am just not sure whether glxinfo calculations would be based on your remote display or your local one) > You are a champion :-) Thank you! nw :) btw, the Xorg.0.log snippet you sent previously looks good. Usually, when X tries to enable DRI and it fails to, you'll see a line like "DRI Disabled" (after all the other DRI info). B _ {Beto|Norberto|Numard} Meijome "There is no limit to what a man can do or how far he can go if he doesn't mind who gets the credit." Robert Woodruff I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 6.2/i386 X/DRI issues
Written by Norberto Meijome on 06/03/07 20:43>> On Fri, 1 Jun 2007 15:11:26 +1000 Alex R <[EMAIL PROTECTED]> wrote: it's in the archives of the list - you need to install the mesa-demos port. Installed it. [EMAIL PROTECTED] ~]$ glxinfo Error: unable to open display But thats because I am ssh'd into the box from work, I dare say it will work when I get home and test from within X. ( X forwarding over ssh to your local display ..? I am just not sure whether glxinfo calculations would be based on your remote display or your local one) glxinfo over X-forward will report on the display the client is drawing on - X clients are not aware of any other displays unless explicitly instructed (e.g. glxinfo -display localhost:0), and even then you'll have to fight xauth. Incidentally, you can never do direct rendering over remote X connection because the client (which is executed on a remote system) does not have direct access to the memory of the display. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 6.2/i386 X/DRI issues
On Mon, 04 Jun 2007 08:35:06 -0500 Reid Linnemann <[EMAIL PROTECTED]> wrote: > Incidentally, you can never do direct rendering over remote X connection > because the client (which is executed on a remote system) does not have > direct access to the memory of the display. yes,i imagined that was the case... cheers _ {Beto|Norberto|Numard} Meijome "Imagination is more important than knowledge." Albert Einstein, On Science I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"