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

libgtk-3-dev missing from Raspberry OS Bullseye 32bits #25

Open
ArcadiaLabs opened this issue Oct 10, 2022 · 5 comments
Open

libgtk-3-dev missing from Raspberry OS Bullseye 32bits #25

ArcadiaLabs opened this issue Oct 10, 2022 · 5 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@ArcadiaLabs
Copy link

Hi,
I'm trying to install Obs using your script, but it's missing libgtk-3-dev dependency, and I could not find a way to install it manually.

I'm using a freshly installed Raspberry OS Bullseye 32bits on a Rpi4.
Thanks !

@xbelanch xbelanch self-assigned this Oct 11, 2022
@xbelanch xbelanch added the help wanted Extra attention is needed label Oct 11, 2022
@xbelanch
Copy link
Owner

Could you post the ouput when you execute this: sudo apt-get install libgtk-3-dev ?

@ArcadiaLabs
Copy link
Author

ArcadiaLabs commented Oct 11, 2022

Sure :

$ sudo apt-get install libgtk-3-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libgtk-3-0 : Depends: libwayland-client0 (>= 1.20.0) but 1.18.0-2~exp1.1 is to be installed
Recommends: libgtk-3-bin but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Also :

$ sudo apt-get install libgtk-3-bin
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libgtk-3-0 : Depends: libwayland-client0 (>= 1.20.0) but 1.18.0-2~exp1.1 is to be installed
E: Unable to correct problems, you have held broken packages.

And :

$ sudo apt-get install libwayland-client0
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libwayland-client0 is already the newest version (1.18.0-2~exp1.1).

@xbelanch
Copy link
Owner

@ArcadiaLabs
Copy link
Author

ArcadiaLabs commented Oct 14, 2022

Looks like it has been solved on October 13, the libgtk-3-0 error is gone after a apt-get update && apt-get upgrade (https://forums.raspberrypi.com/viewtopic.php?p=2041092#p2041092).

Now with a new error with FFmpeg compilation :

ERROR: OpenMAX IL headers from raspberrypi/firmware not found

Edit : Looks like I solved this new OpenMAX IL error with a firmware update :

sudo rpi-update

I also installed libomxil-bellagio-dev, but I'm not sure if it helped

ffmpeg -hwaccels returns

Hardware acceleration methods:
vdpau
vaapi
drm
opencl

and ffmpeg -encoders | grep omx returns

V..... h264_omx OpenMAX IL H.264 video encoder (codec h264)
V..... mpeg4_omx OpenMAX IL MPEG-4 video encoder (codec mpeg4)

So I assume hardware encoding is working. Right ?

Edit #2 : I could confirm, OBS is working. But I had to delete every /dev/video* devices before plugging my test webcam. Otherwise, OBS could not use it.

@ArcadiaLabs
Copy link
Author

ArcadiaLabs commented Oct 15, 2022

Update : I was wrong, something is not right...

  1. OBS only see the software h264 encoder in the settings
  2. OBS could use a webcam, but the pi-camera is not working directly. However I was able to first launch a TCP stream with libcamera-vid -t 0 --inline --listen -o tcp://0.0.0.0:8888 and access it in a OBS VLC Video Source using tcp/h264://localhost:8888, so the pi-camera is working normally in the OS
  3. I could not record anything, here is the error in CLI :

info: [x264 encoder: 'simple_h264_stream'] preset: veryfast
info: [x264 encoder: 'simple_h264_stream'] settings:
rate_control: CBR
bitrate: 2500
buffer size: 2500
crf: 23
fps_num: 30
fps_den: 1
width: 1280
height: 720
keyint: 250

info: [x264 encoder: 'simple_h264_stream'] mastering display brightness out of range [0,4294967295]

warning: [x264 encoder: 'simple_h264_stream'] x264 failed to load

Edit : I should add, the pi-apps precompiled OBS is working correctly (camera, recording) but it's an older version, and lacks obs-websocket (I need it for my project). So there must be something wrong with the compile from sources procedure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants