Displayport on FreeBSD/amd64

jacekkowalczyk82

New Member


Messages: 10

#1
Hi,
I am new in FreeBSD world. I am learning.

I am trying to connect to laptop (thinkpad X240) and make work external display using a miniDisplayPort to HDMI cable. With Debian it works out of the box, but with Freebsd 11.2 not.
I do not have any idea what I did wrong or what I am missing.

This is what I got from xrandr:

Code:
jacek@thinkpad-x240:~ % xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1366 x 768, current 1368 x 768, maximum 1368 x 768
default connected 1368x768+0+0 0mm x 0mm
   1366x768       0.00
   1368x768       0.00*
jacek@thinkpad-x240:~ %
Thanks in advance for any helpful reply.
Greetings
Jacek
 

SirDice

Administrator
Staff member
Administrator
Moderator

Thanks: 6,329
Messages: 27,494

#2
Post your /var/log/Xorg.0.log to Pastebin (or a similar service).
 

balanga

Daemon

Thanks: 93
Messages: 2,291

#5
Hi,
I am new in FreeBSD world. I am learning.

I am trying to connect to laptop (thinkpad X240) and make work external display using a miniDisplayPort to HDMI cable. With Debian it works out of the box, but with Freebsd 11.2 not.
Thanks in advance for any helpful reply.
Greetings
Jacek
I have a ThinkPad X220 and have just connected it up to a 32" Samsung TV. It seemed to display output on the TV whilst booting, but when starting up X I got the LXDE desktop but nothing else.

You don't say what you see on the external display.
 

balanga

Daemon

Thanks: 93
Messages: 2,291

#6
Hi,
I am new in FreeBSD world. I am learning.

This is what I got from xrandr:

Code:
jacek@thinkpad-x240:~ % xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1366 x 768, current 1368 x 768, maximum 1368 x 768
default connected 1368x768+0+0 0mm x 0mm
   1366x768       0.00
   1368x768       0.00*
jacek@thinkpad-x240:~ %
Thanks in advance for any helpful reply.
Greetings
Jacek
Don't know anything about xrandr, but this is what I got, if it helps:-

Code:
Screen 0: minimum 320 x 200, current 2732 x 768, maximum 8192 x 8192
LVDS-1 connected 1366x768+0+0 (normal left inverted right x axis y axis) 277mm x 156mm
   1366x768      60.00*+
   1024x768      60.04    60.00..
   960x720       60.00..
   928x696       60.05..
   896x672       60.01..
   800x600       60.00    60.32    56.25..
   700x525       59.98..
   640x512       60.02..
   640x480       60.00    59.94..
   512x384       60.00..
   400x300       60.32    56.34..
   320x240       60.05..
VGA-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 connected 1366x768+1366+0 (normal left inverted right x axis y axis) 698mm x 393mm
   1366x768      59.79*+
   1920x1080     60.00    50.00    30.00    25.00    24.00..
   1920x1080i    60.00    50.00..
   1280x720      60.00    50.00..
   1440x576i     50.00..
   1024x768      75.08    70.07    60.00..
   1440x480i     59.94..
   832x624       74.55..
   800x600       72.19    75.00    60.32..
   720x576       50.00..
   720x480       59.94..
   640x480       75.00    72.81    66.67    60.00..
   720x400       70.08..
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)
 
OP
OP
jacekkowalczyk82

jacekkowalczyk82

New Member


Messages: 10

#8
Shall I manually reconfigure Xorg?

I tried to run Xorg -configure in single user mode but it failed with message:
Code:
Fatal server error:
(EE) Could not create lock file in  /tmp/.tx0-lock
 

jrm@

Daemon
Developer

Thanks: 461
Messages: 1,190

#12
jacekkowalczyk82, the latest xrandr output you posted seems to indicate the HDMI connection is established. Once only the HDMI cable is plugged in, could you try something like xrandr --output HDMI-1 --mode 1600x900 --above eDP-1 or xrandr --output HDMI-1 --mode 1600x900 --same-as eDP-1?
 
OP
OP
jacekkowalczyk82

jacekkowalczyk82

New Member


Messages: 10

#14
Thanks, it works. Moreover, default xrandr without any parameters started working (but not every time, sometimes I need to connect disconnect cable few times). I think, by installing the correct intel display drivers from "drm-next-kmod", I solved the issue.
 
Top