[SOLVED] Slackware 14.2 muxless ati/intel laptop and amdgpu non-pro installation
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi and thanks :-)
Hope you all had a great weekend/week too.
Came back and had a play with kernels 4.10.2 and 4.11-rc2
Looks like I could get there but only for these errors below:
Kernel 4.10.2 bash-4.4# dmesg | grep amd
[ 6.938614] [drm] amdgpu kernel modesetting enabled.
[ 6.938771] amdgpu 0000:01:00.0: enabling device (0000 -> 0003)
[ 7.061994] amdgpu 0000:01:00.0: VRAM: 2048M 0x0000000000000000 - 0x000000007FFFFFFF (2048M used)
[ 7.062001] amdgpu 0000:01:00.0: GTT: 2048M 0x0000000080000000 - 0x00000000FFFFFFFF
[ 7.062099] [drm] amdgpu: 2048M of VRAM memory ready
[ 7.062102] [drm] amdgpu: 2048M of GTT memory ready.
[ 7.063792] amdgpu 0000:01:00.0: PCIE GART of 2048M enabled (table at 0x0000000000040000).
[ 7.063850] amdgpu 0000:01:00.0: amdgpu: using MSI.
[ 7.063865] [drm] amdgpu: irq initialized.
[ 7.066224] [drm] amdgpu: dpm initialized
[ 7.096468] amdgpu 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000080000010, cpu addr 0xffff88041ae53010
[ 7.096508] amdgpu 0000:01:00.0: fence driver on ring 1 use gpu addr 0x0000000080000020, cpu addr 0xffff88041ae53020
[ 7.096536] amdgpu 0000:01:00.0: fence driver on ring 2 use gpu addr 0x0000000080000030, cpu addr 0xffff88041ae53030
[ 7.096576] amdgpu 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000080000040, cpu addr 0xffff88041ae53040
[ 7.096607] amdgpu 0000:01:00.0: fence driver on ring 4 use gpu addr 0x0000000080000050, cpu addr 0xffff88041ae53050
[ 7.658139] [drm] Initialized amdgpu 3.9.0 20150101 for 0000:01:00.0 on minor 1
[ 31.236275] amdgpu 0000:01:00.0: PCIE GART of 2048M enabled (table at 0x0000000000040000). [ 31.582316] [drm:gfx_v6_0_ring_test_ring [amdgpu]] *ERROR* amdgpu: ring 0 test failed (scratch(0x2140)=0xCAFEDEAD)
[ 31.582328] [drm:amdgpu_resume [amdgpu]] *ERROR* resume of IP block <gfx_v6_0> failed -22
[ 31.582338] [drm:amdgpu_device_resume [amdgpu]] *ERROR* amdgpu_resume failed (-22).
[ 31.913664] [drm:amdgpu_fill_buffer [amdgpu]] *ERROR* Trying to clear memory with ring turned off.
[ 32.712199] [drm:amdgpu_fill_buffer [amdgpu]] *ERROR* Trying to clear memory with ring turned off.
[ 34.178561] [drm:amdgpu_fill_buffer [amdgpu]] *ERROR* Trying to clear memory with ring turned off.
bash-4.4#
Gets better with the 4.11-rc2 kernel as I can now see modules linked in.
But the error is still there.
Will have to google for it after work.
bash-4.4# dmesg | grep amd
[ 7.172116] [drm] amdgpu kernel modesetting enabled.
[ 7.175185] amdgpu 0000:01:00.0: enabling device (0000 -> 0003)
[ 7.229914] amdgpu 0000:01:00.0: VRAM: 2048M 0x0000000000000000 - 0x000000007FFFFFFF (2048M used)
[ 7.230824] amdgpu 0000:01:00.0: GTT: 2048M 0x0000000080000000 - 0x00000000FFFFFFFF
[ 7.235680] [drm] amdgpu: 2048M of VRAM memory ready
[ 7.236319] [drm] amdgpu: 2048M of GTT memory ready.
[ 7.239698] amdgpu 0000:01:00.0: PCIE GART of 2048M enabled (table at 0x0000000000040000).
[ 7.241670] amdgpu 0000:01:00.0: amdgpu: using MSI.
[ 7.242291] [drm] amdgpu: irq initialized.
[ 7.269024] [drm] amdgpu: dpm initialized
[ 7.397673] amdgpu 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000080000010, cpu addr 0xffff88041c45a010
[ 7.397731] amdgpu 0000:01:00.0: fence driver on ring 1 use gpu addr 0x0000000080000020, cpu addr 0xffff88041c45a020
[ 7.397772] amdgpu 0000:01:00.0: fence driver on ring 2 use gpu addr 0x0000000080000030, cpu addr 0xffff88041c45a030
[ 7.397833] amdgpu 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000080000040, cpu addr 0xffff88041c45a040
[ 7.397875] amdgpu 0000:01:00.0: fence driver on ring 4 use gpu addr 0x0000000080000050, cpu addr 0xffff88041c45a050
[ 7.964721] [drm] Initialized amdgpu 3.10.0 20150101 for 0000:01:00.0 on minor 0
[ 8.152750] Modules linked in: snd_hda_codec_hdmi btusb hid_generic usbhid btrtl hid coretemp intel_rapl btbcm btintel bluetooth x86_pkg_temp_thermal intel_powerclamp kvm_intel kvm irqbypass i915 snd_hda_codec_realtek snd_hda_codec_generic rtsx_pci_ms memstick snd_hda_intel rtsx_pci_sdmmc snd_hda_codec snd_hwdep snd_hda_core snd_pcm mmc_core crc32_pclmul toshiba_wmi amdgpu hwmon ttm i2c_dev drm_kms_helper snd_timer sparse_keymap crc32c_intel rtsx_pci intel_gtt syscopyarea sysfillrect sysimgblt fb_sys_fops drm iwlmvm mac80211 iwlwifi mei_me mei agpgart snd r8169 cfg80211 ghash_clmulni_intel mii psmouse soundcore i2c_i801 i2c_algo_bit evdev i2c_core lpc_ich xhci_pci xhci_hcd ehci_pci ehci_hcd shpchp serio_raw efivars mfd_core thermal toshiba_haps video toshiba_bluetooth rfkill wmi ac battery button
[ 31.781060] amdgpu 0000:01:00.0: PCIE GART of 2048M enabled (table at 0x0000000000040000). [ 32.128398] [drm:gfx_v6_0_ring_test_ring [amdgpu]] *ERROR* amdgpu: ring 0 test failed (scratch(0x2140)=0xCAFEDEAD)
[ 32.128409] [drm:amdgpu_resume [amdgpu]] *ERROR* resume of IP block <gfx_v6_0> failed -22
[ 32.128418] [drm:amdgpu_device_resume [amdgpu]] *ERROR* amdgpu_resume failed (-22).
[ 32.453450] [drm:amdgpu_fill_buffer [amdgpu]] *ERROR* Trying to clear memory with ring turned off.
[ 33.042246] [drm:amdgpu_fill_buffer [amdgpu]] *ERROR* Trying to clear memory with ring turned off.
[ 33.488176] [drm:amdgpu_fill_buffer [amdgpu]] *ERROR* Trying to clear memory with ring turned off.
[ 34.741386] [drm:amdgpu_fill_buffer [amdgpu]] *ERROR* Trying to clear memory with ring turned off.
[ 48.702603] [drm:amdgpu_fill_buffer [amdgpu]] *ERROR* Trying to clear memory with ring turned off.
bash-4.4#
Perhaps I should update the amdgpu driver as it is the latest from the current repo?
bash-4.4# slackpkg info xf86-video-amdgpu-1.2.0-x86_64-1
PACKAGE NAME: xf86-video-amdgpu-1.2.0-x86_64-1.txz
PACKAGE LOCATION: ./slackware64/x
PACKAGE SIZE (compressed): 68 K
PACKAGE SIZE (uncompressed): 220 K
PACKAGE DESCRIPTION:
xf86-video-amdgpu: xf86-video-amdgpu (AMD GPU driver for the Xorg X server)
xf86-video-amdgpu:
xf86-video-amdgpu: xf86-video-amdgpu is part of X11.
xf86-video-amdgpu:
xf86-video-amdgpu: For more information about the X.Org Foundation (the providers of the
xf86-video-amdgpu: X.Org implementation of the X Window System), see their website:
xf86-video-amdgpu:
xf86-video-amdgpu: http://www.x.org
xf86-video-amdgpu:
And I had another go at it...
I cloned these two links locally, then created/installed xf86-video-amdgpu-1.3.0-x86_64-1 and libdrm-2.4.75-x86_64-1-18-03-2017 (they have newer patches)
git://anongit.freedesktop.org/xorg/driver/xf86-video-amdgpu
git://anongit.freedesktop.org/mesa/drm
I read up on this thread and i am a bit curious to why you want this?
I also have an southern island dgpu but i never felt any need for amdgpu.
And why do you want to use the AMD gpu all the time? since it got no display connectors you will always pass everything thru the intel chip anyway.
I'm just trying to understand why, but sometimes it just researching ones curiosity to see if something can be done.
Meanwhile check this post:
varunpriolkar.com/2016/12/how-to-use-amdgpu-driver-for-southern-islands-and-sea-islands-card-on-ubuntu-linux/
Should provide better performance for gaming, gpu intensive apps, etc...
Things have steadily been improving, but amdgpu isn't a clear winner over radeon on all cards and all software just yet.
I've worked out the errors appear when I start xorg.
I think I'm going to stick with radeon for now and revisit amdgpu at a much later date this year.
Thanks again for the assistance, was really appreciated.
My hope is that by the time the next LTS kernel is released (maybe 4.15 or 4.16) that things will have stabilized and they'll have resolved most of the regressions. I imagine once they enable amdgpu support for Southern Islands by default, it's a good indication things have improved immensely.
My hope is that by the time the next LTS kernel is released (maybe 4.15 or 4.16) that things will have stabilized and they'll have resolved most of the regressions. I imagine once they enable amdgpu support for Southern Islands by default, it's a good indication things have improved immensely.
Will look forward to it :-)
Meanwhile adding a new "xorg_prime.sh" file in the profile.d directory just works.
bash-4.4# cat /etc/profile.d/xorg_prime.sh
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.