LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-08-2019, 07:39 PM   #61
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 6,199

Rep: Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940

Quote:
Originally Posted by gaitos View Post
Just for a first simple experiment I've installed the 4.19.77-huge kernel from -current (I think that for the kernel it doesn't matter if it's installed as a binary or recompiled) and indeed amdgpu no longer complains about lack of firmware, however...
Code:
[    8.780604] ------------[ cut here ]------------
[    8.780746] WARNING: CPU: 3 PID: 751 at drivers/gpu/drm/amd/amdgpu/../display/dc/gpio/gpio_base.c:64 dal_gpio_open_
ex.cold+0xc/0x14 [amdgpu]
..followed by the full debug info (let me know if I need to post that, it's rather long) and after that, something that is quite rare nowadays:
Code:
[    8.925929] BUG: unable to handle kernel NULL pointer dereference at 0000000000000008
To be clear, this happens right at kernel initialization of drm and fbcon (on boot), without X being started. What is more, if I reboot after booting with 4.19.77, the card fails to initialize, I have to push the reset button in order to get an image on the monitor.

This warning and NULL pointer BUG don't happen with amdgpu pro (in fact the only trouble I have with that approach is that chromium based browsers don't work).

Before posting this I have tried the 5.3.4 kernel again and now that there is a firmware present it doesn't complain about that (and fbcon properly initializs), however it somewhat randomly (i.e. 1 out of 5 cold reboots, but on every warm reboot) gives similar warnings in dmesg (and on the console, of course), but no NULL pointer BUG messages. It also leaves the card in a better state, so that warm reboots work.

I don't know if these warnings would prevent the rest of the amdgpu drivers (xorg and so on) from working, but I suspect so!
I was running into similar issues with my RX570 on 14.2 with the 4.19 kernel (self compiled). I think it just requires newer versions of quite a bit of software and 14.2 just can't hack it well. I've been in the process of upgrading various components of 14.2 to get it working, but I hit a roadblock (see next paragraph for the details). I'm debating restoring 14.2 packages back to stock and then try again.

I seem to have the crashes gone with the updates I've done (basically upgrade mesa, libdrm, llvm, and most of Xorg and any dependencies along the way and running the 5.3.1 kernel), but I knocked out opengl while doing all these updates. Based on this, I'm guessing this would work fine in -current with a newer kernel (5.3.1 seems to be working fine here), but I don't think I want to fully switch to -current.

I'm hoping if I go through the process to upgrade the software stack in 14.2 again that I'll bypass whatever issue I had before. Now I just need to find the time to do it!

Quote:
Originally Posted by gaitos View Post
I will try and get the 5.3.4 firmware to see if there are any changes.
The newer firmware is the same for this card (same version) so that doesn't change anything.
The firmware is supposed to be for any kernel and not necessarily tied to a specific version. The kernel-firmware SlackBuild will just clone the kernel-firmware git and put everything in a Slackware package.

Quote:
Originally Posted by gaitos View Post
However, should I have known this I would have went with nVidia, it's funny that I bought AMD after reading that they have better open-source drivers. Right!
Their open source drivers are much better, but trying to run newer hardware on a 3+ year old system will run into serious problems, because the software stack doesn't have support for the newer hardware. This should be much better on -current and I imagine if -current ends up getting the 5.4 kernel, which is expected to be the next LTS, all these problems will be gone.

Quote:
Originally Posted by gaitos View Post
Also: should I create a new thread for this? It's getting somwhat unrelated to amdgpu pro.
You could "Report" your post and request it to be split from the rest of the topic.

Last edited by bassmadrigal; 10-08-2019 at 07:41 PM.
 
Old 10-08-2019, 10:22 PM   #62
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,773

Rep: Reputation: Disabled
I have 5.2.16 running here and it works great with amdgpu, I think the 5.3 series had several changes for amd which will take more revisions to hammer out any potential new issues.
 
Old 10-09-2019, 01:59 PM   #63
gaitos
LQ Newbie
 
Registered: Oct 2014
Distribution: Slackware
Posts: 26

Rep: Reputation: Disabled
Eventually I have updated my whole system to -current and everything seems to be working, at least for now (using open-source drivers. No more warnings in dmesg either (but funny enough, the new current kernel is 4.19.78, instead of 4.19.77 that I got the other day).

Vivaldi (and I assume other chromium-based browsers) do not complain either and run fine.

So far so good (now on to recompiling various slackbuild packages)
 
  


Reply

Tags
amd, amdgpu-pro, slackware


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LXer: SteamOS 2.83 Beta Brings AMD Radeon GPU-PRO RC2 and Nvidia 367.27 Video Drivers LXer Syndicated Linux News 0 06-29-2016 10:42 AM
LXer: SteamOS 2.80 Beta Brings an AMD GPU PRO Driver with Vulkan and VDPAU Support LXer Syndicated Linux News 0 05-26-2016 06:30 AM
how can I setup the amd GPU as a default gpu instead of intel graphics? divinefishersmith Linux - Newbie 33 08-22-2015 06:03 PM
[SOLVED] [Request] Slackware 14.1 with kernel 3.10 for a better support to AMD GPU sardinha Slackware 5 07-06-2013 09:16 AM

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

All times are GMT -5. The time now is 03:35 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration