Re: [GtkGLExt] Off-screen pixmap rendering doesn't work




2007/1/13, Timothy M. Shead <tshead k-3d com>:
On Thu, 2007-01-04 at 14:11 -0600, cbeau wrote:

> When I try to run the off-screen pixmap rendering examples that come
> with gtkglext (cvs version 1.35 for pixmap.c and 1.21 for
> pixmap-mixed.c), I get the following Xerror:
> ----------------------------------------------
> The program 'lt-pixmap' received an X Window System error.
> This probably reflects a bug in the program.
> The error was 'GLXBadContext'.
>   (Details: serial 162 error_code 154 request_code 143 minor_code 5)
>   (Note to programmers: normally, X errors are reported
> asynchronously;
>    that is, you will receive the error a while after causing it.
>    To debug your program, run it with the --sync command line
>    option to change this behavior. You can then get a meaningful
>    backtrace from your debugger if you break on the gdk_x_error()
> function.)
> ------------------------------------------------
>
> I would like to know if anybody knows what causes this and if there is
> any work-around or if anyone is working on a solution.

Works fine for me.  Since the problem could be gtkglext, your X server,
or your video drivers, you should probably start by making sure you have
the latest of each.


Well I do have the latest of all, I think. I am running gtkglext which I checked right out of cvs and I have run cvs update before compiling and installing so I have the latest of that. As for my X server, I am running Xorg Version 7.1.1 provided in debian testing. I have an Intel Mobile 915GM graphics chip and I am using the "i810" driver version 1.7.2. So basically, everything I've got is the latest of what is in debian testing except for gtkglext for which I have tried using both the latest version packaged with debian testing and one checked right out of cvs.

You say that it works fine for you. Are you on a Windows or Linux machine? What distribution? What graphics card? Which driver? Are you absolutely certain that you have direct rendering enabled on your computer. A while back, I thought I did but after running glxinfo, I noticed that I didn't and since I fixed that and enabled direct rendering on my computer, rendering to the GdkPixmap no longer works.

If there is any additional info I could send you that could help you figure out what is wrong, I'd be more than happy to provide you with it. This is starting to be a real problem for me and any help will be greatly appreciated.

Thanks,
Catherine.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]