-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
Avoid AppArmor denials #5
Comments
I'm really not sure what the cause of the black screen is, but I have noticed that if you "turn it off and on again" that usually fixes it |
Thanks for the quick reply @diddledan |
Hi, |
I just temporarily disabled apparmor (apparmor=0 as kernel parameter in grub) No more denials of course but I still get black screen :( |
I am having the same issue on 20.04, still no idea though how to fix it. |
I also have this problem. AppArmor is showing denied messages and the output is black in Discord or Microsoft Teams. If I open /dev/video20 in VLC it works, but the image is also blue. And the CPU usage is very high. |
Also having this issue on 20.04, I get a 40+ second lag on video, only a couple of frames here and there. I had uninstalled the snap and re-installed it fresh later, and had great success, was able to do a meeting a few days later. Tried to launch it today, and at first I didn't get anything, then after a reboot I was back to the really laggy operation I had before I re-installed. Running on AMD® Fx-8800p radeon r7, 12 compute cores 4c+8g × 4, 64 bit architecture, AMD® Bonaire / AMD® Radeon r7 graphics on a Lenovo laptop. I'm odd man out, CPU was kicking at max 10%.
Not sure if it helps any, I didn't see any other posts that had a solution (then again, there could have been one right in front of me...). |
Unfortunately, I have the same issue. Has anyone already found a fix? |
This worked for me. But I have zero experience with app armor and I have no idea how of much of a security risk these settings are (especially the /proc change): In both of these files: I added the following before the last
Then run the command to reload:
|
Interesting, I added these lines, but I still get apparmor denials |
I did get a denial for /proc/sys/vm/nr_hugepages, but it runs for me. What are the specific denials? The GUI is also asking for /proc/*/mountinfo and /etc/fstab. I don't know why it needs the last one. |
This is very strange. The CLI works; the GUI works (minus preview image), but those files no longer have my changes (I even reloaded them to see if it would stop working) and I am getting apparmor DENIED for mount, mountpoints, nr_hugepages, but not video*. When I took a closer look at the profile file it actually already had Time for a reboot. :) |
Still works for me after a reboot. But I don't know why. |
Hi, I'm using Ubuntu 20.04, what are the required apparmor commands in order to prevent apparmor from denying fakecamera?
I've just ran
But doesn't seem to help.
kern.log
:I get a black video when opening fakecamera.
My suggestion for you is to add an apparmor profile in an installation so it doesn't get blocked wherever it's enabled.
Thanks in advance for your help.
The text was updated successfully, but these errors were encountered: