Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gentoo on dell xps 15" 4K touchscreen unstable
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
alvinwu
n00b
n00b


Joined: 15 Feb 2008
Posts: 47

PostPosted: Wed Dec 23, 2015 7:57 am    Post subject: gentoo on dell xps 15" 4K touchscreen unstable Reply with quote

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
View user's profile Send private message
Keruskerfuerst
Advocate
Advocate


Joined: 01 Feb 2006
Posts: 2288
Location: near Augsburg, Germany

PostPosted: Wed Dec 23, 2015 9:22 am    Post subject: Reply with quote

Can you try to use a live cd/dvd like Systemrescuecd, Ubuntu or different?
Back to top
View user's profile Send private message
alvinwu
n00b
n00b


Joined: 15 Feb 2008
Posts: 47

PostPosted: Wed Dec 23, 2015 10:09 am    Post subject: Reply with quote

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
View user's profile Send private message
Keruskerfuerst
Advocate
Advocate


Joined: 01 Feb 2006
Posts: 2288
Location: near Augsburg, Germany

PostPosted: Wed Dec 23, 2015 11:09 am    Post subject: Reply with quote

Where are the routines for the acess to the touchscreen programmed?

I don´t think it is the kernel.
Back to top
View user's profile Send private message
alvinwu
n00b
n00b


Joined: 15 Feb 2008
Posts: 47

PostPosted: Sat Dec 26, 2015 7:56 am    Post subject: Reply with quote

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
View user's profile Send private message
alvinwu
n00b
n00b


Joined: 15 Feb 2008
Posts: 47

PostPosted: Wed Jan 20, 2016 9:43 am    Post subject: Reply with quote

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
View user's profile Send private message
Keruskerfuerst
Advocate
Advocate


Joined: 01 Feb 2006
Posts: 2288
Location: near Augsburg, Germany

PostPosted: Wed Jan 20, 2016 11:50 am    Post subject: Reply with quote

THe touchscreen must be calibrated.

Try to search or contact dell in that case.
Back to top
View user's profile Send private message
alvinwu
n00b
n00b


Joined: 15 Feb 2008
Posts: 47

PostPosted: Thu Feb 25, 2016 9:37 am    Post subject: Reply with quote

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
View user's profile Send private message
alvinwu
n00b
n00b


Joined: 15 Feb 2008
Posts: 47

PostPosted: Thu Feb 25, 2016 10:26 am    Post subject: [Solved] gentoo on dell xps 15" 4K touchscreen unstable Reply with quote

Sovled.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum