Thank you very much Werner. I will check that out. Your help is very much appreciated.
Greetings, Tom > On 21. Oct 2021, at 10:25, Werner Modenbach > <[email protected]> wrote: > > Hi Tom, > > there are a lot of options to narrow down the problem. > - Try using a debug context in your viewer and see the messages on std::out > - Use the status info provided by OSG 'Kex S'. > - Start the viewer out of NVIDIA NSight. It has excellent analysis tools. > - Run the OSG optimizer on your scene (runtime visitor after loading the > scene). > - Get a printed beam structure of your scene by the provided visitor of OSG > > This is just for the beginning ... :-) > > - Werner - > > Am 20.10.2021 um 20:31 schrieb 'Tom Pollok' via OpenSceneGraph Users: >> Dear Werner, >> >> thank you for your help. I was setting the app settings to nvidia 3080 and >> also set the global settings to use the nvidia as the primary card. But when >> i run my application i see activity on both cards while the osg viewer has >> only 4 fps. So it seems like nothing has changed. What i found weird is that >> the application continued to crash due to the same reason as previously >> written, when i disabled the intel card in the device manager. >> >> I didnt check on the boundings, as i just use the provided osg plugin to >> read the obj file. I dont know i was expecting at least 30 fps. This >> geometry to me doesnt seem a lot of work to do for the gpu compared to >> modern AAA games which run without issues on high settings. I wish i could >> simply port to VSG, but my software depends on osgEarth. >> >> Best, >> Tom >> >> Werner Modenbach schrieb am Mittwoch, 20. Oktober 2021 um 12:10:35 UTC+2: >>> Hi Tom, >>> >>> in the NVIDIA system settings you can permanently assign graphics cards to >>> executables. >>> 3D-Settings->program settings. >>> You should also run your notebook with the power supply connected. >>> Otherwise it goes into power savings mode. >>> >>> BTW: Did you check your osg culling by providing geometries with reasonable >>> boundings? >>> >>> - Werner - >>> >>> >>> Am 20.10.2021 um 01:43 schrieb 'Tom Pollok' via OpenSceneGraph Users: >>>> I was able to see in my task manager, that the intel graphicscard was >>>> used. So I disabled my Intel graphics card. >>>> >>>> However now my application crashes on startup. >>>> >>>> Error: OpenGL version test failed, requires valid graphics context. >>>> >>>> As asked above, if anybody knows how to hint how to prefer the discrete >>>> graphics card, id be very thankful if id know how to. >>>> >>>> Tom Pollok schrieb am Dienstag, 19. Oktober 2021 um 16:26:11 UTC-7: >>>>> Hello Brad, >>>>> >>>>> thanks for your reply. Indeed the laptop has two graphics cards. Is there >>>>> a way how to see during runtime which card is used in openscenegraph? Is >>>>> there also a way how to hint openscenegraph which to prefer? Or would I >>>>> have to set environment variables prior to the program start? >>>>> >>>>> GRAPHICS >>>>> Discrete: NVIDIA® GeForce RTX™3080 (16GB DDR6 VRAM) >>>>> Integrated: Intel® UHD Graphics >>>>> >>>>>> On 20. Oct 2021, at 00:19, Brad Colbert <[email protected]> wrote: >>>>>> >>>>>> >>>>> >>>>>> Tom, >>>>>> >>>>>> Are you sure that your laptop isn't a "dual chip" version and that you >>>>>> are not running on the non nvidia / non-accelerated chip? >>>>>> >>>>>>> On Tue, Oct 19, 2021 at 9:17 AM 'Tom Pollok' via OpenSceneGraph Users >>>>>>> <[email protected]> wrote: >>>>>>>> Its just a large surface geometry with 440K vertices and 870K faces. I >>>>>>>> removed the texture and i still have the same issue. >>>>>>>> >>>>>>>> I opened this mesh also using MeshLab Release MeshLab-2021.07 · >>>>>>>> cnr-isti-vclab/meshlab · GitHub and Microsofts 3D Viewer and it worked >>>>>>>> with a high framerate. >>>>>>>> >>>>>>>> Here is the mesh if anybody wants to try it out. >>>>>>>> >>>>>>>> https://drive.google.com/file/d/1yCF0FvnggnNJTMODaKGtbsUsjgL8nX_A/view?usp=sharing >>>>>>>> >>>>>>>> Are there other ways in which i could contribute debug information? >>>>>>>> >>>>>>>> [email protected] schrieb am Dienstag, 19. Oktober 2021 um 06:27:26 >>>>>>>> UTC-7: >>>>>>>>> On Tue, 19 Oct 2021 at 13:20, 'Tom Pollok' via OpenSceneGraph Users >>>>>>>>> <[email protected]> wrote: >>>>>>>>>> Dear Robert, >>>>>>>>>> >>>>>>>>>> i tried OSG on my new high performance Laptop (4K Resolution, Nvidia >>>>>>>>>> RTX 3080, 16GB VRAM, Intel i9-11900, 32GB RAM) with Windows 11 >>>>>>>>>> (release version with latest updates) installed. >>>>>>>>>> I also updated to the latest Nvidia Driver 496.13 today. >>>>>>>>>> >>>>>>>>>> Unfortunately my OSG performance dropps massively when i enable the >>>>>>>>>> rendering of my textured mesh. I added two screenshots with the >>>>>>>>>> drawing performance. >>>>>>>>>> >>>>>>>>>> Do you have any idea where this issue could come from? >>>>>>>>> >>>>>>>>> No, I have no idea, and nothing to go on. >>>>>>>>> >>>>>>>>> What "textured mesh" is in your case is likely key, but as you say >>>>>>>>> nothing what "textured mesh" entails I can't speculate what might be >>>>>>>>> amiss. >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>> -- >>>>>>>> You received this message because you are subscribed to the Google >>>>>>>> Groups "OpenSceneGraph Users" group. >>>>>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>>>>> an email to [email protected]. >>>>>>>> To view this discussion on the web visit >>>>>>>> https://groups.google.com/d/msgid/osg-users/b24adace-3659-4983-8007-a1fb4a250d5fn%40googlegroups.com. >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Brad Colbert >>>>>>> Renaissance Sciences Corporation >>>>>>> (four eight zero) two nine zero - three nine nine seven >>>>>>> -- >>>>>> You received this message because you are subscribed to a topic in the >>>>>> Google Groups "OpenSceneGraph Users" group. >>>>>> To unsubscribe from this topic, visit >>>>>> https://groups.google.com/d/topic/osg-users/sa5yU5PhGa8/unsubscribe. >>>>>> To unsubscribe from this group and all its topics, send an email to >>>>>> [email protected]. >>>>>> To view this discussion on the web visit >>>>>> https://groups.google.com/d/msgid/osg-users/CAHN6942XVPBLgFM6ebQ0WqDPhWduXXntspZ4SiCEu5EWCSG%3Dbw%40mail.gmail.com. >>>> -- >>>> You received this message because you are subscribed to the Google Groups >>>> "OpenSceneGraph Users" group. >>>> To unsubscribe from this group and stop receiving emails from it, send an >>>> email to [email protected]. >>> >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/osg-users/b917098e-be5b-408e-81bd-1bd4b9583eddn%40googlegroups.com. >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "OpenSceneGraph Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/osg-users/3cca0b80-b968-4a08-bf09-66c41b329b54n%40googlegroups.com. > > -- > You received this message because you are subscribed to a topic in the Google > Groups "OpenSceneGraph Users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/osg-users/sa5yU5PhGa8/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/osg-users/67e67bd6-6861-2d9a-cda4-fe406be88db4%40modenbach-ac.de. -- You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/osg-users/EECFC0F4-9214-414E-B68C-E666F7C1E754%40googlemail.com.
