View previous topic :: View next topic |
Author |
Message |
alvinwu n00b

Joined: 15 Feb 2008 Posts: 47
|
Posted: Wed Dec 23, 2015 7:57 am Post subject: gentoo on dell xps 15" 4K touchscreen unstable |
|
|
Dear friends, I recently install gentoo on the Dell XPS 15: 4K touch screen laptop, dual boot with the pre-installed Win10.
And with many trial to configure the kernel (gentoo-sources 4.2.8 & 4.3.3), with kernel 4.2.8, the machine starts but occasionally hangs, and cannot boot up with a readable screen with kernel 4.3.3 (the screen is dark, sometime it can show up after suspend / wakeup events..but the laptop still hangs quickly.)
Can someone show me the proper kernel configuration for this laptop?
Thanks! |
|
Back to top |
|
 |
Keruskerfuerst Advocate


Joined: 01 Feb 2006 Posts: 2289 Location: near Augsburg, Germany
|
Posted: Wed Dec 23, 2015 9:22 am Post subject: |
|
|
Can you try to use a live cd/dvd like Systemrescuecd, Ubuntu or different? |
|
Back to top |
|
 |
alvinwu n00b

Joined: 15 Feb 2008 Posts: 47
|
Posted: Wed Dec 23, 2015 10:09 am Post subject: |
|
|
I actually also installed Ubuntu 15.10 on the laptop, booting with Ubuntu didn't hang but sometimes will have weird touchpad issues, such as non responsive, or over reacted, I can see the windows maximize and normalize (...the windows size...) automatically, (...that is uncontrollable...)
I then copy the whole ubuntu kernel config into the gentoo-sources tree, and also creates relevant modules blacklist entries since that config is almost everything . And then the result is unstable...
Now I'm trying to fine tune the config, and also tests for kernel 4.3.3 as well. |
|
Back to top |
|
 |
Keruskerfuerst Advocate


Joined: 01 Feb 2006 Posts: 2289 Location: near Augsburg, Germany
|
Posted: Wed Dec 23, 2015 11:09 am Post subject: |
|
|
Where are the routines for the acess to the touchscreen programmed?
I don´t think it is the kernel. |
|
Back to top |
|
 |
alvinwu n00b

Joined: 15 Feb 2008 Posts: 47
|
Posted: Sat Dec 26, 2015 7:56 am Post subject: |
|
|
I try the git-sources-4.4.0-rc6 and that works with some minor issues, I had to temporarily blacklist the nouveau module during boot, with the kernel command option "modprobe.blacklist=nouveau".
Then "modprobe nouveau" after I login to the Gnome, otherwise the keyboard/mouse behave strangely.
Now I work with it for couples of hours, major functions are working now. I shall update about the result with more testings for at least couples of days. Great Gentoo platform for the flexibility, customizable and great performance!
Appreciate anyone could share your suggestions for any enhancements. |
|
Back to top |
|
 |
alvinwu n00b

Joined: 15 Feb 2008 Posts: 47
|
Posted: Wed Jan 20, 2016 9:43 am Post subject: |
|
|
Upon running couple of days with gentoo-sources 4.4.0 kernel and removing all sorts of preset modules options, major functions are working properly with the following minor problem:
1. occasionally (very seldom) power off freeze, I have to hard press the power button in order to turn that off.
2. occasionally (very seldom) GDM screen doesn't shows up, becomes a dark screen and the machines freeze.
3. brightness response sluggish, the gnome brightness pop-up window delays about 1 to 2 seconds after I press the buttons, and obviously slow down the whole system, just like every tasks have to wait for that brightness change completes.
4. /sys/kernel/debugs/vgaswitcheroo/switch doesn't work, dmesg shows "vga_switcheroo: client 0 refused switch" when trying to switch to DIS.
Quote: |
cat /sys/kernel/debug/vgaswitcheroo/switch
0:IGD:+:Pwr:0000:00:02.0
1:DIS: :DynOff:0000:01:00.0
|
Several dmesg error/warning messages:
1.
Quote: |
[ 7.499019] nouveau 0000:01:00.0: DRM: VRAM: 2048 MiB
[ 7.499020] nouveau 0000:01:00.0: DRM: GART: 1048576 MiB
[ 7.499042] nouveau 0000:01:00.0: DRM: Pointer to TMDS table invalid
[ 7.499043] nouveau 0000:01:00.0: DRM: DCB version 4.0
[ 7.499044] nouveau 0000:01:00.0: DRM: Pointer to flat panel table invalid
[ 7.609535] nouveau 0000:01:00.0: DRM: MM: using COPY for buffer copies
[ 7.609540] [drm] Initialized nouveau 1.3.1 20120801 for 0000:01:00.0 on minor 1
|
2.
Quote: |
[ 8.689718] [drm:intel_dp_link_training_channel_equalization [i915]] *ERROR* 5.4 Gbps link rate without HBR2/TPS3 support
|
3.
Quote: |
[ 439.335881] nouveau 0000:01:00.0: DRM: evicting buffers...
[ 439.335890] nouveau 0000:01:00.0: DRM: waiting for kernel channels to go idle...
[ 439.335919] nouveau 0000:01:00.0: DRM: suspending client object trees...
[ 439.337810] nouveau 0000:01:00.0: DRM: suspending kernel object tree...
[ 1327.124794] nouveau 0000:01:00.0: DRM: resuming kernel object tree...
[ 1327.229201] nouveau 0000:01:00.0: priv: HUB0: 10ecc0 ffffffff (1d40822c)
[ 1327.313111] nouveau 0000:01:00.0: DRM: resuming client object trees...
[ 1332.428158] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150930/nsarguments-95)
[ 1332.429202] ACPI: \_SB_.PCI0.PEG0.PEGP: failed to evaluate _DSM
[ 1332.429214] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150930/nsarguments-95)
[ 1332.429671] nouveau 0000:01:00.0: DRM: evicting buffers...
[ 1332.429677] nouveau 0000:01:00.0: DRM: waiting for kernel channels to go idle...
[ 1332.429705] nouveau 0000:01:00.0: DRM: suspending client object trees...
[ 1332.431184] nouveau 0000:01:00.0: DRM: suspending kernel object tree...
|
Appreciate anyone suggests enhancements. |
|
Back to top |
|
 |
Keruskerfuerst Advocate


Joined: 01 Feb 2006 Posts: 2289 Location: near Augsburg, Germany
|
Posted: Wed Jan 20, 2016 11:50 am Post subject: |
|
|
THe touchscreen must be calibrated.
Try to search or contact dell in that case. |
|
Back to top |
|
 |
alvinwu n00b

Joined: 15 Feb 2008 Posts: 47
|
Posted: Thu Feb 25, 2016 9:37 am Post subject: |
|
|
It becomes more stable with recent kernel source gentoo-4.4.2 and git-4.5.0-rc5, so I consider the problem is solved although I have not test the bluetooth & external HDMI monitor. |
|
Back to top |
|
 |
alvinwu n00b

Joined: 15 Feb 2008 Posts: 47
|
Posted: Thu Feb 25, 2016 10:26 am Post subject: [Solved] gentoo on dell xps 15" 4K touchscreen unstable |
|
|
Sovled. |
|
Back to top |
|
 |
|