LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-17-2024, 09:08 AM   #16
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,538

Original Poster
Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899

I do have another question...obviously remove the xorg.conf file with nvidia in it, but as I understand it, X11 doesn't need a config file these days?
 
Old 04-18-2024, 03:29 AM   #17
dederon
Member
 
Registered: Oct 2013
Posts: 108

Rep: Reputation: 56
in my case i did not configure anything.
 
Old 04-18-2024, 10:21 AM   #18
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,538

Original Poster
Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Cool thanks! I'm a bit incredulous it could be as easy as turning off the computer, putting in the new card, rebooting, removing nvidia stuff, and there you go. (Nothing ever goes right the first time on a computer.) We'll see, hopefully this weekend.
 
Old 04-18-2024, 02:30 PM   #19
dederon
Member
 
Registered: Oct 2013
Posts: 108

Rep: Reputation: 56
when i get a new computer/laptop i just copy my slackware over to the new drive. at first i was in disbelief when i saw that everything was working out of the box - this is my first machine with a dedicated graphics card! linux indeed has come a long way.
 
Old 04-19-2024, 03:36 AM   #20
Pithium
Member
 
Registered: Jul 2014
Location: Far side of the Oregon Trail
Distribution: Slackware64 15.0
Posts: 502

Rep: Reputation: 585Reputation: 585Reputation: 585Reputation: 585Reputation: 585Reputation: 585
Quote:
Originally Posted by garpu View Post
I do have another question...obviously remove the xorg.conf file with nvidia in it, but as I understand it, X11 doesn't need a config file these days?
If you have been running nvidia all these years then you are in for a treat. Nvidia's driver stomps on a of the features that have been added to the X server over the past 10-15 years.

One of these is the xorg.conf.d folder, which is used by X to dynamically build an xorg.conf based on snippets if one is not specified
Code:
$ ls -l /usr/share/X11/xorg.conf.d/
total 44
-rw-r--r-- 1 root root   92 Jul 30  2021 10-amdgpu.conf
-rw-r--r-- 1 root root 1099 Feb 13  2021 10-evdev.conf
-rw-r--r-- 1 root root 1350 Dec 13 12:09 10-quirks.conf
-rw-r--r-- 1 root root   92 Feb 13  2021 10-radeon.conf
-rw-r--r-- 1 root root 1429 Jan 24  2022 40-libinput.conf
-rw-r--r-- 1 root root  444 Feb 13  2021 50-synaptics.conf
-rw-r--r-- 1 root root  115 Feb 13  2021 50-vmmouse.conf
-rw-r--r-- 1 root root 1753 Feb 13  2021 70-synaptics.conf
-rw-r--r-- 1 root root 3458 Feb 13  2021 70-wacom.conf
-rw-r--r-- 1 root root 1502 Dec 13 12:09 90-keyboard-layout-evdev.conf
-rw-r--r-- 1 root root 1536 Jan 24  2022 91-keyboard-layout-libinput.conf
Slackware already has the needed snippets to load the correct modules. A lot of this work was started by Intel, and AMD decided to follow their example which makes things a lot simpler. I usually reference the Arch and Gentoo wikis for more advanced options but in general the default gets everything working.

The first thing you might notice is that your TTY runs at a higher resolution during runlevel 3. Since AMDGPU uses KMS you get your native resolution at all times, not just with X. You also don't need to rebuild your nvidia-kernel package for each kernel update. The only downside I've run into is that AMD cards tend to be somewhat noisier than the competition.

If you've been running mostly nvidia this whole time then you get to exerience all the new features that don't actually exist because nobody is working on them. Or at least that's what the wayland people want everyone to believe


(sorry, couldn't resist a jab at the wayland folks!)
 
1 members found this post helpful.
Old 04-19-2024, 08:41 AM   #21
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,538

Original Poster
Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
I'm told support is way better for AMD than it was. Last time I tried one was about 8 years ago, when my 560 died. It was kind of a pain, and I wasn't on current, so the version of mesa was outdated. So we'll see. I can't justify spending double the money for a 40 series nvidia card, either. I've had an nvidia card for the past 15+ years, but it seems like they're into chasing crypto or AI money.
 
Old 04-19-2024, 08:58 AM   #22
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,784

Rep: Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435
Re: Deleting xorg.conf -

Yes I think even in Slackware xorg.conf is not required but I like it and for more reasons than nividia. On my main Slackware 15.0 install which is rather multi-purpose including gaming, I like to specify mouse and keyboard as driven by evdev. I also prefer zero uncertainty regarding the exit xorg macro via "Ctrl-Alt-Backspace" and feel better knowing it is expressly specified as an option in xorg.conf.

I do also avail myself of considerable control for nvidia via modelines and "coolbits" (fan speed and default performance settings) and I don't know what AMD has for fine control options but I'd surely want to see if there are options available only via xorg.conf.
 
Old 04-19-2024, 05:14 PM   #23
Pithium
Member
 
Registered: Jul 2014
Location: Far side of the Oregon Trail
Distribution: Slackware64 15.0
Posts: 502

Rep: Reputation: 585Reputation: 585Reputation: 585Reputation: 585Reputation: 585Reputation: 585
To enable VRR support (vsync) I had to modify the 10-amdgpu.conf file.

Other than that, fans and power management is controlled via sysfs.

Code:
$ cat /sys/class/drm/card0/device/power_dpm_state 
performance
The gentoo wiki has a decent overview of the options
https://wiki.gentoo.org/wiki/AMDGPU#Power_management


If you get the rocm stuff going. rocm-smi shows a lot of stuff. here's my 7900xt
Code:
============================ ROCm System Management Interface ============================
============================== Version of System Component ===============================
Driver version: 6.6.28
==========================================================================================
=========================================== ID ===========================================
GPU[0]          : Device ID: 0x744c
GPU[0]          : Device Rev: 0xcc
==========================================================================================
======================================= Unique ID ========================================
GPU[0]          : Unique ID: 0x11fd1a952cacfb8c
==========================================================================================
========================================= VBIOS ==========================================
GPU[0]          : VBIOS version: 113-D70401XT-P11
==========================================================================================
====================================== Temperature =======================================
GPU[0]          : Temperature (Sensor edge) (C): 57.0
GPU[0]          : Temperature (Sensor junction) (C): 67.0
GPU[0]          : Temperature (Sensor memory) (C): 71.0
==========================================================================================
=============================== Current clock frequencies ================================
GPU[0]          : fclk clock level: 4: (2000Mhz)
GPU[0]          : mclk clock level: 3: (1249Mhz)
GPU[0]          : sclk clock level: 1: (2851Mhz)
GPU[0]          : socclk clock level: 1: (1285Mhz)
GPU[0]          : pcie clock level: 2 (2.5GT/s x16)
==========================================================================================
=================================== Current Fan Metric ===================================
GPU[0]          : Fan Level: 38 (15%)
GPU[0]          : Fan RPM: 995
==========================================================================================
================================= Show Performance Level =================================
GPU[0]          : Performance Level: auto
==========================================================================================
==================================== OverDrive Level =====================================
GPU[0]          : GPU OverDrive value (%): 0
==========================================================================================
==================================== OverDrive Level =====================================
GPU[0]          : GPU Memory OverDrive value (%): 0
==========================================================================================
======================================= Power Cap ========================================
GPU[0]          : Max Graphics Package Power (W): 265.0
==========================================================================================
================================== Show Power Profiles ===================================
GPU[0]          : 1. Available power profile (#1 of 7): CUSTOM
GPU[0]          : 2. Available power profile (#2 of 7): VIDEO
GPU[0]          : 3. Available power profile (#3 of 7): POWER SAVING
GPU[0]          : 4. Available power profile (#4 of 7): COMPUTE*
GPU[0]          : 5. Available power profile (#5 of 7): VR
GPU[0]          : 6. Available power profile (#6 of 7): 3D FULL SCREEN
GPU[0]          : 7. Available power profile (#7 of 7): BOOTUP DEFAULT
==========================================================================================
=================================== Power Consumption ====================================
GPU[0]          : Average Graphics Package Power (W): N/A (Secondary die)

                Primary die (usually one above or below the secondary) shows total (primary + secondary) socket power information
==========================================================================================
============================== Supported clock frequencies ===============================
GPU[0]          : Clock [dcefclk] on device [0] exists but EMPTY! Likely driver error!
GPU[0]          : Supported fclk frequencies on GPU0
GPU[0]          : 0: 601Mhz
GPU[0]          : 1: 1000Mhz
GPU[0]          : 2: 1200Mhz
GPU[0]          : 3: 1600Mhz
GPU[0]          : 4: 2000Mhz *
GPU[0]          : 5: 2201Mhz
GPU[0]          : 6: 2251Mhz
GPU[0]          : 7: 2301Mhz
GPU[0]          : 
GPU[0]          : Supported mclk frequencies on GPU0
GPU[0]          : 0: 96Mhz
GPU[0]          : 1: 456Mhz
GPU[0]          : 2: 772Mhz
GPU[0]          : 3: 1249Mhz *
GPU[0]          : 
GPU[0]          : Supported sclk frequencies on GPU0
GPU[0]          : 0: 500Mhz
GPU[0]          : 1: 2854Mhz *
GPU[0]          : 2: 2075Mhz
GPU[0]          : 
GPU[0]          : Supported socclk frequencies on GPU0
GPU[0]          : 0: 500Mhz
GPU[0]          : 1: 1285Mhz *
GPU[0]          : 2: 1500Mhz
GPU[0]          : 
GPU[0]          : Supported PCIe frequencies on GPU0
GPU[0]          : 0: 2.5GT/s x1
GPU[0]          : 1: 2.5GT/s x4
GPU[0]          : 2: 2.5GT/s x16 *
GPU[0]          : 
------------------------------------------------------------------------------------------
==========================================================================================
=================================== % time GPU is busy ===================================
GPU[0]          : GPU use (%): 83
==========================================================================================
=================================== Current Memory Use ===================================
GPU[0]          : GPU memory use (%): 25
GPU[0]          : Memory Activity: N/A
GPU[0]          : Avg. Memory Bandwidth: 0
==========================================================================================
===================================== Memory Vendor ======================================
GPU[0]          : GPU memory vendor: samsung
==========================================================================================
================================== PCIe Replay Counter ===================================
GPU[0]          : PCIe Replay Count: 0
==========================================================================================
===================================== Serial Number ======================================
GPU[0]          : get_serial_number, Not supported on the given system
GPU[0]          : Serial Number: N/A
==========================================================================================
===================================== KFD Processes ======================================
get_compute_process_info_by_pid, Not supported on the given system
KFD process information:
PID     PROCESS NAME    GPU(s)  VRAM USED       SDMA USED       CU OCCUPANCY
10004   einstein_O3AS_1 1       UNKNOWN         UNKNOWN         UNKNOWN     
==========================================================================================
================================== GPUs Indexed by PID ===================================
PID 10004 is using 1 DRM device(s):
0 
==========================================================================================
======================= GPU Memory clock frequencies and voltages ========================
GPU[0]          : get_od_volt, Not supported on the given system
==========================================================================================
==================================== Current voltage =====================================
GPU[0]          : Voltage (mV): 1084
==========================================================================================
======================================= PCI Bus ID =======================================
GPU[0]          : PCI Bus: 0000:03:00.0
==========================================================================================
================================== Firmware Information ==================================
GPU[0]          : ASD firmware version:         0x210000d2
GPU[0]          : CE firmware version:          0
GPU[0]          : DMCU firmware version:        0
GPU[0]          : MC firmware version:          0
GPU[0]          : ME firmware version:          2120
GPU[0]          : MEC firmware version:         2150
GPU[0]          : MEC2 firmware version:        0
GPU[0]          : MES firmware version:         0x0000005b
GPU[0]          : MES KIQ firmware version:     0x00000000
GPU[0]          : PFP firmware version:         2160
GPU[0]          : RLC firmware version:         123
GPU[0]          : RLC SRLC firmware version:    0
GPU[0]          : RLC SRLG firmware version:    0
GPU[0]          : RLC SRLS firmware version:    0
GPU[0]          : SDMA firmware version:        20
GPU[0]          : SDMA2 firmware version:       20
GPU[0]          : SMC firmware version:         00.78.125.00
GPU[0]          : SOS firmware version:         0x00310031
GPU[0]          : TA RAS firmware version:      27.00.02.05
GPU[0]          : TA XGMI firmware version:     00.00.00.00
GPU[0]          : UVD firmware version:         0x00000000
GPU[0]          : VCE firmware version:         0x00000000
GPU[0]          : VCN firmware version:         0x0711300d
==========================================================================================
====================================== Product Info ======================================
GPU[0]          : Card series:          Navi 31 [Radeon RX 7900 XT/7900 XTX/7900M]
GPU[0]          : Card model:           PULSE RX 7900 XTX
GPU[0]          : Card vendor:          Advanced Micro Devices, Inc. [AMD/ATI]
GPU[0]          : Card SKU:             D70401XT
==========================================================================================
======================================= Pages Info =======================================
GPU[0]          : ras, Not supported on the given system
================================= Show Valid sclk Range ==================================
GPU[0]          : get_od_volt, Not supported on the given system
==========================================================================================
================================= Show Valid mclk Range ==================================
GPU[0]          : get_od_volt, Not supported on the given system
==========================================================================================
================================ Show Valid voltage Range ================================
GPU[0]          : get_od_volt, Not supported on the given system
==========================================================================================
================================== Voltage Curve Points ==================================
GPU[0]          : get_od_volt_info, Not supported on the given system
==========================================================================================
==================================== Consumed Energy =====================================
GPU[0]          : Energy counter: 0
GPU[0]          : Accumulated Energy (uJ): 0.0
==========================================================================================
=============================== Current Compute Partition ================================
GPU[0]          : Not supported on the given system
==========================================================================================
================================ Current Memory Partition ================================
GPU[0]          : Not supported on the given system
==========================================================================================
================================== End of ROCm SMI Log ===================================

Last edited by Pithium; 04-19-2024 at 07:22 PM. Reason: removed duplicate rocm-smi output
 
1 members found this post helpful.
Old 04-19-2024, 07:10 PM   #24
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,538

Original Poster
Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
C'mon, tax refund. Deposit faster.
 
Old 04-20-2024, 11:14 AM   #25
dederon
Member
 
Registered: Oct 2013
Posts: 108

Rep: Reputation: 56
Quote:
Originally Posted by Pithium View Post
To enable VRR support (vsync) I had to modify the 10-amdgpu.conf file.
hi pithium, is this the modification you are talking about?
Code:
Option "VariableRefresh" "true"
i found this info in the arch wiki: https://wiki.archlinux.org/title/Variable_refresh_rate

when talking about this option, how much does it affect/improve performance?

Last edited by dederon; 04-20-2024 at 11:18 AM. Reason: spelling
 
Old 04-20-2024, 11:59 AM   #26
Pithium
Member
 
Registered: Jul 2014
Location: Far side of the Oregon Trail
Distribution: Slackware64 15.0
Posts: 502

Rep: Reputation: 585Reputation: 585Reputation: 585Reputation: 585Reputation: 585Reputation: 585
Quote:
Originally Posted by dederon View Post
hi pithium, is this the modification you are talking about?
Code:
Option "VariableRefresh" "true"
i found this info in the arch wiki: https://wiki.archlinux.org/title/Variable_refresh_rate

when talking about this option, how much does it affect/improve performance?
Yes, that's it, although the description of what Freesync does in that page is not quite correct.
https://en.wikipedia.org/wiki/FreeSync

Freesync doesn't improve performance, what it does is reduce stuttering caused by the framerate of the application versus your monitor's refresh rate. Traditional vsync was designed for CRT monitors and causes input lag when enabled on modern LCD displays.

In some of my testing, I played Valheim with the Vsync/Freesync disabled and the game stuttered slightly as the framerate jumped around in response to whatever was being rendered. When I enabled Freesync it locked the FPS reported in the steam overlay to 144 (monitor is a 144hz refresh rate) and suddenly everything was MUCH smoother. But no input lag, which is something I always notice with traditional Vsync.
 
  


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
[SOLVED] Switching from NVIDIA to AMD - need I install/uninstall anything? murdo Slackware 9 06-28-2022 11:26 AM
Switching from Nvidia to AMD graphics card questions for a newbie annadane Linux - Hardware 5 01-30-2018 08:10 PM
[SOLVED] switching mouse button won't take effect/switching language won't apply/zukitwo theme looking rough vienswuer Linux - Distributions 1 05-16-2016 06:32 AM
Switching to AMD 64 version brashley46 Ubuntu 7 07-16-2010 04:01 PM
KDE 3.3 Bad Monitor Switching on Desktop Switching Inchoate Linux - Software 1 05-25-2005 02:00 PM

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

All times are GMT -5. The time now is 03:36 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