OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

FBO setup not working..


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General
View previous topic :: View next topic  
Author Message
Rowley, Marlin R
Guest





PostPosted: Wed May 09, 2018 5:47 pm    Post subject:
FBO setup not working..
Reply with quote

Hello,

I get the following error when running the example: osgpackeddepthstencil.cpp

RenderStage::runCameraSetUp(), FBO setup failed, FBO status= 0x8cdd

I have a AMD Radeon RX580.

----------------------------------------
Marlin Rowley
Software Engineer, Staff

Missiles and Fire Control
972-603-1931 (office)
214-926-0622 (mobile)
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)

------------------
Post generated by Mail2Forum
Back to top
Rowley, Marlin R
Guest





PostPosted: Wed May 09, 2018 6:39 pm    Post subject:
FBO setup not working..
Reply with quote

So I’ve tracked the error message down to attaching the render-to-target camera with the components:

// this doesn't work on NVIDIA/Vista 64-bit
// FBO status = 0x8cd6 (FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT)
rttCamera->attach(osg::Camera::DEPTH_BUFFER, GL_DEPTH_COMPONENT);
rttCamera->attach(osg::Camera::STENCIL_BUFFER, GL_STENCIL_INDEX8_EXT);

Is there another way to attach buffer bits to a camera?

-M
----------------------------------------
Marlin Rowley
Software Engineer, Staff

Missiles and Fire Control
972-603-1931 (office)
214-926-0622 (mobile)
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)


From: osg-users [mailto:] On Behalf Of Rowley, Marlin R (US)
Sent: Wednesday, May 9, 2018 12:47 PM
To: OpenSceneGraph Users <>
Subject: EXTERNAL: FBO setup not working..



Hello,

I get the following error when running the example: osgpackeddepthstencil.cpp

RenderStage::runCameraSetUp(), FBO setup failed, FBO status= 0x8cdd

I have a AMD Radeon RX580.

----------------------------------------
Marlin Rowley
Software Engineer, Staff

Missiles and Fire Control
972-603-1931 (office)
214-926-0622 (mobile)
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)

------------------
Post generated by Mail2Forum
Back to top
mp3butcher (Julien Valentin)
Appreciator


Joined: 17 Feb 2010
Posts: 423
Location: France

PostPosted: Wed May 09, 2018 8:33 pm    Post subject:
Re: FBO setup not working..
Reply with quote

Hi,
Strange issue...:/
The first tought coming to my mind about it is
perhaps default graphic context format provided by ATI driver throught Win32WindowingSystem is not DEPTH24STENCIL8 but DEPTH32...
but it's a guess...
Perhaps giving us log with info notify level can be more helpfull to diagnose....


Edit: reading again your post let me believe you pass --nopds argument?!
If it's the case you should not...

Cheers
Rowley, Marlin R wrote:
So I’ve tracked the error message down to attaching the render-to-target camera with the components:

// this doesn't work on NVIDIA/Vista 64-bit
// FBO status = 0x8cd6 (FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT)
rttCamera->attach(osg::Camera::DEPTH_BUFFER, GL_DEPTH_COMPONENT);
rttCamera->attach(osg::Camera::STENCIL_BUFFER, GL_STENCIL_INDEX8_EXT);

Is there another way to attach buffer bits to a camera?

-M
----------------------------------------
Marlin Rowley
Software Engineer, Staff

Missiles and Fire Control
972-603-1931 (office)
214-926-0622 (mobile)
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)


From: osg-users [mailto:] On Behalf Of Rowley, Marlin R (US)
Sent: Wednesday, May 9, 2018 12:47 PM
To: OpenSceneGraph Users <>
Subject: EXTERNAL: FBO setup not working..



Hello,

I get the following error when running the example: osgpackeddepthstencil.cpp

RenderStage::runCameraSetUp(), FBO setup failed, FBO status= 0x8cdd

I have a AMD Radeon RX580.

----------------------------------------
Marlin Rowley
Software Engineer, Staff

Missiles and Fire Control
972-603-1931 (office)
214-926-0622 (mobile)
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)

------------------
Post generated by Mail2Forum

_________________
Twirling twirling twirling toward freedom
Back to top
View user's profile Send private message Visit poster's website
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 11829

PostPosted: Thu May 10, 2018 7:59 am    Post subject:
FBO setup not working..
Reply with quote

Hi Marlin,

On 9 May 2018 at 18:46, Rowley, Marlin R < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:
Quote:

Hello,
 
I get the following error when running the example: osgpackeddepthstencil.cpp
 
RenderStage::runCameraSetUp(), FBO setup failed, FBO status= 0x8cdd[u][/u]
 
I have a AMD Radeon RX580.



I have just tested osgpackeddepthstencil on my Linux/NVidia system and it runs without errors.



Camera::attach() is the mechanism that the OSG uses to tell the OSG's rendering back-end how to set up FBO's, there isn't another route for this.  Perhaps it's an issue with the enum values used with the attach calls, perhaps GL_STENCIL_INDEX8_EXT isn't supported by your system.


With driver/hardware specific issues like this having feedback from a range of users is helpful as it can give us an idea on what OS/drivers/hardware hard problems, this then gives clues as to what direction to look into. 


Robert.

------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts Shader Program stops working after Ch... ceranco General 0 Mon May 21, 2018 3:09 pm View latest post
No new posts EXTERNAL: Re: EXTERNAL: Re: FBO setup... Rowley, Marlin R General 0 Thu May 10, 2018 12:56 pm View latest post
No new posts EXTERNAL: Re: FBO setup not working.. Rowley, Marlin R General 1 Thu May 10, 2018 12:49 pm View latest post
No new posts osgshadow.cpp option --sv (ShadowVolu... hartwigw General 4 Mon Apr 02, 2018 1:45 pm View latest post
No new posts The importance of using Camera::setDr... robertosfield General 5 Wed Mar 07, 2018 9:57 am View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP