Re: drmOpen with drm-core

2004-10-10 Thread Jon Smirl
On Sun, 10 Oct 2004 23:49:49 +0100 (IST), Dave Airlie <[EMAIL PROTECTED]> wrote: > fixing the drmto use the proper name will work fine.. I just checked in code that should fix the name problem. Give it a try since I haven't figured out how to reproduce the problem yet. -- Jon Smirl [EMAIL PROTEC

Re: drmOpen with drm-core

2004-10-10 Thread Dave Airlie
> > I wish libdrm reported something more than just >"error 1 (Operation not permitted)" The problem is what I described, not setting the name, the strcmp fails as the name it gets back from getversion is drm not the card name.. this causes the libdrm to fail.. fixing the drmto use th

Re: drmOpen with drm-core

2004-10-09 Thread Jon Smirl
I fixed the programs in DRM cvs /tests to build. You can use them to test drmOpen like this: ./drmstat -o radeon -v It looks to me like the lower level part of drmOpen is working correctly. You need to trace into libxf86drm and see what is failing at a higher level. The ioctl nr=0 followed by n

Re: drmOpen with drm-core

2004-10-09 Thread Vladimir Dergachev
On Sat, 9 Oct 2004, Jon Smirl wrote: On Sat, 9 Oct 2004 10:59:35 -0400 (EDT), Vladimir Dergachev <[EMAIL PROTECTED]> wrote: On Sat, 9 Oct 2004, [ISO-8859-1] Thomas Hellström wrote: Just tried out the core-based drm today, and I notice that drmOpen("via") does not work anymore. What is the correct

Re: drmOpen with drm-core

2004-10-09 Thread Thomas Hellström
Hi. Jon Smirl wrote: On Sat, 9 Oct 2004 10:59:35 -0400 (EDT), Vladimir Dergachev <[EMAIL PROTECTED]> wrote: On Sat, 9 Oct 2004, [ISO-8859-1] Thomas Hellström wrote: Just tried out the core-based drm today, and I notice that drmOpen("via") does not work anymore. Wh

Re: drmOpen with drm-core

2004-10-09 Thread Jon Smirl
On Sat, 9 Oct 2004 10:59:35 -0400 (EDT), Vladimir Dergachev <[EMAIL PROTECTED]> wrote: > On Sat, 9 Oct 2004, [ISO-8859-1] Thomas Hellström wrote: > > Just tried out the core-based drm today, and I notice that > > drmOpen("via") does not work anymore. > > > > What is the correct way to fix up this?

Re: drmOpen with drm-core

2004-10-09 Thread Vladimir Dergachev
On Sat, 9 Oct 2004, [ISO-8859-1] Thomas Hellström wrote: Hi! Just tried out the core-based drm today, and I notice that drmOpen("via") does not work anymore. What is the correct way to fix up this? I suspect my client should be using drmOpenByBusID ? This is also broken on radeon's (yesterdays cod

Re: drmOpen with drm-core

2004-10-09 Thread Dave Airlie
> Just tried out the core-based drm today, and I notice that > drmOpen("via") does not work anymore. I think this should still work, as we are meant to retain backwards compat for older clients.. drmOpen calls drmOpenByBusID anyways in libdrm.. there may be something else wrong.. Dave. > > Wha