[osg-users] [osgPlugins] Conflict between OSG and Qt
Joseph Mirabel
josephmirabel at gmail.com
Mon Mar 21 02:08:39 PDT 2016
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: osgviewerQt.cpp
Type: text/x-c++src
Size: 5052 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160321/6c0a2a47/attachment-0002.cpp>
More information about the osg-users
mailing list