You are not logged in.
Hello folks, long time no see.
I have a dell m6800 laptop. this thing has a i7-4810MQ CPU, which has intel hd 4600 graphics, as well as some nvidia graphics card.
I've had this laptop for several years, and the way i've always used it is to simply disable/ignore the nvidia hardware, as i don't play games, and only using the intel graphics, because that way it's much simpler to configure.
(it helped that the bios makes it easy to disable the nvidia optimus technology)
this worked fine for years, but more recently my intel video stopped working.
actually, 2 things happened:
1) a few weeks ago my computer started having really weird "hiccups". every couple seconds, chromium, pulseaudio and i3bar all consume 50% cpu, and everything (display, input, audio) freezes for a second or so.
it wasn't too hard to figure out because i noticed that in dmesg, `ACPI: \_SB_.PCI0.PEG0.PEGP: failed to evaluate _DSM` appeared about a second before every time before the system would hang.
i hadn't done a system upgrade when it happpened so i figured it's probably not due to a package version. but i remember it started that day after my laptop was complaining about the health of my battery/charger before booting, so i figured maybe a bios setting got reset
lo and behold, i went into my bios and the video card switching stuff was enabled, which it shouldn't be. disabled it and then my laptop was fine again
so seems like a weird bios bug where settings get reset when they shouldn't...
2) so anyway i thought all was good until i noticed my brightness could no longer be adjusted.
I use relight-menu which looks for a acpi_video* file in /sys/class/backlight, which no longer seemed to exist:
ls -alh /sys/class/backlight
total 0
drwxr-xr-x 2 root root 0 Jun 20 16:30 .
drwxr-xr-x 64 root root 0 Jun 20 16:30 ..
lrwxrwxrwx 1 root root 0 Jun 20 16:30 nv_backlight -> ../../devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card0/card0-eDP-1/nv_backlight
i've tried all 3 variants of this kernel boot param acpi_backlight={native,vendor,video} none of it helps.
i went back into my bios and confirms nvidia optimus is still disabled.
yet, anywhere I look (xvinfo, glxinfo, lspci) shows me the nouveau driver / nvideo card, not my intel video?
it's as if my intel video support has gotten removed out of the kernel or something?
i use the stock kernel packages.
~ ❯❯❯ xvinfo ⏎
X-Video Extension version 2.2
screen #0
Adaptor #0: "Nouveau GeForce 8/9 Textured Video"
....
~ ❯❯❯ glxinfo | grep -i vendor
server glx vendor string: SGI
client glx vendor string: Mesa Project and SGI
Vendor: nouveau (0x10de)
OpenGL vendor string: nouveau
lspci -k | grep -EA3 'VGA|3D|Display'
01:00.0 VGA compatible controller: NVIDIA Corporation GM107GLM [Quadro K2200M] (rev a2)
Subsystem: Dell GM107GLM [Quadro K2200M]
Kernel driver in use: nouveau
Kernel modules: nouveau
~ ❯❯❯ uname -a ⏎
Linux dieter-m6800 5.1.8-arch1-1-ARCH #1 SMP PREEMPT Sun Jun 9 20:28:28 UTC 2019 x86_64 GNU/Linux
~ ❯❯❯ dmesg | egrep -A 2 -i 'video|graphic' ⏎
[ 0.672634] ACPI: Added _OSI(Linux-Dell-Video)
[ 0.672634] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[ 0.672634] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
[ 0.683931] ACPI: 7 ACPI AML tables successfully acquired and loaded
[ 0.688153] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
--
[ 0.792189] pci 0000:01:00.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
[ 0.792337] PCI: CLS 64 bytes, default 64
[ 0.792369] Unpacking initramfs...
--
[ 0.972458] ACPI: Video Device [PEGP] (multi-head: yes rom: yes post: no)
[ 1.029437] acpi device:52: registered as cooling_device0
[ 1.029685] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:50/LNXVIDEO:00/input/input4
[ 1.030738] thermal LNXTHERM:00: registered as thermal_zone0
[ 1.030739] ACPI: Thermal Zone [THM] (25 C)
--
[ 7.821789] videodev: Linux video capture interface: v2.00
[ 7.832846] mce: CPU4: Core temperature above threshold, cpu clock throttled (total events = 1)
[ 7.832848] mce: CPU7: Package temperature above threshold, cpu clock throttled (total events = 1)
--
[ 7.843172] uvcvideo: Found UVC 1.00 device Laptop_Integrated_Webcam_HD (0c45:64d0)
[ 7.861949] ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20190215/nsarguments-66)
[ 7.862237] ACPI: \_SB_.PCI0.PEG0.PEGP: failed to evaluate _DSM
--
[ 7.894452] uvcvideo 3-1.5:1.0: Entity type for entity Extension 4 was not initialized!
[ 7.894453] uvcvideo 3-1.5:1.0: Entity type for entity Extension 3 was not initialized!
[ 7.894454] uvcvideo 3-1.5:1.0: Entity type for entity Processing 2 was not initialized!
[ 7.894455] uvcvideo 3-1.5:1.0: Entity type for entity Camera 1 was not initialized!
[ 7.894498] input: Laptop_Integrated_Webcam_HD: In as /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.5/3-1.5:1.0/input/input11
[ 7.894544] usbcore: registered new interface driver uvcvideo
[ 7.894545] USB Video Class driver (1.1.1)
[ 7.899325] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/sound/card0/input9
[ 7.899380] input: HDA Intel PCH Front Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input12
--
[ 8.015769] [TTM] Zone kernel: Available graphics memory: 16438728 kiB
[ 8.015771] [TTM] Zone dma32: Available graphics memory: 2097152 kiB
[ 8.015771] [TTM] Initializing pool allocator
[ 8.015774] [TTM] Initializing DMA pool allocator
root@dieter-m6800 dieter]# lsmod | egrep -i 'video|graphic'
uvcvideo 114688 0
videobuf2_vmalloc 20480 1 uvcvideo
videobuf2_memops 20480 1 videobuf2_vmalloc
videobuf2_v4l2 28672 1 uvcvideo
videobuf2_common 57344 2 videobuf2_v4l2,uvcvideo
videodev 225280 3 videobuf2_v4l2,uvcvideo,videobuf2_common
media 57344 4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common
[root@dieter-m6800 dieter]# lsmod | egrep -i intel
btintel 28672 1 btusb
bluetooth 659456 5 btrtl,btintel,btbcm,btusb
intel_spi_platform 16384 0
intel_spi 24576 1 intel_spi_platform
spi_nor 49152 1 intel_spi
intel_rapl 28672 0
mtd 77824 5 cmdlinepart,intel_spi,ofpart
intel_powerclamp 20480 0
kvm_intel 311296 0
kvm 741376 1 kvm_intel
snd_hda_intel 49152 4
snd_hda_codec 155648 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
intel_cstate 16384 0
intel_uncore 135168 0
snd_hda_core 102400 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
intel_rapl_perf 16384 0
snd_pcm 135168 7 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_soc_rt5640,snd_soc_core,snd_hda_core,snd_pcm_dmaengine
snd 102400 18 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,snd_soc_core,snd_pcm
crc32c_intel 24576 3
ghash_clmulni_intel 16384 0
aesni_intel 372736 2
aes_x86_64 20480 1 aesni_intel
crypto_simd 16384 1 aesni_intel
cryptd 28672 4 crypto_simd,ghash_clmulni_intel,aesni_intel
glue_helper 16384 1 aesni_intel
this is my syslinux boot config:
LABEL arch
MENU LABEL Arch Linux
LINUX ../vmlinuz-linux
APPEND root=/dev/mapper/sda2crypt cryptdevice=/dev/sda2:sda2crypt rw
INITRD ../initramfs-linux.img
does anyone have an idea what might be going on or how i can get my intel graphics to work again?
thank you!
< Daenyth> and he works prolifically
4 8 15 16 23 42
Offline
Your intel card is not visible to the system, double check that nvidia optimus setting, right now it is set to "only show the nvidia card"
FWIW if that option indeed got changed to the reverse so that it only shows the nvidia card and not the intel card, you could just enable Optimus and maybe throw bbswitch into the mix to ensure the nvidia card is disabled,
Online
V1del thanks for your prompt reply! in my BIOS i only have the option to enable/disable optimus switching, it doesn't say if disabled, which card it would use.
so i tried enabling it, and it looks like it worked!
~ ❯❯❯ glxinfo | grep -i vendor
server glx vendor string: SGI
client glx vendor string: Mesa Project and SGI
Vendor: Intel Open Source Technology Center (0x8086)
OpenGL vendor string: Intel Open Source Technology Center
i will need to fiddle a bit more to get brightness configuration working again though.
~ ❯❯❯ ls -alh /sys/class/backlight/ ⏎
total 0
drwxr-xr-x 2 root root 0 Jun 20 17:14 .
drwxr-xr-x 64 root root 0 Jun 20 17:14 ..
lrwxrwxrwx 1 root root 0 Jun 20 17:14 intel_backlight -> ../../devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight
~ ❯❯❯ relight-menu
/usr/bin/relight-menu: line 24: cd: acpi_video*: No such file or directory
~ ❯❯❯
< Daenyth> and he works prolifically
4 8 15 16 23 42
Offline
interesting. acpi_backlight=native only results in the intel_backlight symlink in /sys/class/backlight/
but using "video" creates 2 devices:
~ ❯❯❯ ls -alh /sys/class/backlight/
total 0
drwxr-xr-x 2 root root 0 Jun 25 23:10 .
drwxr-xr-x 65 root root 0 Jun 25 23:10 ..
lrwxrwxrwx 1 root root 0 Jun 25 23:10 acpi_video0 -> ../../devices/pci0000:00/0000:00:01.0/0000:01:00.0/backlight/acpi_video0
lrwxrwxrwx 1 root root 0 Jun 25 23:10 acpi_video1 -> ../../devices/pci0000:00/0000:00:02.0/backlight/acpi_video1
lrwxrwxrwx 1 root root 0 Jun 25 23:10 intel_backlight -> ../../devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight
they seem to be linked to one another. both change the backlight of my display, and changing the numeric value of one affects the other.
will try "acpi_backlight=vendor" now.
edit: the latter results in
~ ❯❯❯ ls -alh /sys/class/backlight/ ⏎
total 0
drwxr-xr-x 2 root root 0 Jun 25 23:14 .
drwxr-xr-x 65 root root 0 Jun 25 23:14 ..
lrwxrwxrwx 1 root root 0 Jun 25 23:14 dell_backlight -> ../../devices/platform/dell-laptop/backlight/dell_backlight
lrwxrwxrwx 1 root root 0 Jun 25 23:14 intel_backlight -> ../../devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight
neither of which is recognized by relight.
guess i'll switch back to "video"
Last edited by Dieter@be (2019-06-25 20:16:35)
< Daenyth> and he works prolifically
4 8 15 16 23 42
Offline