You are not logged in.
Hello,
I was using X11 for long time, but I read / watch lot of videos where people said that Wayland is finally usable *cough*, so I gave a try, I installed it, and I cannot login into Xorg session anymore, and I cannot use my Nvidia GPU under GNOME Wayland, I use nvidia proprietary drivers and newest packages to this day.
I even recorded video of this behavior https://www.youtube.com/watch?v=3kFXb0uB9AE, as you can see when I try to login into GNOME Xorg session it just logouts me into login screen again.
I use iGPU and Nvidia GPU, so I tried to power only Nvidia GPU in BIOS/UEFI, and I was able to log into GNOME Wayland but only with Software rendering, I dont understand why.
When I login into GNOME Wayland using my iGPU everything works just fine, but I need to use Nvidia GPU (because I transmit video from that card into other PC with capture card + because of performance).
Thanks Wayland.. :(
Last edited by tomsk (2023-09-10 19:51:45)
I use several linux distros like: Archlinux, Ubuntu, Fedora, Linux Mint
Offline
when I try to login into GNOME Xorg session it just logouts me into login screen again.
Please post your Xorg log, https://wiki.archlinux.org/title/Xorg#General
Please post your complete system journal for the boot:
sudo journalctl -b | curl -F 'file=@-' 0x0.stI cannot use my Nvidia GPU under GNOME Wayland
https://wiki.archlinux.org/title/GDM#Wa … DIA_driver
https://wiki.archlinux.org/title/PRIME# … figuration
Offline
Xorg log:
[ 204.890] (--) Log file renamed from "/home/tomsk/.local/share/xorg/Xorg.pid-5876.log" to "/home/tomsk/.local/share/xorg/Xorg.0.log"
[ 204.890]
X.Org X Server 1.21.1.8
X Protocol Version 11, Revision 0
[ 204.890] Current Operating System: Linux tomsk-PC 6.4.12-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Thu, 24 Aug 2023 00:37:46 +0000 x86_64
[ 204.890] Kernel command line: BOOT_IMAGE=/vmlinuz-linux-zen root=UUID=2f9d47f2-f9b5-4b5b-97ea-e412c66f12b5 rw loglevel=3 quiet intel_iommu=on
[ 204.890]
[ 204.890] Current version of pixman: 0.42.2
[ 204.890] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 204.890] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 204.890] (==) Log file: "/home/tomsk/.local/share/xorg/Xorg.0.log", Time: Sun Sep 10 21:36:13 2023
[ 204.890] (==) Using config file: "/etc/X11/xorg.conf"
[ 204.890] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 204.890] (==) ServerLayout "Layout0"
[ 204.890] (**) |-->Screen "Screen0" (0)
[ 204.890] (**) | |-->Monitor "Monitor0"
[ 204.890] (**) | |-->Device "Device0"
[ 204.890] (**) |-->Input Device "Keyboard0"
[ 204.890] (**) |-->Input Device "Mouse0"
[ 204.890] (==) Automatically adding devices
[ 204.890] (==) Automatically enabling devices
[ 204.890] (==) Automatically adding GPU devices
[ 204.890] (==) Automatically binding GPU devices
[ 204.890] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 204.890] (WW) The directory "/usr/share/fonts/misc" does not exist.
[ 204.890] Entry deleted from font path.
[ 204.890] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[ 204.890] Entry deleted from font path.
[ 204.890] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 204.890] Entry deleted from font path.
[ 204.890] (==) FontPath set to:
/usr/share/fonts/TTF,
/usr/share/fonts/100dpi,
/usr/share/fonts/75dpi
[ 204.890] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 204.890] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[ 204.890] (WW) Disabling Keyboard0
[ 204.890] (WW) Disabling Mouse0
[ 204.890] (II) Module ABI versions:
[ 204.890] X.Org ANSI C Emulation: 0.4
[ 204.890] X.Org Video Driver: 25.2
[ 204.890] X.Org XInput driver : 24.4
[ 204.890] X.Org Server Extension : 10.0
[ 204.892] (++) using VT number 2
[ 204.893] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_313
[ 204.893] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 204.893] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card1
[ 204.894] (II) systemd-logind: got fd for /dev/dri/card1 226:1 fd 14 paused 0
[ 204.896] (--) PCI: (0@0:2:0) 8086:0412:1043:8534 rev 6, Mem @ 0xf7400000/4194304, 0xd0000000/268435456, I/O @ 0x0000f000/64
[ 204.896] (--) PCI:*(1@0:0:0) 10de:1c03:1458:3716 rev 161, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/131072
[ 204.896] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 204.896] (II) LoadModule: "glx"
[ 204.896] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 204.897] (II) Module glx: vendor="X.Org Foundation"
[ 204.897] compiled for 1.21.1.8, module version = 1.0.0
[ 204.897] ABI class: X.Org Server Extension, version 10.0
[ 204.897] (II) LoadModule: "nvidia"
[ 204.897] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 204.897] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 204.898] compiled for 1.6.99.901, module version = 1.0.0
[ 204.898] Module class: X.Org Video Driver
[ 204.898] (II) NVIDIA dlloader X Driver 535.104.05 Sat Aug 19 01:01:11 UTC 2023
[ 204.898] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 204.898] (II) Loading sub module "fb"
[ 204.898] (II) LoadModule: "fb"
[ 204.898] (II) Module "fb" already built-in
[ 204.898] (II) Loading sub module "wfb"
[ 204.898] (II) LoadModule: "wfb"
[ 204.898] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 204.898] (II) Module wfb: vendor="X.Org Foundation"
[ 204.898] compiled for 1.21.1.8, module version = 1.0.0
[ 204.898] ABI class: X.Org ANSI C Emulation, version 0.4
[ 204.902] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
[ 204.902] (EE) NVIDIA: system's kernel log for additional error messages and
[ 204.902] (EE) NVIDIA: consult the NVIDIA README for details.
[ 204.902] (EE) No devices detected.
[ 204.902] (EE)
Fatal server error:
[ 204.902] (EE) no screens found(EE)
[ 204.902] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 204.902] (EE) Please also check the log file at "/home/tomsk/.local/share/xorg/Xorg.0.log" for additional information.
[ 204.902] (EE)
[ 204.915] (EE) Server terminated with error (1). Closing log file.journalctl: http://0x0.st/Hffg.bin
yes I already checked these two links, but I dont use PRIME anymore, I used my Nvidia GPU as my primary GPU (not for offloading), and that GDM issue I use much more newer nvidia driver --> nvidia 535.104.05-2
I use several linux distros like: Archlinux, Ubuntu, Fedora, Linux Mint
Offline
https://wiki.archlinux.org/title/NVIDIA … de_setting
The nvidia kernel module isn't loaded (at all), despite the PCI device showing up. nouveau isn't loaded either.
Since you're using the zen kernel:
dkms status
pacman -Qs 'nvidia|headers'I used my Nvidia GPU as my primary GPU
Ok, but
[ 204.890] (==) Using config file: "/etc/X11/xorg.conf"
[ 204.890] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 204.890] (==) ServerLayout "Layout0"
[ 204.890] (**) |-->Screen "Screen0" (0)
[ 204.890] (**) | |-->Monitor "Monitor0"
[ 204.890] (**) | |-->Device "Device0"
[ 204.890] (**) |-->Input Device "Keyboard0"
[ 204.890] (**) |-->Input Device "Mouse0"is nvidia-settings generated trash, please have a look at and adapt https://wiki.archlinux.org/title/PRIME# … rimary_GPU
Offline
dkms status ─╯
Error! Could not locate dkms.conf file.
File: /var/lib/dkms/vmware-workstation/17.0.2_21581411/source/dkms.conf does not exist.
anbox-modules-ashmem/r1240.c1e7550: added
anbox-modules-binder/r1240.c1e7550: added
hid-xpadneo/v0.9.5, 6.4.12-arch1-1, x86_64: installed
hid-xpadneo/v0.9.5, 6.4.12-zen1-1-zen, x86_64: installed
openrazer-driver/3.6.1, 6.4.12-arch1-1, x86_64: installed
openrazer-driver/3.6.1, 6.4.12-zen1-1-zen, x86_64: installed
v4l2loopback/0.12.7, 6.4.12-arch1-1, x86_64: installed
v4l2loopback/0.12.7, 6.4.12-zen1-1-zen, x86_64: installed
v4l2loopback-dc/2.0.0, 6.4.12-arch1-1, x86_64: installed
v4l2loopback-dc/2.0.0, 6.4.12-zen1-1-zen, x86_64: installed
vboxhost/6.1.12_OSE: added
vboxhost/6.1.14_OSE: added
vmware-workstation/16.0.0_16894299: added
vmware-workstation/16.1.0_17198959: addedand
pacman -Qs 'nvidia|headers' ─╯
local/acl 2.3.1-3
Access control list utilities, libraries and headers
local/egl-wayland 2:1.1.12-1
EGLStream-based Wayland external platform
local/lib32-nvidia-utils 535.104.05-1
NVIDIA drivers utilities (32-bit)
local/libajantv2 1:16.2_bugfix5-1
AJA NTV2 Open Source Static Libs and Headers for building applications that only wish to statically link against
local/libcups 1:2.4.6-1
OpenPrinting CUPS - client libraries and headers
local/libvdpau 1.5-2
Nvidia VDPAU library
local/libxnvctrl 535.104.05-1
NVIDIA NV-CONTROL X extension
local/linux-api-headers 6.4-1
Kernel headers sanitized for use in userspace
local/linux-headers 6.4.12.arch1-1
Headers and scripts for building modules for the Linux kernel
local/linux-zen-headers 6.4.12.zen1-1
Headers and scripts for building modules for the Linux ZEN kernel
local/nccl 2.18.3-1
Library for NVIDIA multi-GPU and multi-node collective communication primitives
local/nvidia 535.104.05-2
NVIDIA drivers for linux
local/nvidia-prime 1.0-4
NVIDIA Prime Render Offload configuration and utilities
local/nvidia-settings 535.104.05-1
Tool for configuring the NVIDIA graphics driver
local/nvidia-utils 535.104.05-1
NVIDIA drivers utilities
local/opencl-headers 2:2023.04.17-2
OpenCL (Open Computing Language) header files
local/opencl-nvidia 535.104.05-1
OpenCL implemention for NVIDIA
local/pyopencl-headers 1:2023.1-1
A complete, object-oriented language binding of OpenCL to Python
local/python-authheaders 0.15.2-3
Library for the generation of email authentication headers
local/python-authres 1.2.0-9
Python Authentication-Results headers generation and parsing
local/python-cppy 1.2.1-6
A collection of C++ headers which make it easier to write Python C extension modules
local/python-django-csp 3.7-3
Django-CSP adds Content-Security-Policy headers to Django
local/python-flask-talisman 1.0.0-1
HTTP security headers for Flask
local/python-imagesize 1.4.1-4
Analyzes JPEG/JPEG 2000/PNG/GIF/TIFF/SVG/Netpbm/WebP image headers and returns image size or DPI
local/spice-protocol 0.14.4-1
Headers for SPICE protocol
local/vulkan-headers 1:1.3.262-1 (vulkan-devel)
Vulkan header files
local/wxwidgets-common 3.2.2.1-2
Common libraries and headers for wxwidgets
local/xorgproto 2023.2-1
combined X.Org X11 Protocol headersisnt there some automatic tool for /etc/X11/xorg.conf.d/10-gpu.conf? Im confused what to write there ![]()
I use several linux distros like: Archlinux, Ubuntu, Fedora, Linux Mint
Offline
You've no nvidia kernel package suitable for the zen kernel installed, this has actually nothing to do w/ wayland
You've the zen headers and a couple of dkms packages, but you'll need nvidia-dkms along the zen kernel.
The wiki also links https://us.download.nvidia.com/XFree86/ … ndr14.html
You get the PCI Bus ID's out of lspci (there's a decimal/hexadecimal pitfall, but it doesn't apply for the relevant low digits)
Just make sure to not use 'Driver "intel"' but 'Driver "modesetting"' as in the nvidia readme.
Offline
Just question, why I need to set up that /etc/X11/xorg.conf.d/10-gpu.conf? Because I would like to use Wayland with Nvidia GPU (I installed nvidia-dkms now).
I use several linux distros like: Archlinux, Ubuntu, Fedora, Linux Mint
Offline
Cannot log into Xorg session or use Nvidia GPU under Wayland
A proper xorg config is mostly relevant for running Xorg session, perhaps for xwayland.
If you now dropped that objective, you also dropped the need to configure Xorg…
Offline
Now I can login into Xorg session but I have just weird resolutions like 1920x1080i and not 1920x1080p, but it is probably because of wrong X11 configuration, so now I wonder that second part, that Nvidia GPU under Wayland ![]()
I use several linux distros like: Archlinux, Ubuntu, Fedora, Linux Mint
Offline
Did you enable drm modesetting and follow the other instructions on the GDM wiki?
If you care about Xorg, please post an updated log.
Offline
Wayland
Nvidia GPU works under Wayland now, but I have one more issue, as you can see on screenshot below, I have multi-monitor setup, let me explain.. #1 is my primary monitor (HDMI)... 2# is my capture card, so it should be mirrored from my #1 primary monitor... 3# is same primary monitor as #1 but it is DVI input from iGPU, this should be disabled... 4# is my second monitor which should be powered by iGPU.
In Xorg I used xandr for it, but in Wayland I dont know what to use it.
Xorg
I care about Xorg because I would like to use it as fallback system.
Sending updated Xorg:
[ 37.931] (--) Log file renamed from "/home/tomsk/.local/share/xorg/Xorg.pid-2233.log" to "/home/tomsk/.local/share/xorg/Xorg.0.log"
[ 37.931]
X.Org X Server 1.21.1.8
X Protocol Version 11, Revision 0
[ 37.931] Current Operating System: Linux tomsk-PC 6.4.12-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Thu, 24 Aug 2023 00:37:46 +0000 x86_64
[ 37.932] Kernel command line: BOOT_IMAGE=/vmlinuz-linux-zen root=UUID=2f9d47f2-f9b5-4b5b-97ea-e412c66f12b5 rw loglevel=3 quiet intel_iommu=on
[ 37.932]
[ 37.932] Current version of pixman: 0.42.2
[ 37.932] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 37.932] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 37.932] (==) Log file: "/home/tomsk/.local/share/xorg/Xorg.0.log", Time: Sun Sep 10 22:10:48 2023
[ 37.932] (==) Using config file: "/etc/X11/xorg.conf"
[ 37.932] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 37.932] (==) ServerLayout "Layout0"
[ 37.932] (**) |-->Screen "Screen0" (0)
[ 37.932] (**) | |-->Monitor "Monitor0"
[ 37.932] (**) | |-->Device "Device0"
[ 37.932] (**) |-->Input Device "Keyboard0"
[ 37.932] (**) |-->Input Device "Mouse0"
[ 37.932] (==) Automatically adding devices
[ 37.932] (==) Automatically enabling devices
[ 37.932] (==) Automatically adding GPU devices
[ 37.932] (==) Automatically binding GPU devices
[ 37.932] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 37.932] (WW) The directory "/usr/share/fonts/misc" does not exist.
[ 37.932] Entry deleted from font path.
[ 37.932] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[ 37.932] Entry deleted from font path.
[ 37.932] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 37.932] Entry deleted from font path.
[ 37.932] (==) FontPath set to:
/usr/share/fonts/TTF,
/usr/share/fonts/100dpi,
/usr/share/fonts/75dpi
[ 37.932] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 37.932] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[ 37.932] (WW) Disabling Keyboard0
[ 37.932] (WW) Disabling Mouse0
[ 37.932] (II) Module ABI versions:
[ 37.932] X.Org ANSI C Emulation: 0.4
[ 37.932] X.Org Video Driver: 25.2
[ 37.932] X.Org XInput driver : 24.4
[ 37.932] X.Org Server Extension : 10.0
[ 37.933] (++) using VT number 2
[ 37.935] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_35
[ 37.935] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 37.935] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card1
[ 37.936] (II) systemd-logind: got fd for /dev/dri/card1 226:1 fd 14 paused 0
[ 37.937] (--) PCI: (0@0:2:0) 8086:0412:1043:8534 rev 6, Mem @ 0xf7400000/4194304, 0xd0000000/268435456, I/O @ 0x0000f000/64
[ 37.937] (--) PCI:*(1@0:0:0) 10de:1c03:1458:3716 rev 161, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/131072
[ 37.937] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 37.937] (II) LoadModule: "glx"
[ 37.938] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 37.939] (II) Module glx: vendor="X.Org Foundation"
[ 37.939] compiled for 1.21.1.8, module version = 1.0.0
[ 37.939] ABI class: X.Org Server Extension, version 10.0
[ 37.939] (II) LoadModule: "nvidia"
[ 37.939] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 37.939] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 37.939] compiled for 1.6.99.901, module version = 1.0.0
[ 37.939] Module class: X.Org Video Driver
[ 37.939] (II) NVIDIA dlloader X Driver 535.104.05 Sat Aug 19 01:01:11 UTC 2023
[ 37.939] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 37.939] (II) Loading sub module "fb"
[ 37.939] (II) LoadModule: "fb"
[ 37.939] (II) Module "fb" already built-in
[ 37.939] (II) Loading sub module "wfb"
[ 37.939] (II) LoadModule: "wfb"
[ 37.939] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 37.939] (II) Module wfb: vendor="X.Org Foundation"
[ 37.939] compiled for 1.21.1.8, module version = 1.0.0
[ 37.939] ABI class: X.Org ANSI C Emulation, version 0.4
[ 37.943] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
[ 37.943] (EE) NVIDIA: system's kernel log for additional error messages and
[ 37.943] (EE) NVIDIA: consult the NVIDIA README for details.
[ 37.943] (EE) No devices detected.
[ 37.943] (EE)
Fatal server error:
[ 37.943] (EE) no screens found(EE)
[ 37.943] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 37.944] (EE) Please also check the log file at "/home/tomsk/.local/share/xorg/Xorg.0.log" for additional information.
[ 37.944] (EE)
[ 37.959] (EE) Server terminated with error (1). Closing log file.journalctl: http://0x0.st/HfOa.bin
I use several linux distros like: Archlinux, Ubuntu, Fedora, Linux Mint
Offline
but in Wayland I dont know what to use it
Whatever your wayland compositor (gnome/mutter) offers - "wayland" isn't a display server and very much tied to the specific compositor at hand.
There's https://aur.archlinux.org/packages/wlr-randr that works w/ *some* compositors but idk whether gnome is one from them.
The X11 server for that log had the nvidia-settings generated config in place and failed lacking the nvidia kernel module, ie. is likely dated.
Offline
I tried to install wlr-randr, but I get:
compositor doesn't support wlr-output-management-unstable-v1
As I understand compositor only makes desktop more beautiful, like transparency of windows, drop shadows etc, so it is not important / mandatory?
X11:
Why it is lacking kernel module? I installed nvidia-dkms and my grub command line contains:
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet intel_iommu=on nvidia_drm.modeset=1"I use several linux distros like: Archlinux, Ubuntu, Fedora, Linux Mint
Offline
As I understand compositor only makes desktop more beautiful, like transparency of windows, drop shadows etc, so it is not important / mandatory?
That describes X compositors, wayland compositors do provide those things but also functionality that under X is provided by X11 itself and Window managers.
Tl;DR: without a wayland compositor wayland is useless.
wlr-randr uses the wlroots library that tries to add missing functionality to wayland. Gnome doesn't use or support it and probably never will.
The only method to configure screens under gnome wayland is to use whatever application / extension gnome provides for such configuration.
Please post the output of
# dkms status(run with root rights)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
output from dkms status:
sudo dkms status ─╯
[sudo] password for tomsk:
Error! Could not locate dkms.conf file.
File: /var/lib/dkms/vmware-workstation/17.0.2_21581411/source/dkms.conf does not exist.
anbox-modules-ashmem/r1240.c1e7550: added
anbox-modules-binder/r1240.c1e7550: added
hid-xpadneo/v0.9.5, 6.4.12-arch1-1, x86_64: installed
hid-xpadneo/v0.9.5, 6.4.12-zen1-1-zen, x86_64: installed
nvidia/535.104.05, 6.4.12-arch1-1, x86_64: installed
nvidia/535.104.05, 6.4.12-zen1-1-zen, x86_64: installed
openrazer-driver/3.6.1, 6.4.12-arch1-1, x86_64: installed
openrazer-driver/3.6.1, 6.4.12-zen1-1-zen, x86_64: installed
v4l2loopback/0.12.7, 6.4.12-arch1-1, x86_64: installed
v4l2loopback/0.12.7, 6.4.12-zen1-1-zen, x86_64: installed
v4l2loopback-dc/2.0.0, 6.4.12-arch1-1, x86_64: installed
v4l2loopback-dc/2.0.0, 6.4.12-zen1-1-zen, x86_64: installed
vboxhost/6.1.12_OSE: added
vboxhost/6.1.14_OSE: added
vmware-workstation/16.0.0_16894299: added
vmware-workstation/16.1.0_17198959: addedthank you for explanation of wayland compositors ![]()
Do you know some GNOME tool to achieve that display configuration?
I tried GNOME Settings, but this is screenshot when I try it: https://imgur.com/a/D226NuJ it says that I cannot even disable some display due to hardware limitations, I had same error under X11 in the past too, but I solved it by xrandr.
I use several linux distros like: Archlinux, Ubuntu, Fedora, Linux Mint
Offline
I suspect that the xorg log is simply dated, did you
a) reboot
b) try to start an X11 session
after installing nvidia-dkms?
No idea about gnome, I don't hate myself *that* much…
Offline
No idea about gnome, I don't hate myself *that* much…
Haha
I was long time KDE user, but Im trying GNOME for like 1 year now?
I found that there is come config .config/monitors.xml (I think it is for Wayland?), I deleted it, let gnome settings to generate new one (because I had there like 10 configurations and it was so confusing, now I have just one configuration), I corrected values like setting 60Hz to all monitors from weird values like 59Hz, I tried to disable third monitor in that XML, restarted PC, and nothing changed, refresh rates are still like 59Hz and that third monitor is not disabled ![]()
This is content of that xml:
<monitors version="2">
<configuration>
<logicalmonitor>
<x>0</x>
<y>0</y>
<scale>1</scale>
<primary>yes</primary>
<monitor>
<monitorspec>
<connector>DP-2</connector>
<vendor>GSM</vendor>
<product>M2362D</product>
<serial>0x01010101</serial>
</monitorspec>
<mode>
<width>1920</width>
<height>1080</height>
<rate>60.000</rate>
</mode>
</monitor>
</logicalmonitor>
<disabled>
<monitorspec>
<connector>HDMI-1</connector>
<vendor>GSM</vendor>
<product>M2362D</product>
<serial>0x01010101</serial>
</monitorspec>
</disabled>
<logicalmonitor>
<x>5760</x>
<y>0</y>
<scale>1</scale>
<monitor>
<monitorspec>
<connector>HDMI-2</connector>
<vendor>PHL</vendor>
<product>Philips 190B</product>
<serial> BZ 127977</serial>
</monitorspec>
<mode>
<width>1280</width>
<height>1024</height>
<rate>60.000</rate>
</mode>
</monitor>
</logicalmonitor>
<logicalmonitor>
<x>1920</x>
<y>0</y>
<scale>1</scale>
<monitor>
<monitorspec>
<connector>HDMI-3</connector>
<vendor>CEN</vendor>
<product>EVGA XR1 Pro</product>
<serial>66VIDEO</serial>
</monitorspec>
<mode>
<width>1920</width>
<height>1080</height>
<rate>60.000</rate>
</mode>
</monitor>
</logicalmonitor>
</configuration>
</monitors>+ all I need is that last logical monitor EVGA XR1 Pro should clone primary monitor (first one)
X11:
Yes I rebooted PC multiple times since that ![]()
I use several linux distros like: Archlinux, Ubuntu, Fedora, Linux Mint
Offline
Did you also try to start an X11 session?
The rate is probably a rounding error - if you check xrandr, there'll often be 59.9Hz or so.
Gnome uses config/monitors.xml for every display server, but it's also edited and written by the GUI thing.
I guess it cannot properly handle reverse prime outputs (and idk whether gnome/wayland can)
Offline
What do you mean by that it cannot handle reverse prime outputs? Should I change frame rates back to 59?
I use several linux distros like: Archlinux, Ubuntu, Fedora, Linux Mint
Offline
https://wiki.archlinux.org/title/PRIME#Reverse_PRIME
I'd use the config GUI and leave the resulting file alone.
(At best, gnome will simply ignore the values there)
Offline
Do you know any GUI config application for it? Because I tried to run xrandr under Wayland and I got:
xrandr --output DP-2 --same-as HDMI-1 --output HDMI-2 --output HDMI-3 --off ─╯
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 140 (RANDR)
Minor opcode of failed request: 7 (RRSetScreenSize)
Serial number of failed request: 43
Current serial number in output stream: 44I know that I should run it under X11, but when Im logged in X11 session I see only my primary monitor and capture card, I dont see my second monitor.
Note:
I see my second monitor in Wayland (I sent screenshot), but I see only black screen
but monitor is powered, I wonder why, I had exactly same setup before, only thing I changed was migrating from X11 to Wayland and changing Linux kernel for Linux-zen kernel.
I use several linux distros like: Archlinux, Ubuntu, Fedora, Linux Mint
Offline
You need to keep X11 and wayland apart, you cannot handle one via the other.
xrandr can only do meaningful stuff in X11, under wayland it takes to a nested X11 server (xwayland)
As for your X11 monitor issues, post an udpated Xorg log - the one in #11 cannot be it, the server failed to start.
Possibly also your system journal.
And get rid of the xorg.conf.
Offline
Removing xorg.conf helped to get life to second monitor ![]()
So I entered into X11 with both monitors running, and I ran xrandr and it looks like X11 is finished how I had it before, working, screenshot with commands --> https://imgur.com/a/MaqdIrD
monitors.xml now contains:
<monitors version="2">
<configuration>
<logicalmonitor>
<x>0</x>
<y>999</y>
<scale>1</scale>
<primary>yes</primary>
<monitor>
<monitorspec>
<connector>DP-3</connector>
<vendor>GSM</vendor>
<product>M2362D</product>
<serial>0x01010101</serial>
</monitorspec>
<mode>
<width>1920</width>
<height>1080</height>
<rate>60.000</rate>
</mode>
</monitor>
<monitor>
<monitorspec>
<connector>HDMI-0</connector>
<vendor>CEN</vendor>
<product>EVGA XR1 Pro</product>
<serial>66VIDEO</serial>
</monitorspec>
<mode>
<width>1920</width>
<height>1080</height>
<rate>60.000</rate>
</mode>
</monitor>
</logicalmonitor>
<logicalmonitor>
<x>1920</x>
<y>0</y>
<scale>1</scale>
<monitor>
<monitorspec>
<connector>HDMI2</connector>
<vendor>PHL</vendor>
<product>Philips 190B</product>
<serial> BZ 127977</serial>
</monitorspec>
<mode>
<width>1280</width>
<height>1024</height>
<rate>60.020</rate>
</mode>
</monitor>
</logicalmonitor>
<disabled>
<monitorspec>
<connector>HDMI1</connector>
<vendor>GSM</vendor>
<product>M2362D</product>
<serial>0x01010101</serial>
</monitorspec>
</disabled>
</configuration>
</monitors>Wayland status:
Looks like it is ignoring configuration in monitors.xml which was generated in X11, and my second monitor has black screen but it is powered on.
Wayland screenshot: https://imgur.com/YlBLbLv
Last edited by tomsk (2023-09-11 13:39:04)
I use several linux distros like: Archlinux, Ubuntu, Fedora, Linux Mint
Offline
At least reverse-prime when running on the nvidia chip seems to be an open bug, https://gitlab.gnome.org/GNOME/mutter/-/issues/2295
Offline
Whaat? It is 1 year old bug and still not fixed?
So there is no solution in my situation?
I use several linux distros like: Archlinux, Ubuntu, Fedora, Linux Mint
Offline