Hi Maxim,

Thanks again! I was just going to write a message saying that pbuffer 
does not work either... I am using the svn HEAD so I probably hit the 
pbuffer bug. Using fbo works indeed.

Sounds like a reasonable thing to automatically create a config and use 
it on other machines. And also, I needed to specify the actual viewport 
sizes.

What do you think about using the same strategy on Windows (7)? I wonder 
if I can configure windows so that the 2nd GPU can be addressed while no 
monitor is attached...

Thanks,
Raymond


Maxim Makhinya wrote:
> Hi Raymond,
>
> I have Ubuntu 9.04.
>
> You should configure your X server. Here is what glxinfo shows on our  
> machines:
>
> $ glxinfo | grep display
> name of display: 0:0.0
> display: 0:0  screen: 0
> display: 0:0  screen: 1
> display: 0:0  screen: 2
> display: 0:0  screen: 3
>
> We have 2 GeForce 9800 GX2 here, they are shown as 4 devices.
> (I just connected all 4 displays once to get proper xorg.conf :)
>   and then saved it to other machines).
>
> When actual displays are not connected driver thinks that some
> analog display with low resolution is connected (that's why you
> need to specify viewports' sizes if you are using full screen mode).
>
> Also, recently a bug with p-buffers on linux was discovered:
>
> https://sourceforge.net/tracker/?func=detail&aid=2934387&group_id=170962&atid=856209
>
> I'm not sure if you will have it as well, try FBOs otherwise.
>
> Older versions don't have this problem (I'm using quite old rev. 3335
> in my tests).
>
> Best regards,
>
> Maxim Makhinya
>
>
>
> On Apr 14, 2010, at 10:22 , Raymond de Vries wrote:
>
>   
>> Hi Maxim,
>>
>> Thnx, using the pbuffer config makes sense. Do I still need to  
>> configure
>> the X server to use the second GPU? When running eqServer with
>> 2-pipe.2D.PBuffer.eqc eqPly still exits with this error (and hence
>> eqServer is quit):
>> "OS Pipe initialization failed: Can't open display: :0.1"
>>
>> On what platform are you btw? Eventually I want to use Windows (now
>> using Kubuntu for testing).
>>
>> thanks
>> Raymond
>>
>>
>> Maxim Makhinya wrote:
>>     
>>> Hi Raymond,
>>>
>>> You need to use P-Buffer or FBO as a rendering target on your second
>>> GPU.
>>>
>>> Check  2-pipe.2D.PBuffer.eqc in examples/configs.
>>>
>>> Also you might need to set also a viewport for your second GPU to  
>>> cover
>>> your area. Here is an example from one of my configs:
>>>
>>> global
>>> {
>>>     EQ_WINDOW_IATTR_HINT_FULLSCREEN    ON
>>>     EQ_WINDOW_IATTR_HINT_DOUBLEBUFFER  OFF
>>>     EQ_WINDOW_IATTR_HINT_DRAWABLE      pbuffer
>>>     EQ_WINDOW_IATTR_PLANES_STENCIL     ON
>>>     EQ_CHANNEL_IATTR_HINT_SENDTOKEN    ON
>>> }
>>> server
>>> {
>>>     config
>>>     {
>>>         appNode
>>>         {
>>>             pipe
>>>             {
>>>                 name     "pipe0n0"
>>>                 device   0
>>>                 window
>>>                 {
>>>                     name     "window0"
>>>                     attributes
>>>                     {
>>>                         hint_drawable     window
>>>                         hint_doublebuffer ON
>>>                     }
>>>                     viewport [ 0 0 2560 1600 ]
>>>                     channel { name "channel0" }
>>>                 }
>>>             }
>>>             pipe
>>>             {
>>>                 name     "pipe0n1"
>>>                 device   1
>>>                 window
>>>                 {
>>>                     name     "window1"
>>>                     viewport [ 0 0 2560 1600 ]
>>>                     channel { name "channel1" }
>>>                 }
>>>             }
>>>         }
>>>         compound
>>>         {
>>> ...
>>>     }
>>>     }
>>> }
>>>
>>>
>>> Best regards,
>>>
>>> Maxim Makhinya
>>>
>>>
>>>
>>> On Apr 14, 2010, at 09:50 , Raymond de Vries wrote:
>>>
>>>
>>>       
>>>> Hi,
>>>>
>>>> I'm sorry to ask but it is still unclear how I can use multiple GPUs
>>>> while still using 1 monitor. I can succesfully use 2-pipe.2D.eqc to
>>>> use
>>>> my 2 GPUs for 1 window (on Kubuntu, crashes on Windows 7) when I  
>>>> use 2
>>>> monitors. But when I use only 1 screen, I cannot use 2-pipe.2D.eqc,
>>>> the
>>>> server aborts ('unreachable code...').
>>>>
>>>> Thanks a lot for your tips & hints.
>>>>
>>>> Regards
>>>> Raymond
>>>>
>>>>
>>>> _______________________________________________
>>>> eq-dev mailing list
>>>> [email protected]
>>>> http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev
>>>> http://www.equalizergraphics.com
>>>>
>>>>
>>>>         
>>> _______________________________________________
>>> eq-dev mailing list
>>> [email protected]
>>> http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev
>>> http://www.equalizergraphics.com
>>>
>>>       
>> _______________________________________________
>> eq-dev mailing list
>> [email protected]
>> http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev
>> http://www.equalizergraphics.com
>>
>>     
>
>
> _______________________________________________
> eq-dev mailing list
> [email protected]
> http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev
> http://www.equalizergraphics.com
>   


_______________________________________________
eq-dev mailing list
[email protected]
http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev
http://www.equalizergraphics.com

Reply via email to