[prev in list] [next in list] [prev in thread] [next in thread]
List: xfree86
Subject: Fwd: [XFree86] dbe and glx, same machine different processes, affecting each other
From: "James Greensky" <gsky51 () gmail ! com>
Date: 2007-01-18 22:36:26
Message-ID: 13a679e70701181436q15db9fc8u71eb3301cd3eae69 () mail ! gmail ! com
[Download RAW message or body]
---------- Forwarded message ----------
From: James J Greensky <gsky51@gmail.com>
Date: Jan 18, 2007 4:08 PM
Subject: Re: [XFree86] dbe and glx, same machine different processes,
affecting each other
To: Marc Aurele La France <tsi@ualberta.ca>
Marc Aurele La France wrote:
> On Thu, 18 Jan 2007, James J Greensky wrote:
>
>> i have recently been developing application in linux, specifically a
>> imageviewer application, and since all i had to do was blit a 2d
>> image to the screen i programmed it entirely in xlib using the dbe
>> and mit-shm extension. it works very well. Now the reason for this
>> app was in a rendering cluster, machines(including the same one as
>> the displaying machine) would volume render a piece of the total
>> image and send it on to the machine that was the display. The
>> rendering code utilizes opengl and glx. Now if I run the display on
>> a different machine without a rendering code running, the imageviewer
>> app works very well. The problems comes about when I have an
>> instance of the rendering code up, my imageviewer app is no longer
>> double buffered, but appears to be copied into the frame buffer. I
>> have tried many ideas to correct this, as I thought that maybe the
>> rendering code was using to much card memory and booting imageviewer
>> out of the card. Now I did not write the rendering code, but the
>> developer insists that he is reducing the memory footprint of this
>> app, but the problem persists. I would very much like to hear any
>> suggestions or insight into my problem, as like I said, I am only a
>> budding x developer, first got my feet wet just 1 1/2 months ago.
>> Thanks in advance.
>
> Do any of your image viewer's calls to Xdbe* functions return an
> error? If so, which one(s)?
>
> Marc.
>
> +----------------------------------+----------------------------------+
> | Marc Aurele La France | work: 1-780-492-9310 |
> | Academic Information and | fax: 1-780-492-1729 |
> | Communications Technologies | email: tsi@ualberta.ca |
> | 352 General Services Building +----------------------------------+
> | University of Alberta | |
> | Edmonton, Alberta | Standard disclaimers apply |
> | T6G 2H1 | |
> | CANADA | |
> +----------------------------------+----------------------------------+
> XFree86 developer and VP. ATI driver and X server internals.
>
no i do not believe any errors are returned, i have not changed the
default handler for regular errors, as i figured it would show them in
the xterm window if they occurred. i will update the code to list
regular errors in the log file and see if any show up, but no, i do not
see any errors occuring in the dbe code. I would say no errors are
returning, will reply again if i see something in the log file.
jim.
[Attachment #3 (text/html)]
<br><br>---------- Forwarded message ----------<br><span class="gmail_quote">From: <b \
class="gmail_sendername">James J Greensky</b> <<a \
href="mailto:gsky51@gmail.com">gsky51@gmail.com</a>><br>Date: Jan 18, 2007 4:08 PM \
<br>Subject: Re: [XFree86] dbe and glx, same machine different processes, affecting \
each other<br>To: Marc Aurele La France <<a \
href="mailto:tsi@ualberta.ca">tsi@ualberta.ca</a>><br><br></span>Marc Aurele La \
France wrote: <br>> On Thu, 18 Jan 2007, James J Greensky \
wrote:<br>><br>>> i have recently been developing application in linux, \
specifically a<br>>> imageviewer application, and since all i had to do was \
blit a 2d<br> >> image to the screen i programmed it entirely in xlib using the \
dbe<br>>> and mit-shm extension. it works very well. Now the reason \
for this<br>>> app was in a rendering cluster, machines(including the same one \
as <br>>> the displaying machine) would volume render a piece of the \
total<br>>> image and send it on to the machine that was the \
display. The<br>>> rendering code utilizes opengl and \
glx. Now if I run the display on <br>>> a different machine without \
a rendering code running, the imageviewer<br>>> app works very \
well. The problems comes about when I have an<br>>> instance of the \
rendering code up, my imageviewer app is no longer <br>>> double buffered, but \
appears to be copied into the frame buffer. I<br>>> have tried many \
ideas to correct this, as I thought that maybe the<br>>> rendering code was \
using to much card memory and booting imageviewer <br>>> out of the \
card. Now I did not write the rendering code, but the<br>>> \
developer insists that he is reducing the memory footprint of this<br>>> app, \
but the problem persists. I would very much like to hear any <br>>> \
suggestions or insight into my problem, as like I said, I am only a<br>>> \
budding x developer, first got my feet wet just 1 1/2 months ago.<br>>> Thanks \
in advance.<br>><br>> Do any of your image viewer's calls to Xdbe* \
functions return an <br>> error? If so, which one(s)?<br>><br>> \
Marc.<br>><br>> \
+----------------------------------+----------------------------------+<br>> \
| Marc Aurele La \
France \
| work: \
1-780-492-9310 | <br>> \
| Academic Information \
and | fax: \
1-780-492-1729 |<br>> \
| Communications Technologies \
| email: <a \
href="mailto:tsi@ualberta.ca">tsi@ualberta.ca</a> \
|<br>> | 352 General Services Building \
+----------------------------------+ <br>> | University of \
Alberta \
| & \
nbsp; |<br>> \
| Edmonton, \
Alberta \
| Standard disclaimers apply |<br>> \
| T6G 2H1 \
| & \
nbsp; |
<br>> | CANADA &nb \
sp;   \
; | \
|<br>> \
+----------------------------------+----------------------------------+<br>> \
XFree86 developer and VP. ATI driver and X server internals. \
<br>><br>no i do not believe any errors are returned, i have not changed \
the<br>default handler for regular errors, as i figured it would show them in<br>the \
xterm window if they occurred. i will update the code to list <br>regular \
errors in the log file and see if any show up, but no, i do not<br>see any errors \
occuring in the dbe code. I would say no errors are<br>returning, will \
reply again if i see something in the log file.<br><br> jim.<br>
_______________________________________________
XFree86 mailing list
XFree86@XFree86.Org
http://XFree86.Org/mailman/listinfo/xfree86
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic