You are not logged in.
Try
sudo journalctl -b | curl -F 'f:1=<-' ix.io
Online
I copy-pasted the command into my terminal and got the error. Running previous curl commands from my history doesn't work either.
Offline
The 0x0.st syntax might be broken w/ the most recent curl.
Did you try ix.io?
Either way, post the system journal *somehow* - in doubt in code tags.
But do not copypaste it out of the pager; redirect it into a file in doubt.
Online
sudo journalctl -b | curl -F 'f:1=<-' ix.io
I also noticed two things that are probably related :
optimus-manager
returns
Traceback (most recent call last):
File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 563, in from_name
return next(cls.discover(name=name))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
StopIteration
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/optimus-manager", line 33, in <module>
sys.exit(load_entry_point('optimus-manager==1.4', 'console_scripts', 'optimus-manager')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/bin/optimus-manager", line 22, in importlib_load_entry_point
for entry_point in distribution(dist_name).entry_points
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 981, in distribution
return Distribution.from_name(distribution_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 565, in from_name
raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: No package metadata was found for optimus-manager
no matter the argument.
Also my primary screen isn't recognized anymore by nvidia config and xrandr.
Last edited by Aarnaud (2023-05-21 14:35:08)
Offline
mai 21 16:25:42 ArchBTW kernel: Command line: root=PARTUUID=8937f3ad-0e8b-494b-079b-8cb06a3a8418 rw initrd=\intel-ucode.img rootflags=subvol=@ nvidia_drm.modeset=1 initrd=\initramfs-linux.img
…
mai 21 16:25:57 ArchBTW login[535]: LOGIN ON tty1 BY arnaud
…
mai 21 16:26:07 ArchBTW kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 530.41.03 Thu Mar 16 19:48:20 UTC 2023
The nvidia kernel module loads extremely late into the boot.
optimus-manager
Don't use that. You've a turing chip that is eligible for https://wiki.archlinux.org/title/PRIME# … Management
Also optimus-manager doesn't show up in the journal?
Online
I replaced optimus-manager by Prime. Now lightDM starts normally.
But my laptop monitor isn't detected by xrandr. I came across this thread where you say that the nvidia autoconfig is bad and that I should write my own. if this is related to my problem i would like some help about writing my config.
The nvidia kernel module loads extremely late into the boot.
I have no idea why. I added all nvidia modules and ran
mkinitcpio -P
several times.
Last edited by Aarnaud (2023-05-22 15:03:33)
Offline
I should generate my own
I didn't state that anybody should write a static config anywhere ever.
Please post your Xorg log, https://wiki.archlinux.org/title/Xorg#General
If you have some /etc/X11/xorg.conf around, delete that.
X11 has decent autodetection and you don't need nor want a static server configuration.
Online
Offline
You're running on the nvidia chip and it has one output attached.
The intel chip isn't used at all, liekly because of
Using the first device section listed.
[ 6.630] (**) | |-->Device "NVIDIA Card"
grep -r "NVIDIA Card" /{etc,usr/share}/X11/xorg.conf*
and post that file
Online
Offline
No, the file - not the grep output (I knew what that was gonna look like)
Online
Offline
That's pointless, remove it.
Post an udpated xorg log.
Online
After removing 20-nvidia.conf both my monitors are active and working. Thank you so much!
But my second monitor is extremely slow. Here's an updated Xorg.conf
http://ix.io/4wvH
Offline
But my second monitor is extremely slow. Here's an updated Xorg.conf
Remove xf86-video-intel.
Otherwise:
xrandr -q
"Second monitor" is the Samsung LC27G5xT ?
Online
"Second monitor" is the Samsung LC27G5xT ?
Yes it is.
Remove xf86-video-intel.
After removing it everything is working flawlessly!
Thank you so much for all the time you spent fixing my problem and for your patience!
I will mark this thread as solved.
Last edited by Aarnaud (2023-05-23 19:38:00)
Offline
Mark resolved threads by editing your initial posts subject.
Online