OpenGL without X

2005-05-17 Thread Jacob Gorm Hansen
hi, this is probably a FAQ, but I was wondering if at this stage it is possible to get an accelerated OpenGL app running in Linux, without having X? Basically, I have implemented a dedicated display system for Xen (quite similar in spirit to Quartz on OSX), so I do not need X, and since I am a

Re: Best texture format for r350

2005-03-18 Thread Jacob Gorm Hansen
Vladimir Dergachev wrote: AFAIK, the hardware can support both natively (as it can swap ARGB channels at will). However the driver might give preference to one of these.. Which driver are you using ? The ATI fglrx one. I am using this with Xen, and I have not yet been able to make r300 work. t

Best texture format for r350

2005-03-17 Thread Jacob Gorm Hansen
hi, I am trying to upload a video stream as 32x32 tiles to an OpenGL texture, to see how many I can move per unit of time. Does anyone know what the internal texure format of the ATI r350 is, or where I can find this info? I seem to get better numbers with BGRA 8bit than with ARGB 8bit. thanks,

Re: [R300] Trying to get r300 working in Xen

2005-02-08 Thread Jacob Gorm Hansen
By the way, though I did not manage to get r300 running with Xen yet, the DRM module needed these changes, or the machine would crash: cvs diff: Diffing . Index: drm_memory.c === RCS file: /cvsroot/r300/r300_driver/drm/linux-core/drm

Re: [R300] Trying to get r300 working in Xen

2005-02-08 Thread Jacob Gorm Hansen
Vladimir Dergachev wrote: Hi Jacob, Could you repost your patch with diff -u option ? it is a bit easier to read. Thank you ! Yes, here it goes. See attachment. It may need more #ifdefs, I have not tried running it on straight x86. Jacob diff -Naur old/agpgart_be.

Re: [R300] Trying to get r300 working in Xen

2005-02-07 Thread Jacob Gorm Hansen
Jacob Gorm Hansen wrote: Roland Scheidegger wrote: I'm not familiar with Xen, but I heard one of the few drivers which are problematic with it are the agp drivers. This _could_ be such an issue. If so the Xen guys are likely to know more about it. That's really just a guess though

Re: [R300] Trying to get r300 working in Xen

2005-02-07 Thread Jacob Gorm Hansen
Jon Smirl wrote: I believe xen has a mode where you can assign hardware exclusively to a user kernel. You'll need to do that and then run apg/drm/mesa all in the same user kernel. Without that I think you need changes to xen or drm. This is just a guess based on the log, I have not tried running Xe

Re: [R300] Trying to get r300 working in Xen

2005-02-07 Thread Jacob Gorm Hansen
Roland Scheidegger wrote: I'm not familiar with Xen, but I heard one of the few drivers which are problematic with it are the agp drivers. This _could_ be such an issue. If so the Xen guys are likely to know more about it. That's really just a guess though. hi, yes this is likely to do with Xen,

[R300] Trying to get r300 working in Xen

2005-02-07 Thread Jacob Gorm Hansen
hi, after getting r300 working on my Radeon 9600SE under Linux, I am trying to make the same thing happen under Xen (in domain0). However, I get the following error when loading drm.ko: Linux agpgart interface v0.100 (c) Dave Jones agpgart: Detected an Intel i875 Chipset. agpgart: Maximum main memo

Re: [R300] compilation

2005-02-04 Thread Jacob Gorm Hansen
Vladimir Dergachev wrote: I am just getting the message (WW) RADEON(0): Direct Rendering not yet supported on Radeon 9500 and newer cards. This means you have old Xorg code. You need to compile new one from CVS. Hmm, apparently the 'make install' had not nuked all of my old X11 binaries. Now it

Re: [R300] compilation

2005-02-04 Thread Jacob Gorm Hansen
Vladimir Dergachev wrote: 1. Get Xorg CVS, Get Mesa CVS Get r300_driver from CVS at r300.sf.net 2. Compile drm from r300.sf.net, insmod ./drm.ko ; insmod ./radeon.ko check for no lockups 3. Compile and install Xorg CVS. Check that there are no lockups 4. insmod drm modules as above, run Xor

Re: [R300] Undefined symbols in Mesa compile

2005-02-03 Thread Jacob Gorm Hansen
Vladimir Dergachev wrote: No special tinkering is required beyound recent Xorg CVS. Will version 6.8.1.902 (from Gentoo) be recent enough? Jacob --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source datab

Re: [R300] Undefined symbols in Mesa compile

2005-02-03 Thread Jacob Gorm Hansen
Roland Scheidegger wrote: Jacob Gorm Hansen wrote: I still get an error in r300, using the freedesktop drm: Well yes. For radeon and r200 drivers (and apparently savage), you need the freedesktop drm, since the one from the r300 driver is too old. For the r300 driver, you need the r300 drm, as

Re: [R300] Undefined symbols in Mesa compile

2005-02-03 Thread Jacob Gorm Hansen
Vladimir Dergachev wrote: On Thu, 3 Feb 2005, Jacob Gorm Hansen wrote: hi, trying to compile mesa with the r300 driver I get the following error: r200_ioctl.c: In function `r200PageFlip': r200_ioctl.c:571: error: structure has no member named `tiling_enabled' r200_ioctl.c: I

Re: [R300] Undefined symbols in Mesa compile

2005-02-03 Thread Jacob Gorm Hansen
Roland Scheidegger wrote: For the Mesa radeon and r200 driver, you need a very recent drm from dri.freedesktop.org. I've no idea what's in the drm from r300_driver, but it might be possible it does not contain all recent changes of the drm from dri.freedesktop.org. With the latest drm (CVS HEAD)

Re: [R300] Undefined symbols in Mesa compile

2005-02-03 Thread Jacob Gorm Hansen
Dave Airlie wrote: r200_ioctl.c: In function `r200PageFlip': r200_ioctl.c:571: error: structure has no member named `tiling_enabled' r200_ioctl.c: In function `r200Clear': r200_ioctl.c:635: error: `RADEON_USE_COMP_ZBUF' undeclared (first use in this function) r200_ioctl.c:635: error: (Each undeclar

[R300] Undefined symbols in Mesa compile

2005-02-03 Thread Jacob Gorm Hansen
hi, trying to compile mesa with the r300 driver I get the following error: r200_ioctl.c: In function `r200PageFlip': r200_ioctl.c:571: error: structure has no member named `tiling_enabled' r200_ioctl.c: In function `r200Clear': r200_ioctl.c:635: error: `RADEON_USE_COMP_ZBUF' undeclared (first use i