I haven't done that yet. I just put the 6900xt back in yesterday and I wanted to pass along some findings with the 6900xt that caused me to put it back in.Panos wrote: ↑Sat, 16. Oct 21, 09:04
Btw have you activated SAM and culling with the 6900XT on Linux in the environmental variables?
Optional at the command line parameter for the game add radeonsi_enable_sam=trueCode: Select all
RADV_PERFTEST=sam,nggc
To make sure it runs after the restart
IfCode: Select all
AMD_DEBUG=info glxinfo | grep vram
is equal to yourCode: Select all
vram_vis_size
then sam is enabled and working.Code: Select all
vram_size
FYI since you are doing a lot of testing and fiddling have a look here
https://gazoche.xyz/fps-overlays-on-linux.html
The Mesa Vulkan overlay section as is the one running in Vulkan and has a nice option to extract the log into file.
First the 6900xt has always been my first choice but due to several reasons it went back on the shelf. #1 The micro stutter was insane. #2 My only monitor with freesync gives me eyestrain in normal use but is tolerable in gaming. #3 The performance in raw FPS compared to the 3080ti.
Well, I pretty much solved those issues (for the most part) well enough that the 6900xt is back in as the daily driver.
How I fixed the micro stutter:
As usual I did a fresh install of my prefered distro linux mint 20.2 edge. did a "sudo apt update". Great 6900xt is working drivers are working etc..but there are several more steps that need to be taken for a good experience.
#1 to enable freesynce it must be enabled in a .conf
Code: Select all
sudo mkdir /etc/X11/xorg.conf.d/
sudo nano /etc/X11/xorg.conf.d/20-radeon.conf
Code: Select all
Section "Device"
Identifier "AMD"
Driver "amdgpu"
# 8-bit or 10-bit colors 24 or 30
# Using 10-bit breaks Chromium and Chrome
# DefaultDepth 24
# Option "TearFree" "1"
Option "VariableRefresh" "true"
EndSection
Next edit grub:
Code: Select all
sudo nano /etc/default/grub
Code: Select all
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash amdgpu.ppfeaturemask=0xffffffff"
GRUB_CMDLINE_LINUX=""
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
Code: Select all
sudo update-grub
Still not done.
Next install CoreCtrl (do this at your own risk I haven't looked through his code you can still control overclocks and power limits via command line if you choose) https://gitlab.com/corectrl/corectrl
Just follow how to add the ppa and install. I HIGHLY recommend DELETING the PPA after you install CoreCtrl. Because if you don't and do a sudo apt update and sudo apt upgrade with that PPA enabled it breaks AMD GPU fan monitoring. So just add the ppa do a sudo apt update then sudo apt install corectrl then delete the ppa right away.
Now open CoreCtrl (it'll ask for admin rights) click on "Global Profile" and change "Performance Mode" : "Automatic" drop down to "advanced" and move the sliders for clocks mem and power all the way to the right. Then change "ventilation" drop down to manual or fixed or curve...whatever you want to keep your fans and card temps in check. Then click apply in the upper right corner.
Now finally...almost. Confirm your monitor has freesync enabled. Launch X4. In graphics settings set your preferences for what you like...except do not enable vsync (that will introduce latency). Launch the game and finally there you have it. Incredibly silky smooth game play. At my preferred graphics settings the 6900xt is about 10 fps slower than the 3080ti in the menu screen. However...I'm ALWAYS cpu limited during actual gameplay so the FPS is the same for both the 6900xt and the 3080ti. The difference is the 1% and .1% lows! This is where it really is an incredible difference.
I don't have a way to actually measure those lows in linux with freesync and or gsync enabled and working but you can definitely see them in the game. Normally I do all visual testing in the starting sector of Young Gun start. I have two saves one by the equipment dock and one by the asteroid field.
If you disable the cockpit and use the arrow key to keep turning either left or right...you'll clearly see any stutters. And on the 3080ti those stutters were DEEP and bothersome. Those stutters were also present in windows install. But when it wasn't stuttering it was gsync smooth.
The 6900xt however...with all the rigamarow done above is substantially smoother on those 1% and .1% lows. Night and day kind of difference. So I'm very glad I got the card actually wanted (6900xt) to play nice and the way it should. Just took some doing. As for my primary viewing monitor and not having freesync... I just disable it before I launch the game and that of course sends everything over to the second monitor which does have freesync. By the way..You have to do that anyways because freesync and even gsync wont work on dual monitors even if both have same specs and both have freesync. Linux needs to "flip" and can't do that unless it's fullscreen and on one monitor. At least I haven't found any other way.
Anyway...very long rant. Hope it helps someone. As a side note, I'll be skipping Alderlake testing and will just wait for Zen 3 3D stack I think. Looking forward to that and that testing.