[osg-users] [osgPlugins] Conflict between OSG and Qt

Robert Osfield robert.osfield at gmail.com
Mon Mar 21 02:15:39 PDT 2016


Hi Jospeh,

If osgviewer is working OK with the model then it would point to the
problem being in located in osgQt, the example code or Qt.  From your post
I can't narrow it down any further than this.  Would it be possible to post
the model?  Does the problem happen with the OSG-3.4 version of the
osgviewerQt.cpp example?

On thing you could try is to force the viewer to run SingleThreaded to see
if this has any influence.  Also how does it run on other models?

A screenshot would also be useful.

Robert.

On 21 March 2016 at 09:08, Joseph Mirabel <josephmirabel at gmail.com> wrote:

> Hi,
>
> On some computers only, when compiling and running the enclosed file,
> COLLADA files are not rendered properly. Instead of the proper mesh, I see
> black triangles at the center, with no apparent similarity with the
> original mesh. I mean that it is not only the material that are wrong, I am
> not sure the triangles have anything to do with the original mesh.
>
> The same file is properly displayed by the executable 'osgviewer'.
>
> I suspect concurrent access to the graphic card. I do not know whether
> this is a bug in Qt or in OSG. I hope I'm posting this in the good section.
> Does someone has an idea on where to look for a solution ?
> I couldn't find similar issues on the web...
>
> Qt version: 4.8
> OSG version: 3.2.0 / 3.4.0
>
> With this GPU, it works:
>
> Code:
>
> $ sudo lspci -vnn | grep VGA -A 20
> 0f:00.0 VGA compatible controller [0300]: NVIDIA Corporation G96GL [Quadro
> FX 580] [10de:0659] (rev a1) (prog-if 00 [VGA controller])
> Subsystem: NVIDIA Corporation Device [10de:063a]
> Physical Slot: 2
> Flags: bus master, fast devsel, latency 0, IRQ 95
> Memory at fa000000 (32-bit, non-prefetchable) [size=16M]
> Memory at e0000000 (64-bit, prefetchable) [size=256M]
> Memory at f8000000 (64-bit, non-prefetchable) [size=32M]
> I/O ports at d000 [size=128]
> Expansion ROM at <unassigned> [disabled]
> Capabilities: [60] Power Management version 3
> Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+
> Capabilities: [78] Express Endpoint, MSI 00
> Capabilities: [b4] Vendor Specific Information: Len=14 <?>
> Capabilities: [100] Virtual Channel
> Capabilities: [128] Power Budgeting <?>
> Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
> Kernel driver in use: nvidia
>
>
>
>
> With this GPU, it does not work:
>
> Code:
>
> $ sudo lspci -vnn | grep VGA -A 20
> 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK107GL
> [Quadro K420] [10de:0ff3] (rev a1) (prog-if 00 [VGA controller])
> Subsystem: NVIDIA Corporation Device [10de:1106]
> Flags: bus master, fast devsel, latency 0, IRQ 47
> Memory at f6000000 (32-bit, non-prefetchable) [size=16M]
> Memory at e0000000 (64-bit, prefetchable) [size=256M]
> Memory at f0000000 (64-bit, prefetchable) [size=32M]
> I/O ports at e000 [size=128]
> [virtual] Expansion ROM at f7000000 [disabled] [size=512K]
> Capabilities: [60] Power Management version 3
> Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+
> Capabilities: [78] Express Endpoint, MSI 00
> Capabilities: [b4] Vendor Specific Information: Len=14 <?>
> Capabilities: [100] Virtual Channel
> Capabilities: [128] Power Budgeting <?>
> Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
> Kernel driver in use: nvidia
>
>
>
>
> Thank you!
>
> Cheers,
> Joseph[/code]
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=66572#66572
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160321/865918d4/attachment-0003.htm>


More information about the osg-users mailing list