Bug Report texture corruption in osu!

Voxletum

Member
This isn't really a bug with OBS per say, but it made one of my games crash after previewing the scene.

.465 I had osu! (http://en.wikipedia.org/wiki/Osu!) open, then opened OBS and previewed the stream using the game capture source and it worked fine. I pressed stop preview and closed OBS, then I went back into osu! where everything started lagging and then it crashed giving me the error with no other programs running: "System.Exception: Your graphics card has reported texture corruption.
This is probably a result of not having enough graphics RAM. You may want to try swapping your renderer or lowering your graphics settings."

*edit* I've streamed this game before with the previous 461 I think version and it never made my game crash after closing it.

Code:
Open Broadcaster Software v0.465a - 32bit (´・ω・`)
-------------------------------
CPU Name: Intel(R) Core(TM) i7-2670QM CPU @ 2.20GHz
CPU Speed: 2192MHz
Physical Memory:  4095MB Total, 4095MB Free
stepping id: 7, model 10, family 6, type 0, extmodel 1, extfamily 0, HTT 1, logical cores 8, total cores 4
Windows Version: 6.1 Build 7601 S
Aero is Disabled
------------------------------------------
Adapter 1
  Video Adapter: NVIDIA GeForce GTX 580M     
  Video Adapter Dedicated Video Memory: 2096693248
  Video Adapter Shared System Memory: 2147233792
------------------------------------------
Adapter 2
  Video Adapter: NVIDIA GeForce GTX 580M     
  Video Adapter Dedicated Video Memory: 2096693248
  Video Adapter Shared System Memory: 2147233792
=====Stream Start=====================================================================
  Multithreaded optimizations: On
  Base resolution: 1920x1080
  Output resolution: 1920x1080
------------------------------------------
Loading up D3D10...
------------------------------------------
Using auxilary audio input: Microphone (Razer Banshee)
------------------------------------------
Audio Encoding: AAC
    bitrate: 160
Using graphics capture
------------------------------------------
Video Encoding: x264
    fps: 30
    width: 1920, height: 1080
    preset: veryfast
    CBR: no
    max bitrate: 2500
    buffer size: 2500
    quality: 8
------------------------------------------
SharedTexCapture hooked
Total frames rendered: 378, number of frames that lagged: 6 (1.59%) (it's okay for some frames to lag)
=====Stream End=======================================================================

Profiler results:

==============================================================
frame - [100%] [avg time: 9.193 ms] [avg calls per frame: 1] [children: 37.3%] [unaccounted: 62.7%]
| scene->Preprocess - [0.087%] [avg time: 0.008 ms] [avg calls per frame: 1]
| video encoding and uploading - [37.2%] [avg time: 3.421 ms] [avg calls per frame: 1] [children: 37%] [unaccounted: 0.163%]
| | CopyResource - [0.315%] [avg time: 0.029 ms] [avg calls per frame: 0]
| | conversion to 4:2:0 - [0.609%] [avg time: 0.056 ms] [avg calls per frame: 0]
| | call to encoder - [36.1%] [avg time: 3.32 ms] [avg calls per frame: 0]
| | sending stuff out - [0.0109%] [avg time: 0.001 ms] [avg calls per frame: 0]
==============================================================
 

paibox

heros in an halfshel
You're using a laptop, so please make sure that both obs.exe and osu! are running on the dedicated GPU and not on the Intel integrated graphics chip. (Either one of them running on the wrong graphics adapter could cause this.)
 

Voxletum

Member
Yes it crashes every time after I close OBS, it takes a few seconds but over that duration the game becomes slower and slower then crashes.

They're both forced on my dedicated.
 

Voxletum

Member
Any help? It's not a huge issue, but says something about how it unhooks itself or whatever it is that happens.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
I didn't actually change anything in game capture from 0.461 to 0.465. I actually am fairly sure I know what's going on now, thank you for pointing it out. I will attempt to make a fix for it.
 

Voxletum

Member
Jim said:
I didn't actually change anything in game capture from 0.461 to 0.465. I actually am fairly sure I know what's going on now, thank you for pointing it out. I will attempt to make a fix for it.

Yeah I'm sure the problem was still there in .461, maybe I waited awhile before closing it. I don't remember.

*edit*
I hit stop preview, waited for a minute, game was fine with OBS open and doing nothing. Then I closed OBS and about 5 seconds later when scrolling through the now laggy song select it crashed and gave same texture error.
 

Voxletum

Member
Jim said:
I didn't actually change anything in game capture from 0.461 to 0.465. I actually am fairly sure I know what's going on now, thank you for pointing it out. I will attempt to make a fix for it.

This just occurred to me in League when I stopped the stream and closed it. The game lagged for a second or two after tabbing back in and then I bugsplatted.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Hm, okay, thanks for the all the info from you guys by the way. I will be taking a look over the game capture code again for the next release to make sure everything is smooth and it's not going all crazy.
 
Top