You are not logged in.
I use Arch Linux on Acer Aspire E5-571G for four years, and nvidia worked fine all this time. But it broke a few days ago.
I tried many instructions from the internet (including this topic), but nothing helped for me.
I also tried to reinstall Arch Linux from scratch, but it is still broken.
I tried to remove the glamoregl module, but it does not help.
I tried to install nvidia-390 instead of the latest nvidia package, but it does not help.
This xorg.conf worked fine for many months:
Section "Module"
Load "modesetting"
EndSection
Section "Device"
Identifier "nvidia"
Driver "nvidia"
BusID "PCI:3:0:0"
Option "AllowEmptyInitialConfiguraion"
EndSection
But today xrandr does not work:
# xrandr --setprovideroutputsource modesetting NVIDIA-0
# xrandr --auto
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: 31
Current serial number in output stream: 32
Why? What does this error mean? Why it worked few days ago and does not work today? Is this a bug with latest updates? How to fix it?
Xorg.0.log file: https://pastebin.com/U93pNGmH
Offline
Hmmm, this is error is present if xorg tty is not active. But when i activate it (Alt+F1) before using xrandr (sleep 5), there is another error:
[ 8801.726] (II) Initializing extension NV-CONTROL
[ 8801.727] (EE) modeset(G0): failed to set mode: No space left on device
[ 8801.727] (EE)
Fatal server error:
[ 8801.728] (EE) failed to create screen resources(EE)
But I still don't know what is it and how to fix it
Xorg.0.log with this error: https://pastebin.com/Jd6hG2we
Offline
I recon these outputs are both from running xrandr on a tty that doesn't have X running? FWIW if you would want to test that you should export DISPLAY to the value your xorg is running on.
How do you start X ? if you use startx post your xinitrc. Also elaborate on "tried to remove glamoregl". what did you do? You shouldn't have to do anything in this regard.
Offline
you should export DISPLAY
Of course I do it
How do you start X ?
I use simple "Xorg :0" command for testing purposes. I don't have any xinitrc files
I can use LightDM with "display-setup-script=/etc/lightdm/display_setup.sh" as the wiki says, but it doesn't work either
(note that everything worked a few days ago, I don't know what was changed)
what did you do?
mv /usr/lib/xorg/modules/libglamoregl.so /usr/lib/xorg/modules/libglamoregl.disabled.so
You shouldn't have to do anything in this regard.
Okay, glamoregl is not disabled now. But some instructions in the internet (including the official nvidia documentation) recommend to disable it ¯\_(ツ)_/¯
Offline
I don't know what was changed, but today everything works with the same config ¯\(°_o)/¯
Offline