Re: drm/dri update

2008-02-19 Thread Petr Janda
In my opinion Simon's work should rather go into base. It is afterall part of the kernel, even if a module, and not userland. Petr

Re: drm/dri update

2008-02-14 Thread Simon 'corecode' Schubert
Petr Janda wrote: 2) /dev/drm/card0 keeps disappearing due to make upgrade. Can adjust the MAKEDEV script to create the nodes so they dont disappear? Sorry, I should have verified it. the /dev/dri/card0 node disappears on every reboot, not after make upgrade. Why is that? And what can we do

Re: drm/dri update

2008-02-14 Thread Hasso Tepper
Petr Janda wrote: 2) /dev/drm/card0 keeps disappearing due to make upgrade. Can adjust the MAKEDEV script to create the nodes so they dont disappear? Sorry, I should have verified it. the /dev/dri/card0 node disappears on every reboot, not after make upgrade. Why is that? And what can we do

Re: drm/dri update

2008-02-13 Thread Petr Janda
2) /dev/drm/card0 keeps disappearing due to make upgrade. Can adjust the MAKEDEV script to create the nodes so they dont disappear? Sorry, I should have verified it. the /dev/dri/card0 node disappears on every reboot, not after make upgrade. Why is that? And what can we do to fix it, other

Re: drm/dri update

2008-01-10 Thread Hasso Tepper
Some comments after playing with it. * I'd like to see committed into upstream, that would make reporting bugs against upstream easier. * Loading modules via loader.conf(5) doesn't work - no drm device is detected. Btw, coretemp(4) has same problem :(. * Anyone pinged LibMesa(-dri)

Re: drm/dri update

2008-01-09 Thread walt
On Mon, 7 Jan 2008, Simon 'corecode' Schubert wrote: Hey, I am serving you hot + fresh a new dri/drm port. I'd like everybody to try and use it and to report back on success and problems... ... startx and run glxinfo (available from glx-utils). You should now see: direct rendering:

Re: drm/dri update

2008-01-09 Thread walt
On Wed, 9 Jan 2008, walt wrote: On Mon, 7 Jan 2008, Simon 'corecode' Schubert wrote: Hey, I am serving you hot + fresh a new dri/drm port. I'd like everybody to try and use it and to report back on success and problems... ... startx and run glxinfo (available from glx-utils).

Re: drm/dri update

2008-01-08 Thread Hasso Tepper
Hasso Tepper wrote: Simon 'corecode' Schubert wrote: mkdir /dev/dri mknod /dev/dri/card0 c 145 0 0:0 chmod a+rw /dev/dri/card0 For some reason it doesn't work for me in my desktop. Xorg (probably) deletes it as soon as I start X (via kdm). And although it survives kdm/X start in my

Re: drm/dri update

2008-01-08 Thread Simon 'corecode' Schubert
Steve O'Hara-Smith wrote: It definitely does need the conditionals around those free calls to avoid crashing though. The only thing I'm not sure about is which is the error - freeing them when they are NULL or them being NULL in the first place. Okay, I missed that during porting and had

Re: drm/dri update

2008-01-08 Thread Steve O'Hara-Smith
On Tue, 08 Jan 2008 13:25:22 +0100 Simon 'corecode' Schubert [EMAIL PROTECTED] wrote: Steve O'Hara-Smith wrote: Just in case bufflist and/or pagelist ever do get populated. It works although the glxgears performance isn't as good as I thought it would be (~480 fps) - it is *much*

Re: drm/dri update

2008-01-08 Thread Johannes Hofmann
Simon 'corecode' Schubert [EMAIL PROTECTED] wrote: Steve O'Hara-Smith wrote: It definitely does need the conditionals around those free calls to avoid crashing though. The only thing I'm not sure about is which is the error - freeing them when they are NULL or them being NULL in the first

Re: drm/dri update

2008-01-08 Thread walt
On Mon, 7 Jan 2008, Simon 'corecode' Schubert wrote: Hey, I am serving you hot + fresh a new dri/drm port. I'd like everybody to try and use it and to report back on success and problems. I'd like to commit this update before the release. What you need to do: Update to latest HEAD to

Re: drm/dri update

2008-01-08 Thread Steve O'Hara-Smith
On Tue, 8 Jan 2008 10:49:30 -0800 walt [EMAIL PROTECTED] wrote: On Mon, 7 Jan 2008, Simon 'corecode' Schubert wrote: add PKG_OPTIONS.xorg-server= dri to /usr/pkg/etc/mk.conf. For modular xorg it should be: PKG_OPTIONS.modular-xorg-server=dri I'm running out of time so I

Re: drm/dri update

2008-01-07 Thread Steve O'Hara-Smith
On Mon, 07 Jan 2008 02:53:44 +0100 Simon 'corecode' Schubert [EMAIL PROTECTED] wrote: You'll need to install a MesaLib that supports dri. I don't know how you could do this with the MesaLib from pkgsrc. I installed MesaLib-dri from pkgsrc-wip. Be sure to read the README. It was

Re: drm/dri update

2008-01-07 Thread Johannes Hofmann
Steve O'Hara-Smith [EMAIL PROTECTED] wrote: On Mon, 07 Jan 2008 02:53:44 +0100 Simon 'corecode' Schubert [EMAIL PROTECTED] wrote: You'll need to install a MesaLib that supports dri. I don't know how you could do this with the MesaLib from pkgsrc. I installed MesaLib-dri from pkgsrc-wip.

Re: drm/dri update

2008-01-07 Thread walt
On Mon, 7 Jan 2008, Simon 'corecode' Schubert wrote: Hey, I am serving you hot + fresh a new dri/drm port. I'd like everybody to try and use it and to report back on success and problems. I'd like to commit this update before the release. What you need to do: ... You'll need to

Re: drm/dri update

2008-01-07 Thread Johannes Hofmann
walt [EMAIL PROTECTED] wrote: On Mon, 7 Jan 2008, Simon 'corecode' Schubert wrote: Hey, I am serving you hot + fresh a new dri/drm port. I'd like everybody to try and use it and to report back on success and problems. I'd like to commit this update before the release. What you need

Re: drm/dri update

2008-01-07 Thread Johannes Hofmann
Hey, I got it working with diff --git a/bsd-core/drm_dma.c b/bsd-core/drm_dma.c index 71ef845..cdfe124 100644 --- a/bsd-core/drm_dma.c +++ b/bsd-core/drm_dma.c @@ -80,9 +80,10 @@ void drm_dma_takedown(drm_device_t *dev) free(dma-bufs[i].buflist, M_DRM); }

Re: drm/dri update

2008-01-07 Thread walt
On Mon, 7 Jan 2008, Johannes Hofmann wrote: walt [EMAIL PROTECTED] wrote: On Mon, 7 Jan 2008, Simon 'corecode' Schubert wrote: Hey, I am serving you hot + fresh a new dri/drm port. I'd like everybody to try and use it and to report back on success and problems. I'd like to

Re: drm/dri update

2008-01-07 Thread Simon 'corecode' Schubert
walt wrote: ERROR: This package has set PKG_FAIL_REASON: ERROR: [bsd.options.mk] At least one of the following options must be selected: dri-i810 dri-i915 dri-i965 dri-mach64 dri-mga dri-r128 dri-r200 dri-r300 dri-radeon dri-savage dri-sis dri-tdfx dri-unichrome Fine, so I add this line to