Skip to content

Instantly share code, notes, and snippets.

@Inkimar
Created June 23, 2020 09:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Inkimar/58693402854f054b4db7a3e2bc0bb5b4 to your computer and use it in GitHub Desktop.
Save Inkimar/58693402854f054b4db7a3e2bc0bb5b4 to your computer and use it in GitHub Desktop.
Linux grafik kort
lshw -c video
WARNING: you should run this program as super-user.
*-display
description: VGA compatible controller
product: UHD Graphics 620
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 07
width: 64 bits
clock: 33MHz
capabilities: vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: iomemory:1f0-1ef iomemory:1f0-1ef irq:156 memory:1ff2000000-1ff2ffffff memory:1fc0000000-1fcfffffff ioport:3000(size=64) memory:c0000-dffff
WARNING: output may be incomplete or inaccurate, you should run this program as super-user.
@Inkimar
Copy link
Author

Inkimar commented Jun 23, 2020

-> configuration: driver=i915 latency=0
Skriv in -> modinfo i915

@Inkimar
Copy link
Author

Inkimar commented Jun 23, 2020

Resultat:

filename:       /lib/modules/4.15.0-50-generic/kernel/drivers/gpu/drm/i915/i915.ko
license:        GPL and additional rights
description:    Intel Graphics
author:         Intel Corporation
author:         Tungsten Graphics, Inc.

@Inkimar
Copy link
Author

Inkimar commented Jun 23, 2020

depends:        drm_kms_helper,drm,video,i2c-algo-bit
vermagic:       4.15.0-50-generic SMP mod_unload

@Inkimar
Copy link
Author

Inkimar commented Jun 23, 2020

You could use the following command to see the currently used vga kernel driver
lspci -nnk | grep -i vga -A3 | grep 'in use'

lspci -nnk | grep -i vga -A3                
libkmod: ERROR ../libkmod/libkmod-config.c:655 kmod_config_parse: /etc/modprobe.d/qemu-system-x86.conf line 2: ignoring bad line starting with 'group=kvm'
00:02.0 VGA compatible controller [0300]: Intel Corporation UHD Graphics 620 [8086:5917] (rev 07)
	DeviceName: Onboard IGD
	Subsystem: Hewlett-Packard Company UHD Graphics 620 [103c:83b3]
	Kernel driver in use: i915

@Inkimar
Copy link
Author

Inkimar commented Jun 23, 2020

https://askubuntu.com/questions/817682/error-in-blacklist-conf-file-ignoring-bad-line-starting-with

https://paste.ubuntu.com/23101549/

libkmod: ERROR ../libkmod/libkmod-config.c:655 kmod_config_parse: /etc/modprobe.d/qemu-system-x86.conf line 2: ignoring bad line starting with 'group=kvm'
libkmod: ERROR ../libkmod/libkmod-config.c:655 kmod_config_parse:
/etc/modprobe.d/qemu-system-x86.conf line 2: ignoring bad line starting with 'group=kvm'

@Inkimar
Copy link
Author

Inkimar commented Jun 23, 2020

https://askubuntu.com/questions/817682/error-in-blacklist-conf-file-ignoring-bad-line-starting-with

https://paste.ubuntu.com/23101549/

libkmod: ERROR ../libkmod/libkmod-config.c:655 kmod_config_parse: /etc/modprobe.d/qemu-system-x86.conf line 2: ignoring bad line starting with 'group=kvm'
libkmod: ERROR ../libkmod/libkmod-config.c:655 kmod_config_parse:
/etc/modprobe.d/qemu-system-x86.conf line 2: ignoring bad line starting with 'group=kvm'

@Inkimar
Copy link
Author

Inkimar commented Jun 23, 2020

ps ax | grep dm

935 ?        Ss     0:00 /usr/sbin/rpc.idmapd
1594 ?        SLsl   0:00 /usr/sbin/lightdm
1634 tty7     Ssl+   0:43 /usr/lib/xorg/Xorg -core :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
2293 ?        Sl     0:00 lightdm --session-child 12 19
7710 pts/0    S+     0:00 grep --color=auto --exclude-

@Inkimar
Copy link
Author

Inkimar commented Jun 23, 2020

  1. sudo apt-get remove sddm
  2. sudo dpkg-reconfigure lightdm

and set lightdm as default, then reboot.

@Inkimar
Copy link
Author

Inkimar commented Jun 23, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment