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-24-2016, 10:09 AM   #16
Nille_kungen
Member
 
Registered: Jul 2005
Distribution: Slackware64-current
Posts: 587

Original Poster
Rep: Reputation: 201Reputation: 201Reputation: 201

After i patched it everything works as it should i got DRI 3 and xrandr --listproviders shows right id.

Code:
$ grep DRI /var/log/Xorg.0.log
[    63.852] (**) RADEON(0): Option "DRI" "3"
[    66.063] (**) RADEON(G0): Option "DRI" "3"
[    71.846] (II) glamor: EGL version 1.4 (DRI2):
[    71.995] (II) RADEON(G0): [DRI2] Setup complete
[    71.995] (II) RADEON(G0): [DRI2]   DRI driver: radeonsi
[    71.995] (II) RADEON(G0): [DRI2]   VDPAU driver: radeonsi
[    72.001] (**) RADEON(G0): DRI3 enabled
[    73.489] (II) RADEON(0): [DRI2] Setup complete
[    73.489] (II) RADEON(0): [DRI2]   DRI driver: r600
[    73.489] (II) RADEON(0): [DRI2]   VDPAU driver: r600
[    73.489] (**) RADEON(0): DRI3 enabled
[    73.569] (II) GLX: Initialized DRI2 GL provider for screen 0
Code:
$ xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x86 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 4 outputs: 3 associated providers: 0 name:ARUBA @ pci:0000:00:01.0
Provider 1: id: 0x4f cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 0 outputs: 0 associated providers: 0 name:HAINAN @ pci:0000:01:00.0
Code:
$ DRI_PRIME=1 glxinfo |grep OpenGL
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD HAINAN (DRM 2.43.0, LLVM 3.8.0)
OpenGL core profile version string: 4.1 (Core Profile) Mesa 11.2.1
OpenGL core profile shading language version string: 4.10
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 11.2.1
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 11.2.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
OpenGL ES profile extensions:

Last edited by Nille_kungen; 04-24-2016 at 10:11 AM.
 
Old 04-25-2016, 10:32 AM   #17
voyagerok
LQ Newbie
 
Registered: Apr 2016
Posts: 2

Rep: Reputation: Disabled
Great work, thank you! I reverted that commit on 4.5.1 kernel, and everything seems to be ok.
 
Old 04-25-2016, 10:36 AM   #18
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
I would submit that patch to Patrick via the Slackware Mailing list. I've rarely seen patches to fix things added to the kernel in Slackware, but this is a good find.
 
Old 04-25-2016, 04:43 PM   #19
Nille_kungen
Member
 
Registered: Jul 2005
Distribution: Slackware64-current
Posts: 587

Original Poster
Rep: Reputation: 201Reputation: 201Reputation: 201
I wouldn't call it a good find it's actually git that does the magic it only takes time to do the needed compilation.
If it's of interest i could post how i bisected.
The patch has been reverted in kernel 4.6-RC5 and i think it will be reverted in 4.4.y and 4.5.y as well, it should be safe to revert this commit.
I could send it to Pat but i think he and the rest of the team reads the forum especially now when we are so close to a release but i can send it if requested.
This bug is something that will affect many users and i think the commit should be reverted in the stable 14.2 release.
 
Old 04-25-2016, 09:22 PM   #20
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
If it affects the kernel, then I would submit it anyway. Unless the next LTS kernel has it then maybe wait and see then.
 
Old 04-25-2016, 11:48 PM   #21
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,504

Rep: Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461
Quote:
Originally Posted by ReaperX7 View Post
I would submit that patch to Patrick via the Slackware Mailing list. I've rarely seen patches to fix things added to the kernel in Slackware, but this is a good find.
We've never patched a kernel bug before unless it was a critical security issue. But I hope this will end up in the 4.4.9 kernel.
 
Old 04-26-2016, 02:24 AM   #22
Nille_kungen
Member
 
Registered: Jul 2005
Distribution: Slackware64-current
Posts: 587

Original Poster
Rep: Reputation: 201Reputation: 201Reputation: 201
Quote:
Originally Posted by volkerdi View Post
We've never patched a kernel bug before unless it was a critical security issue. But I hope this will end up in the 4.4.9 kernel.
I e-mailed Alex Deucher and he wrote "I reverted the patch. The revert should end up in stable once the stable maintainers apply it." so it should be reverted in 4.4.9.
 
2 members found this post helpful.
Old 05-01-2016, 04:31 AM   #23
gradinaruvasile
Member
 
Registered: Apr 2010
Location: Cluj, Romania
Distribution: Debian Testing
Posts: 731

Rep: Reputation: 158Reputation: 158
BTW this affects dual Intel+AMD cards as well. runpm doesnt work, both cards are permanently running. Disabling runpm makes possible the toggling on/off the dedicated card and dri_prime works too.
 
Old 05-05-2016, 11:46 AM   #24
Nille_kungen
Member
 
Registered: Jul 2005
Distribution: Slackware64-current
Posts: 587

Original Poster
Rep: Reputation: 201Reputation: 201Reputation: 201
Fixed with the upgrade to kernel 4.4.9 in current.
 
3 members found this post helpful.
Old 05-05-2016, 01:34 PM   #25
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,504

Rep: Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461
Quote:
Originally Posted by Nille_kungen View Post
Fixed with the upgrade to kernel 4.4.9 in current.
Thanks very much for bisecting this and getting it fixed upstream!
 
Old 05-05-2016, 01:54 PM   #26
Nille_kungen
Member
 
Registered: Jul 2005
Distribution: Slackware64-current
Posts: 587

Original Poster
Rep: Reputation: 201Reputation: 201Reputation: 201
Quote:
Originally Posted by volkerdi View Post
Thanks very much for bisecting this and getting it fixed upstream!
There's actually only 2 options, 1) trace and report the bug and make sure it gets fixed, 2) learn to live with it.
I'm one of those people that can't learn to live with it
 
6 members found this post helpful.
Old 05-05-2016, 08:51 PM   #27
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Quote:
Originally Posted by Nille_kungen View Post
There's actually only 2 options, 1) trace and report the bug and make sure it gets fixed, 2) learn to live with it.
I'm one of those people that can't learn to live with it
There's option 3 that some people use: Complain about it, hoping that someone else finds and fixes the problem.

I'm glad you didn't even think that #3 was an option.
 
  


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
My broadcom wireless ain't working. analist2k Linux - Hardware 1 12-11-2008 12:23 PM
Ain't working like it used to Jeebizz Slackware 18 10-08-2006 04:35 PM
fdisk -l ain't working for me... ender42 Ubuntu 3 02-26-2006 10:10 AM
MIMEs ain't working... eQualizer Linux - Software 1 03-09-2004 02:59 PM
It ain't working. Swift&Smart Programming 8 04-15-2003 09:02 AM

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

All times are GMT -5. The time now is 09:30 PM.

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