[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> &lt;<a \
href="mailto:gsky51@gmail.com">gsky51@gmail.com</a>&gt;<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 &lt;<a \
href="mailto:tsi@ualberta.ca">tsi@ualberta.ca</a>&gt;<br><br></span>Marc Aurele La \
France wrote: <br>&gt; On Thu, 18 Jan 2007, James J Greensky \
wrote:<br>&gt;<br>&gt;&gt; i have recently been developing application in linux, \
specifically a<br>&gt;&gt; imageviewer application, and since all i had to do was \
blit a 2d<br> &gt;&gt; image to the screen i programmed it entirely in xlib using the \
dbe<br>&gt;&gt; and mit-shm extension. it works very well.&nbsp;&nbsp;Now the reason \
for this<br>&gt;&gt; app was in a rendering cluster, machines(including the same one \
as <br>&gt;&gt; the displaying machine) would volume render a piece of the \
total<br>&gt;&gt; image and send it on to the machine that was the \
display.&nbsp;&nbsp;The<br>&gt;&gt; rendering code utilizes opengl and \
glx.&nbsp;&nbsp;Now if I run the display on <br>&gt;&gt; a different machine without \
a rendering code running, the imageviewer<br>&gt;&gt; app works very \
well.&nbsp;&nbsp;The problems comes about when I have an<br>&gt;&gt; instance of the \
rendering code up, my imageviewer app is no longer <br>&gt;&gt; double buffered, but \
appears to be copied into the frame buffer.&nbsp;&nbsp;I<br>&gt;&gt; have tried many \
ideas to correct this, as I thought that maybe the<br>&gt;&gt; rendering code was \
using to much card memory and booting imageviewer <br>&gt;&gt; out of the \
card.&nbsp;&nbsp;Now I did not write the rendering code, but the<br>&gt;&gt; \
developer insists that he is reducing the memory footprint of this<br>&gt;&gt; app, \
but the problem persists.&nbsp;&nbsp;I would very much like to hear any <br>&gt;&gt; \
suggestions or insight into my problem, as like I said, I am only a<br>&gt;&gt; \
budding x developer, first got my feet wet just 1 1/2 months ago.<br>&gt;&gt; Thanks \
in advance.<br>&gt;<br>&gt; Do any of your image viewer&#39;s calls to Xdbe* \
functions return an <br>&gt; error?&nbsp;&nbsp;If so, which one(s)?<br>&gt;<br>&gt; \
Marc.<br>&gt;<br>&gt; \
+----------------------------------+----------------------------------+<br>&gt; \
|&nbsp;&nbsp;Marc Aurele La \
France&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
|&nbsp;&nbsp;work:&nbsp;&nbsp; \
1-780-492-9310&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;| <br>&gt; \
|&nbsp;&nbsp;Academic Information \
and&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;fax:&nbsp;&nbsp;&nbsp; \
&nbsp;1-780-492-1729&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|<br>&gt; \
|&nbsp;&nbsp;&nbsp;&nbsp;Communications Technologies&nbsp;&nbsp; \
|&nbsp;&nbsp;email:&nbsp;&nbsp;<a \
href="mailto:tsi@ualberta.ca">tsi@ualberta.ca</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
|<br>&gt; |&nbsp;&nbsp;352 General Services Building&nbsp;&nbsp; \
+----------------------------------+ <br>&gt; |&nbsp;&nbsp;University of \
Alberta&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|<br>&gt; \
+----------------------------------+----------------------------------+<br>&gt; \
XFree86 developer and VP.&nbsp;&nbsp;ATI driver and X server internals. \
<br>&gt;<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.&nbsp;&nbsp;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.&nbsp;&nbsp;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