Arch, Plasma 6.5, SDDM, Wayland, Disable, Change Positions, Login Default, Primary Display, Multi Monitor

if you feel the need, make a backup of the file:

/var/lib/sddm/.config/kwinoutputconfig.json

Delete the file.

After a reboot you should have a new file containing only the current monitor configuration.

The following sections (found in the bottom half of the file) are defined in the same order as the monitor definitions found in the first half of the file.

Here I have 2 monitors and I want the one on the left to be ‘off’ with the primary monitor to the right ‘on’ and login input focus.

My primary monitor is the first definition in the snippet below under ‘outputs’: , and is the monitor I want on the right, so below I change the x: position x: 1920. Adjust to the native pixel width of your left hand side monitor.

The left monitor, with output index 1 below, needs to have position x: 0. (if you didn’t get it by now, X starts at the left so whichever monitor you want on the left has to be position x: 0 <— zero )

Set ‘enabled’ to ‘false’ to turn the monitor off.

Set ‘priority’ to -1 so it is not used as default login display. Maybe you didn’t wanna turn the monitor off but still have the login happen on your Primary monitor?

The bottom half of your file should look something like this:

sudo nano /var/lib/sddm/.config/kwinoutputconfig.json

       "data": [
           {
               "lidClosed": false,
               "outputs": [
                   {
                       "enabled": true,
                       "outputIndex": 0,
                       "position": {
                           "x": 1920,
                           "y": 0
                       },
                       "priority": 0,
                       "replicationSource": ""
                   },
                   {
                       "enabled": false,
                       "outputIndex": 1,
                       "position": {
                           "x": 0,
                           "y": 0
                       },
                       "priority": -1,
                       "replicationSource": ""
                   }
               ]
           }
       ],
       "name": "setups"

Save the file, reboot, then sit back and reflect on a job well done.

When you change your monitor settings from KDE desktop it will create a file of the same name in ~/.config/.

Dont use the Apply Plasma Settings from KDE settings->Colours and Themes->Global Theme->Login Screen (SDDM), it will overwrite the file /var/lib/sddm/.config/kwinoutputconfig.json, though you could edit the file after using ‘Apply Plasma Settings’ once your familiar with how the config works.

BaDboD

AMD GPU Linux (Arch)

Driver: Xorg, Wayland

Vulkan: Gamers

OPENCL: Blender, GIMP, Davinci Resolve

VDPAU: OBS , FFMPEG , Simple Screen Recorders

We can install all three AMD Vulkan drivers and use vulkan-prefixes to run programs using a specific Vulkan driver

We will start with the gamers setup of just AMDVLK and vulkan-radeon (RADV)

RX5000 Series GPU and newer.

sudo pacman -S xf86-video-amdgpu amdvlk lib32-amdvlk vulkan-radeon lib32-vulkan-radeon opencl-mesa libva-mesa-driver lib32-libva-mesa-driver mesa-vdpau lib32-mesa-vdpau

Vulkan Prefixes (selector)

yay -S amd-vulkan-prefixes

PRO (Blender, Davinci Resolve etc)

git clone https://aur.archlinux.org/amdgpu-pro-installer.git
cd amdgpu-pro-installer
makepkg -si

OpenCL for PRO

yay -S opencl-amd

Usage

To run an application using PRO drivers for OpenGL and Vulkan progl vk_pro steam

Davinci Resolve progl resolve

OBS vk_pro obs

Enable hardware encoders, raytracing, system default Vulkan etc

Hardware encoder/decodersudo nano /etc/environment

addLIBVA_DRIVER_NAME=radeonsi
VDPAU_DRIVER=radeonsi

Remove shader cache stutters
addDXVK_ASYNC=1

Enable raytracing for PRO
addVKD3D_CONFIG=dxr11,dxr

Change system default vulkan driver from AMDVLK to vulkan-radeon (RADV)
addAMD_VULKAN_ICD=RADV

Enable ICD Loader method to choose system default vulkan driver
addDISABLE_LAYER_AMD_SWITCHABLE_GRAPHICS_1=1

When using ICD Loader method, add and uncomment one off VK_ICD_FILENAMES lines## Radeon (RADV)
#VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/radeon_icd.i686.json:/usr/share/vulkan/icd.d/radeon_icd.x86_64.json
## AMDVLK
#VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/amd_icd32.json:/usr/share/vulkan/icd.d/amd_icd64.json
## AMDVLK PRO
#VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/amd_pro_icd32.json:/usr/share/vulkan/icd.d/amd_pro_icd64.json

Woohoo,

If any of that don’t make sense try these links. Props to those guys, awesome and well maintained documentation.

https://wiki.archlinux.org/title/AMDGPU

https://wiki.archlinux.org/title/AMDGPU_PRO

https://wiki.archlinux.org/title/Vulkan

Please ping me a comment if any of my ‘guide’ here needs updating. THX.

BaDboD

Ryzen 5 2600X overclock (simple)

As new BIOS roll out then…

[UPDATE] now only do CPU Vcore offset – 0.0750 and do not use PBO on this CPU , you can break 3000 in Cinebench.

This is a fairly easy one. The Ryzen 5 2600X does not have any real overclock headroom. However, if you notice your clocks never even reaching the advertised 4.2Ghz clocks then this is for you.

In your BIOS, probably under CPU overclocking, set CPU offset voltage of -0.1000V . That’s right, MINUS 0.1000v

Now you should see the CPU regularly boosting up to 4.3Ghz and your benchmarks should be improved.

BaDboD