Solved Diagnosing dual monitor setup - both monitor displays are mirrored

I have no idea where to start diagnosing this odd behavior.

I have a HP Elite Mini 800 G9 Desktop PC with built-in video, I installed fluxbox and used arandr to see if recognized both of my monitors, but it didn't. I then installed LXQT and it also only recognizes one of my monitors and mirrors the output to both displays.

I tried using a display port cable for one of the monitors and using an HDMI cable for the other, but it still wants to mirror the output to both monitors.

I'm not at all sure my configuration is correct, but here's my /usr/local/etc/X11/xorg.conf.d/20-intel.conf file:

Section "Device"
Identifier "Card0"
Driver "scfb"
EndSection

Initially, I tried using "intel" for the driver, but X wouldn't run at all, so I changed it to "scfb". Maybe I'm using the wrong driver? I don't know how to identify the physical information about the built-in video to determine what it the correct driver.

I have installed these packages: drm-kmod xf86-video-intel xf86-video-scfb xf86-video-vesa

My /etc/rc.conf looks like this:

clear_tmp_enable="YES"
syslogd_flags="-ss"
hostname="freebsd"
ifconfig_em0="DHCP"
ifconfig_em0_ipv6="inet6 accept_rtadv"
sshd_enable="YES"
ntpd_enable="YES"
ntpd_sync_on_start="YES"
local_unbound_enable="YES"
moused_enable="YES"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="AUTO"
zfs_enable="YES"
kld_list="i915kms fusefs"
dbus_enable="YES"
hald_enable="YES"
linux_enable="YES"
cupsd_enable="YES"
sddm_enable="YES"

I don't know where to start diagnosing this odd behavior, so I'm hoping someone can help!

Thank you!
Ed
 
On Linux with Xfce, Intel DDX would default-mirror displays but modesetting DDX didn't. Xfce has a Display settings applet to uncheck a box for mirroring.
 
What does xrandr show if both are connected? Manual configuration while running should be possible without xorg.conf.
 
On Linux with Xfce, Intel DDX would default-mirror displays but modesetting DDX didn't. Xfce has a Display settings applet to uncheck a box for mirroring.
What does xrandr show if both are connected? Manual configuration while running should be possible.

Here's the output of xrandr:

# xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1920 x 1200, current 1920 x 1200, maximum 1920 x 1200
default connected 1920x1200+0+0 0mm x 0mm
1920x1200 0.00*

For what it's worth, I was running Debian with LXQT this morning, before I wiped it out and installed FBSD. Interstingly, I installed Debian the identical way, i.e., I installed Debian without a desktop and then manually installed the LXQT desktop and it recognized both monitors the first time it booted.

Ed
 
That happens if no i915kms module is loaded but it could be something else too. The display should not be called "Screen #" but DVI-#, HDMI-# or a displayport name. DP-#? I don't remember...
Thank you.

The module looks like it's loaded:

# kldstat | grep i915kms
4 1 0xffffffff83e00000 24a410 i915kms.ko

How do I identify what the screens should be called?

Ed
 
Thank you.

The module looks like it's loaded:

# kldstat | grep i915kms
4 1 0xffffffff83e00000 24a410 i915kms.ko

How do I identify what the screens should be called?

Ed
It should be the physical connector. DVI, HDMI, DP, VGA.
I have this HP Elite mini box with 2 displayports and Intel graphics at home. It works with my custom FreeBSD USB system, with 2 identical monitors. Openbox makes a wide virtual desktop.
The gamma/size error and no display type names means something is missing and X.org can't instruct the GPU to change resolution or enable 2 monitors with their own output.
 
It should be the physical connector. DVI, HDMI, DP, VGA.
I have this HP Elite mini box with 2 displayports and Intel graphics at home. It works with my custom FreeBSD USB system, with 2 identical monitors. Openbox makes a wide virtual desktop.
The gamma/size error and no display type names means something is missing and X.org can't instruct the GPU to change resolution or enable 2 monitors with their own output.
That makes sense.

Any ideas on how to decipher what X doesn't like? Refresh my memory, I "think" in years past there was an X command that would generate a basic config file. Does this sound familiar?

Ed
 
The lscpi command shows this:

lspci | grep VG
00:02.0 VGA compatible controller: Intel Corporation Alder Lake-S GT1 [UHD Graphics 770] (rev 0c)

Do you think the i915kms is the correct driver?

Ed
 
Back
Top