You are not logged in.
so, it's failing on something during the mkinitcpio image creation... I have done everything correctly, and the package built just fine on the monolith.
log:
[andaro@sevencommaone Downloads]$ sudo pacman -U nvidia-bl-dkms-18.11.0-2-x86_64.pkg.tar.zst
loading packages...
warning: nvidia-bl-dkms-18.11.0-2 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) nvidia-bl-dkms-18.11.0-2
Total Installed Size: 0.04 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [#######################################################] 100%
(1/1) checking package integrity [#######################################################] 100%
(1/1) loading package files [#######################################################] 100%
(1/1) checking for file conflicts [#######################################################] 100%
(1/1) checking available disk space [#######################################################] 100%
:: Running pre-transaction hooks...
(1/1) Remove upgraded DKMS modules
==> dkms remove nvidia-bl/18.11.0
:: Processing package changes...
(1/1) reinstalling nvidia-bl-dkms [#######################################################] 100%
Sign command: /usr/lib/modules/6.6.37-1-lts/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub
Creating symlink /var/lib/dkms/nvidia-bl/18.11.0/source -> /usr/src/nvidia-bl-18.11.0
Building module:
Cleaning build area...(bad exit status: 2)
make -j2 KERNELRELEASE=6.6.37-1-lts KVER=6.6.37-1-lts...(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.6.37-1-lts (x86_64)
Consult /var/lib/dkms/nvidia-bl/18.11.0/build/make.log for more information.
error: command failed to execute correctly
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Install DKMS modules
==> dkms install --no-depmod nvidia-bl/18.11.0 -k 6.9.8-arch1-1
Error! Bad return status for module build on kernel: 6.9.8-arch1-1 (x86_64)
Consult /var/lib/dkms/nvidia-bl/18.11.0/build/make.log for more information.
==> WARNING: `dkms install --no-depmod nvidia-bl/18.11.0 -k 6.9.8-arch1-1' exited 10
==> dkms install --no-depmod nvidia-bl/18.11.0 -k 6.6.37-1-lts
Error! Bad return status for module build on kernel: 6.6.37-1-lts (x86_64)
Consult /var/lib/dkms/nvidia-bl/18.11.0/build/make.log for more information.
==> WARNING: `dkms install --no-depmod nvidia-bl/18.11.0 -k 6.6.37-1-lts' exited 10
==> ERROR: Missing 6.6.36-1-lts kernel headers for module nvidia-bl/18.11.0.
==> ERROR: Missing 6.9.6-arch1-1 kernel headers for module nvidia-bl/18.11.0.
==> ERROR: Missing 6.6.35-2-lts kernel headers for module nvidia-bl/18.11.0.
==> ERROR: Missing 6.9.7-arch1-1 kernel headers for module nvidia-bl/18.11.0.
(3/3) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
-> -k /boot/vmlinuz-linux-lts -g /boot/initramfs-linux-lts.img
==> Starting build: '6.6.37-1-lts'
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [microcode]
-> Running build hook: [modconf]
-> Running build hook: [kms]
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
-> Running build hook: [block]
-> Running build hook: [filesystems]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux-lts.img'
-> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
-> -k /boot/vmlinuz-linux-lts -g /boot/initramfs-linux-lts-fallback.img -S autodetect
==> Starting build: '6.6.37-1-lts'
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [microcode]
-> Running build hook: [modconf]
-> Running build hook: [kms]
==> WARNING: Possibly missing firmware for module: 'ast'
-> Running build hook: [keyboard]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'wd719x'
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'aic94xx'
-> Running build hook: [filesystems]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux-lts-fallback.img'
-> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
-> -k /boot/vmlinuz-linux -g /boot/initramfs-linux.img
==> Starting build: '6.9.8-arch1-1'
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [microcode]
-> Running build hook: [modconf]
-> Running build hook: [kms]
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
-> Running build hook: [block]
-> Running build hook: [filesystems]
-> Running build hook: [fsck]
==> ERROR: module not found: 'nvidia'
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux.img'
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
-> -k /boot/vmlinuz-linux -g /boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: '6.9.8-arch1-1'
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [microcode]
-> Running build hook: [modconf]
-> Running build hook: [kms]
==> WARNING: Possibly missing firmware for module: 'ast'
-> Running build hook: [keyboard]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'wd719x'
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'aic94xx'
-> Running build hook: [filesystems]
-> Running build hook: [fsck]
==> ERROR: module not found: 'nvidia'
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux-fallback.img'
==> WARNING: errors were encountered during the build. The image may not be complete.
error: command failed to execute correctly
[andaro@sevencommaone Downloads]$
meet the rigs:
monolith: AMD Ryzen 7 5800X | ASUS TUF RTX 4070 | 32GB DDR4 | DIY
olympus: Intel Core i5-8350U | Intel HD Graphics 620 | 16GB DDR4 | ThinkPad T480s
Offline
dkms build still fails
Consult /var/lib/dkms/nvidia-bl/18.11.0/build/make.log for more information.
==> ERROR: module not found: 'nvidia'
You also don't have the nvidia modules for both installed kernels?
Please stop trying to build the dkms on the other system - the way this works is
1. you install a dkms package
2. it adds some sources to the system
3. everytime the kernel gets updated a new kernel module is built for that kernel out of the dkms sources
"building" dkms packages on a different system makes no lick of sense because the brunt of the load happens on the kernel update on the target system.
Offline
The reason I build the dkms package on the monolith is because unless it's really cold in the room - my Mac is prone to overheating when running something stronger than KPatience, even ClassiCube and Ri-li are a heavy load for this 14-year old laptop, for some reason.
I might just need to give it a good clean, but last I opened it, it was somewhat clean for the area I live in, which can be very dusty.
But also last I opened it, was when I first bought it second-hand in 2021. I think it's time for a cleanup, and maybe even re-paste the CPU and GPU.
Sorry about the yap, I'll get working on making the package locally.
update: uninstalled the nvidia-bl package then built the package using "makepkg -si" and it threw the same error.
log for /var/lib/dkms/nvidia-bl/18.11.0/build/make.log:
DKMS make.log for nvidia-bl-18.11.0 for kernel 6.6.37-1-lts (x86_64)
Wed 10 Jul 2024 14:52:45 IDT
Makefile:12: *** missing separator. Stop.
installation log in case there could've been a different reason:
[andaro@sevencommaone nvidia-bl-dkms]$ makepkg -si
==> Making package: nvidia-bl-dkms 18.11.0-2 (Wed 10 Jul 2024 14:52:38)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found nvidia_bl.c
-> Found Makefile
-> Found nvidia_bl.conf
-> Found nvidia_bl_ml.conf
-> Found dkms.conf
==> Validating source files with md5sums...
nvidia_bl.c ... Passed
Makefile ... Passed
nvidia_bl.conf ... Passed
nvidia_bl_ml.conf ... Passed
dkms.conf ... Passed
==> Extracting sources...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
-> Removing libtool files...
-> Purging unwanted files...
-> Removing static library files...
-> Stripping unneeded symbols from binaries and libraries...
-> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "nvidia-bl-dkms"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
-> Adding install file...
-> Generating .MTREE file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: nvidia-bl-dkms 18.11.0-2 (Wed 10 Jul 2024 14:52:42)
==> Installing package nvidia-bl-dkms with pacman -U...
loading packages...
resolving dependencies...
looking for conflicting packages...
Packages (1) nvidia-bl-dkms-18.11.0-2
Total Installed Size: 0.04 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [#######################################################] 100%
(1/1) checking package integrity [#######################################################] 100%
(1/1) loading package files [#######################################################] 100%
(1/1) checking for file conflicts [#######################################################] 100%
(1/1) checking available disk space [#######################################################] 100%
:: Processing package changes...
(1/1) installing nvidia-bl-dkms [#######################################################] 100%
Sign command: /usr/lib/modules/6.6.37-1-lts/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub
Creating symlink /var/lib/dkms/nvidia-bl/18.11.0/source -> /usr/src/nvidia-bl-18.11.0
Building module:
Cleaning build area...(bad exit status: 2)
make -j2 KERNELRELEASE=6.6.37-1-lts KVER=6.6.37-1-lts...(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.6.37-1-lts (x86_64)
Consult /var/lib/dkms/nvidia-bl/18.11.0/build/make.log for more information.
error: command failed to execute correctly
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Install DKMS modules
==> dkms install --no-depmod nvidia-bl/18.11.0 -k 6.9.8-arch1-1
Error! Bad return status for module build on kernel: 6.9.8-arch1-1 (x86_64)
Consult /var/lib/dkms/nvidia-bl/18.11.0/build/make.log for more information.
==> WARNING: `dkms install --no-depmod nvidia-bl/18.11.0 -k 6.9.8-arch1-1' exited 10
==> dkms install --no-depmod nvidia-bl/18.11.0 -k 6.6.37-1-lts
Error! Bad return status for module build on kernel: 6.6.37-1-lts (x86_64)
Consult /var/lib/dkms/nvidia-bl/18.11.0/build/make.log for more information.
==> WARNING: `dkms install --no-depmod nvidia-bl/18.11.0 -k 6.6.37-1-lts' exited 10
==> ERROR: Missing 6.6.36-1-lts kernel headers for module nvidia-bl/18.11.0.
==> ERROR: Missing 6.9.6-arch1-1 kernel headers for module nvidia-bl/18.11.0.
==> ERROR: Missing 6.6.35-2-lts kernel headers for module nvidia-bl/18.11.0.
==> ERROR: Missing 6.9.7-arch1-1 kernel headers for module nvidia-bl/18.11.0.
(3/3) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
-> -k /boot/vmlinuz-linux-lts -g /boot/initramfs-linux-lts.img
==> Starting build: '6.6.37-1-lts'
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [microcode]
-> Running build hook: [modconf]
-> Running build hook: [kms]
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
-> Running build hook: [block]
-> Running build hook: [filesystems]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux-lts.img'
-> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
-> -k /boot/vmlinuz-linux-lts -g /boot/initramfs-linux-lts-fallback.img -S autodetect
==> Starting build: '6.6.37-1-lts'
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [microcode]
-> Running build hook: [modconf]
-> Running build hook: [kms]
==> WARNING: Possibly missing firmware for module: 'ast'
-> Running build hook: [keyboard]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'wd719x'
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'aic94xx'
-> Running build hook: [filesystems]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux-lts-fallback.img'
-> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
-> -k /boot/vmlinuz-linux -g /boot/initramfs-linux.img
==> Starting build: '6.9.8-arch1-1'
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [microcode]
-> Running build hook: [modconf]
-> Running build hook: [kms]
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
-> Running build hook: [block]
-> Running build hook: [filesystems]
-> Running build hook: [fsck]
==> ERROR: module not found: 'nvidia'
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux.img'
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
-> -k /boot/vmlinuz-linux -g /boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: '6.9.8-arch1-1'
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [microcode]
-> Running build hook: [modconf]
-> Running build hook: [kms]
==> WARNING: Possibly missing firmware for module: 'ast'
-> Running build hook: [keyboard]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'wd719x'
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'aic94xx'
-> Running build hook: [filesystems]
-> Running build hook: [fsck]
==> ERROR: module not found: 'nvidia'
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux-fallback.img'
==> WARNING: errors were encountered during the build. The image may not be complete.
error: command failed to execute correctly
[andaro@sevencommaone nvidia-bl-dkms]$ cd
Last edited by adr77 (2024-07-10 11:59:18)
meet the rigs:
monolith: AMD Ryzen 7 5800X | ASUS TUF RTX 4070 | 32GB DDR4 | DIY
olympus: Intel Core i5-8350U | Intel HD Graphics 620 | 16GB DDR4 | ThinkPad T480s
Offline
The reason I build the dkms package on the monolith is because … my Mac is prone to overheating
I get that but that's really not how dkms works at all.
You can either manage the temperature of the Mac (bigger fan, limit the cpu or move to the arctic) or translate the dkms package into a regular one.
(See https://gitlab.archlinux.org/archlinux/ … n/PKGBUILD for a pattern)
Even then you'll have to make sure to keep the monolith and the mac version-aligned all the time.
Makefile:12: *** missing separator. Stop.
Post the makefile you generated with the previous patching.
nb. that the bigger dkms-related problem remains that you do not have an nvidia module for the present kernels!
Offline
the makefile:
NAME=nvidia-bl
MODULE_NAME=nvidia_bl
VERSION=0.17.3
obj-m := $(MODULE_NAME).o
KVER := $(shell uname -r)
KDIR := /usr/lib/modules/$(KVER)/build
PWD := $(shell pwd)
default:
$(MAKE) -C $(KDIR) M=$(PWD) SUBDIRS=$(PWD) modules
clean:
$(MAKE) -C $(KDIR) M=$(PWD) SUBDIRS=$(PWD) clean
and what do you mean by "modules"? kinda confused, but I do have the "nvidia" module enabled on my mkinitcpio config file. could it be something with that?
meet the rigs:
monolith: AMD Ryzen 7 5800X | ASUS TUF RTX 4070 | 32GB DDR4 | DIY
olympus: Intel Core i5-8350U | Intel HD Graphics 620 | 16GB DDR4 | ThinkPad T480s
Offline
could it be something with that?
Yes: it does not exist. Because it was not build (for the present kernels). Because that's not how dkms works.
You're currently running on either the simpledrm device or the vesa driver or whatever - maybe nouveau if you removed nvidia-340xx-utils.
Looks like the tabs got mangled.
https://stackoverflow.com/questions/169 … rator-stop
$(MAKE) -C $(KDIR) M=$(PWD) SUBDIRS=$(PWD) modules
The whitespace at the head needs to be a tab, not a bunch of spaces. (same for the second occurrence)
This is why we don't do patches by posting stuff on the interwebz
Offline
so I copied your line into the Makefile, pasted the new md5sum into the PKGBUILD, and it seemed to have done it.
The missing kernel headers are probably because the LTS kernel drivers are missing, and are not willing to install, whether cloning it and building manually, or via yay.
I think I should probably build on the monolith, then copy over. This Mac does not like building, only wrecking, and it is wreaking havoc on my mind, and I am so close to just wiping everything clean and starting off a clean slate, but I'll give it the benefit of the doubt.
meet the rigs:
monolith: AMD Ryzen 7 5800X | ASUS TUF RTX 4070 | 32GB DDR4 | DIY
olympus: Intel Core i5-8350U | Intel HD Graphics 620 | 16GB DDR4 | ThinkPad T480s
Offline
The missing kernel headers are probably because the LTS kernel drivers are missing
I don't know what you're trying to say, but what's missing isn't any headers but the nvidia module.
The nvidia module is missing because it wasn't built because (likely) you only installed the dkms package on the monolith, so you'd have to copy over the nvidia kernel modules from there (ideally by creating a prebuilt-package like the one for the main drivers as linked before)
Do you actually have nvidia-340xx-utils installed on the macbook?
I am so close to just wiping everything clean and starting off a clean slate
What won't change anything about the necessity to build the 340xx module and also you'll be facing the absent GPU again…
Offline
the 340xx-utils package is present, what I'm trying to say, is that I don't have the "nvidia-340xx-lts" package installed, whether it be the normal variant, nor the dkms edition.
Last edited by adr77 (2024-07-11 06:15:01)
meet the rigs:
monolith: AMD Ryzen 7 5800X | ASUS TUF RTX 4070 | 32GB DDR4 | DIY
olympus: Intel Core i5-8350U | Intel HD Graphics 620 | 16GB DDR4 | ThinkPad T480s
Offline
Ah, there're even non-dkms packages already.
You'll need those, otherwise I'm not sure what your GPU is actually currently running on.
They also need to be re-build with every kernel update and they need to be build for the target kernel (ie. the monolith and macbook need to run the same kernel)
Offline
gotcha, but I've done something simple that's made the Mac seem to run better:
I've swapped the current SSD for another one, and installed Linux Mint, and aside from some difficulties installing (the laptop kept overheating, just let it rest for 20 minutes), it runs much better, even on the more intensive Cinnamon desktop.
running "lspci -k" from the terminal revealed me this: it runs from nouveau and not the 340 drivers, and it runs and does everything much better. Not only that, the brightness works!
I'll be switching back to Arch, as it's a personal preference, but I think we should aim to use nouveau and not the 340 drivers, it seems much more plug-and-play to me. (also because the Arch SSD is 512gb, compared to Mint's 250)
meet the rigs:
monolith: AMD Ryzen 7 5800X | ASUS TUF RTX 4070 | 32GB DDR4 | DIY
olympus: Intel Core i5-8350U | Intel HD Graphics 620 | 16GB DDR4 | ThinkPad T480s
Offline
Sure, just remove all the nvidia* packages. You should be defaulting to nouveau anyway (and right now you're not even running on nvidia for all I can tell)
Offline
update, the nouveau isn't working, I uninstalled all nvidia packages (those that I was able to score through pacman -Q), installed "mesa" and its lib32 variant, and set "nouveau.config=NvGspRm=1" as a kernel parameter through GRUB's config file.
after a reboot, it stays on tty1, and doesn't do anything. I can access other tty's, though, so there's that. Thought SDDM was acting up (its acting up on the monolith) so I installed LightDM and the GTK greeter to no avail. (it does work on the monolith, though. might consider swapping from KDE to XFCE or Cinnamon but that's for another day)
meet the rigs:
monolith: AMD Ryzen 7 5800X | ASUS TUF RTX 4070 | 32GB DDR4 | DIY
olympus: Intel Core i5-8350U | Intel HD Graphics 620 | 16GB DDR4 | ThinkPad T480s
Offline
Please post your Xorg log, https://wiki.archlinux.org/title/Xorg#General
Chances are there's still nvidia-specific config around which you can't use.
Offline
here's the log:
[ 10.853]
X.Org X Server 1.21.1.13
X Protocol Version 11, Revision 0
[ 10.853] Current Operating System: Linux sevencommaone 6.6.39-1-lts #1 SMP PREEMPT_DYNAMIC Thu, 11 Jul 2024 15:06:47 +0000 x86_64
[ 10.853] Kernel command line: BOOT_IMAGE=/vmlinuz-linux-lts root=UUID=70c61ad7-b23d-4fd7-a310-df288620a623 rw loglevel=3 nouveau.config=NvGspRm=1
[ 10.853]
[ 10.853] Current version of pixman: 0.43.4
[ 10.853] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 10.853] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 10.853] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Jul 5 22:25:40 2024
[ 10.853] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 10.853] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 10.854] (==) No Layout section. Using the first Screen section.
[ 10.854] (==) No screen section available. Using defaults.
[ 10.854] (**) |-->Screen "Default Screen Section" (0)
[ 10.854] (**) | |-->Monitor "<default monitor>"
[ 10.854] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 10.854] (**) | |-->Device "MyRustyTesla"
[ 10.854] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 10.854] (**) Option "IgnoreABI" "1"
[ 10.854] (**) Ignoring ABI Version
[ 10.854] (**) Allowing byte-swapped clients
[ 10.854] (==) Automatically adding devices
[ 10.854] (==) Automatically enabling devices
[ 10.854] (==) Automatically adding GPU devices
[ 10.854] (==) Automatically binding GPU devices
[ 10.854] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 10.854] (WW) The directory "/usr/share/fonts/misc" does not exist.
[ 10.854] Entry deleted from font path.
[ 10.854] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/TTF".
[ 10.854] Entry deleted from font path.
[ 10.854] (Run 'mkfontdir' on "/usr/share/fonts/TTF").
[ 10.854] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[ 10.854] Entry deleted from font path.
[ 10.854] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 10.854] Entry deleted from font path.
[ 10.854] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[ 10.854] Entry deleted from font path.
[ 10.854] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[ 10.854] Entry deleted from font path.
[ 10.854] (==) FontPath set to:
[ 10.854] (**) ModulePath set to "/usr/lib64/nvidia/xorg,/usr/lib64/xorg/modules"
[ 10.854] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 10.854] (II) Module ABI versions:
[ 10.854] X.Org ANSI C Emulation: 0.4
[ 10.854] X.Org Video Driver: 25.2
[ 10.854] X.Org XInput driver : 24.4
[ 10.854] X.Org Server Extension : 10.0
[ 10.855] (++) using VT number 7
[ 10.855] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 10.856] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 10.856] (II) Platform probe for /sys/devices/pci0000:00/0000:00:17.0/0000:02:00.0/drm/card0
[ 10.862] (--) PCI:*(2@0:0:0) 10de:08a0:106b:00ce rev 162, Mem @ 0xd2000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x00001000/128, BIOS @ 0x????????/131072
[ 10.862] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 10.862] (II) LoadModule: "glx"
[ 10.862] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[ 10.864] (II) Module glx: vendor="X.Org Foundation"
[ 10.864] compiled for 1.21.1.13, module version = 1.0.0
[ 10.864] ABI class: X.Org Server Extension, version 10.0
[ 10.864] (II) LoadModule: "nvidia"
[ 10.864] (WW) Warning, couldn't open module nvidia
[ 10.864] (EE) Failed to load module "nvidia" (module does not exist, 0)
[ 10.864] (EE) No drivers available.
[ 10.864] (EE)
Fatal server error:
[ 10.864] (EE) no screens found(EE)
[ 10.864] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 10.864] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 10.864] (EE)
[ 10.864] (EE) Server terminated with error (1). Closing log file.
I actually had to copy-paste it from the Mac onto a flash drive, and then set it all on the monolith.
Should I just re-install with a GTK environment like XFCE or Cinnamon (screw GNOME and all its heaviness, we're light in here) and see what happens then?
meet the rigs:
monolith: AMD Ryzen 7 5800X | ASUS TUF RTX 4070 | 32GB DDR4 | DIY
olympus: Intel Core i5-8350U | Intel HD Graphics 620 | 16GB DDR4 | ThinkPad T480s
Offline
[ 10.854] (**) | |-->Device "MyRustyTesla"
Yeah, the config we added is still there - remove it.
Offline
good and bad news:
good news:
KDE loads now
System Settings is now a GUI instead of a buggy bypass clear window
Firefox doesn't have the odd thicc black edges
all 3D stuff still work
there are no good news
the bad news:
any time something loads, the window is buggy for a second then its normal
no proper battery indicator, example of the issue
SDDM is fully white, it still works but its a whiteout (probably just needs the theme reset)
System Settings don't start at all, and trying to launch it from the terminal does nothing
the system freezes before SDDM but after it finishes loading, there is a cursor but it does not move
overall, its now in a much more usable just about the same state, but Firefox doesn't have the edge issue. it does not work at all
Also, I now have rEFInd installed, after figuring out it doesn't need macOS to install, so there's that.
Last edited by adr77 (2024-07-13 21:02:04)
meet the rigs:
monolith: AMD Ryzen 7 5800X | ASUS TUF RTX 4070 | 32GB DDR4 | DIY
olympus: Intel Core i5-8350U | Intel HD Graphics 620 | 16GB DDR4 | ThinkPad T480s
Offline
Battery looks like a rendering issue.
Ftr, you didn't run KDE on mint, did you?
Since you now swapped to nouveau, are you still running KDE on X11 or on wayland?
Offline
Mint was on Cinnamon, first tried XFCE but didnt load. I think nouveau was also running X11 because I didn't change from the default SDDM was running.
meet the rigs:
monolith: AMD Ryzen 7 5800X | ASUS TUF RTX 4070 | 32GB DDR4 | DIY
olympus: Intel Core i5-8350U | Intel HD Graphics 620 | 16GB DDR4 | ThinkPad T480s
Offline
I think nouveau was also running X11 because I didn't change from the default SDDM was running.
Plasma meanwhile defaults to wayland, don't assume, check.
loginctl session_status
Offline
so uh, yea... I forgot to send the post before I rebooted, here's what's happening:
I was running on X11 using SDDM
Switched to LightDM because SDDM was a whiteout
LightDM does launch KDE under Wayland, however, its very buggy and the top bar is artifacting like heck (as in, I have some Japanese text for the main menu button, it does not show and the entire top bar glitches and bugs like mad)
I'll send a link to the top bar issue in a sec, its similar to what the battery was doing but to the entire top bar.
Last edited by adr77 (2024-07-14 07:30:55)
meet the rigs:
monolith: AMD Ryzen 7 5800X | ASUS TUF RTX 4070 | 32GB DDR4 | DIY
olympus: Intel Core i5-8350U | Intel HD Graphics 620 | 16GB DDR4 | ThinkPad T480s
Offline
Did you try cinnamon or xfce on arch?
Do you have xf86-video-nouveau installed and does its presence make any difference?
Offline
Sorry for the long wait (I'm sure I'm not your only person you're working with, but still), but here's everything I've done:
installed Cinnamon
checked that xf86-video-nouveau exists
and here are the results:
KDE seems to not be buggy on Wayland anymore (odd)
Cinnamon runs buttery smooth as it does usually (default Cinnamon session is X11 but does have an experimental Wayland session available)
xf86-video-nouveau is present, still haven't checked what happens when it is not present
I honestly think I'll re-install the system but with nouveau instead, and a Cinnamon/LightDM session or XFCE/LightDM instead of KDE/SDDM.
What do you think about that?
meet the rigs:
monolith: AMD Ryzen 7 5800X | ASUS TUF RTX 4070 | 32GB DDR4 | DIY
olympus: Intel Core i5-8350U | Intel HD Graphics 620 | 16GB DDR4 | ThinkPad T480s
Offline
This runs at your pace anyway, no need to apologize.
What do you hope to achieve with the re-installation?
You'll have to pick a DM, but can actually maintain several DEs - though in reality, you'll likely stick with one
=> just remove plasma and SDDM?
As for the plasma/wayland improvements: did you install any updates w/ cinnamon?
Offline
I think that reinstalling will be able to actually help the system to run better - plus to smooth out all the extras and whatnot.
I'll use lightdm with cinnamon as they're both lightweight desktops, plus I have fcitx5 to redo again now that I'm on wayland.
all I notice now when comparing arch's cinnamon to LM's cinnamon is that the mint variant is much more lively and whatnot, also not using the fallback adwaita icons. probably because it's pre-customized with everything installed compared to arch's line of work - install as needed.
currently also having a read on cinnamon on the archwiki - most of the mint stuff is on the AUR, which I see odd, but also understandable.
so my idea is this - reinstall arch with the lts kernel only - I haven't been using the stock kernel at all, use lightdm and cinnamon for the desktop plus all the mint fancies ported over from the regular version - I eventually plan to basically mimic mint with an arch "engine" (as-in, have it similarly look to stock mint but more arch elements than mint's)
I'll compile a simple list for myself of what packages fancy me and what customizing is in order (e.g. fcitx5 on wayland, and the slick greeter for lightdm instead of the GTK greeter, not that it's bad, me no likey, that's the basics)
from you, I'd like to hear your opinion on my plan, and do you suggest going with it - KDE has installed many packages and since I plan on abandoning it in favor for cinnamon, I see no reason spending all that time picking out the not-needed for the needed.
small note: I installed gnome-terminal to replace konsole in the meanwhile - and I noticed that it's transparent. just the terminal screen though, the menu bar is fine.
small note 2: kde and cinnamon are having a conflict on who gets to manage fcitx5, neither of them agree and such I am stuck with standard English - no Hebrew (vine boom) - no Russian (vine boom) - and most important - no Mozc (several vine booms)
Last edited by adr77 (2024-07-15 23:43:48)
meet the rigs:
monolith: AMD Ryzen 7 5800X | ASUS TUF RTX 4070 | 32GB DDR4 | DIY
olympus: Intel Core i5-8350U | Intel HD Graphics 620 | 16GB DDR4 | ThinkPad T480s
Offline