You are not logged in.
I've been on Arch for about 4 months now, all good until now
Since yesterday if I upgrade my system with -Syu (see pastebin https://pastebin.com/k6dHXExV) Something breaks the system upon reboot I get to the login page, I can enter my Password and then the system just hangs, running XFCE
Doing a Ctr, alt F2 , and doing a timeshift restore works and can get my system up and running again, but if I try again the full update again -Syu, it breaks again, I see in other similar posts it might be the mesa update, that I see in the update logs
Can I do a update and exclude this ? but if so I don't know how
Thanks for your help
Trevor
Edit 1, I did a full update -Syu but added ignore 'mesa' in my Pacman conf, everything worked just as always, so it seems that there maybe a bug with the latest mesa, should I report anywhere ?
Edit 2, I read that needed to update my /etc/X11/xorg.conf.d/20-nvidia.conf
Section "Files"
ModulePath "/usr/lib/nvidia/xorg"
ModulePath "/usr/lib/xorg/modules"
EndSection
This did not correct or solve my problem
Last edited by Trevor_B (2021-04-02 11:40:28)
Offline
Post your xorg log during the issue. Note that there will be a bit of a difference if nvidia is not your primary GPU, is this a laptop with an integrated and an nvidia card?
Offline
Hi
Thanks
Hi
Thanks
Post your xorg log during the issue., don't know how to do that, only 4 months old in Arch, only learn't yesterday how to do terminal, using ctr, alt F2 and downgrade the mesa to get back into desktop, sorry
https://pastebin.com/LqdGcePH is that any good ??
my Nvidia conf setting https://pastebin.com/cA1CHYDU
All system up to date except the mesa
Not a Laptop, Normal computer
00:00.0 Host bridge: Intel Corporation 4th Gen Core Processor DRAM Controller (rev 06)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)
00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 04)
00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
00:19.0 Ethernet controller: Intel Corporation Ethernet Connection I217-V (rev 04)
00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d4)
00:1c.2 PCI bridge: Intel Corporation 82801 PCI Bridge (rev d4)
00:1c.4 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #5 (rev d4)
00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation H87 Express LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 04)
01:00.0 VGA compatible controller: NVIDIA Corporation GK104 [GeForce GTX 760] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GK104 HDMI Audio Controller (rev a1)
03:00.0 PCI bridge: ASMedia Technology Inc. ASM1083/1085 PCIe to PCI Bridge (rev 03)
Last edited by Trevor_B (2021-04-01 13:25:51)
Offline
[ 2.374] (==) Using config file: "/etc/X11/xorg.conf"
[ 2.374] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 2.374] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 2.381] (==) ServerLayout "Layout0"
[ 2.381] (**) |-->Screen "Screen0" (0)
[ 2.381] (**) | |-->Monitor "Monitor0"
[ 2.381] (**) | |-->Device "Device0"
[ 2.381] (**) | |-->GPUDevice "Device0"
[ 2.381] (**) |-->Input Device "Keyboard0"
[ 2.381] (**) |-->Input Device "Mouse0"
[ 2.381] (**) Option "Xinerama" "0"
Please don't use nvidia-settings or nvidia-xconfig to write a config file and actually don't write a static server config at all.
=> remove /etc/X11/xorg.conf
[ 4.498] (II) Loading sub module "glxserver_nvidia"
[ 4.498] (II) LoadModule: "glxserver_nvidia"
[ 4.498] (WW) Warning, couldn't open module glxserver_nvidia
[ 4.498] (EE) NVIDIA: Failed to load module "glxserver_nvidia" (module does not exist, 0)
[ 4.498] (EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X
[ 4.498] (EE) NVIDIA(0): log file that the GLX module has been loaded in your X
[ 4.498] (EE) NVIDIA(0): server, and that the module is the NVIDIA GLX module. If
[ 4.498] (EE) NVIDIA(0): you continue to encounter problems, Please try
[ 4.498] (EE) NVIDIA(0): reinstalling the NVIDIA driver.
https://wiki.archlinux.org/index.php/NV … de_setting
https://wiki.archlinux.org/index.php/Ke … _KMS_start
Offline
Hi and thanks for trying to help me
=> remove /etc/X11/xorg.conf
Do you want me to delete the 20-nvidia.conf file ? or the whole folder ? as I am unsure what you would like me to do ?
Thanks
Offline
No, I want to to remove exactly that one file.
Then see the links I posted, add the kernel parameter and the modules to the initramfs. Then reboot.
Offline
Whoops sorry read wrong the delete part
Okay I understand and know how to delete the xorg.conf file
But I'm out of my depth about "add the kernel parameter and the modules to the initramfs"
Am reading your two links but they don't make sense to me especially the kernel modifs
I'm totally lost for the "modify kernel parameter" don't even know when to look
Pacman hook (I think that I understand)
do I just create a folder in /etc/pacman.d/ 'hooks' and inside create a 'nvidia.hook' file with the following ?
[Trigger]
Operation=Install
Operation=Upgrade
Operation=Remove
Type=Package
Target=nvidia
Target=linux
# Change the linux part above and in the Exec line if a different kernel is used
[Action]
Description=Update Nvidia module in initcpio
Depends=mkinitcpio
When=PostTransaction
NeedsTargets
Exec=/bin/sh -c 'while read -r trg; do case $trg in linux) exit 0; esac; done; /usr/bin/mkinitcpio -P'
sorry but this is really over my little head
But why is all this happening since the latest mesa update ? kernel and drivers are all the latest
Offline
do I just create a folder in /etc/pacman.d/ 'hooks' and inside create a 'nvidia.hook' file with the following ?
No. Don't do any of that.
Despite your nick: do you actually speak English or are we talking via google translate?
Are there localized versions of the tow wiki pages for your native language?
Offline
No I'm English, just been living in France for more than half my life, (I'm 63) so tend to muddle between English and French mixing in every word or so,
Plus a little tired, late last night getting back into my Desktop, when getting stuck an loggin, and just got over a 2 day gastroenteritis plus received my Covid vaccin which is a little tiring , Sorry
I saw that maybe for the Kernel I could add to my existing
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3" "nvidia-drm.modeset=1" (not sur about the " ")
Trevor
Offline
No problem, but I'd adjust my vocabulary to be more google-friendly in case ;-)
You can add the kernel parameter to /etc/defaults/grub but the will have to run grub-mkconfig to write the relevant /boot/grub/grub.cfg
The kernel modules need entries to the array in /etc/mkinitcpio.conf and a re-run of mkinitcpio to generate the initramfs'
You can alternatively try to delay lightdm, https://wiki.archlinux.org/index.php/Li … TTY_output (ignore the symtom)
Offline
Thanks
1, Delete the xorg.conf file
2, For the grub
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3" "nvidia-drm.modeset=1" then sudo grub-mkconfig -o /boot/grub/grub.cfg
3, Mkinitpio.conf
change MODULES=() to
MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm) using sudo nano update
4, but how do I re-run of mkinitcpio to generate the initramfs ?
Last edited by Trevor_B (2021-04-01 17:08:59)
Offline
Warm.
Keep the quotes and run those commans out of an interactive textshell (as root, in doubt sudo them)
Offline
Modified text above your remark , just number 4 to suss out
Warmer ?
Last edited by Trevor_B (2021-04-01 17:26:58)
Offline
I had the same issue. I fixed it by uncommenting a line in my `lightdm.conf`. Check the last post here for more details: https://bbs.archlinux.org/viewtopic.php?id=265089
Offline
That's not the issue here.
@Trevor_B https://wiki.archlinux.org/index.php/Mk … activation
Offline
# mkinitcpio -P ??
Offline
That's not the issue here.
@Trevor_B https://wiki.archlinux.org/index.php/Mk … activation
The symptoms are very similar. I was experiencing hangs at login after a recent -Syu as well.
It may be worth running the following and then testing with a reboot. I'm running nvidia proprietary FWIW:
$ sudo sed -i 's/#logind-check-graphical=false/logind-check-graphical=true/g' /etc/lightdm/lightdm.conf
Last edited by paragordius (2021-04-01 19:47:22)
Offline
# mkinitcpio -P ??
Yes.
The "#" indicates the UID0 (root) prompt, don't type it.
Offline
Thanks Seth, will give it a go tomorrow and let you know,
Many thanks for your patience and your help
Offline
Hi again, am starting the modifs
getting error message when updating the grub config
$ sudo grub-mkconfig -o /boot/grub/grub.cfg
/etc/default/grub: line 6: nvidia-drm.modeset=1: command not found
my line in the grub config is
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3" "nvidia-drm.modeset=1"
Sussed it , it should be
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 nvidia-drm.modeset=1"
Last edited by Trevor_B (2021-04-02 10:12:55)
Offline
Seth, You are the man
All worked
Many thanks for your patience and taking the time to help me
Here is exactly what I did if anyone else needs the info
1, remove /etc/X11/xorg.conf
Delete the xorg.conf file (I also deleted the xorg.conf.backup)
2, For the grub
/etc/default/grub (I use sudo nano)
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 nvidia-drm.modeset=1"
then sudo grub-mkconfig -o /boot/grub/grub.cfg
3, Mkinitcpio.conf
modify /etc/mkinitcpio.conf
change MODULES=() to
MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm)
(I use sudo nano)
4, re-run of mkinitcpio to generate the initramfs
sudo mkinitcpio -P
One more question, do I need to create ?
https://wiki.archlinux.org/index.php/NV … de_setting
Pacman hook so that after update all will not be lost ? "To avoid the possibility of forgetting to update initramfs after an NVIDIA driver upgrade, you may want to use a pacman hook:"
Last edited by Trevor_B (2021-04-05 10:34:31)
Offline
One moire question, do I need to create ?
You do not *need* to create it, but if you update the nvidia driver w/o getting a kernel update at the same time, it might spare you some headaches (and the requirement to rebuild the initramfs yourself)
(Depending on your update frequency that might be a rare but possible incident)
Offline
Again thanks
repeated it here if anyone else need it, text in file exactly as shown on Arch forum, don't think I need to change anything in it
5, /etc/pacman.d/hooks/nvidia.hook
I added, a folder 'hooks' a file 'nvidia.hook'
(I use sudo nano to create the nvidia.hook file)
[Trigger]
Operation=Install
Operation=Upgrade
Operation=Remove
Type=Package
Target=nvidia
Target=linux
# Change the linux part above and in the Exec line if a different kernel is used
[Action]
Description=Update Nvidia module in initcpio
Depends=mkinitcpio
When=PostTransaction
NeedsTargets
Exec=/bin/sh -c 'while read -r trg; do case $trg in linux) exit 0; esac; done; /usr/bin/mkinitcpio -P'
6, updated my /etc/X11/xorg.conf.d/20-nvidia.conf
Section "Files"
ModulePath "/usr/lib/nvidia/xorg"
ModulePath "/usr/lib/xorg/modules"
EndSection
I will mark this as solved
Phew, you made an old man work .... but he's happy
Trevor
Last edited by Trevor_B (2021-04-05 09:57:36)
Offline