Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] picom fails to initialize backend (Read 8098 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[SOLVED] picom fails to initialize backend

I recently switched from Arch to Artix and wanted to use picom like  before, however when running it I get the following error:

Code: [Select]
[ 10/26/2020 15:04:50.320 session_init FATAL ERROR ] Failed to initialize the backend

I assume this has something to do with missing dependencies, however I cannot find some of the dependencies listed on the github page with pacman (e.g. xcb-xfixes, xproto...). I did install picom via pacman however, so shouldn't this satisfy all the dependencies anyway?

Kernel: Linux 5.9.1-artix1-1
Picom version 8.1-2
I use dwm as my window manager.

Thanks for any help!


Re: picom fails to initialize backend

Reply #2
Yes I copied the default config file to ~/.config/picom/picom.conf.

Re: picom fails to initialize backend

Reply #3
run
Code: [Select]
picom --diagnostic
and put here output

Re: picom fails to initialize backend

Reply #4
That results in the same error as before:
Code: [Select]
picom --diagnostic
[ 10/26/2020 20:46:46.847 session_init FATAL ERROR ] Failed to initialize the backend

Re: picom fails to initialize backend

Reply #5
Please post,

Code: [Select]
lspci -v

and your Xorg log.

Re: picom fails to initialize backend

Reply #6
Code: [Select]
lspci -v

Code: [Select]
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 08)
Subsystem: Lenovo Device 5068
Flags: bus master, fast devsel, latency 0
Capabilities: [e0] Vendor Specific Information: Len=10 <?>
Kernel driver in use: skl_uncore

00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07) (prog-if 00 [VGA controller])
Subsystem: Lenovo Device 5069
Flags: bus master, fast devsel, latency 0, IRQ 141
Memory at f0000000 (64-bit, non-prefetchable) [size=16M]
Memory at e0000000 (64-bit, prefetchable) [size=256M]
I/O ports at e000 [size=64]
Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
Capabilities: [40] Vendor Specific Information: Len=0c <?>
Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [d0] Power Management version 2
Capabilities: [100] Process Address Space ID (PASID)
Capabilities: [200] Address Translation Service (ATS)
Capabilities: [300] Page Request Interface (PRI)
Kernel driver in use: i915
Kernel modules: i915

00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
Subsystem: Lenovo Device 5068
Flags: fast devsel, IRQ 255
Memory at f152a000 (64-bit, non-prefetchable) [disabled] [size=4K]
Capabilities: [90] MSI: Enable- Count=1/1 Maskable- 64bit-
Capabilities: [dc] Power Management version 2
Capabilities: [f0] PCI Advanced Features

00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21) (prog-if 30 [XHCI])
Subsystem: Lenovo Device 5068
Flags: bus master, medium devsel, latency 0, IRQ 136
Memory at f1500000 (64-bit, non-prefetchable) [size=64K]
Capabilities: [70] Power Management version 2
Capabilities: [80] MSI: Enable+ Count=1/8 Maskable- 64bit+
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci

00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
Subsystem: Lenovo Device 5068
Flags: fast devsel, IRQ 18
Memory at f152b000 (64-bit, non-prefetchable) [size=4K]
Capabilities: [50] Power Management version 3
Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
Kernel driver in use: intel_pch_thermal
Kernel modules: intel_pch_thermal

00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
Subsystem: Lenovo Device 5068
Flags: bus master, fast devsel, latency 0, IRQ 138
Memory at f152c000 (64-bit, non-prefetchable) [size=4K]
Capabilities: [50] Power Management version 3
Capabilities: [8c] MSI: Enable+ Count=1/1 Maskable- 64bit+
Kernel driver in use: mei_me
Kernel modules: mei_me

00:17.0 SATA controller: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] (rev 21) (prog-if 01 [AHCI 1.0])
Subsystem: Lenovo Device 5068
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 128
Memory at f1528000 (32-bit, non-prefetchable) [size=8K]
Memory at f152f000 (32-bit, non-prefetchable) [size=256]
I/O ports at e080 [size=8]
I/O ports at e088 [size=4]
I/O ports at e060 [size=32]
Memory at f152d000 (32-bit, non-prefetchable) [size=2K]
Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [70] Power Management version 3
Capabilities: [a8] SATA HBA v1.0
Kernel driver in use: ahci

00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #1 (rev f1) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 122
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: 0000d000-0000dfff [size=4K]
Memory behind bridge: f1400000-f14fffff [size=1M]
Prefetchable memory behind bridge: 00000000c0000000-00000000d01fffff [size=258M]
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [90] Subsystem: Lenovo Device 5068
Capabilities: [a0] Power Management version 3
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Access Control Services
Capabilities: [220] Secondary PCI Express
Kernel driver in use: pcieport

00:1c.4 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #5 (rev f1) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 123
Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
I/O behind bridge: 0000c000-0000cfff [size=4K]
Memory behind bridge: f1300000-f13fffff [size=1M]
Prefetchable memory behind bridge: [disabled]
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [90] Subsystem: Lenovo Device 5068
Capabilities: [a0] Power Management version 3
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Access Control Services
Capabilities: [220] Secondary PCI Express
Kernel driver in use: pcieport

00:1d.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #9 (rev f1) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 124
Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
I/O behind bridge: [disabled]
Memory behind bridge: f1200000-f12fffff [size=1M]
Prefetchable memory behind bridge: [disabled]
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [90] Subsystem: Lenovo Device 5068
Capabilities: [a0] Power Management version 3
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Access Control Services
Capabilities: [200] L1 PM Substates
Capabilities: [220] Secondary PCI Express
Kernel driver in use: pcieport

00:1d.2 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #11 (rev f1) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 125
Bus: primary=00, secondary=05, subordinate=05, sec-latency=0
I/O behind bridge: [disabled]
Memory behind bridge: f1100000-f11fffff [size=1M]
Prefetchable memory behind bridge: [disabled]
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [90] Subsystem: Lenovo Device 5068
Capabilities: [a0] Power Management version 3
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Access Control Services
Capabilities: [220] Secondary PCI Express
Kernel driver in use: pcieport

00:1d.3 PCI bridge: Intel Corporation Device 9d1b (rev f1) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 126
Bus: primary=00, secondary=06, subordinate=06, sec-latency=0
I/O behind bridge: [disabled]
Memory behind bridge: f1000000-f10fffff [size=1M]
Prefetchable memory behind bridge: [disabled]
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [90] Subsystem: Lenovo Device 5068
Capabilities: [a0] Power Management version 3
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Access Control Services
Capabilities: [200] L1 PM Substates
Capabilities: [220] Secondary PCI Express
Kernel driver in use: pcieport

00:1f.0 ISA bridge: Intel Corporation Sunrise Point LPC Controller/eSPI Controller (rev 21)
Subsystem: Lenovo Device 5068
Flags: bus master, medium devsel, latency 0

00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
Subsystem: Lenovo Device 5068
Flags: fast devsel
Memory at f1524000 (32-bit, non-prefetchable) [disabled] [size=16K]

00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
Subsystem: Lenovo Device 5068
Flags: bus master, fast devsel, latency 64, IRQ 150
Memory at f1520000 (64-bit, non-prefetchable) [size=16K]
Memory at f1510000 (64-bit, non-prefetchable) [size=64K]
Capabilities: [50] Power Management version 3
Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel, snd_soc_skl

00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
Subsystem: Lenovo Device 5068
Flags: medium devsel, IRQ 16
Memory at f152e000 (64-bit, non-prefetchable) [size=256]
I/O ports at efa0 [size=32]
Kernel driver in use: i801_smbus
Kernel modules: i2c_i801

02:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Lexa PRO [Radeon 540/540X/550/550X / RX 540X/550/550X] (rev c0)
Subsystem: Lenovo Device 5069
Flags: bus master, fast devsel, latency 0, IRQ 142
Memory at c0000000 (64-bit, prefetchable) [size=256M]
Memory at d0000000 (64-bit, prefetchable) [size=2M]
I/O ports at d000 [size=256]
Memory at f1400000 (32-bit, non-prefetchable) [size=256K]
Expansion ROM at f1440000 [disabled] [size=128K]
Capabilities: [48] Vendor Specific Information: Len=08 <?>
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Legacy Endpoint, MSI 00
Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
Capabilities: [270] Secondary PCI Express
Capabilities: [320] Latency Tolerance Reporting
Capabilities: [370] L1 PM Substates
Kernel driver in use: amdgpu
Kernel modules: amdgpu

03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 10)
Subsystem: Lenovo Device 5068
Flags: bus master, fast devsel, latency 0, IRQ 16
I/O ports at c000 [size=256]
Memory at f1304000 (64-bit, non-prefetchable) [size=4K]
Memory at f1300000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Endpoint, MSI 01
Capabilities: [b0] MSI-X: Enable+ Count=4 Masked-
Capabilities: [d0] Vital Product Data
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel
Capabilities: [160] Device Serial Number 01-00-00-00-68-4c-e0-00
Capabilities: [170] Latency Tolerance Reporting
Capabilities: [178] L1 PM Substates
Kernel driver in use: r8169
Kernel modules: r8169

04:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM961/PM961 (prog-if 02 [NVM Express])
Subsystem: Samsung Electronics Co Ltd Device a801
Flags: bus master, fast devsel, latency 0, IRQ 16, NUMA node 0
Memory at f1200000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable- Count=1/32 Maskable- 64bit+
Capabilities: [70] Express Endpoint, MSI 00
Capabilities: [b0] MSI-X: Enable+ Count=8 Masked-
Capabilities: [100] Advanced Error Reporting
Capabilities: [148] Device Serial Number 00-00-00-00-00-00-00-00
Capabilities: [158] Power Budgeting <?>
Capabilities: [168] Secondary PCI Express
Capabilities: [188] Latency Tolerance Reporting
Capabilities: [190] L1 PM Substates
Kernel driver in use: nvme

05:00.0 Network controller: Intel Corporation Dual Band Wireless-AC 3165 Plus Bluetooth (rev 99)
Subsystem: Intel Corporation Dual Band Wireless-AC 3165
Flags: bus master, fast devsel, latency 0, IRQ 140
Memory at f1100000 (64-bit, non-prefetchable) [size=8K]
Capabilities: [c8] Power Management version 3
Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [40] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Device Serial Number 30-24-32-ff-ff-66-26-46
Capabilities: [14c] Latency Tolerance Reporting
Capabilities: [154] L1 PM Substates
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi

06:00.0 SD Host controller: O2 Micro, Inc. SD/MMC Card Reader Controller (rev 01) (prog-if 01)
Subsystem: Lenovo Device 5068
Flags: bus master, fast devsel, latency 0, IRQ 137
Memory at f1001000 (32-bit, non-prefetchable) [size=4K]
Memory at f1000000 (32-bit, non-prefetchable) [size=2K]
Capabilities: [6c] Power Management version 3
Capabilities: [48] MSI: Enable+ Count=1/1 Maskable+ 64bit+
Capabilities: [80] Express Endpoint, MSI 00
Capabilities: [100] Virtual Channel
Capabilities: [200] Advanced Error Reporting
Capabilities: [230] Latency Tolerance Reporting
Kernel driver in use: sdhci-pci
Kernel modules: sdhci_pci

I uploaded the Xorg log as an attachment, it was too long to paste directly.

Re: picom fails to initialize backend

Reply #7
after installing picom 8.2 and run picom --diagnostic in konsole (under KDE), i become this output (i set nothing before):
Code: [Select]
$ picom --diagnostic
**Version:** vgit-2c9e7

### Extensions:

* Shape: Yes
* XRandR: Yes
* Present: Present

### Misc:

* Use Overlay: No (Another compositor is already running)
* Config file used: /etc/xdg/picom.conf

### Drivers (inaccurate):

AMDGPU, Radeon 

try run
Code: [Select]
picom --experimental-backends

i guess some is wrong set in your computer (in your DE/Xorg server)...
do you have the extensions  in /etc/X11/xorg.conf.d/60-extensions.conf set up correctly? Is the xorg server set up correctly?? Because in log i saw trying load intel driver, which probably shouldn't be, when you using ATI)?? 
my extension config: https://github.com/alium/share/blob/master/60-extensions.conf
Maybe can help that...  I just trying/guessing

Re: picom fails to initialize backend

Reply #8
Hi, As @alium said I would check if there is in the xorg configuration. Also, can you check these commands for testing purpose?

You have to kill all the picom instances that are running.

Code: [Select]
killall picom

Then you can try different backends.

Code: [Select]
picom --backend  glx
Code: [Select]
picom --backend xrender
Code: [Select]
picom --backend xr_glx_hybrid


Artix Linux Colombia

Re: picom fails to initialize backend

Reply #9
You have intel & amd video cards in your system. By default, I believe intel is used as the primary one.

Now let's try to use amd first and see if it can bring picom up,

Code: [Select]
xrandr --setprovideroffloadsink radeon Intel

Code: [Select]
DRI_PRIME=1 picom

If it still doesn't work, try "xrender" as the backend (default picom.conf uses glx) like others suggested.

Code: [Select]
picom --backend xrender

Re: picom fails to initialize backend

Reply #10
Thanks for your suggestions everyone, I tried running it with the different backends suggested and all options failed except
Code: [Select]
picom --backend xrender
Now it does work with this one, but there doesn't seem to be a difference as I still experience slight screen tearing when scrolling for example.

after installing picom 8.2 and run picom --diagnostic in konsole (under KDE), i become this output (i set nothing before):
Code: [Select]
$ picom --diagnostic
**Version:** vgit-2c9e7

### Extensions:

* Shape: Yes
* XRandR: Yes
* Present: Present

### Misc:

* Use Overlay: No (Another compositor is already running)
* Config file used: /etc/xdg/picom.conf

### Drivers (inaccurate):

AMDGPU, Radeon 

try run
Code: [Select]
picom --experimental-backends

i guess some is wrong set in your computer (in your DE/Xorg server)...
do you have the extensions  in /etc/X11/xorg.conf.d/60-extensions.conf set up correctly? Is the xorg server set up correctly?? Because in log i saw trying load intel driver, which probably shouldn't be, when you using ATI)?? 
my extension config: https://github.com/alium/share/blob/master/60-extensions.conf
Maybe can help that...  I just trying/guessing

To be honest I am unsure what I need to configure exactly to make this work, what exactly does the extensions configuration file do? I tried creating a 20-radeon.conf file as described here but Xorg wouldn't start. I attached the Xorg log after trying to launch it with that configuration.

You have intel & amd video cards in your system. By default, I believe intel is used as the primary one.

Now let's try to use amd first and see if it can bring picom up,

Code: [Select]
xrandr --setprovideroffloadsink radeon Intel

Code: [Select]
DRI_PRIME=1 picom

If it still doesn't work, try "xrender" as the backend (default picom.conf uses glx) like others suggested.

Code: [Select]
picom --backend xrender

Running
Code: [Select]
xrandr --setprovideroffloadsink radeon Intel
results in the following message:
Code: [Select]
Could not find provider with name radeon
I'm assuming the radeon card is not in use somehow? How would I go about setting this up? As mentioned before, the 20-radeon.conf file doesn't seem to work.

Re: picom fails to initialize backend

Reply #11
Code: [Select]
xrandr --listproviders

Re: picom fails to initialize backend

Reply #12
omg, please....
radeon is a obsolete driver for old ati graphics cards . all newer AMD graphics cards use and should use "amdgpu"  driver.
https://wiki.archlinux.org/index.php/AMDGPU

your Radeon 540/540X/550/550X / RX 540X/550/550X >>>>>>NEED<<<<<< AMDGPU driver, uninstall all obscure old drivers ( inclusive xf86-video-ati) please and install the right driver  xf86-video-amdgpu!
https://wiki.archlinux.org/index.php/Xorg#AMD

 :o  :o  ::)  ::)

Re: picom fails to initialize backend

Reply #13
Thanks @alium for the heads-up, I wasn't aware of that.

I replaced the ati driver with the amdgpu driver but everything behaves the same; I still can only execute picom with the xrender backend, anything else fails. Screentearing persists as well.  I tried creating a configuration file as shown here but then Xorg won't launch:

Code: [Select]
[  2273.894] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[  2273.897]
X.Org X Server 1.20.9
X Protocol Version 11, Revision 0
[  2273.905] Build Operating System: Linux Artix Linux
[  2273.907] Current Operating System: Linux artix 5.9.1-artix1-1 #1 SMP PREEMPT Sat, 17 Oct 2020 18:30:26 +0000 x86_64
[  2273.907] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=ce21cf75-d1ff-4e85-ab06-944b3622d3c1 rw loglevel=3 quiet cryptdevice=UUID=1fc08b4b-b4e0-4f32-a0bf-7e0c6fd486f1:cryptroot root=/dev/mapper/cryptroot resume=UUID=1fc08b4b-b4e0-4f32-a0bf-7e0c6fd486f1 resume_offset=307200
[  2273.914] Build Date: 02 September 2020  08:51:09AM
[  2273.916] 
[  2273.918] Current version of pixman: 0.40.0
[  2273.922] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[  2273.922] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  2273.928] (==) Log file: "/home/dominik/.local/share/xorg/Xorg.0.log", Time: Wed Oct 28 18:27:57 2020
[  2273.930] (==) Using config directory: "/etc/X11/xorg.conf.d"
[  2273.931] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  2273.931] (==) No Layout section.  Using the first Screen section.
[  2273.931] (==) No screen section available. Using defaults.
[  2273.931] (**) |-->Screen "Default Screen Section" (0)
[  2273.931] (**) |   |-->Monitor "<default monitor>"
[  2273.932] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[  2273.932] (**) |   |-->Device "AMD"
[  2273.932] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[  2273.932] (==) Automatically adding devices
[  2273.932] (==) Automatically enabling devices
[  2273.932] (==) Automatically adding GPU devices
[  2273.932] (==) Automatically binding GPU devices
[  2273.932] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  2273.932] (WW) The directory "/usr/share/fonts/misc" does not exist.
[  2273.932] Entry deleted from font path.
[  2273.932] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[  2273.932] Entry deleted from font path.
[  2273.932] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[  2273.932] Entry deleted from font path.
[  2273.932] (==) FontPath set to:
/usr/share/fonts/TTF,
/usr/share/fonts/100dpi,
/usr/share/fonts/75dpi
[  2273.932] (==) ModulePath set to "/usr/lib/xorg/modules"
[  2273.932] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[  2273.932] (II) Module ABI versions:
[  2273.932] X.Org ANSI C Emulation: 0.4
[  2273.932] X.Org Video Driver: 24.1
[  2273.932] X.Org XInput driver : 24.1
[  2273.932] X.Org Server Extension : 10.0
[  2273.932] (++) using VT number 1

[  2273.933] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_32
[  2273.933] (II) xfree86: Adding drm device (/dev/dri/card0)
[  2273.933] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card0
[  2273.933] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 10 paused 0
[  2273.933] (II) xfree86: Adding drm device (/dev/dri/card1)
[  2273.933] (II) Platform probe for /sys/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/drm/card1
[  2273.934] (II) systemd-logind: got fd for /dev/dri/card1 226:1 fd 11 paused 0
[  2273.935] (--) PCI:*([email protected]:2:0) 8086:5917:17aa:5069 rev 7, Mem @ 0xf0000000/16777216, 0xe0000000/268435456, I/O @ 0x0000e000/64, BIOS @ 0x????????/131072
[  2273.935] (--) PCI: ([email protected]:0:0) 1002:699f:17aa:5069 rev 192, Mem @ 0xc0000000/268435456, 0xd0000000/2097152, 0xf1400000/262144, I/O @ 0x0000d000/256, BIOS @ 0x????????/131072
[  2273.935] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[  2273.935] (II) LoadModule: "glx"
[  2273.935] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  2273.936] (II) Module glx: vendor="X.Org Foundation"
[  2273.936] compiled for 1.20.9, module version = 1.0.0
[  2273.936] ABI class: X.Org Server Extension, version 10.0
[  2273.936] (II) LoadModule: "amdgpu"
[  2273.936] (II) Loading /usr/lib/xorg/modules/drivers/amdgpu_drv.so
[  2273.936] (II) Module amdgpu: vendor="X.Org Foundation"
[  2273.936] compiled for 1.20.8, module version = 19.1.0
[  2273.936] Module class: X.Org Video Driver
[  2273.936] ABI class: X.Org Video Driver, version 24.1
[  2273.936] (II) AMDGPU: Driver for AMD Radeon:
All GPUs supported by the amdgpu kernel driver
[  2273.937] (EE) No devices detected.
[  2273.937] (EE)
Fatal server error:
[  2273.937] (EE) no screens found(EE)
[  2273.937] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
 for help.
[  2273.937] (EE) Please also check the log file at "/home/dominik/.local/share/xorg/Xorg.0.log" for additional information.
[  2273.937] (EE)
[  2273.943] (EE) Server terminated with error (1). Closing log file.

Code: [Select]
xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x46 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 3 outputs: 4 associated providers: 1 name:modesetting
Provider 1: id: 0xcd cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 5 outputs: 0 associated providers: 1 name:Radeon 500 Series @ pci:0000:02:00.0

do I need to setup the 20-amdgpu.conf file differently somehow?

Re: picom fails to initialize backend

Reply #14
Use the index to set the amd card first,

Code: [Select]
xrandr --setprovideroffloadsink 1 0

then, try to launch picom,

Code: [Select]
DRI_PRIME=1 picom