mpalourdio / xps13

:neckbeard: DELL xps13 2015 (9343) Linux Support
322 stars 24 forks source link

Ubuntu 16.04 #83

Open brunano21 opened 8 years ago

brunano21 commented 8 years ago

Hi guys, did anyone already give a try to Ubuntu 16.04 Beta? Any feedback?

Thanks.

Saphyel commented 8 years ago

I tried upgrading and I got kernel panic, so I have to reinstall everything, and I sign up for a hackathon so I have less than 1h for fix this :)

zetxx commented 8 years ago

53 min left.

timwienk commented 8 years ago

So exciting!

47 minutes left. Keep us updated! :')

Saphyel commented 8 years ago

My updates: I deleted the partition because I wasn't unable to access even to the USB :weary: and I swear a lot. I'll update tomorrow how end this

zetxx commented 8 years ago

space time stretch ? you are going to fit a day within a 1/2 hour

brunano21 commented 8 years ago

Guys, any big news? :)

Saphyel commented 8 years ago

Yup, Is pretty unsafe update from 15.10 atm.

grg2rsr commented 8 years ago

Running Ubuntu 16.04 on XPS13 9530 with QHD and NVMe. Couldn't install previous versions of Ubuntu, mostly because of the NVMe. The current one works without major problems. Touchpad occasionally crashes, and many linux applications are not intended for the QHD display (which has nothing to do with the laptop, just want to mention it).

dahabakuk commented 8 years ago

works without problems here - even palm detection is working: http://kernel.ubuntu.com/git/ubuntu/ubuntu-xenial.git/commit/?id=c311b3323b6fc2512f326f4d232ae103b9bc26ab

panessa commented 8 years ago

On 08. 04. 16 18:41, da_habakuk wrote:

works without problems here - even palm detection is working: http://kernel.ubuntu.com/git/ubuntu/ubuntu-xenial.git/commit/?id=c311b3323b6fc2512f326f4d232ae103b9bc26ab

This sounds interesting. If I understood correctly, this kernel patch is currently on Xenial.

What configuration did you apply to you laptop? Are you using synclient?

brunano21 commented 8 years ago

Hi guys, a quick update. I have installed last night the 16.04. Until now everything seems to be working fine. except for the palm detection.

dahabakuk commented 8 years ago

you have to install the xorg libinput driver which is not installed by default.

cboettig commented 8 years ago

@dahabakuk thanks, I was wondering that too. Is it necessary to do something to switch over to libinput as the driver? or just sudo apt-get install xserver-xorg-input-libinput ?

JherezTaylor commented 8 years ago

Is bluetooth broken for anyone else?

rpbaptist commented 8 years ago

Bluetooth is working for me.

I upgraded from 15.10 to 16.04 and I have got graphical glitches since. Quite annoying. I will tweak my kernel parameters. Currently using: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash pcie_aspm=force i915.enable_fbc=1 i915.enable_rc6=7"

cboettig commented 8 years ago

@rpbaptist I'm also seeing graphics glitches since upgrading to 16.04. Pretty short distortions but still noticeable. Do let us know if you find a good work around for that!

cutalion commented 8 years ago

I have these "short distortions" on 15.10. Do not know how to debug - they're pretty rare. It happens just a few times in a week.

jeandersonbc commented 8 years ago

anyone having problems with wireless network? mine network suddenly turns off as if there wasn't any network interface plugged :(

jeandersonbc commented 8 years ago

PS.: My XPS is the first generation (XPS L322X)

JherezTaylor commented 8 years ago

@jeandersonbc it might be related to secure boot. When I upgraded the system didn't detect any network card. I saw some articles outlining a change in 16.04 that explains why but I can't seem to find it at the moment, disabling secure boot in the bios brought my WiFi back.

jeandersonbc commented 8 years ago

@JherezTaylor interesting! I'm researching about this issue. I honestly have not a single idea how the system boot is related to this issue (I'm a newbie on the subject :sob:). If I get any progress here I will post it here. Thanks a lot for dropping a message :smile:

JherezTaylor commented 8 years ago

@jeandersonbc no problem. I found the link http://askubuntu.com/questions/755238/why-disabling-secure-boot-is-enforced-policy-when-installing-3rd-party-modules/759849. It concerns package signing and verification.

jeandersonbc commented 8 years ago

@JherezTaylor funny fact: I just checked my BIOS setup. It explicity informs that I'm using legacy mode (using UEFI wouldn't allow me to boot Ubuntu) and Secure Boot is OFF.

JherezTaylor commented 8 years ago

Oh. Something else then. To anyone coming in from the future with a Broadcom WiFi card, disabling Secure Boot is what worked for me.

garzajaime commented 8 years ago

@JherezTaylor : On Ubuntu 16.04, in order to install kernel modules (e.g. for Virtualbox or Wireless driver ) you need to disable Secure Boot. I don't really know why, but I couldn't find a way around it.

garzajaime commented 8 years ago

@dahabakuk : How did you get Palm detection to work? Could you please explain me how did you apply it? I installed Ubuntu Gnome and the only thing that I can't get to work is the palm detection.

brunano21 commented 8 years ago

@dahabakuk +1

dahabakuk commented 8 years ago

hm did you install libinput driver? after installing the correct modules it should work - just restart X..

brunano21 commented 8 years ago

I have another question. I have installed Ubuntu 16.04 in dual boot, but when I turn the laptop on, on the screen I see 'booting in insecure mode', which delays the boot of a bunch of seconds. Does anyone have the same issue?

brunano21 commented 8 years ago

@rpbaptist any update about the graphical glitches?

garzajaime commented 8 years ago

@dahabakuk : Do you mean the libinput driver for X.Org? Because the libinput10 from the ubuntu repos was installed by default and the palm detection doesn't work.

dahabakuk commented 8 years ago

$ dpkg -l | grep libinput ii libinput10:amd64 1.2.3-1ubuntu1 amd64 input device management and event handling library - shared library ii xserver-xorg-input-libinput 0.18.0-1 amd64 X.Org X server -- libinput input driver

this?

rpbaptist commented 8 years ago

@brunano21 I changed two things. I was on kernel 4.5.0 because of the touchpad fix. But this has been backported and I am now on the Ubuntu 16.04 kernel 4.4.0-21. I also removed i915.enable_fbc=1 from my kernel arguments in GRUB and I haven't seen the problems today. Not on my laptop screen and not on an external monitor.

However, I did notice the glitches on the monitor I use at work, so it may be a different situation. So far it looks good though. I will know for sure tomorrow when I will be at work again.

On touchpad: I also switched to libinput. I had to set my configuration and found libinput is more straightforward, but doesn't have as many options. I used touchegg for three finger swiping, but am now using libinput-gestures.

jeandersonbc commented 8 years ago

gentleman, for the record: After several attempts installing/uninstalling a lot of packages and trying different solutions, my laptop started to work normally this morning. I really don't know what exactly was the hotfix that worked but I will watch it and see if the OS is stable during this week. I guess that using the proprietary wireless drive did the job. Anyway, hopefully I won't have any issues at all. As an alternative solution, I can use my mobile phone to share the Internet through USB/Bluetooth.

garzajaime commented 8 years ago

@rpbaptist : Could you please be more specific about how did you configure libinput, touchegg and libinput-gestures?

JherezTaylor commented 8 years ago

@garzajaime Look at http://blog.wdullaer.com/blog/2015/10/08/touchegg for reference. Firstly, this setup guide worked well for me http://hgdev.co/install-ubuntu-15-10-on-the-dell-xps-13-9343-2015-a-complete-guide/.

Go to the section where it says Enable palm detection and if it doesn't exists create the 50-synaptics.conf file: sudo mkdir /etc/X11/xorg.conf.d sudo gedit /etc/X11/xorg.conf.d/50-synaptics.conf

Paste the following contents, use mine 50-synaptics.txt

Install touchegg

sudo apt-get install touchegg

Set config, again you can use mine. You can edit the settings later by looking at the wiki here https://github.com/JoseExposito/touchegg/wiki

sudo gedit ~/.config/touchegg/touchegg.conf touchegg.txt

Finally, set touchegg to run on system start. I just went to startup applications, the command is touchegg.

Restart and voila.

DCunnama commented 8 years ago

After installing libinput in an attempt to fix palm detection I seem to have lost my touchpad entirely. I tried removing libinput again but to no avail.

Any ideas? Booted into the BIOS setup and the touchpad is working fine.

I'm also getting some screen jitter(most notably in chrome) since upgrading to 16.04, not sure if anyone else has experienced similar?

rpbaptist commented 8 years ago

I didn't get touchegg to work with libinput, becuase I didn't find any way to configure libinput to ignore three finger actions and let touchegg handle it, but libinput-gestures is a good alternative.

Here is what I put in /etc/X11/xorg.conf.d/30-touchpad.conf:

Section "InputClass"
    Identifier "MyTouchpad"
    MatchIsTouchpad "on"
    Driver "libinput"
    Option "Tapping" "on"
    Option "TappingDrag" "on"
    Option "TappingDragLock" "on"

    Option "DisableWhileTyping" "on"

    Option "ClickPad" "true"
    Option "SoftButtonAreas" "60% 0 82% 0 40% 59% 82% 0"

    # Enables Palm Detection to prevent bad clicks
    Option "PalmDetect" "1"
    Option "PalmMinWidth" "8"
    Option "PalmMinZ" "50"

    Option "NaturalScrolling" "On"
EndSection

I think the palm detect options don't do anything. I just copied this from my synaptics conf file. I will experiment with it later on.

This is my libinput-gestures.conf file:

# Cinnamon: expo
gesture: swipe up xdotool key super+alt+Up

# Cinnamon: overview
gesture: swipe down xdotool key super+alt+Down

# Cinnamon: workspace left
gesture: swipe left xdotool key super+alt+Right

# Cinnamon: workspace right
gesture: swipe right xdotool key super+alt+Left

# My swiping looks like pinching, so ...
gesture: pinch in xdotool key super+alt+Left
gesture: pinch out  xdotool key super+alt+Right
rpbaptist commented 8 years ago

@brunano21 My graphical glitches are gone now.

brunano21 commented 8 years ago

@rpbaptist I see those glitches when I have Google Chrome open. I'm not sure if it's a Chrome issue or something else.

garzajaime commented 8 years ago

@rpbaptist : I had those glitches with Chrome too when I upgraded from 15.10 to 16.04. Then I just decided to install 16.04 from scratch and the glitches were gone.

rpbaptist commented 8 years ago

The glitches have returned for me, I guess I will do a complete reinstall next weekend.

brunano21 commented 8 years ago

@garzajaime @rpbaptist Be aware I have installed from scratch, without upgrading from any previous Ubuntu.

jeandersonbc commented 8 years ago

After a week giving a chance to use GNU/Linux with different possible flavors, drivers, kernels, whetever, I'm going back to Windows. I just can't handle any more waste of time in a unstable environment :( it is really sad that such awesome computer has this poor support.

rpbaptist commented 8 years ago

Please make sure Dell hears your complaints. They pretend to be committed to support Linux on this machine, but without community efforts we would still be nowhere.

garzajaime commented 8 years ago

@jeandersonbc : I installed Ubuntu Gnome 16.04, apart from the Bluetooth and the palm detection, every thing else worked out of the box. And a way to configure both is well documented. Now everything works on my XPS 13 9343.

jeandersonbc commented 8 years ago

@garzajaime I'm using a XPS 13 L322X with a Intel Centrino N, Bios A10. Sometimes it works but it suddenly stops like if there's no wlan interface connected. I tried all the options out there but neither solved the issue for real :cry: On Windows, I don't recall having this sort of problem. I just don't know how to fix it

garzajaime commented 8 years ago

@jeandersonbc : sorry, I have the XPS 13 9343. I just assumed wrongly. Then make sure to complain to DELL.

JherezTaylor commented 8 years ago

Does anyone here have an issue with the system time being wrong on each boot? Background info: Dell XPS 9343, dual booting Ubuntu 16.04 and Windows 10. Often when I shut down and boot into either Windows or Ubuntu the system time will be off by 8+ hours. The timezone is set correctly and everything. Ubuntu usually syncs itself but for Windows I have to go and set it to sync manually every time. I don't think it's the CMOS battery because the machine is less than a year old. Thoughts?

rpbaptist commented 8 years ago

Ubuntu 16.04 on XPS 13 is a hot mess. Graphical glitches and full X freezes.

I was running 15.10 and it was very stable. I'm going back.