Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resize Output may override safe video resolutions #7754

Open
Chiitoo opened this issue Nov 10, 2022 · 3 comments
Open

Resize Output may override safe video resolutions #7754

Chiitoo opened this issue Nov 10, 2022 · 3 comments

Comments

@Chiitoo
Copy link
Contributor

Chiitoo commented Nov 10, 2022

Operating System Info

Other

Other OS

Gentoo Linux

OBS Studio Version

Git

OBS Studio Version (Other)

Latest Git master main etc. at this time.

OBS Studio Log URL

OBS Studio Log URL not possible since OBS Studio will not run at this point.

OBS Studio Crash Log URL

Not a crash or an URL but:

debug: Found portal inhibitor
Attempted path: share/obs/obs-studio/locale/en-US.ini
Attempted path: /usr/share/obs/obs-studio/locale/en-US.ini
Attempted path: share/obs/obs-studio/locale.ini
Attempted path: /usr/share/obs/obs-studio/locale.ini
Attempted path: share/obs/obs-studio/locale/en-GB.ini
Attempted path: /usr/share/obs/obs-studio/locale/en-GB.ini
info: Using preferred locale 'en-GB'
Attempted path: share/obs/obs-studio/themes/Yami.qss
Attempted path: /usr/share/obs/obs-studio/themes/Yami.qss
info: Using EGL/X11
info: CPU Name: AMD Ryzen 7 1700 Eight-Core Processor
info: CPU Speed: 3197.937MHz
info: Physical Cores: 8, Logical Cores: 16
info: Physical Memory: 48105MB Total, 8849MB Free
info: Kernel Version: Linux 6.0.7-gentoo-CommodoreL
info: Distribution: Gentoo "2.9"
info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.21.1
info: Qt Version: 5.15.5 (runtime), 5.15.5 (compiled)
info: Portable mode: false
Attempted path: share/obs/obs-studio/themes/Dark/no_sources.svg
Attempted path: /usr/share/obs/obs-studio/themes/Dark/no_sources.svg
QMetaObject::connectSlotsByName: No matching signal for on_tbar_position_valueChanged(int)
info: OBS 28.1.0-beta1-96-gdc024a864-modified (linux)
info: ---------------------------------
info: ---------------------------------
info: audio settings reset:
        samples per sec: 48000
        speakers:        2
        max buffering:   960 milliseconds
        buffering type:  dynamically increasing
error: Failed to initialize video:  Invalid parameters
info: Freeing OBS context data
info: == Profiler Results =============================
info: run_program_init: 1752.39 ms
info:  ┣OBSApp::AppInit: 5.264 ms
info:  ┃ ┗OBSApp::InitLocale: 1.064 ms
info:  ┗OBSApp::OBSInit: 88.967 ms
info:    ┣obs_startup: 1.399 ms
info:    ┗OBSBasic::OBSInit: 0.294 ms
info:      ┣OBSBasic::InitBasicConfig: 0.084 ms
info:      ┣OBSBasic::ResetAudio: 0.111 ms
info:      ┗OBSBasic::ResetVideo: 0.007 ms
info: obs_hotkey_thread(25 ms): min=0.114 ms, median=0.161 ms, max=12.202 ms, 99th percentile=12.202 ms, 100% below 25 ms
info: audio_thread(Audio): min=0.018 ms, median=0.027 ms, max=0.041 ms, 99th percentile=0.041 ms
info: =================================================
info: == Profiler Time Between Calls ==================
info: obs_hotkey_thread(25 ms): min=25.149 ms, median=25.234 ms, max=35.637 ms, 90.625% within ±2% of 25 ms (0% lower, 9.375% higher)
info: =================================================
info: Number of memory leaks: 190

Expected Behavior

OBS Studio will at least start, ignoring the previous settings or prevent the funky resolutions to be selected in the first place.

Current Behavior

OBS Studio allows for funky resolutions and no starting again after having been closed.

Steps to Reproduce

  1. Execute OBS Studio and add a text source with a lot of text to make the source big'ish.
  2. Right-click the text source and select 'Resize output (source size)'.
  3. Any size the text source is will be added as the resolutions for Base and Output for Video, regardless of the normal limits.

Anything else we should know?

Noticed this while testing Pything 11 support. Going to work on fixing this soon I hope, but I also might not find the time for it so I figured I'll at least report it. ^^

@flaeri
Copy link
Contributor

flaeri commented Mar 8, 2023

Just going to add some context. Managing to get into this position using the UI is difficult. Small items, like 4x4 pix, will great out the button on current master.

I can not manage to make a text source via the ui that is large enough to cause trouble. Pretty much the same with image, browser and image (wont let me add an image large enough).

If its happening programatically via scripting, thats a different question. Not trying to dismiss the issue, just adding some information.

@RytoEX
Copy link
Member

RytoEX commented Mar 8, 2023

Could you provide a regular working OBS log as well? The maximum texture size varies by GPU, so this may difficult for us to guard against.

@Chiitoo
Copy link
Contributor Author

Chiitoo commented Jun 20, 2023

Apologies, I somehow missed the e-mail notifications for this.

I'll add a log here from a clean start, additionally going through the following steps:

  • Close the Auto-Configuration Wizard via Cancel.
  • Add a Text (FreeType 2) source (change nothing and press OK).
  • Load the 'url-text' python script.
  • Add 'https://obsproject.com/' as the source URL, select the previously added Text source as the Text Source, click Refresh and then Close.
  • Right click on the Text source and select 'Resize output (source size)' and then select Yes.

This, at the time of testing, sets the Base and Output resolutions to: 149349x111299

  • Close OBS and restart it.

I think these are the most simple steps I get to it with my set-up (without manually adding text-content).

2023-06-20-obs_studio-resize_source-clean_dirty.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants