LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-18-2016, 04:22 PM   #61
atelszewski
Member
 
Registered: Aug 2007
Distribution: Slackware
Posts: 948

Rep: Reputation: Disabled

Hi,

Quote:
Originally Posted by volkerdi View Post
I'm finding having this information in one place to be easier to go through, if my opinion counts.
We'll consider your proposal :^)

--
Best regards,
Andrzej Telszewski
 
Old 04-18-2016, 07:45 PM   #62
lazardo
Member
 
Registered: Feb 2010
Location: SD Bay Area
Posts: 274

Rep: Reputation: Disabled
Hum .. ok, hopefully we'll stay under the 30 page mark
 
Old 04-19-2016, 03:53 AM   #63
atelszewski.versades
Member
 
Registered: Oct 2014
Posts: 61

Rep: Reputation: Disabled
Hi,

Code:
Mon Apr 18 22:21:58 UTC 2016

x/xf86-video-intel-git_20160417_81029be-x86_64-1.txz:  Upgraded.
  Removed --with-default-dri=2 --with-default-accel=uxa options
  Added patch for modesetting + glamor fallback on gen9+.
  Hopefully the latest git, these option changes, and fallback patch will solve
  the issues reported on LQ.  Please test!
I think "Removed --with-default-dri=2 --with-default-accel=uxa options" is a nice touch.

Not sure about "Added patch for modesetting + glamor fallback on gen9+."
The patch dates back to Mon, 29 Feb 2016 14:43:35 +0100
And this commit, dating back to 2016-04-06 16:24:01 (GMT) adds SNA on gen9.
The commit title is somehow worrisome "sna/gen9: Quick and dirty implementation" and I don't poses gen9 to rise my voice too loud.

--
Best regards,
Andrzej Telszewski
 
Old 04-19-2016, 04:03 AM   #64
lazardo
Member
 
Registered: Feb 2010
Location: SD Bay Area
Posts: 274

Rep: Reputation: Disabled
18 Apr -current refresh.

4.6.0-rc4 base w xf86-video-intel-git_20160417_81029be and xf86-video-intel-git_20160416_f2a4645 as the only variables.

Hardware is MSI GS60 6QE (MS-16H7), A.M. bios E16H7IMS.111 (intel 74 microcode), i7-6700HQ, HD530 + nvidia NV124/Maxwell. nvidia was switched off in /etc/rc.local on a 15s delay, default runlevel is 4 (xfce).

Of the dozen+ A-B tests, all 81029be runs failed to complete init 4:
Code:
[    28.117] (EE) No devices detected.
[    28.117] (EE) 
Fatal server error:
[    28.117] (EE) no screens found(EE) 
[    28.117] (EE)
Code:
(@51sec)
kernel panic not syncing timeout not all cpus entered broadcast exception handler
shutting down cpus w NMI
offset 0x2c000000 from 0xfffffff81000000
Most were hard lockups 5-15 seconds after the console login prompt showed, plus other occasional artifacts such as the early Atheros ethernet probe failing.

Update: After a hard lock where holding the power button for 4+ seconds is needed to recover, if the Atheros probe fails on subsequent boot a 2nd lockup will happen within a minute or two. This does not happen with normal power on or reboot. MSI 'extra' perhaps?

All of the f2a4645 boots completed, including full X initialization. If the kernel was viable thru init 3, logs for dmesg, boot params, and Xorg were saved for each run, so ping if these are useful.

I see a pillow in my near future ...

Last edited by lazardo; 04-19-2016 at 09:23 PM.
 
Old 04-19-2016, 04:28 AM   #65
atelszewski.versades
Member
 
Registered: Oct 2014
Posts: 61

Rep: Reputation: Disabled
Hi,

@lazardo Try the latest commit without Pat's provided patch.

Because of "Removed --with-default-dri=2 --with-default-accel=uxa options" everything is probably going to default to SNA now.

Was git_20160416_f2a4645 with SNA working fine for you?
My guess is it was, and now Pat's provided patch disables SNA for you and things break.

EDIT:
Probably what I want to say is that we're better of with SNA than modesetting + glamor.
I don't have sufficient knowledge and might be bullshitting, though.

--
Best regards,
Andrzej Telszewski

Last edited by atelszewski.versades; 04-19-2016 at 06:49 AM.
 
Old 04-19-2016, 10:16 AM   #66
atelszewski
Member
 
Registered: Aug 2007
Distribution: Slackware
Posts: 948

Rep: Reputation: Disabled
Hi,

OK, "Removed --with-default-dri=2 --with-default-accel=uxa options" has the desired effect and now X picks SNA as default acceleration method in my case, DRI stays at 2, though.

Since I was already running f2a4645 and it was working fine, this update hasn't changed much other than the defaulting to SNA.

I'm on gen8, so cannot speak much for you Skylake guys

As of this writing, I'm running and testing git_20160418_562ae1f.

--
Best regards,
Andrzej Telszewski
 
Old 04-19-2016, 10:55 AM   #67
ppencho
Member
 
Registered: Jan 2004
Location: Bulgaria
Distribution: Slackware64-current
Posts: 94

Rep: Reputation: Disabled
X does not start with the -current 20160417_81029be:
Code:
[    55.829] (II) Loading sub module "fb"
[    55.829] (II) LoadModule: "fb"
[    55.829] (II) Loading /usr/lib64/xorg/modules/libfb.so
[    55.831] (II) Module fb: vendor="X.Org Foundation"
[    55.831]    compiled for 1.18.3, module version = 1.0.0
[    55.831]    ABI class: X.Org ANSI C Emulation, version 0.4
[    55.831] (II) UnloadModule: "vesa"
[    55.831] (II) Unloading vesa
[    55.831] (==) Depth 24 pixmap format is 32 bpp
[    55.831] (EE) modeset(0): drmSetMaster failed: Invalid argument
[    55.831] (EE) 
Fatal server error:
[    55.831] (EE) AddScreen/ScreenInit failed for driver 0
[    55.831] (EE) 
[    55.831] (EE) 
Please consult the The X.Org Foundation support 
         at http://wiki.x.org
 for help. 
[    55.831] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    55.832] (EE) 
[    55.846] (EE) Server terminated with error (1). Closing log file.
Now I'm running git_20160418_562ae1f with "Removed --with-default-dri=2 --with-default-accel=uxa options". It seems to work fine.

I would help with more tests if needed.

Skylake 6700K HD 530 here.

Edit: the text in the edit box was drawn with glitches when I deleted some letters. I think someone above mentioned such an issue.

Last edited by ppencho; 04-19-2016 at 11:00 AM.
 
Old 04-19-2016, 11:02 AM   #68
atelszewski
Member
 
Registered: Aug 2007
Distribution: Slackware
Posts: 948

Rep: Reputation: Disabled
Hi,

It looks like SNA is the way to go.

You (Skylake users) might also try:
Code:
Section "Device"
  Identifier  "card0"
  Driver      "modesetting"
  Option      "AccelMethod" "glamor"
EndSection
but my guess is that this is what the Pat's patch for git_20160417_81029be was supposed to do and it failed for @lazardo.

--
Best regards,
Andrzej Telszewski
 
Old 04-19-2016, 11:23 AM   #69
ppencho
Member
 
Registered: Jan 2004
Location: Bulgaria
Distribution: Slackware64-current
Posts: 94

Rep: Reputation: Disabled
Quote:
Originally Posted by atelszewski View Post
Hi,

It looks like SNA is the way to go.

You (Skylake users) might also try:
Code:
Section "Device"
  Identifier  "card0"
  Driver      "modesetting"
  Option      "AccelMethod" "glamor"
EndSection
but my guess is that this is what the Pat's patch for git_20160417_81029be was supposed to do and it failed for @lazardo.

--
Best regards,
Andrzej Telszewski
X/KDE starts with this section. I will test more thoroughly later.

Code:
[  3064.404] (II) LoadModule: "modesetting"
[  3064.404] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[  3064.404] (II) Module modesetting: vendor="X.Org Foundation"
[  3064.404]    compiled for 1.18.3, module version = 1.18.3
[  3064.404]    Module class: X.Org Video Driver
[  3064.404]    ABI class: X.Org Video Driver, version 20.0
[  3064.404] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[  3064.404] (--) using VT number 7

[  3064.406] (II) modeset(0): using drv /dev/dri/card0
[  3064.406] (II) modeset(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
[  3064.406] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[  3064.406] (**) modeset(0): Option "AccelMethod" "glamor"
[  3064.406] (==) modeset(0): RGB weight 888
[  3064.406] (==) modeset(0): Default visual is TrueColor
[  3064.406] (II) Loading sub module "glamoregl"
[  3064.406] (II) LoadModule: "glamoregl"
[  3064.406] (II) Loading /usr/lib64/xorg/modules/libglamoregl.so
[  3064.414] (II) Module glamoregl: vendor="X.Org Foundation"
[  3064.414]    compiled for 1.18.3, module version = 1.0.0
[  3064.414]    ABI class: X.Org ANSI C Emulation, version 0.4
[  3064.414] (II) glamor: OpenGL accelerated X.org driver based.
[  3064.424] (II) glamor: EGL version 1.4 (DRI2):
[  3064.425] (II) modeset(0): glamor initialized
 
Old 04-19-2016, 12:34 PM   #70
lazardo
Member
 
Registered: Feb 2010
Location: SD Bay Area
Posts: 274

Rep: Reputation: Disabled
Quote:
Originally Posted by atelszewski.versades View Post
Hi,

@lazardo Try the latest commit without Pat's provided patch.
Last night test runs were all
Code:
Section "Device"
    Identifier "intel"
        Driver "intel"
        Option "TearFree" "true"
        Option "AccelMethod" "sna"
        Option "DRI" "2"
EndSection
This is f2a4645, I did not try glamor as it is fairly old code:
Code:
[    10.448] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20160229
[    10.448] (--) intel(0): gen9 engineering sample
[    10.448] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx, avx2; using a maximum of 4 threads
[    10.448] (II) intel(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[    10.448] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[    10.448] (==) intel(0): RGB weight 888
[    10.448] (==) intel(0): Default visual is TrueColor
[    10.448] (**) intel(0): Option "AccelMethod" "sna"
[    10.448] (**) intel(0): Option "DRI" "2"
[    10.448] (**) intel(0): Option "TearFree" "true"
[    10.449] (II) intel(0): Output eDP1 has no monitor section
[    10.466] (--) intel(0): Found backlight control interface intel_backlight (type 'raw') for output eDP1
[    10.466] (II) intel(0): Enabled output eDP1
[    10.466] (II) intel(0): Output DP1 has no monitor section
[    10.466] (II) intel(0): Enabled output DP1
[    10.466] (II) intel(0): Output HDMI1 has no monitor section
[    10.466] (II) intel(0): Enabled output HDMI1
[    10.466] (II) intel(0): Output HDMI2 has no monitor section
[    10.466] (II) intel(0): Enabled output HDMI2
[    10.466] (II) intel(0): Output DP2 has no monitor section
[    10.466] (II) intel(0): Enabled output DP2
[    10.467] (II) intel(0): Output HDMI3 has no monitor section
[    10.467] (II) intel(0): Enabled output HDMI3
[    10.467] (--) intel(0): Using a maximum size of 256x256 for hardware cursors
[    10.467] (II) intel(0): Output VIRTUAL1 has no monitor section
[    10.467] (II) intel(0): Enabled output VIRTUAL1
[    10.467] (--) intel(0): Output eDP1 using initial mode 3840x2160 on pipe 0
[    10.467] (**) intel(0): TearFree enabled
[    10.467] (==) intel(0): DPI set to (96, 96)
[    10.467] (II) Loading sub module "dri2"
[    10.467] (II) LoadModule: "dri2"
[    10.467] (II) Module "dri2" already built-in
[    10.467] (II) Loading sub module "present"
[    10.467] (II) LoadModule: "present"
[    10.467] (II) Module "present" already built-in
[    10.473] (==) Depth 24 pixmap format is 32 bpp
[    10.474] (II) intel(0): SNA initialized with Skylake (gen9) backend
[    10.474] (==) intel(0): Backing store enabled
[    10.474] (==) intel(0): Silken mouse enabled
[    10.474] (II) intel(0): HW Cursor enabled
[    10.474] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[    10.474] (==) intel(0): DPMS enabled
[    10.474] (==) intel(0): Display hotplug detection enabled
[    10.474] (II) intel(0): [DRI2] Setup complete
[    10.474] (II) intel(0): [DRI2]   DRI driver: i965
[    10.474] (II) intel(0): [DRI2]   VDPAU driver: va_gl
[    10.474] (II) intel(0): direct rendering: DRI2 enabled
[    10.474] (II) intel(0): hardware support for Present enabled
[    10.474] (--) RandR disabled
[    10.515] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[    10.515] (II) AIGLX: enabled GLX_ARB_create_context
[    10.515] (II) AIGLX: enabled GLX_ARB_create_context_profile
[    10.515] (II) AIGLX: enabled GLX_EXT_create_context_es{,2}_profile
[    10.515] (II) AIGLX: enabled GLX_INTEL_swap_event
[    10.515] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[    10.515] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
[    10.515] (II) AIGLX: enabled GLX_ARB_fbconfig_float
[    10.515] (II) AIGLX: enabled GLX_EXT_fbconfig_packed_float
[    10.515] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[    10.515] (II) AIGLX: enabled GLX_ARB_create_context_robustness
[    10.515] (II) AIGLX: Loaded and initialized i965
[    10.515] (II) GLX: Initialized DRI2 GL provider for screen 0
[    10.525] (II) intel(0): switch to mode 3840x2160@60.0 on eDP1 using pipe 0, position (0, 0), rotation normal, reflec
tion none
[    10.525] (II) intel(0): Setting screen physical size to 1016 x 571
Cheers,

Last edited by lazardo; 04-19-2016 at 12:41 PM.
 
Old 04-19-2016, 01:17 PM   #71
lazardo
Member
 
Registered: Feb 2010
Location: SD Bay Area
Posts: 274

Rep: Reputation: Disabled
Retested w 81029be and stubbed out 20-intel: no X, hard lock.

Slackware 14.2 must succeed for the 99% else we end up with platform-specific branches for server, desktop, laptop and problem children named Skylake. At some point Pat changes his name to Vishnu (eg, 8 arms required to keep up

Last edited by lazardo; 04-19-2016 at 01:18 PM.
 
Old 04-19-2016, 01:49 PM   #72
atelszewski
Member
 
Registered: Aug 2007
Distribution: Slackware
Posts: 948

Rep: Reputation: Disabled
Hi,

@lazardo Did you try 81029be without the 0001-sna-Let-modestting-glamor-handle-gen9 patch?

--
Best regards,
Andrzej Telszewski
 
Old 04-19-2016, 01:56 PM   #73
archfan
Member
 
Registered: Mar 2016
Location: /dev/hug
Distribution: Slackware 14.2 x64
Posts: 85

Rep: Reputation: 32
Quote:
Originally Posted by lazardo View Post
Retested w 81029be and stubbed out 20-intel: no X, hard lock.

Slackware 14.2 must succeed for the 99% else we end up with platform-specific branches for server, desktop, laptop and problem children named Skylake. At some point Pat changes his name to Vishnu (eg, 8 arms required to keep up
The Intel guys should just get their act together. Skylake has been out for well over 8 months now.
 
1 members found this post helpful.
Old 04-19-2016, 02:06 PM   #74
lazardo
Member
 
Registered: Feb 2010
Location: SD Bay Area
Posts: 274

Rep: Reputation: Disabled
@atelszewski: Will have time to look at 81029be patches this weekend.

Cheers,
 
Old 04-19-2016, 04:09 PM   #75
ppencho
Member
 
Registered: Jan 2004
Location: Bulgaria
Distribution: Slackware64-current
Posts: 94

Rep: Reputation: Disabled
Code:
Tue Apr 19 18:59:10 UTC 2016
x/xf86-video-intel-git_20160418_562ae1f-x86_64-1.txz: Upgraded.
       Bumped to latest git, dropped glamor fallback patch.
No issues here (using conf with sna and TearFree).
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Graphical issues with Mupen64Plus UltrasonicMadness Linux - Games 2 07-28-2014 07:36 AM
Graphical Issues On My Moms Linux vbj4 Linux - Newbie 3 02-13-2010 09:16 PM
Help Graphical Interface Issues. silverbear Mandriva 4 03-30-2006 04:46 PM
Mandriva Graphical Login Issues neyoung Mandriva 3 11-09-2005 03:21 AM
Mouse buttons , graphical login issues........AGAIN Jeebizz Slackware 6 06-22-2005 12:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration