setting up 2nd monitor on laptop
by hapibeli from LinuxQuestions.org on (#6EJ5Q)
How do I get Manjaro to use my 2nd monitor?
/dev/sdc vfat 8.0M 4.8M 3.3M 60% /run/media/dirk/USBDISPLAY
lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 298.1G 0 disk
sda1 8:1 0 300M 0 part /boot/efi
sda2 8:2 0 297.8G 0 part /
sdb 8:16 0 447.1G 0 disk
sdb1 8:17 0 500M 0 part
sdb2 8:18 0 446.1G 0 part
sdb3 8:19 0 575M 0 part
sdc 8:32 1 7.9M 0 disk /run/media/dirk/USBDISPLAY
xrandr -q
Screen 0: minimum 320 x 200, current 1366 x 768, maximum 16384 x 16384
LVDS-1 connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 310mm x 174mm
1366x768 59.98*+
1280x720 60.00 59.99 59.86 59.74
1024x768 60.04 60.00
960x720 60.00
928x696 60.05
896x672 60.01
1024x576 59.95 59.96 59.90 59.82
960x600 59.93 60.00
960x540 59.96 59.99 59.63 59.82
800x600 60.00 60.32 56.25
840x525 60.01 59.88
864x486 59.92 59.57
700x525 59.98
800x450 59.95 59.82
640x512 60.02
700x450 59.96 59.88
640x480 60.00 59.94
720x405 59.51 58.99
684x384 59.88 59.85
640x400 59.88 59.98
640x360 59.86 59.83 59.84 59.32
512x384 60.00
512x288 60.00 59.92
480x270 59.63 59.82
400x300 60.32 56.34
432x243 59.92 59.57
320x240 60.05
360x202 59.51 59.13
320x180 59.84 59.32
VGA-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-2 disconnected (normal left inverted right x axis y axis)
HDMI-3 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
inxi -G
Graphics:
Device-1: Intel 3rd Gen Core processor Graphics driver: i915 v: kernel
Device-2: MS USB Video
driver: hid-generic,snd-usb-audio,usb-storage,usbhid type: USB
Device-3: Chicony thinkpad t430s camera driver: uvcvideo type: USB
Display: x11 server: X.Org v: 21.1.8 driver: X: loaded: modesetting
dri: crocus gpu: i915 resolution: 1366x768~60Hz
API: OpenGL v: 4.2 Mesa 23.1.6-2 renderer: Mesa Intel HD Graphics 4000
(IVB GT2)
Does the following make any sense for my case?;
edit /etc/default/grub (you must edit with sudo rights) and add the following to GRUB_CMDLINE_LINUX_DEFAULT line "optimus-manager.startup=nvidia ". be aware you have to add this parameter to the already existing ones. after editing do an sudo update-grub sudo mkinitcpio -P reboot
Attached Thumbnails
/dev/sdc vfat 8.0M 4.8M 3.3M 60% /run/media/dirk/USBDISPLAY
lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 298.1G 0 disk
sda1 8:1 0 300M 0 part /boot/efi
sda2 8:2 0 297.8G 0 part /
sdb 8:16 0 447.1G 0 disk
sdb1 8:17 0 500M 0 part
sdb2 8:18 0 446.1G 0 part
sdb3 8:19 0 575M 0 part
sdc 8:32 1 7.9M 0 disk /run/media/dirk/USBDISPLAY
xrandr -q
Screen 0: minimum 320 x 200, current 1366 x 768, maximum 16384 x 16384
LVDS-1 connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 310mm x 174mm
1366x768 59.98*+
1280x720 60.00 59.99 59.86 59.74
1024x768 60.04 60.00
960x720 60.00
928x696 60.05
896x672 60.01
1024x576 59.95 59.96 59.90 59.82
960x600 59.93 60.00
960x540 59.96 59.99 59.63 59.82
800x600 60.00 60.32 56.25
840x525 60.01 59.88
864x486 59.92 59.57
700x525 59.98
800x450 59.95 59.82
640x512 60.02
700x450 59.96 59.88
640x480 60.00 59.94
720x405 59.51 58.99
684x384 59.88 59.85
640x400 59.88 59.98
640x360 59.86 59.83 59.84 59.32
512x384 60.00
512x288 60.00 59.92
480x270 59.63 59.82
400x300 60.32 56.34
432x243 59.92 59.57
320x240 60.05
360x202 59.51 59.13
320x180 59.84 59.32
VGA-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-2 disconnected (normal left inverted right x axis y axis)
HDMI-3 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
inxi -G
Graphics:
Device-1: Intel 3rd Gen Core processor Graphics driver: i915 v: kernel
Device-2: MS USB Video
driver: hid-generic,snd-usb-audio,usb-storage,usbhid type: USB
Device-3: Chicony thinkpad t430s camera driver: uvcvideo type: USB
Display: x11 server: X.Org v: 21.1.8 driver: X: loaded: modesetting
dri: crocus gpu: i915 resolution: 1366x768~60Hz
API: OpenGL v: 4.2 Mesa 23.1.6-2 renderer: Mesa Intel HD Graphics 4000
(IVB GT2)
Does the following make any sense for my case?;
edit /etc/default/grub (you must edit with sudo rights) and add the following to GRUB_CMDLINE_LINUX_DEFAULT line "optimus-manager.startup=nvidia ". be aware you have to add this parameter to the already existing ones. after editing do an sudo update-grub sudo mkinitcpio -P reboot
Attached Thumbnails