Solved Unable to detect external monitor

badcat.work

New Member


Messages: 2

I have installed FreeBSD with MATA Desktop Environment in my Lenovo X201 i5.
Using VGA output, I have DELL 1707FP monitor.
When I go to top menu of MATE Desktop and open System > Preferences > Hardware > Displays the external monitor does not show up as expected.
uname -a
Code:
FreeBSD FreeKitty 11.0-RELEASE-p1 FreeBSD 11.0-RELEASE-p1 #0 r306420: Thu Sep 29 01:43:23 UTC 2016     root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
dmesg | grep vga
Code:
VT(vga): resolution 640x480
vtvga0: <VT VGA driver> on motherboard
vgapci0: <VGA-compatible display> port 0x1800-0x1807 mem 0xf2000000-0xf23fffff,0xd0000000-0xdfffffff irq 16 at device 2.0 on pci1
agp0: <Intel Ironlake (M) SVGA controller> on vgapci0
vgapci0: Boot video device
VT(vga): resolution 640x480
vtvga0: <VT VGA driver> on motherboard
vgapci0: <VGA-compatible display> port 0x1800-0x1807 mem 0xf2000000-0xf23fffff,0xd0000000-0xdfffffff irq 16 at device 2.0 on pci1
agp0: <Intel Ironlake (M) SVGA controller> on vgapci0
vgapci0: Boot video device
However, this line caught my attention:
Code:
module_register_init: MOD_LOAD (vesa, 0xffffffff8101c950, 0) error 19
other useful information kldstat
Code:
Id Refs Address            Size     Name
 1   32 0xffffffff80200000 1fa7c38  kernel
 2    1 0xffffffff821a9000 30aec0   zfs.ko
 3    2 0xffffffff824b4000 adc0     opensolaris.ko
 4    1 0xffffffff82621000 587b     fdescfs.ko
 5    1 0xffffffff82627000 2acd5    vboxguest.ko
 6    1 0xffffffff82652000 3710     ums.ko
 7    1 0xffffffff82656000 4fac     ng_ubt.ko
 8    5 0xffffffff8265b000 befc     netgraph.ko
 9    1 0xffffffff82667000 a58f     ng_hci.ko
10    3 0xffffffff82672000 107c     ng_bluetooth.ko
11    1 0xffffffff82674000 d57d     ng_l2cap.ko
12    1 0xffffffff82682000 1b187    ng_btsocket.ko
13    1 0xffffffff8269e000 393d     ng_socket.ko
and if it helps cat /boot/loader.conf:
Code:
kern.geom.label.disk_ident.enable="0"
kern.geom.label.gptid.enable="0"
zfs_load="YES"
if_iwn_load="YES"
wlan_wep_load="YES"
wlan_ccmp_load="YES"
wlan_tkip_load="YES"
I'm brand new to FreeBSD, still feeling my way in the dark here, so any help/suggestion will be appreciated. If any additional information is needed, please feel free to educate me on the appropriate command to retrieve the information.
 
OP
OP
B

badcat.work

New Member


Messages: 2

According to https://wiki.freebsd.org/Graphics Ironlake is supported well.
You should add:
Code:
i915kms_load="YES"
to your /boot/loader.conf.
Thanks, that solved the problem perfectly. I added the text and then rebooted and was able to configure external monitor as usual.

What was the method by which you were able to come to this solution? I'm asking so that future visitors to this thread will know how to propperly trubuleshoot an appropriate solution tailored to their needs.
 

aragats

Daemon

Reaction score: 520
Messages: 1,248

There is no a particular method.
First I checked whether your graphics card is fully supported.
For the full functionality of Intel graphics you have to use KMS (kernel mode select).
 

Eben Lowy

New Member


Messages: 17

I hate to necro, but...
I recently updated the to KDE5 from KDE4 and lost the ability to have a second monitor (same card, intel onboard). Adding the KMS line to the loader conf described above fixed the problem.
 
Top