0 providers from xrandr

Hi there :smiley: .

I’m trying to understand why the the xrandr --listproviders gives zero providers:

xrandr --listproviders 
Providers: number : 0

I’ve read that xrandr sets proprieties of the screen and this particular command can be used to check the available graphics cards. This doesn’t make sense because inxi -F gives:

  Host: espectro-estranho Kernel: 5.10.59-1-MANJARO x86_64 bits: 64 
  Desktop: GNOME 40.3 Distro: Manjaro Linux 
  Type: Laptop System: LENOVO product: 20KS0039PG v: ThinkPad E580 
  serial: <superuser required> 
  Mobo: LENOVO model: 20KS0039PG v: SDK0J40697 WIN 
  serial: <superuser required> UEFI: LENOVO v: R0PET47W (1.24 ) 
  date: 08/29/2018 
  ID-1: BAT0 charge: 41.4 Wh (100.0%) condition: 41.4/45.7 Wh (90.6%) 
  Info: Quad Core model: Intel Core i7-8550U bits: 64 type: MT MCP cache: 
  L2: 8 MiB 
  Speed: 2801 MHz min/max: 400/4000 MHz Core speeds (MHz): 1: 2801 2: 2800 
  3: 2800 4: 2795 5: 2795 6: 2799 7: 2798 8: 2799 
  Device-1: Intel UHD Graphics 620 driver: i915 v: kernel 
  Device-2: AMD Lexa PRO [Radeon 540/540X/550/550X / RX 540X/550/550X] 
  driver: amdgpu v: kernel 
  Device-3: IMC Networks Integrated Camera type: USB driver: uvcvideo 
  Display: wayland server: X.org 1.20.13 driver: loaded: amdgpu,ati,intel 
  unloaded: modesetting resolution: <missing: xdpyinfo> 
  OpenGL: renderer: Mesa Intel UHD Graphics 620 (KBL GT2) v: 4.6 Mesa 21.1.6 
  Device-1: Intel Sunrise Point-LP HD Audio driver: snd_hda_intel 
  Sound Server-1: ALSA v: k5.10.59-1-MANJARO running: yes 
  Sound Server-2: PulseAudio v: 15.0 running: yes 
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  driver: r8169 
  IF: enp3s0 state: down mac: e8:6a:64:5d:67:6e 
  Device-2: Intel Dual Band Wireless-AC 3165 Plus Bluetooth driver: iwlwifi 
  IF: wlp5s0 state: up mac: 1c:1b:b5:90:55:a1 
  Local Storage: total: 1.14 TiB used: 176.73 GiB (15.1%) 
  ID-1: /dev/nvme0n1 vendor: Lenovo model: LENSE30256GMSP34MEAT3TA 
  size: 238.47 GiB 
  ID-2: /dev/sda vendor: Seagate model: ST1000LM035-1RK172 size: 931.51 GiB 
  ID-1: / size: 48.83 GiB used: 36.24 GiB (74.2%) fs: btrfs 
  dev: /dev/nvme0n1p3 
  ID-2: /boot/efi size: 511 MiB used: 568 KiB (0.1%) fs: vfat 
  dev: /dev/nvme0n1p1 
  ID-3: /home size: 184.16 GiB used: 140.25 GiB (76.2%) fs: btrfs 
  dev: /dev/nvme0n1p4 
  ID-4: /var/log size: 48.83 GiB used: 36.24 GiB (74.2%) fs: btrfs 
  dev: /dev/nvme0n1p3 
  ID-1: swap-1 type: partition size: 4.98 GiB used: 246 MiB (4.8%) 
  dev: /dev/nvme0n1p2 
  System Temperatures: cpu: 49.0 C mobo: 0.0 C gpu: amdgpu temp: 42.0 C 
  Fan Speeds (RPM): cpu: 0 
  Processes: 310 Uptime: 12h 37m Memory: 7.54 GiB used: 3.68 GiB (48.8%) 
  Shell: Zsh inxi: 3.3.06

it clearly picks up the two graphics cards.

In addition, the command

glxinfo | grep "OpenGL renderer"  
OpenGL renderer string: Mesa Intel(R) UHD Graphics 620 (KBL GT2)

correctly picks up the integrated graphics card and the command

DRI_PRIME=1 glxinfo | grep "OpenGL renderer"
OpenGL renderer string: Radeon 500 Series (POLARIS12, DRM 3.40.0, 5.10.59-1-MANJARO, LLVM 12.0.1)

picks up the dedicated one.

What am I missing?

xrandr is a xorg utility, and you run your session on

For Gnome on wayland you can use Oschowa / gnome-randr · GitLab or this AUR package http://aur.archlinux.org/packages/wlr-randr

1 Like

Thanks for your reply.

Yes, I’ve read something about display servers as it seems to have to do with that. I wasn’t aware that xrandr was a xorg utility. Is xrandr --listproviders just a way to check graphics cards if we are running Xorg server? My question is if running inxi -F is enough to know if my graphics cards are recognized properly?

I’ve installed wlr-randr and just typed wlr-randr in a terminal and it outputted

compositor doesn't support wlr-output-management-unstable-v1

I also tried to run the gnome-randr.py script by typing python3 gnome-randr.py and it just outputted properties of the screen.

I don’t know if I did it correctly.