obs-ghostscript icon indicating copy to clipboard operation
obs-ghostscript copied to clipboard

PDF Files are invisible after adding source

Open leylandpaladin opened this issue 4 years ago • 2 comments

Greetings! First of all - thank you for a great plugin, really helping me a lot!

I encountered problem on my Arch Linux machine, where PDF files are "invisible" after adding. There some info:

  1. Installation
[mainanton@antonqt obs-ghostscript-1.3]$ make install
[100%] Built target obs-ghostscript
Install the project...
-- Install configuration: ""
-- Installing: /home/mainanton/obs-studio/obs-plugins/64bit/libobs-ghostscript.so
-- Set runtime path of "/home/mainanton/obs-studio/obs-plugins/64bit/libobs-ghostscript.so" to ""
-- Installing: /home/mainanton/obs-studio/data/obs-plugins/obs-ghostscript/
-- Installing: /home/mainanton/obs-studio/data/obs-plugins/obs-ghostscript//locale
-- Installing: /home/mainanton/obs-studio/data/obs-plugins/obs-ghostscript//locale/en-US.ini

Previous steps was fine, no errors reported, line starting with "Set runtime.." is creepy tho.

  1. I moved my files to correct folders, PDF source showed up in OBS, but as tittle says, when i'm trying to add file, it's just invisible.

Obs window

  1. I launched OBS from terminal to debug stuff

Here what I got:

info: User added source 'PDF Document (Ghostscript)' (obs_ghostscript) to scene 'Scene'
Empty filename passed to function
GPL Ghostscript 9.52 (2020-03-19)
Copyright (C) 2020 Artifex Software, Inc.  All rights reserved.
This software is supplied under the GNU AGPLv3 and comes with NO WARRANTY:
see the file COPYING for details.
GPL Ghostscript 9.52 (2020-03-19)
Copyright (C) 2020 Artifex Software, Inc.  All rights reserved.
This software is supplied under the GNU AGPLv3 and comes with NO WARRANTY:
see the file COPYING for details.
GPL Ghostscript 9.52 (2020-03-19)
Copyright (C) 2020 Artifex Software, Inc.  All rights reserved.
This software is supplied under the GNU AGPLv3 and comes with NO WARRANTY:
see the file COPYING for details.
GPL Ghostscript 9.52 (2020-03-19)
Copyright (C) 2020 Artifex Software, Inc.  All rights reserved.
This software is supplied under the GNU AGPLv3 and comes with NO WARRANTY:
see the file COPYING for details.
GPL Ghostscript 9.52 (2020-03-19)
Copyright (C) 2020 Artifex Software, Inc.  All rights reserved.
This software is supplied under the GNU AGPLv3 and comes with NO WARRANTY:
see the file COPYING for details.

And this message keeps appearing every time I try to scroll document with mouse wheel or PgUp/PgDown

In addition, attaching log file, I could not find any useful stuff there tho.

Any ideas how to fix this, or at least where to look, I'm quite confused :confused: Cheers, Antony

2020-06-27 00-30-02.txt

leylandpaladin avatar Jun 26 '20 21:06 leylandpaladin

Similar issue here on Ubuntu.

The source can be successfully added. But as soon as you move to the next (or previous) page, the document disappears leaving you with a grey screen instead.

AndyHee avatar Nov 08 '20 15:11 AndyHee

Hi, I am also having this issue. I am using Arch Linux. Interesting is that if I close obs and then open it again, the pdf is rendered! However, only the first time, because after the first attempt to go to the next page the image goes black.

PS: if anyone is interested in testing in arch, I created an AUR package here

cristobaltapia avatar Oct 20 '21 20:10 cristobaltapia