You are not logged in.

#26 2016-01-10 02:14:35

Arup
Member
From: Earth
Registered: 2014-02-20
Posts: 95

Re: Xorg with Skylake graphics hangs

headkase wrote:
jono wrote:

PS. Yes, I am aware of the fact that I'm using Antergos and this is and Arch forum. Also Mint, Ubuntu and Windows are not Arch. As you can see we are all grasping at straws here trying to find any correlation possible. My guesses have gone from SSD corruption, to broken motherboard, to kernel compatabiliy.

jono, the problem with you using Antergos is that it is not Arch.  Whatever the Antergos people did to their distribution may not be the same as what Arch did with theirs.  Which means that something that works for you may not work for an Arch user or vice-versa.  Posting on this forum while not being an Arch user is a form of help-vampirism.  You are receiving help with your issues and your help and the associated discussion does not necessarily benefit Arch - as the information may, as said, not actually work on Arch.  It can be frustrating when other communities are not as active as Arch but the fact remains that if you would like to benefit from the good-will of these forums then you really should just install Arch and then everything would be just peachy discussion-wise.  That is my opinion.


Antergos is pure ARCH with some aesthetics added, no other core changes, way different than Manjaro and Chakra.

Offline

#27 2016-01-10 04:28:37

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,772

Re: Xorg with Skylake graphics hangs

Arup wrote:

Antergos is pure ARCH with some aesthetics added, no other core changes, way different than Manjaro and Chakra.

You are welcome to your own reality.
Let me be clear.  On these forums, Antergos is regarded by the moderators as a different distribution.  On these forums, that is what matters.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#28 2016-01-11 18:41:22

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,772

Re: Xorg with Skylake graphics hangs

An interesting article just appears on ArsTechnica

http://arstechnica.com/gadgets/2016/01/ … workloads/


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#29 2016-01-11 23:49:24

wildfowl
Banned
Registered: 2014-10-16
Posts: 82

Re: Xorg with Skylake graphics hangs

Just goes to show these products aren't exactly a clean design. Different teams working on different sections of the product without anyone having a complete or thorough understanding 'of all' the working parts and intricacies of the product coming together. Every year they are launching a new product which is often incomplete and with errors. Just look at this. Half baked innovation.

Offline

#30 2016-03-25 10:09:14

deathangle908
Member
From: Ukraine
Registered: 2013-10-16
Posts: 52
Website

Re: Xorg with Skylake graphics hangs

Does anybody have some progress? I'm still resulting the same. After some period of time applications start to be broken. Especially new windows dont opened with message: cannot open display:  :0
Latest kernels linux 4.4.5-1(stock) and linux-git-4.5.r8 are producing the same result. Here's my log.

Last edited by deathangle908 (2016-03-25 10:09:35)

Offline

#31 2016-05-19 19:02:54

keenster
Member
Registered: 2011-09-25
Posts: 15

Re: Xorg with Skylake graphics hangs

I am having the same issue: cannot open display: :0. Skylake graphics. Latest kernel. Thinkpad T460s.

Offline

#32 2016-05-28 21:33:25

keenster
Member
Registered: 2011-09-25
Posts: 15

Re: Xorg with Skylake graphics hangs

Fixed by installing linux-git, and I am using the following kernel arguments... 
 

efibootmgr -d /dev/nvme0n1 -p 1 -c -L "Arch Linux" -l /vmlinuz-linux-git -u "i915.preliminary_hw_support=1 intel_idle.max_cstate=1 root=/dev/nvme0n1p2 rw initrd=/intel-ucode.img initrd=/initramfs-linux-git.img"

 
The important parts are

i915.preliminary_hw_support=1

intel_idle.max_cstate=1

but it's possible

intel_idle.max_cstate=1

is not needed.

Last edited by keenster (2016-05-28 21:34:31)

Offline

#33 2016-07-15 14:08:18

deathangle908
Member
From: Ukraine
Registered: 2013-10-16
Posts: 52
Website

Re: Xorg with Skylake graphics hangs

Linux-git produces same issue. After random amount of time X application can't connnect to xorg

: uname -a
Linux localhost.localdomain 4.7.0-rc6-ga99cde4 #1 SMP PREEMPT Sat Jul 9 15:28:06 EEST 2016 x86_64 GNU/Linux
: pacman -Qs linux-git
local/linux-git 4.7rc6.r148.gee40fb2-1
    The Linux kernel and modules (git version)
local/linux-git-docs 4.7rc6.r148.gee40fb2-1
    Kernel hackers manual - HTML documentation that comes with the Linux kernel (git version)
local/linux-git-headers 4.7rc6.r148.gee40fb2-1
    Header files and scripts for building modules for Linux kernel (git version)
: virtualbox 
No protocol specified
Qt WARNING: VirtualBox: cannot connect to X server :0

Offline

#34 2016-07-15 17:25:31

requies
Member
Registered: 2016-06-13
Posts: 5

Re: Xorg with Skylake graphics hangs

"Fixed" by using  intel driver and enabling bumblebeed 10 seconds after boot. No kernel arguments.
When system goes to standby bumblebeed gets automatically stopped just before standby and started again when system resume.
Just two custom services:

bumble.service

[Unit]
Description=Bumblebe

[Service]
ExecStart=/bin/sh -c "/usr/bin/sleep 10 && /usr/bin/bumblebeed"

[Install]
WantedBy=graphical.target

bumble-suspend.service

[Unit]
Description=Bumblebe
After=suspend.taget

[Service]
ExecStart=/bin/sh -c "systemctl stop bumblebeed.service"

[Install]
WantedBy=suspend.target

10-monitor.conf

Section "Monitor"
    Identifier "Monitor0"
    DisplaySize 508 285 # In millimeters
    Option "DPI" "96 x 96"
EndSection

Section "Screen"
    Identifier             "Screen0"  #Collapse Monitor and Device section to Screen section
    Monitor                "Monitor0"
    Device		   "Device0"
    DefaultDepth           24 #Choose the depth (16||24)-
    SubSection             "Display"
        Depth              24
        Modes              "1920x1080_60.00" #Choose the resolution
    EndSubSection
EndSection

20-intel.conf

Section "Device"
   Identifier "Intel Graphics"
   Driver "intel"
   Option "AccelMethod" "sna"
   Option "DRI" "3"
   Option "TearFree" "true"
EndSection

20-nvidia.conf

Section "Device"
        Identifier "Nvidia Card"
        Driver "nvidia"
        VendorName "NVIDIA Corporation"
        Option "NoLogo" "true"
        Option "ConnectedMonitor" "DFP"
	Option "UseEdidDpi" "False"
	Option "DPI" "96 x 96"
EndSection

It's just a workaround but works flawlessly since june. No more hangs.

To Intel and Nvidia driver installation follow the wiki. Nothing fancy here.
Intel
NVIDIA
Bumblebee
If you need the nvidia Card, just use optirun as normal.

(Dell 7559 i7 6700k Nvidia 960m)

Last edited by requies (2016-07-15 19:49:39)

Offline

#35 2016-07-22 15:10:22

keenster
Member
Registered: 2011-09-25
Posts: 15

Re: Xorg with Skylake graphics hangs

deathangle908 wrote:

Linux-git produces same issue. After random amount of time X application can't connnect to xorg

: uname -a
Linux localhost.localdomain 4.7.0-rc6-ga99cde4 #1 SMP PREEMPT Sat Jul 9 15:28:06 EEST 2016 x86_64 GNU/Linux
: pacman -Qs linux-git
local/linux-git 4.7rc6.r148.gee40fb2-1
    The Linux kernel and modules (git version)
local/linux-git-docs 4.7rc6.r148.gee40fb2-1
    Kernel hackers manual - HTML documentation that comes with the Linux kernel (git version)
local/linux-git-headers 4.7rc6.r148.gee40fb2-1
    Header files and scripts for building modules for Linux kernel (git version)
: virtualbox 
No protocol specified
Qt WARNING: VirtualBox: cannot connect to X server :0

Did you try linux-git with the kernel arguments I recommended? I've been running 2 external displays that way on my T460s and had no issues.

Last edited by keenster (2016-07-22 15:10:40)

Offline

#36 2016-07-22 19:22:45

loqs
Member
Registered: 2014-03-06
Posts: 17,321

Re: Xorg with Skylake graphics hangs

deathangle908 wrote:

After random amount of time X application can't connnect to xorg

localhost.localdomain

https://bbs.archlinux.org/viewtopic.php … 0#p1640910

Offline

#37 2016-07-23 17:15:19

deathangle908
Member
From: Ukraine
Registered: 2013-10-16
Posts: 52
Website

Re: Xorg with Skylake graphics hangs

loqs wrote:
deathangle908 wrote:

After random amount of time X application can't connnect to xorg

localhost.localdomain

https://bbs.archlinux.org/viewtopic.php … 0#p1640910

If I set any name but localhost applications don't start at all. If I set name to localhost it doesn't solve the problem.

Last edited by deathangle908 (2016-07-23 17:16:58)

Offline

#38 2016-07-23 17:19:45

deathangle908
Member
From: Ukraine
Registered: 2013-10-16
Posts: 52
Website

Re: Xorg with Skylake graphics hangs

keenster wrote:

Did you try linux-git with the kernel arguments I recommended? I've been running 2 external displays that way on my T460s and had no issues.

Yes I did, I've been trying to use this parameters since I created this thread, it seems like all of theese doesn't work at all, and it's f*cking MSI bug,  I have no idea tho how and why. Bug is Intel's, cpu is exactly the same (including microcode) over different laptop's brands. I can't find find anyone with exactly the same symptoms for over half a year)

Last edited by deathangle908 (2016-07-23 17:22:33)

Offline

#39 2016-07-23 17:27:00

loqs
Member
Registered: 2014-03-06
Posts: 17,321

Re: Xorg with Skylake graphics hangs

deathangle908 wrote:

If I set any name but localhost applications don't start at all. If I set name to localhost it doesn't solve the problem.

Did you change the hostname with the X server running or stopped?
If you changed it while the X server was running did you try restarting it before changing the hostname back to localhost?
If you changed it while the X server was stopped did you the X server itself start correctly?
Edit:
@keenster for comparison do you have a valid hostname set? ( ie is it set to something other than hostname )
@deathangle908 the journal should indicate when the hostname changes from localhost to localhost.localdomain does that correspond with when you can not start applications?
https://bbs.archlinux.org/viewtopic.php … 5#p1612165 provides ways you can allow access to X server after the hostname change without having to restart it.

Last edited by loqs (2016-07-23 18:14:50)

Offline

#40 2016-08-07 23:50:18

keenster
Member
Registered: 2011-09-25
Posts: 15

Re: Xorg with Skylake graphics hangs

I do have a valid hostname set.

$ hostname
resin

Offline

#41 2016-10-21 13:40:23

deathangle908
Member
From: Ukraine
Registered: 2013-10-16
Posts: 52
Website

Re: Xorg with Skylake graphics hangs

Almost a year has passed till I got my laptop fully working. Just tested OPTIMUS and it finally ran w/o black display.
As it's written in wiki the  conf bellow is sufficient and only NOW it works (at least in my case):
No kernel parameters, nothing in blacklist

rm -f ~/.xinitrc 

/etc/X11/xorg.conf

Section "Module"
    Load "modesetting"
EndSection

Section "Device"
    Identifier "nvidia"
    Driver "nvidia"
    BusID "PCI:1:0:0"
    Option "AllowEmptyInitialConfiguration"
EndSection

/usr/share/sddm/scripts/Xsetup

xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto

pacman -Qs

: pacman -Qs nvidia
local/lib32-nvidia-libgl 370.28-1
    NVIDIA drivers libraries symlinks (32-bit)
local/lib32-nvidia-utils 370.28-1
    NVIDIA drivers utilities (32-bit)
local/libvdpau 1.1.1-2
    Nvidia VDPAU library
local/nvidia 370.28-2
    NVIDIA drivers for linux
local/nvidia-libgl 370.28-1
    NVIDIA drivers libraries symlinks
local/nvidia-utils 370.28-1
    NVIDIA drivers utilities
: pacman -Qs libgl
local/lib32-libglvnd 0.1.1-1
    The GL Vendor-Neutral Dispatch library
local/lib32-nvidia-libgl 370.28-1
    NVIDIA drivers libraries symlinks (32-bit)
local/libglade 2.6.4-5
    Allows you to load glade interface files in a program at runtime
local/libglvnd 0.1.1-1
    The GL Vendor-Neutral Dispatch library
local/nvidia-libgl 370.28-1
    NVIDIA drivers libraries symlinks
: pacman -Qs intel
local/iasl 20160831-1
    Intel ACPI Source Language compiler
local/intel-ucode 20160714-1
    Microcode update files for Intel CPUs
local/iucode-tool 1.3-1
    Tool to manipulate Intel® IA-32/X86-64 microcode bundles
local/xf86-video-intel 1:2.99.917+708+g8f33f80-1 (xorg-drivers xorg)
    X.org Intel i810/i830/i915/945G/G965+ video drivers

Last edited by deathangle908 (2016-10-21 13:42:13)

Offline

Board footer

Powered by FluxBB