Bug Report 0.7.1 crashes on startup with Nvidia mobile GPU - Works fine on integrated chipset

OBS-Studio 0.7.1 works fine on my desktop, but instantly crashes on my laptop. I can't copy the crash log, sadly.

Interestingly OBS-Studio crashes when I tell Windows to run it using my Nvidia mobile GPU, but works perfectly fine when I tell it to run on my integrated graphics chipset. Judging from the logs it seems that despite Windows running the program on the Nvidia chipset OBS still uses the Intel chipset instead. I don't know if that's the actual cause, though.

Here are the logs:

Running on Nvidia chipset (fails):
Code:
23:33:02: OBS 0.7.1 (windows)
23:33:02: CPU Name: Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz
23:33:02: CPU Speed: 1995MHz
23:33:02: Physical Cores: 4, Logical Cores: 8
23:33:02: Physical Memory: 3990MB Total, 2133MB Free (NOTE: 4 gigs max is normal for 32bit programs)
23:33:02: Windows Version: 6.2 Build 9200
23:33:02: audio settings reset:
   samples per sec: 44100
   speakers:  2
   buffering (ms):  1000

23:33:02: Loading up D3D11 on adapter Intel(R) HD Graphics 3000
23:33:02: D3D11 loaded sucessfully, feature level used: 45056
23:33:03: video settings reset:
   base resolution:  1366x768
   output resolution: 908x512
   fps:  30/1
23:33:04: output 'default_file_output' (flv_output) created
23:33:04: output 'default_stream' (rtmp_output) created
23:33:04: encoder 'default_h264' (obs_x264) created
23:33:04: encoder 'default_aac' (ffmpeg_aac) created
23:33:04: service 'default_service' (rtmp_common) created
23:33:04: source 'Scene' (scene) created
23:33:04: Update check failed: Unable to init SSL Context:

Running on Intel chipset (works):
Code:
23:32:29: OBS 0.7.1 (windows)
23:32:29: CPU Name: Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz
23:32:29: CPU Speed: 1995MHz
23:32:29: Physical Cores: 4, Logical Cores: 8
23:32:29: Physical Memory: 3990MB Total, 2128MB Free (NOTE: 4 gigs max is normal for 32bit programs)
23:32:29: Windows Version: 6.2 Build 9200
23:32:29: audio settings reset:
    samples per sec: 44100
    speakers:        2
    buffering (ms):  1000

23:32:29: Loading up D3D11 on adapter Intel(R) HD Graphics 3000
23:32:29: D3D11 loaded sucessfully, feature level used: 41216
23:32:30: video settings reset:
    base resolution:   1366x768
    output resolution: 908x512
    fps:               30/1
23:32:31: output 'default_file_output' (flv_output) created
23:32:31: output 'default_stream' (rtmp_output) created
23:32:31: encoder 'default_h264' (obs_x264) created
23:32:31: encoder 'default_aac' (ffmpeg_aac) created
23:32:31: service 'default_service' (rtmp_common) created
23:32:31: source 'Scene' (scene) created
23:32:31: Update check failed: Unable to init SSL Context:
23:32:59: Freeing OBS context data
23:32:59:     1 user source(s) were remaining
23:32:59: source 'Scene' destroyed
23:32:59: output 'default_stream' destroyed
23:32:59: output 'default_file_output' destroyed
23:32:59:     2 output(s) were remaining
23:32:59: encoder 'default_aac' destroyed
23:32:59: encoder 'default_h264' destroyed
23:32:59:     2 encoder(s) were remaining
23:32:59: service 'default_service' destroyed
23:32:59:     1 service(s) were remaining
23:32:59: Number of memory leaks: 0
 

Jim

Forum Admin
Jim
Forum Moderator
Developer
You are completely unable to copy the crash text or crash message?
 
Sadly, yes. However, I also wasn't able to make OBS crash anymore with this method. The only thing I changed was the resolution, so I decided to check that. As soon as I reverted my base resolution to 1366x768 the program crashed, and my "workaround" started working again. Changing the output (downscaled) resolution doesn't cause crashes. I suppose it has to do with the resolution! Changing the base resolution to 1280x720 stopped the program from crashing.

I'm no programmer but I think I know why it crashes. 1366x768 isn't a perfect 16:9 resolution. Its storage aspect ratio (683:384) differs from the display aspect ratio (16:9), whereas 1280x720 is a perfect 16:9 resolution. I tried 852x480, which is another imperfect 16:9 resolution, and that one makes OBS Studio crash as well (unless you use the integrated chipset, apparently).

EDIT:

854x480 crashes (SAR: 427:240 - DAR: 16:9)
1334x750 crashes (SAR: 667:375 - DAR: 16:9)
1024x600 works fine (SAR: 128:75 - DAR: 16:9)

As a non-programmer I'd say OBS doesn't like big SAR ratios.
 
Last edited:

Jim

Forum Admin
Jim
Forum Moderator
Developer
Thanks for pointing out that scaled resolution bug. I was able to replicate it on my end as well. It's not what you think it is, it's just a regular bug.
 
Ahh alright. Well, I'm glad I was able to help. In the meantime I'll record a video of what's happening with my crashing video source thing in the other topic.
 
Top