Manjaro Cinnamon DE and Intel Video

Hey guys,

I decided to post a question on the Manjaro forums about the issue that I was seeing between Manjaro Cinnamon and the Intel Video drivers that I have installed in my laptop. It was mentioned by a user known as muvvenby to uninstall the xf86-video-intel driver using the mhwd command and see how that works. Well the following commands allowed me to find the driver used by my card and remove it. So far so good as I am able to use simplescreenrecorder to record my laptop screen with out any major issues.

 

mhwd -li
mhwd -li -d
mhwd -li -d –pci
sudo mhwd -r pci video-intel

 

  • Remove the intel drivers by using the above commands.
  • It may not be necessary but go ahead and reboot your machine.
  • Install compton in Cinnamon to help with any screen tears if they are showing themselves

 

You will notice some difference in performance with the compositor but the differences should not make be that drastic. I am able to finally use cinnamon on my laptop with barely if any issues at all at this time. If I see anything drastic, I will post them here.

 

Below shows an example of a recording that I did yesterday after the changes with the Intel Video drivers. I am using simplescreenrecorder to test this out. So we know that this works with the Intel Video drivers and it works well. The only issue is that there are missing cosmetic stuff no actual application issues that I can see so far. Now the only OS that I have tested this in is Manjaro. I am assuming that the same capabilities will exist in other linux operating systems as well.

 

 

Tim

 

There is a user known as jsbach on the Manjaro forum that passed along the following information on this issue as well.

 

“I removed the Intel driver. I was experiencing screen tearing and other problems. With the modesetting driver everything works perfectly for me (on the three different notebooks). How to do it:”

1) Check:

mhwd -l -d

2) Do

sudo mhwd -r pci video-intel

3) Create /etc/X11/mhwd.d/intel.conf with the following content:

Section "Device"
        Identifier  "Intel Graphics"
        Driver      "modesetting"
EndSection

4) Reboot.

 

—===—===—===—

—===—===—===—

 

[kf4bzt@tim-laptop ~]$ mhwd -l -d
——————————————————————————–
> PCI Device: /devices/pci0000:00/0000:00:02.0 (0300:8086:0f31)
Display controller Intel Corporation Atom Processor Z36xxx/Z37xxx Series Graphics & Display
——————————————————————————–
> INSTALLED:

NAME: video-intel
ATTACHED: PCI
VERSION: 2017.03.12
INFO: X.org intel video driver. Standard open source driver for intel graphic cards.
PRIORITY: 2
FREEDRIVER: true
DEPENDS: –
CONFLICTS: video-hybrid-intel-nvidia-bumblebee video-hybrid-intel-nouveau-bumblebee
CLASSIDS: 0300
VENDORIDS: 8086

> AVAILABLE:

NAME: video-intel
ATTACHED: PCI
VERSION: 2017.03.12
INFO: X.org intel video driver. Standard open source driver for intel graphic cards.
PRIORITY: 2
FREEDRIVER: true
DEPENDS: –
CONFLICTS: video-hybrid-intel-nvidia-bumblebee video-hybrid-intel-nouveau-bumblebee
CLASSIDS: 0300
VENDORIDS: 8086

NAME: video-vesa
ATTACHED: PCI
VERSION: 2017.03.12
INFO: X.org vesa video driver.
PRIORITY: 0
FREEDRIVER: true
DEPENDS: –
CONFLICTS: –
CLASSIDS: 0300
VENDORIDS: *

 

—===—===—===—

—===—===—===—

 

[kf4bzt@tim-laptop ~]$ sudo mhwd -r pci video-intel

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.

[sudo] password for kf4bzt:
> Removing video-intel…
Using default
Has lib32 support: true
Sourcing /var/lib/mhwd/local/pci/video-intel/MHWDCONFIG
Processing classid: 0300
Sourcing /var/lib/mhwd/scripts/include/0300
checking dependencies…

Packages (2) libxvmc-1.0.10-1 xf86-video-intel-1:2.99.917+772+gc72bb27a-1

Total Removed Size: 2.29 MiB

:: Do you want to remove these packages? [Y/n]
:: Processing package changes…
removing xf86-video-intel…
removing libxvmc…
:: Running post-transaction hooks…
(1/1) Arming ConditionNeedsUpdate…
‘/etc/X11/xorg.conf.d/90-mhwd.conf’ symlink is invalid! Removing it…
> Successfully removed video-intel

 

—===—===—===—

—===—===—===—

 

 

 

ffmpeg and codecs

Hey Guys,

I want to talk about the install of the video compression software called ffmpeg and its frontend app WinFF. The ffmpeg application is used for converting video and audio files from one format to another. Usually if you’re looking for better quality products or smaller file sizes, this will work for that. The ffmpeg website states, “FFmpeg is the leading multimedia framework, able to decode, encode, transcode, mux, demux, stream, filter and play pretty much anything that humans and machines have created. It supports the most obscure ancient formats up to the cutting edge.”

The WinFF application is the graphical frontend app for the ffmpeg applicationto change the encoding on a video or audio file that you created to make it smaller or change the overall qualify as well. When I installed Manjaro 17 Mate, I noticed something that was a little off. There were some issues installing the apps through AUR that needed to be fixed. The biggest issue was the the gpg keys were not being accepted from the packages so I had to manually add them by doing the following.

  • Create a gpg configuration file in your home folder locate in ~/.gnupg/gpg.conf
  • Add this to the gpg.conf file that you created, without the “”. “keyring /etc/pacman.d/gnupg/pubring.gpg”
  • Now, when your get the error about the key issue, do the following changing the example to the key that you see in the error. Try to run the following as your regular user but if needed issues sudo before the commands to add as the root level user.
    • pacman-key -r 919464515CCF8BB3
    • pacman-key -f 919464515CCF8BB3
    • pacman-key –lsign-key 919464515CCF8BB3
    • gpg –recv-keys 919464515CCF8BB3
    • gpg –edit-key 919464515CCF8BB3
      • trust
      • Choose full or ultimate
      • type quit once complete

Once you may have to do this with other applications but now you see how easy it is. I’m not sure why this is showing up now and in Mate, but the fix will work.

 

—===—===—===—

Something else that I noticed was an error during the installation of the ffmpeg-full application and codec is that jni which appears to be part of a java package is causing installation issues.

According to the following URL, the jni issue was removed in the git version of ffmpeg. The backend app and codecs should now install with no problems.

https://aur.archlinux.org/packages/ffmpeg-full-nvenc/

Just install ffmpeg-full-git from the AUR repository as you do with other applications. Depending on the speed of the system, the installation will take some time to complete.

 

—===—===—===—

I just found something out which is interesting. There is still a broken codec plugin called libvo-aacenc. It sounds like this one is not worth messing with as it is not located in the community or AUR repositories. It has been recommended to install libfdk-aac instead which ffmpeg will need to be recompiled with it. Now, with that being said, I was able to find libfdk-aac in AUR and it installed without any issues but it did rebuilt ffmpeg on its own. I’m not sure what was removed and readded when it comes to codecs as it removed the version of ffmpeg all together. Just by watching the install process, it is possible that the majority may have been reinstalled.

In order to make this change, you will need to do the following:

  • Open WinFF
  • Click on Edit
  • Select Presets
  • Choose the MPEG-4 codec
  • Select either MPEG-4 720p or MPEG4-1080p and change the library from libvo_aacenc to libfdk_aac
  • Click on Add/Update to make sure that the changes took
  • Click Save or an extra good measure
  • Click on Close

 

  • To test, Select MPEG-4 under Convert to:
  • Select MPEG-4 720p or MPEG-4 1080p under preset
  • Make sure you have your video selected
  • Click Convert
  • If everything is set correctly, you should see a terminal open and the conversion process should run

There is still an issue even with using libfdk_aac as the video is not coming out like its supposed to. I am going to look into this a little deeper to see what is going on. I am also trying Handbrake to see how that works with converting videos to different formats.

 

From a post that I found:

“As of FFmpeg 3.0 (Feb 2016), libvo-aac has been removed from FFmpeg because the built-in AAC encoder has superior quality and is no longer experimental. It is suggested to use the built-in encoder (-c:a aac) or libfdk-aac (-c:a libfdk_aac) instead.”

To look for the aac codecs, use the command, ffmpeg -codecs.

I took the libvo_aacenc codec from MPEG-4 and replaced it with the stock aac and the app worked. From what I have been reading on this subject, the libvo_aacenc codec has been removed from the repositories as a poor quality product and it was recommended to use one of the aac codecs instead. For a list of available codecs, see the links shown at the bottom of the page.

—===—===—===—

https://wiki.archlinux.org/index.php/FFmpeg

http://ffmpeg.org/ffmpeg.html

http://ffmpeg.org/general.html#Supported-File-Formats-and-Codecs

https://ffmpeg.org/ffmpeg-codecs.html