You are not logged in.
uname -a
5.18.13-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 22 Jul 2022 13:05:04 +0000 x86_64 GNU/Linux
nvidia-settings -v
nvidia-settings: version 515.57
dmesg
https://pastebin.com/UUDDniLD
Xorg.0.log
https://pastebin.com/y1KEnbZg
Laptop
https://www.acer.com/ac/en/IL/content/p … rhelios300
/usr/share/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf
Section "OutputClass"
Identifier "nvidia"
MatchDriver "nvidia-drm"
Driver "nvidia"
Option "AllowEmptyInitialConfiguration"
ModulePath "/usr/lib/nvidia/xorg"
ModulePath "/usr/lib/xorg/modules"
EndSection
grub.cfg
menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-66a4bfd8-01>
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod fat
set root='hd0,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 EF0A-1FA4
else
search --no-floppy --fs-uuid --set=root EF0A-1FA4
fi
echo 'Loading Linux linux ...'
linux /vmlinuz-linux root=UUID=66a4bfd8-015c-4c59-b10e-d6d79e7f661d rw loglevel=3 quiet ibt=off
echo 'Loading initial ramdisk ...'
initrd /initramfs-linux.img
}
xrandr
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
eDP1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 340mm x 190mm
1920x1080 144.00*+
HDMI1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
xrandr --listproviders
Providers: number : 1
Provider 0: id: 0x45 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 4 outputs: 3 associated providers: 0 name:Intel
*No /etc/X11/xorg.conf*
I think after some system update, can't detect external monitor in hdmi-1 anymore.
Both monitors works at the same time in Win11.
I can have *only* external monitor to work if I run nvidia-xconfig, it creates /etc/X11/xorg.conf, but then internal display does not work; it's like I can have only internal display or external display with nvidia-xconfig.
Any suggestions?
Last edited by demensdeum (2022-07-24 13:18:50)
Offline
if I run nvidia-xconfig
Don't, terrible idea in general and esp. for optimus systems.
The HDMI is most likely wired to the nvidia chip.
The nvida module loads, but extremely late (17+ seconds into the boot).
=> does the provider get detected when you restart the X11 server after the boot?
Do you use optimus-mananger or bbswitch/acpi_call to power off the nvidia chip?
Both monitors works at the same time in Win11.
Also see the 3rd link below.
Offline
Don't, terrible idea in general and esp. for optimus systems.
Understood
The HDMI is most likely wired to the nvidia chip.
Probably
The nvida module loads, but extremely late (17+ seconds into the boot).
=> does the provider get detected when you restart the X11 server after the boot?
I am wondering how to check that, can you help with terminal commands?
All I can say right now that when I kill Xorg, it restarts ok:
xrandr --listproviders
Providers: number : 1
Provider 0: id: 0x45 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 4 outputs: 3 associated providers: 0 name:Intel
Do you use optimus-mananger or bbswitch/acpi_call to power off the nvidia chip?
No
optirun glxgears + nvidia-smi
Sun Jul 24 15:09:00 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 515.57 Driver Version: 515.57 CUDA Version: 11.7 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce ... Off | 00000000:01:00.0 Off | N/A |
| N/A 47C P0 22W / N/A | 12MiB / 8192MiB | 28% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 3160 G /usr/lib/Xorg 7MiB |
| 0 N/A N/A 3167 G glxgears 3MiB |
+-----------------------------------------------------------------------------+
Also see the 3rd link below.
Fastboot in BIOS disabled, I switch between systems by boot order in bios (F12 key on laptop boot), Arch Linux installed on separate SSD.
Last edited by demensdeum (2022-07-24 12:09:46)
Offline
Fastboot in BIOS … installed on separate SSD.
Is completely irrelevant. Windows fast start is a windows setting that has nothing to do with your BIOS.
Windows hibernates by default even if you shut it down - this causes two OS running the HW in parallel and to all sorts of freakish behavior.
All I can say right now that when I kill Xorg, it restarts ok:
But still ignores the nvidia chip, what file contains the intel driver setting?
grep -ri intel /{usr/share,etc}/X11/xorg.conf*
Also post the output of "lspci" so we're not chaing a dead goose here (in case the nvidia chip has no crtc at all)
Offline
But still ignores the nvidia chip
Probably
what file contains the intel driver setting?
[demensdeum@DEMENSACERCP2077 ~]$ grep -ri intel /{usr/share,etc}/X11/xorg.conf*
[demensdeum@DEMENSACERCP2077 ~]$
Return nothing
Also post the output of "lspci" so we're not chaing a dead goose here (in case the nvidia chip has no crtc at all)
lspci
lspci
00:00.0 Host bridge: Intel Corporation 10th Gen Core Processor Host Bridge/DRAM Registers (rev 02)
00:01.0 PCI bridge: Intel Corporation 6th-10th Gen Core Processor PCIe Controller (x16) (rev 02)
00:02.0 VGA compatible controller: Intel Corporation CometLake-H GT2 [UHD Graphics] (rev 05)
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 02)
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
00:12.0 Signal processing controller: Intel Corporation Comet Lake PCH Thermal Controller
00:14.0 USB controller: Intel Corporation Comet Lake USB 3.1 xHCI Host Controller
00:14.2 RAM memory: Intel Corporation Comet Lake PCH Shared SRAM
00:14.3 Network controller: Intel Corporation Comet Lake PCH CNVi WiFi
00:15.0 Serial bus controller: Intel Corporation Comet Lake PCH Serial IO I2C Controller #0
00:15.1 Serial bus controller: Intel Corporation Comet Lake PCH Serial IO I2C Controller #1
00:16.0 Communication controller: Intel Corporation Comet Lake HECI Controller
00:17.0 RAID bus controller: Intel Corporation 82801 Mobile SATA Controller [RAID mode]
00:1d.0 PCI bridge: Intel Corporation Device 06b5 (rev f0)
00:1f.0 ISA bridge: Intel Corporation Comet Lake LPC Controller
00:1f.3 Audio device: Intel Corporation Comet Lake PCH cAVS
00:1f.4 SMBus: Intel Corporation Comet Lake PCH SMBus Controller
00:1f.5 Serial bus controller: Intel Corporation Comet Lake PCH SPI Controller
01:00.0 VGA compatible controller: NVIDIA Corporation GA104M [GeForce RTX 3080 Mobile / Max-Q 8GB/16GB] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GA104 High Definition Audio Controller (rev a1)
06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. Device 2600 (rev 21)
Is completely irrelevant. Windows fast start is a windows setting that has nothing to do with your BIOS.
Windows hibernates by default even if you shut it down - this causes two OS running the HW in parallel and to all sorts of freakish behavior.
Oh do you mean this new "Fast Startup", thanks I will check it, though it was about good-old BIOS Fastboot.
Offline
optirun glxgears + nvidia-smi
Errr… you're using https://wiki.archlinux.org/title/Bumblebee ?
https://wiki.archlinux.org/title/Bumble … e_monitors but you don't actually want to do this.
nvida supports prime and that's the more convenient and efficient approach.
Offline
Fast Startup was enabled, disabled Win11 Fast Startup in Control Panel, checked zero status in PowerShell, shutdown laptop, booted to Arch Linux, external monitor does not work.
xrandr
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
eDP1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 340mm x 190mm
1920x1080 144.00*+
HDMI1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
Offline
nvida supports prime and that's the more convenient and efficient approach.
prime-run glxgears
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 152 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Value in failed request: 0x0
Serial number of failed request: 26
Current serial number in output stream: 27
Is that related somehow?
Offline
prime-run doesn't work because the GPU isn't assigned to that server and that's most likely because of bumblebee (w/ your dmesg I'm pretty sure it deactivates the GPU, blacklists the nvidia module or something else)
modprobe -c | grep nvidia
Unless you're using it for a specific reason, get rid of bumblebee, things should afterwards justwork™
Offline
I had a feeling that NVIDIA driver is buggy, got kernel panic after using this config:
https://wiki.archlinux.org/title/Bumblebee#Multiple_monitors
Think need to collection kernel logs...
Offline
The BusIDs in the example don't match yours and you probably have still the nvidia kernel module blacklisted / the chip powered down.
Unless you're using it for a specific reason, get rid of bumblebee, things should afterwards justwork™
If not, post an updated system journal.
Offline
prime-run doesn't work because the GPU isn't assigned to that server and that's most likely because of bumblebee (w/ your dmesg I'm pretty sure it deactivates the GPU, blacklists the nvidia module or something else)
modprobe -c | grep nvidia
Unless you're using it for a specific reason, get rid of bumblebee, things should afterwards justwork™
Wow! Thanks, after removing bumblebee xrandr shows HDMI-1 connected:
xrandr
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
eDP1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 340mm x 190mm
1920x1080 144.00*+
HDMI1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
DP-1-0 disconnected (normal left inverted right x axis y axis)
DP-1-1 disconnected (normal left inverted right x axis y axis)
HDMI-1-0 connected (normal left inverted right x axis y axis)
1920x1080 60.00 + 60.00 59.94 50.00 23.98
1680x1050 59.95
1366x768 59.96
1280x1024 60.02
1280x960 60.00
1280x800 59.81
1280x720 60.00 59.94 50.00
1024x768 60.00
800x600 60.32 56.25
720x576 50.00
720x480 59.94
640x480 59.94 59.93
Just enabled second screen in KDE display setting, and it's working! But like after 30s seconds second display disabling by itself. I will check more rn.
Offline
Removing bumblebee fixed everything, Arch Linux one love -> [SOLVED]
Offline