You are not logged in.

#1 2024-06-22 00:03:12

adr77
Member
From: Israel
Registered: 2023-10-28
Posts: 146

Plethora of issues on a MacBook7,1

Trying to use my old MacBook7,1 (mid-2010) while my starrybook is out of commission due to WiFi card issues (botched upgrade, don't ask), and I have a few problems, the brightness being the main issue:

  • no proper brightness control

  • laggy as heck

  • HOT (not the Israeli ISP, temperature-wise)

  • battery reports at 112% in neofetch

  • doesn't sleep properly, instead just "dies" as soon as the screen closes

  • (NEW!) doesn't connect to 5GHz networks (the local network chip does support it and it had 0 issues on MacOS) it has magically fixed itself

Running on the default Linux kernel with KDE Plasma for desktop environment.

CPU: Core 2 Duo P8600
GPU: GeForce 320M using prop. drivers
RAM: 8GB DDR3 (and 8GB swap partition)

note: MacOS is gone from the MacBook, used to have OS X Mavericks.

Last edited by adr77 (2024-06-22 18:05:36)


"A good attitude will always take you further than a bad habit." -Isabelle, Animal Crossing: New Leaf
meet the rig and the surprise:
monolith: AMD Ryzen 7 5800X | ASUS TUF RTX 4070 | 32GB DDR4 | DIY
hopescommadreams: Intel Core 2 Duo P8600 | GeForce 320M | 8GB DDR3 | mid-2010 MacBook7,1

Offline

#2 2024-06-22 06:36:45

seth
Member
Registered: 2012-09-03
Posts: 54,505

Re: Plethora of issues on a MacBook7,1

The battery is probably the age - those values are guesstimates by the battery and in coparism to the last full charge - the maximum capacity can go up at times but is probably already really low compared to the original value.

Check powertop for the energy demand and "sensors " for the measured heat and the status of the fans.

You're aware that for a tesla chip you're gonna need https://aur.archlinux.org/packages/nvidia-340xx-dkms/ ?
"lspci -k", I'd not be surprised if you're running on software emulation and the kde compositor is causing "laggy as heck", lack of backlight control and CPU load and heat because of that…

The wakeup condition might be a regression because of systemd 256, https://bbs.archlinux.org/viewtopic.php … 4#p2179104

Offline

#3 2024-06-22 11:15:07

adr77
Member
From: Israel
Registered: 2023-10-28
Posts: 146

Re: Plethora of issues on a MacBook7,1

seth wrote:

The battery is probably the age - those values are guesstimates by the battery and in coparism to the last full charge - the maximum capacity can go up at times but is probably already really low compared to the original value.

Check powertop for the energy demand and "sensors " for the measured heat and the status of the fans.

You're aware that for a tesla chip you're gonna need https://aur.archlinux.org/packages/nvidia-340xx-dkms/ ?
"lspci -k", I'd not be surprised if you're running on software emulation and the kde compositor is causing "laggy as heck", lack of backlight control and CPU load and heat because of that…

The wakeup condition might be a regression because of systemd 256, https://bbs.archlinux.org/viewtopic.php … 4#p2179104

gotcha, here's what I'm currently going to do:

  • try and install the Nvidia-340 package (currently has the 550 driver from the default Nvidia drivers package)

  • install and check powertop (unless its already present, then just check it)

  • follow the tips at the link you sent for suspension failure

Update (Nvidia-wise): the Nvidia-340 package is not installing, as it's conflicting with the already installed Nvidia package.
Update (not suspending): the files already exist with all the text, one to one, as in the link.
Update (powertop): installed, and nothing really seemed out of the ordinary.

Last edited by adr77 (2024-06-22 11:43:33)


"A good attitude will always take you further than a bad habit." -Isabelle, Animal Crossing: New Leaf
meet the rig and the surprise:
monolith: AMD Ryzen 7 5800X | ASUS TUF RTX 4070 | 32GB DDR4 | DIY
hopescommadreams: Intel Core 2 Duo P8600 | GeForce 320M | 8GB DDR3 | mid-2010 MacBook7,1

Offline

#4 2024-06-22 16:11:27

seth
Member
Registered: 2012-09-03
Posts: 54,505

Re: Plethora of issues on a MacBook7,1

Update (Nvidia-wise): the Nvidia-340 package is not installing, as it's conflicting with the already installed Nvidia package.

Please don't paraphrase, https://bbs.archlinux.org/viewtopic.php?id=57855
The packages should simply replace the nvidia packages (you get asked about the conflict and whether you want to remove the latter)

Please post your Xorg log, https://wiki.archlinux.org/title/Xorg#General

Offline

#5 2024-06-22 16:17:46

adr77
Member
From: Israel
Registered: 2023-10-28
Posts: 146

Re: Plethora of issues on a MacBook7,1

seth wrote:

Update (Nvidia-wise): the Nvidia-340 package is not installing, as it's conflicting with the already installed Nvidia package.

Please don't paraphrase, https://bbs.archlinux.org/viewtopic.php?id=57855
The packages should simply replace the nvidia packages (you get asked about the conflict and whether you want to remove the latter)

Please post your Xorg log, https://wiki.archlinux.org/title/Xorg#General

Sorry about the paraphrasing, I'll send the Xorg log in a second.

here's the log, located at

/var/log
[    15.609] (--) Log file renamed from "/var/log/Xorg.pid-529.log" to "/var/log/Xorg.0.log"
[    15.615] 
X.Org X Server 1.21.1.13
X Protocol Version 11, Revision 0
[    15.615] Current Operating System: Linux sevencommaone 6.9.5-arch1-1 #1 SMP PREEMPT_DYNAMIC Sun, 16 Jun 2024 19:06:37 +0000 x86_64
[    15.615] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=70c61ad7-b23d-4fd7-a310-df288620a623 rw loglevel=3
[    15.615]  
[    15.615] Current version of pixman: 0.43.4
[    15.615] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    15.615] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    15.615] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Jun 22 19:11:11 2024
[    15.619] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    15.620] (==) No Layout section.  Using the first Screen section.
[    15.620] (==) No screen section available. Using defaults.
[    15.620] (**) |-->Screen "Default Screen Section" (0)
[    15.620] (**) |   |-->Monitor "<default monitor>"
[    15.621] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    15.621] (**) Allowing byte-swapped clients
[    15.621] (==) Automatically adding devices
[    15.621] (==) Automatically enabling devices
[    15.621] (==) Automatically adding GPU devices
[    15.621] (==) Automatically binding GPU devices
[    15.621] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    15.621] (WW) The directory "/usr/share/fonts/misc" does not exist.
[    15.621] 	Entry deleted from font path.
[    15.623] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/TTF".
[    15.623] 	Entry deleted from font path.
[    15.623] 	(Run 'mkfontdir' on "/usr/share/fonts/TTF").
[    15.623] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[    15.623] 	Entry deleted from font path.
[    15.623] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[    15.623] 	Entry deleted from font path.
[    15.623] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[    15.623] 	Entry deleted from font path.
[    15.623] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[    15.623] 	Entry deleted from font path.
[    15.623] (==) FontPath set to:
	
[    15.623] (==) ModulePath set to "/usr/lib/xorg/modules"
[    15.623] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    15.623] (II) Module ABI versions:
[    15.623] 	X.Org ANSI C Emulation: 0.4
[    15.623] 	X.Org Video Driver: 25.2
[    15.623] 	X.Org XInput driver : 24.4
[    15.623] 	X.Org Server Extension : 10.0
[    15.624] (++) using VT number 2

[    15.624] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    15.625] (II) xfree86: Adding drm device (/dev/dri/card0)
[    15.625] (II) Platform probe for /sys/devices/pci0000:00/0000:00:17.0/0000:02:00.0/simple-framebuffer.0/drm/card0
[    15.635] (--) 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
[    15.635] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    15.635] (II) LoadModule: "glx"
[    15.636] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    15.656] (II) Module glx: vendor="X.Org Foundation"
[    15.656] 	compiled for 1.21.1.13, module version = 1.0.0
[    15.656] 	ABI class: X.Org Server Extension, version 10.0
[    15.656] (==) Matched nouveau as autoconfigured driver 0
[    15.656] (==) Matched nv as autoconfigured driver 1
[    15.656] (==) Matched modesetting as autoconfigured driver 2
[    15.656] (==) Matched fbdev as autoconfigured driver 3
[    15.656] (==) Matched vesa as autoconfigured driver 4
[    15.656] (==) Assigned the driver to the xf86ConfigLayout
[    15.656] (II) LoadModule: "nouveau"
[    15.656] (WW) Warning, couldn't open module nouveau
[    15.656] (EE) Failed to load module "nouveau" (module does not exist, 0)
[    15.656] (II) LoadModule: "nv"
[    15.656] (WW) Warning, couldn't open module nv
[    15.656] (EE) Failed to load module "nv" (module does not exist, 0)
[    15.656] (II) LoadModule: "modesetting"
[    15.656] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    15.662] (II) Module modesetting: vendor="X.Org Foundation"
[    15.662] 	compiled for 1.21.1.13, module version = 1.21.1
[    15.662] 	Module class: X.Org Video Driver
[    15.662] 	ABI class: X.Org Video Driver, version 25.2
[    15.662] (II) LoadModule: "fbdev"
[    15.662] (WW) Warning, couldn't open module fbdev
[    15.662] (EE) Failed to load module "fbdev" (module does not exist, 0)
[    15.662] (II) LoadModule: "vesa"
[    15.662] (WW) Warning, couldn't open module vesa
[    15.662] (EE) Failed to load module "vesa" (module does not exist, 0)
[    15.662] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    15.680] (II) modeset(0): using drv /dev/dri/card0
[    15.680] (II) modeset(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[    15.680] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[    15.680] (==) modeset(0): RGB weight 888
[    15.680] (==) modeset(0): Default visual is TrueColor
[    15.680] (II) Loading sub module "glamoregl"
[    15.680] (II) LoadModule: "glamoregl"
[    15.680] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[    15.693] (II) Module glamoregl: vendor="X.Org Foundation"
[    15.693] 	compiled for 1.21.1.13, module version = 1.0.1
[    15.693] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    16.465] (II) modeset(0): Refusing to try glamor on llvmpipe
[    16.470] (II) modeset(0): glamor initialization failed
[    16.470] (II) modeset(0): ShadowFB: preferred NO, enabled NO
[    16.470] (II) modeset(0): Output None-1 has no monitor section
[    16.470] (II) modeset(0): EDID for output None-1
[    16.470] (II) modeset(0): Printing probed modes for output None-1
[    16.470] (II) modeset(0): Modeline "1280x800"x60.0   61.44  1280 1280 1280 1280  800 800 800 800 (48.0 kHz eP)
[    16.470] (II) modeset(0): Output None-1 connected
[    16.470] (II) modeset(0): Using exact sizes for initial modes
[    16.470] (II) modeset(0): Output None-1 using initial mode 1280x800 +0+0
[    16.470] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[    16.470] (==) modeset(0): DPI set to (96, 96)
[    16.470] (II) Loading sub module "fb"
[    16.470] (II) LoadModule: "fb"
[    16.470] (II) Module "fb" already built-in
[    16.473] (==) modeset(0): Backing store enabled
[    16.473] (==) modeset(0): Silken mouse enabled
[    16.473] (II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
[    16.473] (==) modeset(0): DPMS enabled
[    16.473] (II) Initializing extension Generic Event Extension
[    16.473] (II) Initializing extension SHAPE
[    16.474] (II) Initializing extension MIT-SHM
[    16.474] (II) Initializing extension XInputExtension
[    16.475] (II) Initializing extension XTEST
[    16.475] (II) Initializing extension BIG-REQUESTS
[    16.475] (II) Initializing extension SYNC
[    16.476] (II) Initializing extension XKEYBOARD
[    16.476] (II) Initializing extension XC-MISC
[    16.476] (II) Initializing extension SECURITY
[    16.476] (II) Initializing extension XFIXES
[    16.477] (II) Initializing extension RENDER
[    16.477] (II) Initializing extension RANDR
[    16.477] (II) Initializing extension COMPOSITE
[    16.477] (II) Initializing extension DAMAGE
[    16.478] (II) Initializing extension MIT-SCREEN-SAVER
[    16.478] (II) Initializing extension DOUBLE-BUFFER
[    16.478] (II) Initializing extension RECORD
[    16.478] (II) Initializing extension DPMS
[    16.478] (II) Initializing extension Present
[    16.479] (II) Initializing extension DRI3
[    16.479] (II) Initializing extension X-Resource
[    16.479] (II) Initializing extension XVideo
[    16.479] (II) Initializing extension XVideo-MotionCompensation
[    16.479] (II) Initializing extension GLX
[    16.479] (II) AIGLX: Screen 0 is not DRI2 capable
[    16.489] (II) IGLX: Loaded and initialized swrast
[    16.489] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[    16.489] (II) Initializing extension XFree86-VidModeExtension
[    16.489] (II) Initializing extension XFree86-DGA
[    16.489] (II) Initializing extension XFree86-DRI
[    16.489] (II) Initializing extension DRI2
[    16.492] (II) modeset(0): Damage tracking initialized
[    16.492] (II) modeset(0): Setting screen physical size to 338 x 211
[    16.602] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[    16.602] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[    16.602] (II) LoadModule: "libinput"
[    16.602] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[    16.609] (II) Module libinput: vendor="X.Org Foundation"
[    16.609] 	compiled for 1.21.1.8, module version = 1.4.0
[    16.609] 	Module class: X.Org XInput Driver
[    16.609] 	ABI class: X.Org XInput driver, version 24.4
[    16.609] (II) Using input driver 'libinput' for 'Power Button'
[    16.609] (**) Power Button: always reports core events
[    16.609] (**) Option "Device" "/dev/input/event3"
[    16.620] (II) event3  - Power Button: is tagged by udev as: Keyboard
[    16.620] (II) event3  - Power Button: device is a keyboard
[    16.621] (II) event3  - Power Button: device removed
[    16.650] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input3/event3"
[    16.650] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[    16.651] (II) event3  - Power Button: is tagged by udev as: Keyboard
[    16.651] (II) event3  - Power Button: device is a keyboard
[    16.652] (II) config/udev: Adding input device Video Bus (/dev/input/event4)
[    16.652] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[    16.652] (II) Using input driver 'libinput' for 'Video Bus'
[    16.652] (**) Video Bus: always reports core events
[    16.652] (**) Option "Device" "/dev/input/event4"
[    16.654] (II) event4  - Video Bus: is tagged by udev as: Keyboard
[    16.654] (II) event4  - Video Bus: device is a keyboard
[    16.654] (II) event4  - Video Bus: device removed
[    16.680] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:2b/LNXVIDEO:00/input/input4/event4"
[    16.680] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[    16.682] (II) event4  - Video Bus: is tagged by udev as: Keyboard
[    16.683] (II) event4  - Video Bus: device is a keyboard
[    16.687] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[    16.687] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[    16.687] (II) Using input driver 'libinput' for 'Power Button'
[    16.687] (**) Power Button: always reports core events
[    16.687] (**) Option "Device" "/dev/input/event1"
[    16.688] (II) event1  - Power Button: is tagged by udev as: Keyboard
[    16.688] (II) event1  - Power Button: device is a keyboard
[    16.688] (II) event1  - Power Button: device removed
[    16.703] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input1/event1"
[    16.703] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 8)
[    16.704] (II) event1  - Power Button: is tagged by udev as: Keyboard
[    16.705] (II) event1  - Power Button: device is a keyboard
[    16.705] (II) config/udev: Adding input device Lid Switch (/dev/input/event0)
[    16.705] (II) No input driver specified, ignoring this device.
[    16.705] (II) This device may have been added with another device file.
[    16.706] (II) config/udev: Adding input device Sleep Button (/dev/input/event2)
[    16.706] (**) Sleep Button: Applying InputClass "libinput keyboard catchall"
[    16.706] (II) Using input driver 'libinput' for 'Sleep Button'
[    16.706] (**) Sleep Button: always reports core events
[    16.706] (**) Option "Device" "/dev/input/event2"
[    16.707] (II) event2  - Sleep Button: is tagged by udev as: Keyboard
[    16.708] (II) event2  - Sleep Button: device is a keyboard
[    16.708] (II) event2  - Sleep Button: device removed
[    16.730] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input2/event2"
[    16.730] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 9)
[    16.731] (II) event2  - Sleep Button: is tagged by udev as: Keyboard
[    16.731] (II) event2  - Sleep Button: device is a keyboard
[    16.733] (II) config/udev: Adding input device Logitech M720 Triathlon (/dev/input/event8)
[    16.733] (**) Logitech M720 Triathlon: Applying InputClass "libinput pointer catchall"
[    16.733] (**) Logitech M720 Triathlon: Applying InputClass "libinput keyboard catchall"
[    16.733] (II) Using input driver 'libinput' for 'Logitech M720 Triathlon'
[    16.733] (**) Logitech M720 Triathlon: always reports core events
[    16.733] (**) Option "Device" "/dev/input/event8"
[    16.735] (II) event8  - Logitech M720 Triathlon: is tagged by udev as: Keyboard Mouse
[    16.735] (II) event8  - Logitech M720 Triathlon: device is a pointer
[    16.735] (II) event8  - Logitech M720 Triathlon: device is a keyboard
[    16.736] (II) event8  - Logitech M720 Triathlon: device removed
[    16.756] (II) libinput: Logitech M720 Triathlon: Step value 0 was provided, libinput Fallback acceleration function is used.
[    16.756] (II) libinput: Logitech M720 Triathlon: Step value 0 was provided, libinput Fallback acceleration function is used.
[    16.756] (II) libinput: Logitech M720 Triathlon: Step value 0 was provided, libinput Fallback acceleration function is used.
[    16.756] (II) libinput: Logitech M720 Triathlon: needs a virtual subdevice
[    16.756] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:04.0/usb1/1-1/1-1:1.2/0003:046D:C52B.0003/0003:046D:405E.0007/input/input18/event8"
[    16.756] (II) XINPUT: Adding extended input device "Logitech M720 Triathlon" (type: MOUSE, id 10)
[    16.757] (**) Option "AccelerationScheme" "none"
[    16.757] (**) Logitech M720 Triathlon: (accel) selected scheme none/0
[    16.757] (**) Logitech M720 Triathlon: (accel) acceleration factor: 2.000
[    16.757] (**) Logitech M720 Triathlon: (accel) acceleration threshold: 4
[    16.759] (II) event8  - Logitech M720 Triathlon: is tagged by udev as: Keyboard Mouse
[    16.759] (II) event8  - Logitech M720 Triathlon: device is a pointer
[    16.759] (II) event8  - Logitech M720 Triathlon: device is a keyboard
[    16.761] (II) config/udev: Adding input device Logitech M720 Triathlon (/dev/input/mouse1)
[    16.761] (II) No input driver specified, ignoring this device.
[    16.761] (II) This device may have been added with another device file.
[    16.762] (II) config/udev: Adding input device Apple Inc. Apple Internal Keyboard / Trackpad (/dev/input/event5)
[    16.762] (**) Apple Inc. Apple Internal Keyboard / Trackpad: Applying InputClass "libinput keyboard catchall"
[    16.762] (II) Using input driver 'libinput' for 'Apple Inc. Apple Internal Keyboard / Trackpad'
[    16.762] (**) Apple Inc. Apple Internal Keyboard / Trackpad: always reports core events
[    16.762] (**) Option "Device" "/dev/input/event5"
[    16.764] (II) event5  - Apple Inc. Apple Internal Keyboard / Trackpad: is tagged by udev as: Keyboard
[    16.765] (II) event5  - Apple Inc. Apple Internal Keyboard / Trackpad: device is a keyboard
[    16.765] (II) event5  - Apple Inc. Apple Internal Keyboard / Trackpad: device removed
[    16.783] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:06.0/usb2/2-3/2-3:1.0/0003:05AC:0237.0004/input/input10/event5"
[    16.783] (II) XINPUT: Adding extended input device "Apple Inc. Apple Internal Keyboard / Trackpad" (type: KEYBOARD, id 11)
[    16.785] (II) event5  - Apple Inc. Apple Internal Keyboard / Trackpad: is tagged by udev as: Keyboard
[    16.785] (II) event5  - Apple Inc. Apple Internal Keyboard / Trackpad: device is a keyboard
[    16.787] (II) config/udev: Adding input device bcm5974 (/dev/input/event9)
[    16.788] (**) bcm5974: Applying InputClass "libinput touchpad catchall"
[    16.788] (II) Using input driver 'libinput' for 'bcm5974'
[    16.788] (**) bcm5974: always reports core events
[    16.788] (**) Option "Device" "/dev/input/event9"
[    16.794] (II) event9  - bcm5974: is tagged by udev as: Touchpad
[    16.796] (II) event9  - bcm5974: device is a touchpad
[    16.796] (II) event9  - bcm5974: device removed
[    16.863] (II) libinput: bcm5974: Step value 0 was provided, libinput Fallback acceleration function is used.
[    16.863] (II) libinput: bcm5974: Step value 0 was provided, libinput Fallback acceleration function is used.
[    16.863] (II) libinput: bcm5974: Step value 0 was provided, libinput Fallback acceleration function is used.
[    16.863] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:06.0/usb2/2-3/2-3:1.2/input/input19/event9"
[    16.863] (II) XINPUT: Adding extended input device "bcm5974" (type: TOUCHPAD, id 12)
[    16.865] (**) Option "AccelerationScheme" "none"
[    16.865] (**) bcm5974: (accel) selected scheme none/0
[    16.865] (**) bcm5974: (accel) acceleration factor: 2.000
[    16.865] (**) bcm5974: (accel) acceleration threshold: 4
[    16.871] (II) event9  - bcm5974: is tagged by udev as: Touchpad
[    16.873] (II) event9  - bcm5974: device is a touchpad
[    16.874] (II) config/udev: Adding input device bcm5974 (/dev/input/mouse2)
[    16.874] (II) No input driver specified, ignoring this device.
[    16.874] (II) This device may have been added with another device file.
[    16.875] (II) config/udev: Adding input device HDA NVidia Headphone (/dev/input/event6)
[    16.875] (II) No input driver specified, ignoring this device.
[    16.875] (II) This device may have been added with another device file.
[    16.875] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event12)
[    16.875] (II) No input driver specified, ignoring this device.
[    16.875] (II) This device may have been added with another device file.
[    16.876] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7 (/dev/input/event13)
[    16.876] (II) No input driver specified, ignoring this device.
[    16.876] (II) This device may have been added with another device file.
[    16.877] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=8 (/dev/input/event14)
[    16.877] (II) No input driver specified, ignoring this device.
[    16.877] (II) This device may have been added with another device file.
[    16.877] (II) config/udev: Adding input device applesmc (/dev/input/event11)
[    16.877] (II) No input driver specified, ignoring this device.
[    16.877] (II) This device may have been added with another device file.
[    16.878] (II) config/udev: Adding input device applesmc (/dev/input/js0)
[    16.878] (II) No input driver specified, ignoring this device.
[    16.878] (II) This device may have been added with another device file.
[    16.879] (II) config/udev: Adding input device PC Speaker (/dev/input/event10)
[    16.879] (II) No input driver specified, ignoring this device.
[    16.879] (II) This device may have been added with another device file.
[    16.894] (**) Logitech M720 Triathlon: Applying InputClass "libinput pointer catchall"
[    16.894] (**) Logitech M720 Triathlon: Applying InputClass "libinput keyboard catchall"
[    16.894] (II) Using input driver 'libinput' for 'Logitech M720 Triathlon'
[    16.894] (**) Logitech M720 Triathlon: always reports core events
[    16.894] (**) Option "Device" "/dev/input/event8"
[    16.894] (II) libinput: Logitech M720 Triathlon: is a virtual subdevice
[    16.894] (II) libinput: Logitech M720 Triathlon: Step value 0 was provided, libinput Fallback acceleration function is used.
[    16.894] (II) libinput: Logitech M720 Triathlon: Step value 0 was provided, libinput Fallback acceleration function is used.
[    16.894] (II) libinput: Logitech M720 Triathlon: Step value 0 was provided, libinput Fallback acceleration function is used.
[    16.895] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:04.0/usb1/1-1/1-1:1.2/0003:046D:C52B.0003/0003:046D:405E.0007/input/input18/event8"
[    16.895] (II) XINPUT: Adding extended input device "Logitech M720 Triathlon" (type: KEYBOARD, id 13)

If you find any issues, I would be happy to know what I can do to fix all that up.

Last edited by adr77 (2024-06-22 16:35:57)


"A good attitude will always take you further than a bad habit." -Isabelle, Animal Crossing: New Leaf
meet the rig and the surprise:
monolith: AMD Ryzen 7 5800X | ASUS TUF RTX 4070 | 32GB DDR4 | DIY
hopescommadreams: Intel Core 2 Duo P8600 | GeForce 320M | 8GB DDR3 | mid-2010 MacBook7,1

Offline

#6 2024-06-22 16:47:38

seth
Member
Registered: 2012-09-03
Posts: 54,505

Re: Plethora of issues on a MacBook7,1

[    15.625] (II) xfree86: Adding drm device (/dev/dri/card0)
[    15.625] (II) Platform probe for /sys/devices/pci0000:00/0000:00:17.0/0000:02:00.0/simple-framebuffer.0/drm/card0
[    15.680] (II) modeset(0): using drv /dev/dri/card0
[    16.895] (II) XINPUT: Adding extended input device "Logitech M720 Triathlon" (type: KEYBOARD, id 13)

You're running software emulation on the modesetting driver, this should show up in top as high cpu load in kwin_x11 or Xorg?

Offline

#7 2024-06-22 16:53:47

adr77
Member
From: Israel
Registered: 2023-10-28
Posts: 146

Re: Plethora of issues on a MacBook7,1

seth wrote:
[    15.625] (II) xfree86: Adding drm device (/dev/dri/card0)
[    15.625] (II) Platform probe for /sys/devices/pci0000:00/0000:00:17.0/0000:02:00.0/simple-framebuffer.0/drm/card0
[    15.680] (II) modeset(0): using drv /dev/dri/card0
[    16.895] (II) XINPUT: Adding extended input device "Logitech M720 Triathlon" (type: KEYBOARD, id 13)

You're running software emulation on the modesetting driver, this should show up in top as high cpu load in kwin_x11 or Xorg?

there isn't much CPU usage in htop, but the most intensive stuff mostly comes from Xorg and kwin_x11


"A good attitude will always take you further than a bad habit." -Isabelle, Animal Crossing: New Leaf
meet the rig and the surprise:
monolith: AMD Ryzen 7 5800X | ASUS TUF RTX 4070 | 32GB DDR4 | DIY
hopescommadreams: Intel Core 2 Duo P8600 | GeForce 320M | 8GB DDR3 | mid-2010 MacBook7,1

Offline

#8 2024-06-22 17:04:40

seth
Member
Registered: 2012-09-03
Posts: 54,505

Re: Plethora of issues on a MacBook7,1

Ok, you want the nvidia-340xx-dkms package or use nouveau nevertheless.
Installing the 550xx nvidia drivers won't help you at all.

Offline

#9 2024-06-22 17:09:07

adr77
Member
From: Israel
Registered: 2023-10-28
Posts: 146

Re: Plethora of issues on a MacBook7,1

I had installed the 550xx drivers when I had installed Arch, not knowing I had an incompatible GPU.

I'll try to install the 340xx drivers again, and I'll send any updates here.

here's everything that happens during the installation:

[andaro@sevencommaone ~]$ yay -S nvidia-340xx-dkms
AUR Make Dependency (1): nvidia-340xx-utils-340.108-1
AUR Explicit (1): nvidia-340xx-dkms-340.108-37
:: PKGBUILD up to date, skipping download: nvidia-340xx
:: PKGBUILD up to date, skipping download: nvidia-340xx-utils
  2 nvidia-340xx                             (Build Files Exist)
  1 nvidia-340xx-utils                       (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
  2 nvidia-340xx-utils                       (Build Files Exist)
  1 nvidia-340xx                             (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
==> Making package: nvidia-340xx 340.108-37 (Sat 22 Jun 2024 20:11:36)
==> Retrieving sources...
  -> Found NVIDIA-Linux-x86_64-340.108-no-compat32.run
  -> Found 20-nvidia.conf
  -> Found 0001-kernel-5.7.patch
  -> Found 0002-kernel-5.8.patch
  -> Found 0003-kernel-5.9.patch
  -> Found 0004-kernel-5.10.patch
  -> Found 0005-kernel-5.11.patch
  -> Found 0006-kernel-5.14.patch
  -> Found 0007-kernel-5.15.patch
  -> Found 0008-kernel-5.16.patch
  -> Found 0009-kernel-5.17.patch
  -> Found 0010-kernel-5.18.patch
  -> Found 0011-kernel-6.0.patch
  -> Found 0012-kernel-6.2.patch
  -> Found 0013-kernel-6.3.patch
  -> Found 0014-kernel-6.5.patch
  -> Found 0015-kernel-6.6.patch
  -> Found 0016-kernel-6.8.patch
  -> Found 0017-gcc-14.patch
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with b2sums...
    NVIDIA-Linux-x86_64-340.108-no-compat32.run ... Passed
    20-nvidia.conf ... Passed
    0001-kernel-5.7.patch ... Passed
    0002-kernel-5.8.patch ... Passed
    0003-kernel-5.9.patch ... Passed
    0004-kernel-5.10.patch ... Passed
    0005-kernel-5.11.patch ... Passed
    0006-kernel-5.14.patch ... Passed
    0007-kernel-5.15.patch ... Passed
    0008-kernel-5.16.patch ... Passed
    0009-kernel-5.17.patch ... Passed
    0010-kernel-5.18.patch ... Passed
    0011-kernel-6.0.patch ... Passed
    0012-kernel-6.2.patch ... Passed
    0013-kernel-6.3.patch ... Passed
    0014-kernel-6.5.patch ... Passed
    0015-kernel-6.6.patch ... Passed
    0016-kernel-6.8.patch ... Passed
    0017-gcc-14.patch ... Passed
==> Making package: nvidia-340xx-utils 340.108-1 (Sat 22 Jun 2024 20:11:41)
==> Retrieving sources...
  -> Found nvidia-drm-outputclass.conf
  -> Found NVIDIA-Linux-x86_64-340.108-no-compat32.run
  -> Found nvidia-340xx-utils.sysusers
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha512sums...
    nvidia-drm-outputclass.conf ... Passed
    NVIDIA-Linux-x86_64-340.108-no-compat32.run ... Passed
    nvidia-340xx-utils.sysusers ... Passed
:: Remove make dependencies after install? [y/N] 
:: (1/2) Parsing SRCINFO: nvidia-340xx
:: (2/2) Parsing SRCINFO: nvidia-340xx-utils
==> Making package: nvidia-340xx-utils 340.108-1 (Sat 22 Jun 2024 20:11:46)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found nvidia-drm-outputclass.conf
  -> Found NVIDIA-Linux-x86_64-340.108-no-compat32.run
  -> Found nvidia-340xx-utils.sysusers
==> Validating source files with sha512sums...
    nvidia-drm-outputclass.conf ... Passed
    NVIDIA-Linux-x86_64-340.108-no-compat32.run ... Passed
    nvidia-340xx-utils.sysusers ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
==> Starting prepare()...
Creating directory NVIDIA-Linux-x86_64-340.108-no-compat32
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 340.108...........................................................................................................................................................................................................
==> Sources are ready.
 -> nvidia-340xx-utils-340.108-1 already made -- skipping build
==> Making package: nvidia-340xx-utils 340.108-1 (Sat 22 Jun 2024 20:11:57)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Sources are ready.
loading packages...
resolving dependencies...
looking for conflicting packages...
:: nvidia-340xx-utils-340.108-1 and nvidia-utils-550.90.07-3 are in conflict. Remove nvidia-utils? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: removing nvidia-utils breaks dependency 'nvidia-utils=550.90.07' required by nvidia
 -> Failed to install layer, rolling up to next layer.error:error installing: [/home/andaro/.cache/yay/nvidia-340xx-utils/nvidia-340xx-utils-340.108-1-x86_64.pkg.tar.zst] - exit status 1
==> Making package: nvidia-340xx-utils 340.108-1 (Sat 22 Jun 2024 20:12:02)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found nvidia-drm-outputclass.conf
  -> Found NVIDIA-Linux-x86_64-340.108-no-compat32.run
  -> Found nvidia-340xx-utils.sysusers
==> Validating source files with sha512sums...
    nvidia-drm-outputclass.conf ... Passed
    NVIDIA-Linux-x86_64-340.108-no-compat32.run ... Passed
    nvidia-340xx-utils.sysusers ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
==> Starting prepare()...
Creating directory NVIDIA-Linux-x86_64-340.108-no-compat32
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 340.108...........................................................................................................................................................................................................
==> Sources are ready.
 -> nvidia-340xx-utils-340.108-1 already made -- skipping build
==> Making package: nvidia-340xx-utils 340.108-1 (Sat 22 Jun 2024 20:12:13)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Sources are ready.
==> Making package: nvidia-340xx 340.108-37 (Sat 22 Jun 2024 20:12:16)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Missing dependencies:
  -> nvidia-340xx-utils=340.108
==> ERROR: Could not resolve all dependencies.
 -> error making: nvidia-340xx-exit status 8
loading packages...
resolving dependencies...
looking for conflicting packages...
:: nvidia-340xx-utils-340.108-1 and nvidia-utils-550.90.07-3 are in conflict. Remove nvidia-utils? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: removing nvidia-utils breaks dependency 'nvidia-utils=550.90.07' required by nvidia
 -> error installing: [/home/andaro/.cache/yay/nvidia-340xx-utils/nvidia-340xx-utils-340.108-1-x86_64.pkg.tar.zst] - exit status 1
error installing: [/home/andaro/.cache/yay/nvidia-340xx-utils/nvidia-340xx-utils-340.108-1-x86_64.pkg.tar.zst] - exit status 1

Even after confirming to remove nvidia-utils, it still won't do it. Anything possible or do I have to re-install Arch? not an issue, just wondering.

Last edited by adr77 (2024-06-22 17:15:26)


"A good attitude will always take you further than a bad habit." -Isabelle, Animal Crossing: New Leaf
meet the rig and the surprise:
monolith: AMD Ryzen 7 5800X | ASUS TUF RTX 4070 | 32GB DDR4 | DIY
hopescommadreams: Intel Core 2 Duo P8600 | GeForce 320M | 8GB DDR3 | mid-2010 MacBook7,1

Offline

#10 2024-06-22 17:29:43

seth
Member
Registered: 2012-09-03
Posts: 54,505

Re: Plethora of issues on a MacBook7,1

Don't use yay…
You can also just

pacman -Rs nvidia nvidia-utils

and then install the 340xx packages.

Offline

#11 2024-06-22 17:40:32

adr77
Member
From: Israel
Registered: 2023-10-28
Posts: 146

Re: Plethora of issues on a MacBook7,1

seth wrote:

Don't use yay…
You can also just

pacman -Rs nvidia nvidia-utils

and then install the 340xx packages.

alright, here's what I'm going to do:

  • remove the current stuff using the command you provided

  • download it from the AUR using git

  • use MAKEPKG and hope for the best

update on that: it all successfully installed, and I had rebooted to the same old, no brightness control. Oh, and it has now developed a dark border only around Firefox, and KDE apps don't have it.
Otherwise, neofetch runs faster.

does it have something to do with the mkinitcpio? I still have the old Nvidia hook set there.

Last edited by adr77 (2024-06-22 18:10:03)


"A good attitude will always take you further than a bad habit." -Isabelle, Animal Crossing: New Leaf
meet the rig and the surprise:
monolith: AMD Ryzen 7 5800X | ASUS TUF RTX 4070 | 32GB DDR4 | DIY
hopescommadreams: Intel Core 2 Duo P8600 | GeForce 320M | 8GB DDR3 | mid-2010 MacBook7,1

Offline

#12 2024-06-22 21:07:06

seth
Member
Registered: 2012-09-03
Posts: 54,505

Re: Plethora of issues on a MacBook7,1

does it have something to do with the mkinitcpio? I still have the old Nvidia hook set there.

No, what does the updated xorg log look like?

it has now developed a dark border only around Firefox, and KDE apps don't have it.

And what does that look like (please link a screenshot, don't embed it)?

qdbus org.kde.KWin/ KWin supportInformation

Then let's see whether any backlight device gets exposed to the system

ls -R /sys/class/backlight/

Offline

#13 2024-06-22 21:20:45

adr77
Member
From: Israel
Registered: 2023-10-28
Posts: 146

Re: Plethora of issues on a MacBook7,1

seth wrote:

does it have something to do with the mkinitcpio? I still have the old Nvidia hook set there.

No, what does the updated xorg log look like?

it has now developed a dark border only around Firefox, and KDE apps don't have it.

And what does that look like (please link a screenshot, don't embed it)?

qdbus org.kde.KWin/ KWin supportInformation

Then let's see whether any backlight device gets exposed to the system

ls -R /sys/class/backlight/

updated Xorg log:

[     8.461] (--) Log file renamed from "/var/log/Xorg.pid-525.log" to "/var/log/Xorg.0.log"
[     8.466] 
X.Org X Server 1.21.1.13
X Protocol Version 11, Revision 0
[     8.466] Current Operating System: Linux sevencommaone 6.9.5-arch1-1 #1 SMP PREEMPT_DYNAMIC Sun, 16 Jun 2024 19:06:37 +0000 x86_64
[     8.466] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=70c61ad7-b23d-4fd7-a310-df288620a623 rw loglevel=3
[     8.466]  
[     8.466] Current version of pixman: 0.43.4
[     8.466] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[     8.466] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     8.467] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Jun 23 00:05:15 2024
[     8.472] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[     8.474] (==) No Layout section.  Using the first Screen section.
[     8.474] (==) No screen section available. Using defaults.
[     8.474] (**) |-->Screen "Default Screen Section" (0)
[     8.474] (**) |   |-->Monitor "<default monitor>"
[     8.474] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[     8.474] (**) Allowing byte-swapped clients
[     8.474] (==) Automatically adding devices
[     8.474] (==) Automatically enabling devices
[     8.474] (==) Automatically adding GPU devices
[     8.474] (==) Automatically binding GPU devices
[     8.474] (==) Max clients allowed: 256, resource mask: 0x1fffff
[     8.474] (WW) The directory "/usr/share/fonts/misc" does not exist.
[     8.475] 	Entry deleted from font path.
[     8.478] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/TTF".
[     8.478] 	Entry deleted from font path.
[     8.478] 	(Run 'mkfontdir' on "/usr/share/fonts/TTF").
[     8.478] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[     8.478] 	Entry deleted from font path.
[     8.478] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[     8.478] 	Entry deleted from font path.
[     8.478] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[     8.478] 	Entry deleted from font path.
[     8.478] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[     8.478] 	Entry deleted from font path.
[     8.478] (==) FontPath set to:
	
[     8.478] (==) ModulePath set to "/usr/lib/xorg/modules"
[     8.478] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[     8.478] (II) Module ABI versions:
[     8.478] 	X.Org ANSI C Emulation: 0.4
[     8.478] 	X.Org Video Driver: 25.2
[     8.478] 	X.Org XInput driver : 24.4
[     8.478] 	X.Org Server Extension : 10.0
[     8.478] (++) using VT number 2

[     8.478] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[     8.480] (II) xfree86: Adding drm device (/dev/dri/card0)
[     8.480] (II) Platform probe for /sys/devices/pci0000:00/0000:00:17.0/0000:02:00.0/simple-framebuffer.0/drm/card0
[     8.489] (--) 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
[     8.489] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[     8.489] (II) LoadModule: "glx"
[     8.491] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[     8.630] (II) Module glx: vendor="X.Org Foundation"
[     8.630] 	compiled for 1.21.1.13, module version = 1.0.0
[     8.630] 	ABI class: X.Org Server Extension, version 10.0
[     8.630] (==) Matched nouveau as autoconfigured driver 0
[     8.630] (==) Matched nv as autoconfigured driver 1
[     8.630] (==) Matched modesetting as autoconfigured driver 2
[     8.630] (==) Matched fbdev as autoconfigured driver 3
[     8.630] (==) Matched vesa as autoconfigured driver 4
[     8.630] (==) Assigned the driver to the xf86ConfigLayout
[     8.630] (II) LoadModule: "nouveau"
[     8.630] (WW) Warning, couldn't open module nouveau
[     8.630] (EE) Failed to load module "nouveau" (module does not exist, 0)
[     8.630] (II) LoadModule: "nv"
[     8.631] (WW) Warning, couldn't open module nv
[     8.631] (EE) Failed to load module "nv" (module does not exist, 0)
[     8.631] (II) LoadModule: "modesetting"
[     8.631] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[     8.637] (II) Module modesetting: vendor="X.Org Foundation"
[     8.637] 	compiled for 1.21.1.13, module version = 1.21.1
[     8.637] 	Module class: X.Org Video Driver
[     8.637] 	ABI class: X.Org Video Driver, version 25.2
[     8.637] (II) LoadModule: "fbdev"
[     8.637] (WW) Warning, couldn't open module fbdev
[     8.637] (EE) Failed to load module "fbdev" (module does not exist, 0)
[     8.637] (II) LoadModule: "vesa"
[     8.637] (WW) Warning, couldn't open module vesa
[     8.637] (EE) Failed to load module "vesa" (module does not exist, 0)
[     8.637] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[     8.654] (II) modeset(0): using drv /dev/dri/card0
[     8.654] (II) modeset(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[     8.654] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[     8.655] (==) modeset(0): RGB weight 888
[     8.655] (==) modeset(0): Default visual is TrueColor
[     8.655] (II) Loading sub module "glamoregl"
[     8.655] (II) LoadModule: "glamoregl"
[     8.655] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[     8.670] (II) Module glamoregl: vendor="X.Org Foundation"
[     8.670] 	compiled for 1.21.1.13, module version = 1.0.1
[     8.670] 	ABI class: X.Org ANSI C Emulation, version 0.4
[     9.043] (EE) modeset(0): eglGetDisplay() failed
[     9.046] (II) modeset(0): glamor initialization failed
[     9.046] (II) modeset(0): ShadowFB: preferred NO, enabled NO
[     9.046] (II) modeset(0): Output None-1 has no monitor section
[     9.046] (II) modeset(0): EDID for output None-1
[     9.046] (II) modeset(0): Printing probed modes for output None-1
[     9.046] (II) modeset(0): Modeline "1280x800"x60.0   61.44  1280 1280 1280 1280  800 800 800 800 (48.0 kHz eP)
[     9.046] (II) modeset(0): Output None-1 connected
[     9.046] (II) modeset(0): Using exact sizes for initial modes
[     9.046] (II) modeset(0): Output None-1 using initial mode 1280x800 +0+0
[     9.046] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[     9.046] (==) modeset(0): DPI set to (96, 96)
[     9.046] (II) Loading sub module "fb"
[     9.046] (II) LoadModule: "fb"
[     9.046] (II) Module "fb" already built-in
[     9.049] (==) modeset(0): Backing store enabled
[     9.049] (==) modeset(0): Silken mouse enabled
[     9.049] (II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
[     9.049] (==) modeset(0): DPMS enabled
[     9.049] (II) Initializing extension Generic Event Extension
[     9.049] (II) Initializing extension SHAPE
[     9.049] (II) Initializing extension MIT-SHM
[     9.050] (II) Initializing extension XInputExtension
[     9.051] (II) Initializing extension XTEST
[     9.052] (II) Initializing extension BIG-REQUESTS
[     9.052] (II) Initializing extension SYNC
[     9.052] (II) Initializing extension XKEYBOARD
[     9.052] (II) Initializing extension XC-MISC
[     9.052] (II) Initializing extension SECURITY
[     9.053] (II) Initializing extension XFIXES
[     9.053] (II) Initializing extension RENDER
[     9.053] (II) Initializing extension RANDR
[     9.053] (II) Initializing extension COMPOSITE
[     9.054] (II) Initializing extension DAMAGE
[     9.054] (II) Initializing extension MIT-SCREEN-SAVER
[     9.054] (II) Initializing extension DOUBLE-BUFFER
[     9.054] (II) Initializing extension RECORD
[     9.054] (II) Initializing extension DPMS
[     9.054] (II) Initializing extension Present
[     9.055] (II) Initializing extension DRI3
[     9.055] (II) Initializing extension X-Resource
[     9.055] (II) Initializing extension XVideo
[     9.055] (II) Initializing extension XVideo-MotionCompensation
[     9.055] (II) Initializing extension GLX
[     9.055] (II) AIGLX: Screen 0 is not DRI2 capable
[     9.065] (II) IGLX: Loaded and initialized swrast
[     9.065] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[     9.065] (II) Initializing extension XFree86-VidModeExtension
[     9.065] (II) Initializing extension XFree86-DGA
[     9.065] (II) Initializing extension XFree86-DRI
[     9.065] (II) Initializing extension DRI2
[     9.068] (II) modeset(0): Damage tracking initialized
[     9.068] (II) modeset(0): Setting screen physical size to 338 x 211
[     9.171] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[     9.171] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[     9.171] (II) LoadModule: "libinput"
[     9.171] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[     9.178] (II) Module libinput: vendor="X.Org Foundation"
[     9.178] 	compiled for 1.21.1.8, module version = 1.4.0
[     9.178] 	Module class: X.Org XInput Driver
[     9.178] 	ABI class: X.Org XInput driver, version 24.4
[     9.178] (II) Using input driver 'libinput' for 'Power Button'
[     9.178] (**) Power Button: always reports core events
[     9.178] (**) Option "Device" "/dev/input/event3"
[     9.189] (II) event3  - Power Button: is tagged by udev as: Keyboard
[     9.189] (II) event3  - Power Button: device is a keyboard
[     9.189] (II) event3  - Power Button: device removed
[     9.206] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input3/event3"
[     9.206] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[     9.208] (II) event3  - Power Button: is tagged by udev as: Keyboard
[     9.208] (II) event3  - Power Button: device is a keyboard
[     9.209] (II) config/udev: Adding input device Video Bus (/dev/input/event4)
[     9.209] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[     9.209] (II) Using input driver 'libinput' for 'Video Bus'
[     9.209] (**) Video Bus: always reports core events
[     9.209] (**) Option "Device" "/dev/input/event4"
[     9.210] (II) event4  - Video Bus: is tagged by udev as: Keyboard
[     9.210] (II) event4  - Video Bus: device is a keyboard
[     9.211] (II) event4  - Video Bus: device removed
[     9.243] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:2b/LNXVIDEO:00/input/input4/event4"
[     9.243] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[     9.245] (II) event4  - Video Bus: is tagged by udev as: Keyboard
[     9.245] (II) event4  - Video Bus: device is a keyboard
[     9.246] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[     9.246] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[     9.246] (II) Using input driver 'libinput' for 'Power Button'
[     9.246] (**) Power Button: always reports core events
[     9.246] (**) Option "Device" "/dev/input/event1"
[     9.247] (II) event1  - Power Button: is tagged by udev as: Keyboard
[     9.247] (II) event1  - Power Button: device is a keyboard
[     9.247] (II) event1  - Power Button: device removed
[     9.270] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input1/event1"
[     9.270] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 8)
[     9.271] (II) event1  - Power Button: is tagged by udev as: Keyboard
[     9.271] (II) event1  - Power Button: device is a keyboard
[     9.272] (II) config/udev: Adding input device Lid Switch (/dev/input/event0)
[     9.272] (II) No input driver specified, ignoring this device.
[     9.272] (II) This device may have been added with another device file.
[     9.273] (II) config/udev: Adding input device Sleep Button (/dev/input/event2)
[     9.273] (**) Sleep Button: Applying InputClass "libinput keyboard catchall"
[     9.273] (II) Using input driver 'libinput' for 'Sleep Button'
[     9.273] (**) Sleep Button: always reports core events
[     9.273] (**) Option "Device" "/dev/input/event2"
[     9.274] (II) event2  - Sleep Button: is tagged by udev as: Keyboard
[     9.274] (II) event2  - Sleep Button: device is a keyboard
[     9.274] (II) event2  - Sleep Button: device removed
[     9.290] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input2/event2"
[     9.290] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 9)
[     9.291] (II) event2  - Sleep Button: is tagged by udev as: Keyboard
[     9.291] (II) event2  - Sleep Button: device is a keyboard
[     9.293] (II) config/udev: Adding input device Logitech M720 Triathlon (/dev/input/event6)
[     9.293] (**) Logitech M720 Triathlon: Applying InputClass "libinput pointer catchall"
[     9.293] (**) Logitech M720 Triathlon: Applying InputClass "libinput keyboard catchall"
[     9.293] (II) Using input driver 'libinput' for 'Logitech M720 Triathlon'
[     9.293] (**) Logitech M720 Triathlon: always reports core events
[     9.293] (**) Option "Device" "/dev/input/event6"
[     9.295] (II) event6  - Logitech M720 Triathlon: is tagged by udev as: Keyboard Mouse
[     9.295] (II) event6  - Logitech M720 Triathlon: device is a pointer
[     9.295] (II) event6  - Logitech M720 Triathlon: device is a keyboard
[     9.296] (II) event6  - Logitech M720 Triathlon: device removed
[     9.310] (II) libinput: Logitech M720 Triathlon: Step value 0 was provided, libinput Fallback acceleration function is used.
[     9.310] (II) libinput: Logitech M720 Triathlon: Step value 0 was provided, libinput Fallback acceleration function is used.
[     9.310] (II) libinput: Logitech M720 Triathlon: Step value 0 was provided, libinput Fallback acceleration function is used.
[     9.310] (II) libinput: Logitech M720 Triathlon: needs a virtual subdevice
[     9.310] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:04.0/usb1/1-1/1-1:1.2/0003:046D:C52B.0003/0003:046D:405E.0008/input/input18/event6"
[     9.310] (II) XINPUT: Adding extended input device "Logitech M720 Triathlon" (type: MOUSE, id 10)
[     9.310] (**) Option "AccelerationScheme" "none"
[     9.310] (**) Logitech M720 Triathlon: (accel) selected scheme none/0
[     9.310] (**) Logitech M720 Triathlon: (accel) acceleration factor: 2.000
[     9.310] (**) Logitech M720 Triathlon: (accel) acceleration threshold: 4
[     9.312] (II) event6  - Logitech M720 Triathlon: is tagged by udev as: Keyboard Mouse
[     9.312] (II) event6  - Logitech M720 Triathlon: device is a pointer
[     9.312] (II) event6  - Logitech M720 Triathlon: device is a keyboard
[     9.314] (II) config/udev: Adding input device Logitech M720 Triathlon (/dev/input/mouse1)
[     9.314] (II) No input driver specified, ignoring this device.
[     9.314] (II) This device may have been added with another device file.
[     9.315] (II) config/udev: Adding input device Apple Inc. Apple Internal Keyboard / Trackpad (/dev/input/event10)
[     9.315] (**) Apple Inc. Apple Internal Keyboard / Trackpad: Applying InputClass "libinput keyboard catchall"
[     9.315] (II) Using input driver 'libinput' for 'Apple Inc. Apple Internal Keyboard / Trackpad'
[     9.315] (**) Apple Inc. Apple Internal Keyboard / Trackpad: always reports core events
[     9.315] (**) Option "Device" "/dev/input/event10"
[     9.317] (II) event10 - Apple Inc. Apple Internal Keyboard / Trackpad: is tagged by udev as: Keyboard
[     9.318] (II) event10 - Apple Inc. Apple Internal Keyboard / Trackpad: device is a keyboard
[     9.318] (II) event10 - Apple Inc. Apple Internal Keyboard / Trackpad: device removed
[     9.336] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:06.0/usb2/2-3/2-3:1.0/0003:05AC:0237.0004/input/input11/event10"
[     9.336] (II) XINPUT: Adding extended input device "Apple Inc. Apple Internal Keyboard / Trackpad" (type: KEYBOARD, id 11)
[     9.338] (II) event10 - Apple Inc. Apple Internal Keyboard / Trackpad: is tagged by udev as: Keyboard
[     9.339] (II) event10 - Apple Inc. Apple Internal Keyboard / Trackpad: device is a keyboard
[     9.341] (II) config/udev: Adding input device bcm5974 (/dev/input/event7)
[     9.341] (**) bcm5974: Applying InputClass "libinput touchpad catchall"
[     9.341] (II) Using input driver 'libinput' for 'bcm5974'
[     9.341] (**) bcm5974: always reports core events
[     9.341] (**) Option "Device" "/dev/input/event7"
[     9.347] (II) event7  - bcm5974: is tagged by udev as: Touchpad
[     9.348] (II) event7  - bcm5974: device is a touchpad
[     9.348] (II) event7  - bcm5974: device removed
[     9.383] (II) libinput: bcm5974: Step value 0 was provided, libinput Fallback acceleration function is used.
[     9.383] (II) libinput: bcm5974: Step value 0 was provided, libinput Fallback acceleration function is used.
[     9.383] (II) libinput: bcm5974: Step value 0 was provided, libinput Fallback acceleration function is used.
[     9.383] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:06.0/usb2/2-3/2-3:1.2/input/input19/event7"
[     9.383] (II) XINPUT: Adding extended input device "bcm5974" (type: TOUCHPAD, id 12)
[     9.385] (**) Option "AccelerationScheme" "none"
[     9.385] (**) bcm5974: (accel) selected scheme none/0
[     9.385] (**) bcm5974: (accel) acceleration factor: 2.000
[     9.385] (**) bcm5974: (accel) acceleration threshold: 4
[     9.394] (II) event7  - bcm5974: is tagged by udev as: Touchpad
[     9.398] (II) event7  - bcm5974: device is a touchpad
[     9.401] (II) config/udev: Adding input device bcm5974 (/dev/input/mouse2)
[     9.401] (II) No input driver specified, ignoring this device.
[     9.401] (II) This device may have been added with another device file.
[     9.402] (II) config/udev: Adding input device HDA NVidia Headphone (/dev/input/event8)
[     9.402] (II) No input driver specified, ignoring this device.
[     9.402] (II) This device may have been added with another device file.
[     9.403] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event12)
[     9.403] (II) No input driver specified, ignoring this device.
[     9.403] (II) This device may have been added with another device file.
[     9.403] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7 (/dev/input/event13)
[     9.403] (II) No input driver specified, ignoring this device.
[     9.403] (II) This device may have been added with another device file.
[     9.404] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=8 (/dev/input/event14)
[     9.404] (II) No input driver specified, ignoring this device.
[     9.404] (II) This device may have been added with another device file.
[     9.406] (II) config/udev: Adding input device applesmc (/dev/input/event11)
[     9.406] (II) No input driver specified, ignoring this device.
[     9.406] (II) This device may have been added with another device file.
[     9.406] (II) config/udev: Adding input device applesmc (/dev/input/js0)
[     9.406] (II) No input driver specified, ignoring this device.
[     9.407] (II) This device may have been added with another device file.
[     9.407] (II) config/udev: Adding input device PC Speaker (/dev/input/event9)
[     9.407] (II) No input driver specified, ignoring this device.
[     9.407] (II) This device may have been added with another device file.
[     9.422] (**) Logitech M720 Triathlon: Applying InputClass "libinput pointer catchall"
[     9.422] (**) Logitech M720 Triathlon: Applying InputClass "libinput keyboard catchall"
[     9.422] (II) Using input driver 'libinput' for 'Logitech M720 Triathlon'
[     9.422] (**) Logitech M720 Triathlon: always reports core events
[     9.422] (**) Option "Device" "/dev/input/event6"
[     9.422] (II) libinput: Logitech M720 Triathlon: is a virtual subdevice
[     9.422] (II) libinput: Logitech M720 Triathlon: Step value 0 was provided, libinput Fallback acceleration function is used.
[     9.422] (II) libinput: Logitech M720 Triathlon: Step value 0 was provided, libinput Fallback acceleration function is used.
[     9.422] (II) libinput: Logitech M720 Triathlon: Step value 0 was provided, libinput Fallback acceleration function is used.
[     9.422] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:04.0/usb1/1-1/1-1:1.2/0003:046D:C52B.0003/0003:046D:405E.0008/input/input18/event6"
[     9.422] (II) XINPUT: Adding extended input device "Logitech M720 Triathlon" (type: KEYBOARD, id 13)

output of

ls -R /sys/class/backlight/
[andaro@sevencommaone ~]$ ls -R /sys/class/backlight/
/sys/class/backlight/:

link to the problematic Firefox window on Imgur


"A good attitude will always take you further than a bad habit." -Isabelle, Animal Crossing: New Leaf
meet the rig and the surprise:
monolith: AMD Ryzen 7 5800X | ASUS TUF RTX 4070 | 32GB DDR4 | DIY
hopescommadreams: Intel Core 2 Duo P8600 | GeForce 320M | 8GB DDR3 | mid-2010 MacBook7,1

Offline

#14 2024-06-22 21:31:51

seth
Member
Registered: 2012-09-03
Posts: 54,505

Re: Plethora of issues on a MacBook7,1

Nothing has changed in that xorg log - you probably don't have the linux-headers package so the dkms module wasn't actually built?

Offline

#15 2024-06-22 21:47:05

adr77
Member
From: Israel
Registered: 2023-10-28
Posts: 146

Re: Plethora of issues on a MacBook7,1

the linux-headers package is present, and it matches the kernel version, 6.9.5.arch1-1.

Also, after using it a bit off the battery, it now reports a full battery at 54%. It seems to work fine, might just be KDE doing its own thing.


"A good attitude will always take you further than a bad habit." -Isabelle, Animal Crossing: New Leaf
meet the rig and the surprise:
monolith: AMD Ryzen 7 5800X | ASUS TUF RTX 4070 | 32GB DDR4 | DIY
hopescommadreams: Intel Core 2 Duo P8600 | GeForce 320M | 8GB DDR3 | mid-2010 MacBook7,1

Offline

#16 2024-06-22 21:51:21

seth
Member
Registered: 2012-09-03
Posts: 54,505

Re: Plethora of issues on a MacBook7,1

pacman -Qs 'kernel|nvidia'
dkms status
lspci -k | grep -iC4 nvidia
sudo journalctl -b | curl -F 'file=@-' 0x0.st # this uploads your system journal to 0x0.st and hands you back a link

Offline

#17 2024-06-22 22:06:22

adr77
Member
From: Israel
Registered: 2023-10-28
Posts: 146

Re: Plethora of issues on a MacBook7,1

seth wrote:
pacman -Qs 'kernel|nvidia'
dkms status
lspci -k | grep -iC4 nvidia
sudo journalctl -b | curl -F 'file=@-' 0x0.st # this uploads your system journal to 0x0.st and hands you back a link

Pacman query brings

[andaro@sevencommaone ~]$ pacman -Qs 'kernel|nvidia'
local/dkms 3.0.12-1
    Dynamic Kernel Modules System
local/fuse3 3.16.2-1
    Interface for userspace programs to export a filesystem to the Linux kernel
local/iptables 1:1.8.10-1
    Linux kernel packet control tool (using legacy interface)
local/kmod 32-1
    Linux kernel module management tools and library
local/libdrm 2.4.121-1
    Userspace interface to kernel DRM services
local/libnetfilter_conntrack 1.0.9-2
    Library providing an API to the in-kernel connection tracking state table
local/libnfnetlink 1.0.2-2
    Low-level library for netfilter related kernel/userspace communication
local/libsysprof-capture 46.0-3
    Kernel based performance profiler - capture library
local/libvdpau 1.5-2
    Nvidia VDPAU library
local/linux 6.9.5.arch1-1
    The Linux kernel and modules
local/linux-api-headers 6.8-1
    Kernel headers sanitized for use in userspace
local/linux-headers 6.9.5.arch1-1
    Headers and scripts for building modules for the Linux kernel
local/mtdev 1.1.6-2
    A stand-alone library which transforms all variants of kernel MT events to the slotted type B protocol
local/nvidia-340xx-dkms 340.108-37
    NVIDIA driver sources for linux, 340xx legacy branch
local/nvidia-340xx-utils 340.108-1
    NVIDIA drivers utilities
local/opencl-nvidia-340xx 340.108-1
    OpenCL implemention for NVIDIA

DKMS status brings

[andaro@sevencommaone ~]$ dkms status
nvidia/340.108, 6.9.5-arch1-1, x86_64: installed

lscpi brings

[andaro@sevencommaone ~]$ lspci -k | grep -iC4 nvidia
00:00.0 Host bridge: NVIDIA Corporation MCP89 HOST Bridge (rev a1)
00:00.1 RAM memory: NVIDIA Corporation MCP89 Memory Controller (rev a1)
00:01.0 RAM memory: NVIDIA Corporation Device 0d6d (rev a1)
00:01.1 RAM memory: NVIDIA Corporation Device 0d6e (rev a1)
00:01.2 RAM memory: NVIDIA Corporation Device 0d6f (rev a1)
00:01.3 RAM memory: NVIDIA Corporation Device 0d70 (rev a1)
00:02.0 RAM memory: NVIDIA Corporation Device 0d71 (rev a1)
00:02.1 RAM memory: NVIDIA Corporation Device 0d72 (rev a1)
00:03.0 ISA bridge: NVIDIA Corporation MCP89 LPC Bridge (rev a2)
        Subsystem: Apple Inc. Device cb89
00:03.1 RAM memory: NVIDIA Corporation MCP89 Memory Controller (rev a1)
00:03.2 SMBus: NVIDIA Corporation MCP89 SMBus (rev a1)
        Subsystem: NVIDIA Corporation Device cb89
00:03.3 RAM memory: NVIDIA Corporation MCP89 Memory Controller (rev a1)
00:03.4 Co-processor: NVIDIA Corporation MCP89 Co-Processor (rev a1)
        Subsystem: NVIDIA Corporation Device cb89
00:04.0 USB controller: NVIDIA Corporation MCP89 OHCI USB 1.1 Controller (rev a1)
        Subsystem: NVIDIA Corporation Device cb89
        Kernel driver in use: ohci-pci
00:04.1 USB controller: NVIDIA Corporation MCP89 EHCI USB 2.0 Controller (rev a2)
        Subsystem: NVIDIA Corporation Device cb89
        Kernel driver in use: ehci-pci
00:06.0 USB controller: NVIDIA Corporation MCP89 OHCI USB 1.1 Controller (rev a1)
        Subsystem: NVIDIA Corporation Device cb89
        Kernel driver in use: ohci-pci
00:06.1 USB controller: NVIDIA Corporation MCP89 EHCI USB 2.0 Controller (rev a2)
        Subsystem: NVIDIA Corporation Device cb89
        Kernel driver in use: ehci-pci
00:08.0 Audio device: NVIDIA Corporation MCP89 High Definition Audio (rev a2)
        Subsystem: NVIDIA Corporation Device cb89
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
00:09.0 Ethernet controller: NVIDIA Corporation MCP89 Ethernet (rev a1)
        Subsystem: Apple Inc. Device cb89
        Kernel driver in use: forcedeth
        Kernel modules: forcedeth
00:0a.0 SATA controller: NVIDIA Corporation MCP89 SATA Controller (AHCI mode) (rev a2)
        Subsystem: Apple Inc. Device cb89
        Kernel driver in use: ahci
00:0b.0 RAM memory: NVIDIA Corporation Device 0d75 (rev a1)
00:15.0 PCI bridge: NVIDIA Corporation Device 0d9b (rev a1)
        Subsystem: NVIDIA Corporation Device 0000
        Kernel driver in use: pcieport
00:17.0 PCI bridge: NVIDIA Corporation MCP89 PCI Express Bridge (rev a1)
        Subsystem: NVIDIA Corporation Device 0000
01:00.0 Network controller: Broadcom Inc. and subsidiaries BCM43224 802.11a/b/g/n (rev 01)
        Subsystem: Apple Inc. AirPort Extreme
        Kernel driver in use: bcma-pci-bridge
        Kernel modules: bcma
02:00.0 VGA compatible controller: NVIDIA Corporation MCP89 [GeForce 320M] (rev a2)
        Subsystem: Apple Inc. Device 00ce
        Kernel driver in use: nvidia
        Kernel modules: nouveau, nvidia

http://0x0.st/XAeb.txt - the link from the journalctl query


"A good attitude will always take you further than a bad habit." -Isabelle, Animal Crossing: New Leaf
meet the rig and the surprise:
monolith: AMD Ryzen 7 5800X | ASUS TUF RTX 4070 | 32GB DDR4 | DIY
hopescommadreams: Intel Core 2 Duo P8600 | GeForce 320M | 8GB DDR3 | mid-2010 MacBook7,1

Offline

#18 2024-06-22 22:20:39

seth
Member
Registered: 2012-09-03
Posts: 54,505

Re: Plethora of issues on a MacBook7,1

nvidia loads hmm
Enable https://wiki.archlinux.org/title/NVIDIA … de_setting - use the "nvidia_drm.modeset=1" kernel parameter (modprobe.conf won't do!) - this will block the simpledrm device, be prepared that your GUI might not start at all with this.

Sidebar: disable iwd, follow https://wiki.archlinux.org/title/Networ … Fi_backend if you want to use it as NM backend.

Offline

#19 2024-06-22 22:33:53

adr77
Member
From: Israel
Registered: 2023-10-28
Posts: 146

Re: Plethora of issues on a MacBook7,1

seth wrote:

nvidia loads hmm
Enable https://wiki.archlinux.org/title/NVIDIA … de_setting - use the "nvidia_drm.modeset=1" kernel parameter (modprobe.conf won't do!) - this will block the simpledrm device, be prepared that your GUI might not start at all with this.

Sidebar: disable iwd, follow https://wiki.archlinux.org/title/Networ … Fi_backend if you want to use it as NM backend.

I have no idea how to enable that kernel parameter, and disabling iwd just killed my internet connection.

also, KDE suggests that I should install the power-profiles-daemon, should I?

Last edited by adr77 (2024-06-23 05:49:17)


"A good attitude will always take you further than a bad habit." -Isabelle, Animal Crossing: New Leaf
meet the rig and the surprise:
monolith: AMD Ryzen 7 5800X | ASUS TUF RTX 4070 | 32GB DDR4 | DIY
hopescommadreams: Intel Core 2 Duo P8600 | GeForce 320M | 8GB DDR3 | mid-2010 MacBook7,1

Offline

#20 2024-06-23 07:03:39

shulamy
Member
From: israel
Registered: 2010-09-11
Posts: 460

Re: Plethora of issues on a MacBook7,1

add the parameter to the kernel line of grub

is networkmanager enabled?

  ezik

Offline

#21 2024-06-23 07:31:17

adr77
Member
From: Israel
Registered: 2023-10-28
Posts: 146

Re: Plethora of issues on a MacBook7,1

shulamy wrote:

add the parameter to the kernel line of grub

is networkmanager enabled?

  ezik

I'm not currently home, and I can actually damage the install and disable the graphics.

NetworkManager is enabled and running.

Also, which line in

/etc/default/grub

am I supposed to put said module in?

Last edited by adr77 (2024-06-23 07:35:01)


"A good attitude will always take you further than a bad habit." -Isabelle, Animal Crossing: New Leaf
meet the rig and the surprise:
monolith: AMD Ryzen 7 5800X | ASUS TUF RTX 4070 | 32GB DDR4 | DIY
hopescommadreams: Intel Core 2 Duo P8600 | GeForce 320M | 8GB DDR3 | mid-2010 MacBook7,1

Offline

#22 2024-06-23 07:38:31

seth
Member
Registered: 2012-09-03
Posts: 54,505

Re: Plethora of issues on a MacBook7,1

https://wiki.archlinux.org/title/Kernel_parameters
nb. that editing /etc/default/grub doesn't do anything before running grub-mkconfig.
Rather add the parameter at the bootloader (press "e"), this way you just need to reboot if the GUI no longer loads.

Then provide a journal covering the network situation w/ iwd disbaled.
As mentioned, you can use iwd as NM backend, but you must not run it next to NM

Offline

#23 2024-06-23 07:48:23

adr77
Member
From: Israel
Registered: 2023-10-28
Posts: 146

Re: Plethora of issues on a MacBook7,1

seth wrote:

https://wiki.archlinux.org/title/Kernel_parameters
nb. that editing /etc/default/grub doesn't do anything before running grub-mkconfig.
Rather add the parameter at the bootloader (press "e"), this way you just need to reboot if the GUI no longer loads.

Then provide a journal covering the network situation w/ iwd disbaled.
As mentioned, you can use iwd as NM backend, but you must not run it next to NM

I have to note:

shutting off iwd fully disables my WiFi connections, and NetworkManager does nothing.

I can't see GRUB, I just know when to tap enter to boot Arch. Why? Because Apple, screw you, be blind until it actually boots the kernel. I couldn't install rEFInd, because once again, Apple device, screw you.

Actually, I have an idea, that'll I'll preform once I'm home: I'll just copy everything one-to-one using the monolith's GRUB, then copy the same actions on the sevencommaone.

Last edited by adr77 (2024-06-23 07:52:04)


"A good attitude will always take you further than a bad habit." -Isabelle, Animal Crossing: New Leaf
meet the rig and the surprise:
monolith: AMD Ryzen 7 5800X | ASUS TUF RTX 4070 | 32GB DDR4 | DIY
hopescommadreams: Intel Core 2 Duo P8600 | GeForce 320M | 8GB DDR3 | mid-2010 MacBook7,1

Offline

#24 2024-06-23 11:49:35

adr77
Member
From: Israel
Registered: 2023-10-28
Posts: 146

Re: Plethora of issues on a MacBook7,1

seth wrote:

nvidia loads hmm
Enable https://wiki.archlinux.org/title/NVIDIA … de_setting - use the "nvidia_drm.modeset=1" kernel parameter (modprobe.conf won't do!) - this will block the simpledrm device, be prepared that your GUI might not start at all with this.

Sidebar: disable iwd, follow https://wiki.archlinux.org/title/Networ … Fi_backend if you want to use it as NM backend.

here's an explanation of everything I've done so far:

  • got home

  • set the

    nvidia_drm.modeset=1

    parameter under

    /etc/default/grub
  • ran grub-mkconfig

  • rebooted

  • got into the loading screen (I don't have the quiet boot flag enabled)

  • switched to another tty terminal

  • reset to how it was

  • rebooted again

  • now its back as usual, currently sitting in SDDM

http://0x0.st/XAOc.txt I have disabled iwd, all I had to do was reboot after disabling and removing iwd, now my WiFi runs from NM. writing this from the monolith.

Last edited by adr77 (2024-06-23 11:52:57)


"A good attitude will always take you further than a bad habit." -Isabelle, Animal Crossing: New Leaf
meet the rig and the surprise:
monolith: AMD Ryzen 7 5800X | ASUS TUF RTX 4070 | 32GB DDR4 | DIY
hopescommadreams: Intel Core 2 Duo P8600 | GeForce 320M | 8GB DDR3 | mid-2010 MacBook7,1

Offline

#25 2024-06-23 12:47:54

seth
Member
Registered: 2012-09-03
Posts: 54,505

Re: Plethora of issues on a MacBook7,1

Jun 23 14:44:14 sevencommaone kernel:  ? nv_drm_init+0x20/0x20 [nvidia e491776bbc9c365af20f6166051a0ca29a2e383b]
Jun 23 14:44:14 sevencommaone kernel:  ? __warn_thunk+0x2a/0x40
Jun 23 14:44:14 sevencommaone kernel:  ? __warn_thunk+0x2a/0x40
Jun 23 14:44:14 sevencommaone kernel:  warn_thunk_thunk+0x1a/0x30
Jun 23 14:44:14 sevencommaone kernel:  ? nv_drm_init+0x20/0x20 [nvidia e491776bbc9c365af20f6166051a0ca29a2e383b]
Jun 23 14:44:14 sevencommaone kernel:  nvidia_init_module+0x2d/0x760 [nvidia e491776bbc9c365af20f6166051a0ca29a2e383b]

is probably lethal - https://bbs.archlinux.org/viewtopic.php?id=296729
Do you have more luck w/ the LTS kernel (and linux-lts-headers for the dkms)?

Offline

Board footer

Powered by FluxBB