New install and a subtile, strange problem

Hi!
I week ago my 2,5 year old archlabs install died. After trying to save it for a few hours my curiosity over the new install-image took over.
Installation took about 4 (!!) minutes and everything worked flawlessly! (dk, i3 so far).
The computer is an ASUS-ROG (2017 with geforce-TI 1050 and INTEL with broken lid).
Installation of Nvidia went well and I am using optimus-manager.

The prolem.
I have used geany for configuring etc for years without problem but now it’s so slow that it is unusable, especially editing. The same goes for alacritty terminal, xfce4-terminal. I use Kitty for now beause it’s usable.

Could it be some problem with Nvidia? I thought so myself so I have configured early-KMS with mkinitcpio but that did not make any change.

My other computers have INTEL gpus so I have never had this problem before and haven’t installed on Nvidia in a couple of years.

Anyone with similar experience who can give me a hint in the right direction?

(I don’t enclose any config-files now because I have no idea what to send)

womp

You can copy and paste a command from the journal here, for example:

$ journalctl -b -0 | curl -F 'f:1=<-' ix.io

That console command will give you after a few seconds a url and you can paste it here.

?

3 Likes

Thank you for answering!!

http://ix.io/4aLd

womp

1 Like

Verify the service is running:

systemctl status optimus-manager.service

Were you using optimus-manager with the previous installation?

optimus-manager -developer has some comments for installation and a link to a troubleshooting page.

3 Likes

I see no errors in what I read from the url.

I could paste the result of:

$ pacman -Qs nvidia

?

2 Likes

Up and running and yes I used optimus-manager in previous system. Checking optimus gives nvidia and so does glxinfo.

Womp

pacman -Qs nvidia

local/egl-wayland 2:1.1.11-2
   EGLStream-based Wayland external platform
local/libvdpau 1.5-1
   Nvidia VDPAU library
local/libxnvctrl 515.65.01-1
   NVIDIA NV-CONTROL X extension
local/nvidia-dkms 515.65.01-2
   NVIDIA drivers - module sources
local/nvidia-utils 515.65.01-2
   NVIDIA drivers utilities
local/xf86-video-nouveau 1.0.17-2 (xorg-drivers)
   Open Source 3D acceleration driver for nVidia cards
1 Like

I am clutching at straws here but could it be powermanagement?
QT-GTK ?

womp

post,

$lspci -v

1 Like

lspci -v

00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 05)
	Subsystem: ASUSTeK Computer Inc. Device 1590
	Flags: bus master, fast devsel, latency 0
	Capabilities: <access denied>
	Kernel driver in use: skl_uncore

00:01.0 PCI bridge: Intel Corporation 6th-10th Gen Core Processor PCIe Controller (x16) (rev 05) (prog-if 00 [Normal decode])
	Subsystem: ASUSTeK Computer Inc. Device 1590
	Flags: bus master, fast devsel, latency 0, IRQ 122
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	I/O behind bridge: e000-efff [size=4K] [16-bit]
	Memory behind bridge: de000000-df0fffff [size=17M] [32-bit]
	Prefetchable memory behind bridge: c0000000-d1ffffff [size=288M] [32-bit]
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:02.0 VGA compatible controller: Intel Corporation HD Graphics 630 (rev 04) (prog-if 00 [VGA controller])
	DeviceName:  Onboard IGD
	Subsystem: ASUSTeK Computer Inc. Device 1590
	Flags: bus master, fast devsel, latency 0, IRQ 140
	Memory at dd000000 (64-bit, non-prefetchable) [size=16M]
	Memory at b0000000 (64-bit, prefetchable) [size=256M]
	I/O ports at f000 [size=64]
	Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: i915
	Kernel modules: i915

00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
	Subsystem: ASUSTeK Computer Inc. Device 1590
	Flags: fast devsel, IRQ 255
	Memory at df530000 (64-bit, non-prefetchable) [disabled] [size=4K]
	Capabilities: <access denied>

00:14.0 USB controller: Intel Corporation 100 Series/C230 Series Chipset Family USB 3.0 xHCI Controller (rev 31) (prog-if 30 [XHCI])
	Subsystem: ASUSTeK Computer Inc. Device 201f
	Flags: bus master, medium devsel, latency 0, IRQ 129
	Memory at df510000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: <access denied>
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci

00:14.2 Signal processing controller: Intel Corporation 100 Series/C230 Series Chipset Family Thermal Subsystem (rev 31)
	Subsystem: ASUSTeK Computer Inc. Device 1590
	Flags: fast devsel, IRQ 18
	Memory at df52f000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: intel_pch_thermal
	Kernel modules: intel_pch_thermal

00:15.0 Signal processing controller: Intel Corporation 100 Series/C230 Series Chipset Family Serial IO I2C Controller #0 (rev 31)
	Subsystem: ASUSTeK Computer Inc. Device 1590
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Memory at df52e000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: intel-lpss
	Kernel modules: intel_lpss_pci

00:16.0 Communication controller: Intel Corporation 100 Series/C230 Series Chipset Family MEI Controller #1 (rev 31)
	Subsystem: ASUSTeK Computer Inc. Device 1590
	Flags: bus master, fast devsel, latency 0, IRQ 139
	Memory at df52d000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: mei_me
	Kernel modules: mei_me

00:17.0 SATA controller: Intel Corporation HM170/QM170 Chipset SATA Controller [AHCI Mode] (rev 31) (prog-if 01 [AHCI 1.0])
	Subsystem: ASUSTeK Computer Inc. Device 1590
	Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 127
	Memory at df528000 (32-bit, non-prefetchable) [size=8K]
	Memory at df52c000 (32-bit, non-prefetchable) [size=256]
	I/O ports at f090 [size=8]
	I/O ports at f080 [size=4]
	I/O ports at f060 [size=32]
	Memory at df52b000 (32-bit, non-prefetchable) [size=2K]
	Capabilities: <access denied>
	Kernel driver in use: ahci

00:1c.0 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #3 (rev f1) (prog-if 00 [Normal decode])
	Subsystem: ASUSTeK Computer Inc. Device 1590
	Flags: bus master, fast devsel, latency 0, IRQ 123
	Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
	I/O behind bridge: [disabled] [16-bit]
	Memory behind bridge: df400000-df4fffff [size=1M] [32-bit]
	Prefetchable memory behind bridge: [disabled] [64-bit]
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:1c.3 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #4 (rev f1) (prog-if 00 [Normal decode])
	Subsystem: ASUSTeK Computer Inc. Device 1590
	Flags: bus master, fast devsel, latency 0, IRQ 124
	Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
	I/O behind bridge: d000-dfff [size=4K] [16-bit]
	Memory behind bridge: df300000-df3fffff [size=1M] [32-bit]
	Prefetchable memory behind bridge: [disabled] [64-bit]
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:1c.6 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #7 (rev f1) (prog-if 00 [Normal decode])
	Subsystem: ASUSTeK Computer Inc. Device 1590
	Flags: bus master, fast devsel, latency 0, IRQ 125
	Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
	I/O behind bridge: [disabled] [16-bit]
	Memory behind bridge: df200000-df2fffff [size=1M] [32-bit]
	Prefetchable memory behind bridge: [disabled] [64-bit]
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:1d.0 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #9 (rev f1) (prog-if 00 [Normal decode])
	Subsystem: ASUSTeK Computer Inc. Device 1590
	Flags: bus master, fast devsel, latency 0, IRQ 126
	Bus: primary=00, secondary=05, subordinate=05, sec-latency=0
	I/O behind bridge: [disabled] [16-bit]
	Memory behind bridge: df100000-df1fffff [size=1M] [32-bit]
	Prefetchable memory behind bridge: [disabled] [64-bit]
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:1f.0 ISA bridge: Intel Corporation HM175 Chipset LPC/eSPI Controller (rev 31)
	Subsystem: ASUSTeK Computer Inc. Device 1590
	Flags: bus master, medium devsel, latency 0

00:1f.2 Memory controller: Intel Corporation 100 Series/C230 Series Chipset Family Power Management Controller (rev 31)
	Subsystem: ASUSTeK Computer Inc. Device 1590
	Flags: fast devsel
	Memory at df524000 (32-bit, non-prefetchable) [disabled] [size=16K]

00:1f.3 Audio device: Intel Corporation CM238 HD Audio Controller (rev 31) (prog-if 80)
	Subsystem: ASUSTeK Computer Inc. Device 1590
	Flags: bus master, fast devsel, latency 32, IRQ 143
	Memory at df520000 (64-bit, non-prefetchable) [size=16K]
	Memory at df500000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: <access denied>
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel

00:1f.4 SMBus: Intel Corporation 100 Series/C230 Series Chipset Family SMBus (rev 31)
	Subsystem: ASUSTeK Computer Inc. Device 1590
	Flags: medium devsel, IRQ 16
	Memory at df52a000 (64-bit, non-prefetchable) [size=256]
	I/O ports at f040 [size=32]
	Kernel driver in use: i801_smbus
	Kernel modules: i2c_i801

01:00.0 3D controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Ti Mobile] (rev a1)
	Subsystem: ASUSTeK Computer Inc. Device 1590
	Flags: bus master, fast devsel, latency 0, IRQ 144
	Memory at de000000 (32-bit, non-prefetchable) [size=16M]
	Memory at c0000000 (64-bit, prefetchable) [size=256M]
	Memory at d0000000 (64-bit, prefetchable) [size=32M]
	I/O ports at e000 [size=128]
	Expansion ROM at df000000 [virtual] [disabled] [size=512K]
	Capabilities: <access denied>
	Kernel driver in use: nvidia
	Kernel modules: nouveau, nvidia_drm, nvidia

02:00.0 Network controller: Intel Corporation Wireless 7265 (rev 59)
	Subsystem: Intel Corporation Dual Band Wireless-AC 7265
	Flags: bus master, fast devsel, latency 0, IRQ 142
	Memory at df400000 (64-bit, non-prefetchable) [size=8K]
	Capabilities: <access denied>
	Kernel driver in use: iwlwifi
	Kernel modules: iwlwifi

03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
	Subsystem: ASUSTeK Computer Inc. Device 200f
	Flags: bus master, fast devsel, latency 0, IRQ 19
	I/O ports at d000 [size=256]
	Memory at df304000 (64-bit, non-prefetchable) [size=4K]
	Memory at df300000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: r8169
	Kernel modules: r8169

04:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5229 PCI Express Card Reader (rev 01)
	Subsystem: ASUSTeK Computer Inc. Device 202f
	Flags: bus master, fast devsel, latency 0, IRQ 128
	Memory at df200000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: rtsx_pci
	Kernel modules: rtsx_pci

05:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983 (prog-if 02 [NVM Express])
	Subsystem: Samsung Electronics Co Ltd SSD 970 EVO Plus 1TB
	Flags: bus master, fast devsel, latency 0, IRQ 16, NUMA node 0
	Memory at df100000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: nvme
	Kernel modules: nvme

womp

Comparing your Nvidia installation with mine, everything is fine.

[judd@archlabs ~]$ pacman -Qs nvidia
local/egl-wayland 2:1.1.11-2
    EGLStream-based Wayland external platform
local/libvdpau 1.5-1
    Nvidia VDPAU library
local/libxnvctrl 515.65.01-1
    NVIDIA NV-CONTROL X extension
local/nvidia-dkms 515.65.01-2
    NVIDIA drivers - module sources
local/nvidia-settings 515.65.01-1
    Tool for configuring the NVIDIA graphics driver
local/nvidia-utils 515.65.01-2
    NVIDIA drivers utilities
local/xf86-video-nouveau 1.0.17-2 (xorg-drivers)
    Open Source 3D acceleration driver for nVidia cards

3 Likes

Thanks!
It could be something else. I am searching … and searching!

WOMP

2 Likes

I am not sure what is causing the issue in your system. Seems that right drivers are loaded properly. Have you tried to limit using only one video card in the system (either nvidia or intel)?

https://wiki.archlinux.org/title/NVIDIA_Optimus#Use_NVIDIA_graphics_only

@womp - post the output of:

ls /etc/X11/xorg.conf.d
2 Likes
00-keyboard.conf
10-optimus-manager.conf
20-intel.conf
40-touchpad.conf

womp

10-optimus-manager.conf
20-intel.conf

The two graphics cards work together and that’s not good…

2 Likes

Remove that intel file - back it up somewhere, don’t delete it.

Searches for your issue always mention to remove any gpu related configurations from /etc/X11/xorg.conf.d because they may conflict with the optimus.manager.conf file created.

From optimus-manager git page:

Custom Xorg config : optimus-manager works by auto-generating a Xorg configuration file and putting it into /etc/X11/xorg.conf.d/. If you already have custom Xorg configuration files at that location or at /etc/X11/xorg.conf , it is strongly advised that you remove anything GPU-related from them to make sure that they do not interfere with the GPU switching process.

So move that 20-intel.conf file out and see if that works.

7 Likes

Great!
Removing 20-intel.conf seames to have made the trick!!

Thank you all for your attention to this!

I did try “Optimus use NVIDIA only” and that got me into trouble with Ligthtdm. I managed to solve it but got screen tearing.

Archlabs and “Archlabbers” are the best!!

womp

1 Like

Good deal.

That git page I linked and the ArchWiki page are worth a read. There are entries/tips and tricks for method used (optimus-manager in your case), as well as, which DM you use (if any) to log in.

6 Likes

Absoluteley!!

Thanks again!

womp