Pages

Showing posts with label openSUSE. Show all posts
Showing posts with label openSUSE. Show all posts

PSA : Linux support for Kaby Lake laptops - JANUARY 2017

This isn't as much a post, as it is an update on the state of Kernel and Distro support for Kaby Lake laptops, as of early January 2017.

Trivia:
Kaby Lake support was introduced in Linux 4.5, and only came of age closer to 4.8, although not with its fair share of quirks. GPU support for corresponding Intel integrated graphics is very much a work in progress, but as of 4.9 seems to be in usable condition.

Test Environment:
CPU : Intel Core i5 7200U 2.5GHz
GPU : Intel Integrated Graphics 620
RAM : 8GB DDR4 2400MHz
HDD : Sandisk Ultra II 480GB SATA3 SSD

All installs, unless otherwise specified, used an encrypted LVM disk with default setup.

Summary
Good : openSUSE Tumbleweed, Fedora 25
OK : Ubuntu 16.10
Bad : openSUSE Leap 42.2, *buntu 16.04 LTS
Unknown : antergos, Linux Mint 18.1

In some greater detail...
openSUSE Leap 42.2 is on Kernel 4.4, as is Ubuntu 16.04.5 LTS and its myriad derivates(tested on Ubuntu, Kubuntu, Lubuntu and Xubuntu.).

Fedora Workstation 25 comes with an outdated kernel, but a dnf update on a fresh install takes the kernel to 4.8. It had no visible issues, except this was the only distro where sound did not work out of the box. Running  service alsa force-restart as root solved the problem however. 

openSUSE Leap 42.2 consequently has some bug which results in "X Window System" having CPU utilisation skyrocket to the point of unusability. A purely CLI session which startx disabled seemed to work fine for the limited time I tested it.

*buntu 16.04, on the other hand, seems to start up fine, but freezes at random intervals, usually triggered by browser start-up. The only way to restore control is a force reboot, as keyboard shortcuts, force logouts and switching off X, all seem to have no effect whatsoever.

Ubuntu 16.10 (also tested on Kubuntu) comes with Linux 4.8, which thankfully has much better support.However, hardware acceleration seems iffy, and running a 4K video on vlc, or YouTube has framerate issues that weren't present in Fedora's similar kernel.

openSUSE Tumbleweed (release 20170104), openSUSE's rolling release runs on a 4.9 kernel, and has stellar support on KDE, but tracker takes up way too much RAM on GNOME. Not sure if it is a GNOME issue or Kaby Lake issue, though.

For antergos, the ISO Refresh 2016.11.20 failed to boot up from an USB key. There is now a new ISO download available (as of Jan 6, 2017) which I have not tested.

Linux Mint 18.1 MATE seemed to have it's mirrors down last I checked. I will try to update it's testing once I have a chance to give it a spin.

Automatic headphone detection in Alienware M17xR4 for openSUSE Leap 42.1

All to often, people dismiss Linux if something tiny doesn't work out of the box. They claim that one does not face such problems in Windows, forgetting the extensive jumping through hoops known as installing a bunch of drivers that negates the whole "out of the box" premise.

I had just gotten a fresh install of openSUSE Edu Li-f-e, based on Leap 42.1, running on the behemoth that is Alienware M17xR4. All seemed fine until I realised that plugging a headphone into the relevant jack does not reroute the sound output through the headphones, while the speakers keep blasting away.

Pulseaudio, or rather pavucontrol, was helpful enough to switch between line-out and headphones on cue within the GUI, albeit with little effect, as the sound output remained unaffected.



The situation wasn't too different with the KDE's "Audio Volume" module, which largely seems to be a front end to pulseaudio.

As I was bungling through the settings, I realised that the issue wasn't detection of headphones, as it was the switching audio output from the speakers to  the headphone.

Enter, alsa!

alsamixer has a particularly unhelpful welcome display, which has no bearing on the level of customisability it offers.

AlsaMixer intro screen

We can, however, get much better controls, once we manually select the sound card (Press F6).
Note: If you fail to find the option for the given sound card, See Note 1 at the bottom of the post.

AlsaMixer - select sound card

We then navigate to the  HP/Speaker Auto Detect (in red in the image below) and toggle to ON (by pressing M).

AlsaMixer - change HP/Speaker Auto Detect

If you get stuck along the way,  help is just an F1 away.

Help menu for AlsaMixer

Note 1:

If you fail to find the option for the given sound card, add the line 
options snd-hda-intel model=alienware at the end of the file /etc/modprobe.d/50-alsa.conf .
If the file does not exist, look through the folder /etc/modprobe.d/ to check if any similar file exists with a different number preceding it, and edit the same.

Note 2:

Packages used:
alsa-1.0.29-10.1.x86_64
pulseaudio-7.0-3.1.x86_64
pavucontrol-3.0-5.3.x86_64


Note 3:

There are multiple audio jacks in the M17xR4, so for the above process to work the headphone/ext. speaker needs to be plugged into the jack shown below

Audio jack in Alienware M17xR4 for auto headphone detection

openSUSE 11.4 - A new life

As many of you know, and the rest, well they'll know by the end of this sentence, openSUSE 11.4 released yesterday, the 10th of March, 2011. It'll be the seventh straight release I use, and the 4th release since I became associated with the Project.

To download visit : http://software.opensuse.org/

Unfortunately, my old machine is still running on 11.3, and the all new Vostro I got today has, wait for it, Windows Vista, both of which I plan to amend tomorrow. Sadly, that was not possible today because seeding the ISO was, I felt, more important than selfishly enjoying Geeko glory. So, no donut, oh sorry, screenshot for you.

The journey to openSUSE 11.4 has been anything but smooth. [1] says well why.
But I'd like to add to that.

The initial rumours about Novell, openSUSE's primary being up for sale did not go down well with the community, as we have seen the last major sale of a Free Software leaning company, Stanford University Networks, as very unfavourable to the FOSS community, with important jobs axed, opensolaris dead, and Openoffice.org left to potentially rot, with Libreoffice being a bold step by the people who care, to infuse life into the best office suite in the world.

The sale to Attachmate that eventually followed, did not help cool matters, due to the following,
1. No one had ever heard of it.
2. The sale of those patents to a shady conglomerate!

However, Attachmate seems to be serious enough about the feasibility of SUSE to run it as a separate division. And THIS is what they have to say about openSUSE. May be lip service, or may not be.

Now to the many firsts. openSUSE 11.4 is the first major distribution release to have stable LibreOffice, has Firefox 4, GNOME 3 preview(optional), KDE 4.6 and loads of other new stuff like Scribus 1.4, KOffice 2.3.1, etc. Also new is the support for Tumbleweed, a rolling release.
A more detailed Product Highlights is available.

But these are not the only important changes. Many new faces in every team, marketing collaboration days, a great openSUSE Conference, attempts at clearly defined strategies and trademark guidelines, all this has worked to largely improve the cohesive co-operation that is the openSUSE project.

We have had our share of growing pains, with membership issues and policy being cause for heated debate. Stability has always been the strength of the openSUSE distribution. The openSUSE community has done well to learn that it has to show the same stability in every step, not just in the lines of code. We have come out of it, not just better, but cleverer. We are a community that has a worldwide spread, contributors and users alike. In our do-o-cracy, we are not judged by our race, sex, or politics, but by our actions. A great example would be our team of 125 Ambassadors, who come from a whooping 47 countries. Another new initiative to overcome the gender divide otherwise stark in FOSS is the Women of openSUSE Project.

We have been lucky to have partners like OMG!SUSE! at our side.

With a clearer sense of identity and purpose, we hope to march from strength to strength, so that we can continue to bring to you, openSUSE, all of it!
(Now, now I can't promise what the next release number will be, so hang on for the ride!)

Join us in making the world Greener (most puns intended)! http://www.opensuse.org

As we heard in Batman Begins, "It's not who you are underneath - it's what you do that defines you."

My views on openSUSE LTS

There has been a lot of discussion recently on the viability of a Long Term Support release for openSUSE. Some have proposed a separate LTS version, some a rolling release called Tumbleweed. Some have shown support for both, suggesting they coexist as separate sub-projects. Yet others have suggested we create an openSLES, a "free as in free beer"(to think that this phrase even exists) version for SUSE Enterprise, much like what the CentOS people do with RedHat Enterprise Linux.

This discussion has spiralled into multiple threads on the opensuse-project list. The threads have been linked to at the end of this post.

My reply in regards to the discussion is summed up below:-

1. I have a feeling the two being analogised to CentOS is a bit unfair. openSUSE's relation with SLE has always been more the Fedora to RHEL kind. We, as a project, form a base, not a copy of SUSE's enterprise offerings, if typically more conservatively than competition.

2. openSUSE has the direct primary sponsorship of Novell. CentOS has no official affiliation with RH. An openSLES may antagonise Novell/SUSE/Attachmate's friendly approach.

3. Offering of an LTS version alternately with a couple of normal versions has not been discussed. I wonder why. Ubuntu does that quite appreciably, (though I have never personally encountered an Ubuntu-powered server).
From Wikipedia, "To date every fourth release, in the second quarter of even-numbered years, has been designated as a Long Term Support (LTS) release, indicating that it has updates for three years for desktop use and five years for server"

To say what that means, let's say we have 12.0 as LTS(5 release cycle support), then 12.1, 12.2 and 12.3 with normal 2.2 cycle support. Then again 13.0 as LTS, and so on. This will cause an LTS version to be perennially active, while having a "cutting edge" version for systems here stability is not primary.
This would help a only one extra already present older version needs to be maintained, reducing stress on the developers.

4. The point mooted in (3) can also help on standardising a versioning scheme, the need for which was discussed but never finalised some time earlier, probably on the marketing and project lists.

5. Nelson Marques has a point. Too many offerings would cause confusion. Normal openSUSE vs openSUSE LTS vs openSUSE Tumbleweed vs openSLES has already confused me to an extent.

6. Someone suggested binary compatibility with SLES would make people recommend SLES for paid-for-support Linux. While I appreciate Novell's roles in what openSUSE is today, I personally feel SLES sales figures are not supposed to be the concern of the openSUSE project.
Furthermore, even openSUSE can be paid-for-support Linux, considering people pay for 90 day support or something like that when they buy the box.




Threads
[1] Announcing openSUSE Tumbleweed project Nov '10 Dec'10
[2] openSUSE LTS Nov '10 Dec'10
[3] Packman for Tumbleweed