Friday, February 27, 2015

How to install Intel graphics drivers for Fedora?

Intel recently anounced they are providing graphics driver installer for Open Source OS. It is happy that Fedora is included in the list. So now you can easily install drivers for your Intel hardwares.

Issue

How to instal Intel Graphics Driver?

Solution

Open terminal and give the following commands.

1. Going to home directory
cd ~
2. Create a directory to save Intel Graphics Driver for Linux

mkdir intel

3. Get inside intel directory

cd intel

4. Downloading Intel signatures for Fedora

wget --no-check-certificate https://download.01.org/gfx/RPM-GPG-KEY-ilg-2 ; \
sudo rpm --import RPM-GPG-KEY-ilg-2
5. For 32 Bit

wget https://download.01.org/gfx/fedora/18/i686/intel-linux-graphics-installer-1.0-12.1.i686.rpm
sudo yum install intel-linux-graphics-installer-1.0-12.1.i686.rpm
6. For 62 Bit

wget https://download.01.org/gfx/fedora/18/x86_64/intel-linux-graphics-installer-1.0-12.1.x86_64.rpm
sudo yum install intel-linux-graphics-installer-1.0-12.1.x86_64.rpm
7. Running and installing
sudo yum update
sudo intel-linux-graphics-installer

Download Link/Source - https://01.org/linuxgraphics/downloads

Thursday, February 12, 2015

VLC player plays audio but no video Fedora

Issue:

When I open any movies/videos it shows error message

No suitable decoder module: VLC does not support the audio or video format "h264". Unfortunately there is no way for you to fix this.

And after closing this error message box it starts to play the audio without any video.

Note: Video is working in default player in Fedora 19.

Solution: 

If this is the case you are probably missing two package libvpx.x86_64 and libvpx.x86_64. Give the below command to install the packages.

# yum --enablerepo="*" install libvpx.x86_64 libvpx-utils.x86_64

Still not able to play/install

If you still not able to play videos or install VLC then refer below article.

VLC installation

Thursday, January 29, 2015

VLC does not support the audio or video format "h264" - How to fix?

Issue:

While opening a video files in VLC like mp4 you may get the below error.

No suitable decoder module:
VLC does not support the audio or video format "h264". Unfortunately there is no way for you to fix this.

You will be able to listen sound but not able to watch video.

Solution

For this issue we need to install a rpm package libdvdcss-1.2.12-1. It is available in only one repository - livna.

To install this package follow the below steps.

# yum localinstall http://rpm.livna.org/livna-release.rpm
# yum install libdvdcss

It will install libvdcss package. Instead of above step you can follow only the below step.

For 64 bit
 rpm -Uvh http://rpm.livna.org/repo/18/x86_64/libdvdcss-1.2.12-1.fc17.remi.x86_64.rpm

For 32 bit
rpm -Uvh http://rpm.livna.org/repo/18/i386/libdvdcss-1.2.12-1.fc17.remi.i686.rpm

Error: Cannot retrieve metalink for repository: How to resolve it?

Issue:

When trying to install using YUM, I got below error message:

[root@localhost ~]# yum install vlc
Loaded plugins: langpacks, refresh-packagekit
Error: Cannot retrieve metalink for repository: fedora/19/x86_64. Please verify its path and try again

Solution:

To resolve the issue run the below command in your terminal.

yum update ca-certificates

yum reinstall ca-certificates

Another app is currently holding the yum lock: How to release it?

When you give YUM command to install, update, clean or whatever you will get the error message "Another app is currently holding the yum lock". But won't release by itself. The full error message you see in terminal will be like:

Another app is currently holding the yum lock; waiting for it to exit...
  The other application is: PackageKit
    Memory :  36 M RSS (448 MB VSZ)
    Started: Thu Jan 29 23:11:16 2015 - 11:24 ago
    State  : Sleeping, pid: 2356


How to release YUM lock

To release the lock you need to kill the pid mentioned in that error message. In my case PID is 2356, so I will give below command.

kill -9 2356

Change the pid as what you get in the command.

kill -9 <pid>

Wednesday, January 28, 2015

Unable to install RPMfusion repository in Fedora

Issue

While trying to install RPMFusion repository it gives below error.

[root@localhost Downloads]# yum install --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
Loaded plugins: langpacks, refresh-packagekit
Cannot open: http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm. Skipping.
Error: Nothing to do


Solution

Try the below command for work around

[root@localhost Downloads]# yumdownloader --url rpmfusion-free-release rpmfusion-nonfree-release
Loaded plugins: langpacks, refresh-packagekit

yumdownloader --url rpmfusion-free-release rpmfusion-nonfree-release

How to enable Brightness key in Fedora?

Issue

By default brightness key in your laptop won't function properly with Fedora. For example F6 will be your brightness decrease and F7 will be your brightness increase. While pressing F6 or F7 you may see a bar but there won't be any change in brightness.

Solution 

To make it function properly you need to switch to root user and enter the below two commands

mkdir /etc/X11/xorg.conf.d

echo -e ' Section "Device"\n\tIdentifier  "Intel Graphics"\n\tDriver      "intel"\n\tBusID       "PCI:0:2:0"\n\tOption      "Backlight"       "intel_backlight"\n EndSection' | tee /etc/X11/xorg.conf.d/20-intel.conf


Copy paste both commands to your terminal enable brightness key. The brightness is not working because the above configuration file was missing. This file will manages the changes in your display, video card etc.