DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 26th July 2016
jakeswen jakeswen is offline
New User
 
Join Date: Jul 2016
Posts: 9
Default HDMI out to TV in Gnome

My laptop's video output is correctly mirrored to a TV before the Gnome login screen is displayed but the TV goes blank at that time. In the Gnome session "xrandr -- output HDMI1 ..." etc doesn't re-enable the video output. This might have to do with GUI manager competition between X11 and Wayland.

Any ideas about how to enable the video output to TV during the Gnome session?
Reply With Quote
  #2   (View Single Post)  
Old 26th July 2016
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 6,354
Default

What is the output of $ xrandr while you are in X and unable to affect HDMI1?
Reply With Quote
  #3   (View Single Post)  
Old 26th July 2016
jakeswen jakeswen is offline
New User
 
Join Date: Jul 2016
Posts: 9
Default

Below is the xrandr output immediately after connecting the HDMI cable to my laptop.

Code:
user@pc15 ~ % xrandr
Screen 0: minimum 8 x 8, current 1600 x 900, maximum 32767 x 32767
LVDS1 connected primary 1600x900+0+0 (normal left inverted right x axis y axis) 294mm x 166mm
   1600x900      60.07*+
   1024x768      60.00  
   800x600       60.32    56.25  
   640x480       59.94  
DP1 disconnected (normal left inverted right x axis y axis)
HDMI1 connected (normal left inverted right x axis y axis)
   1920x1080     60.00 +  50.00    59.94    30.00    25.00    24.00    29.97    23.98  
   1920x1080i    60.00    50.00    59.94  
   1680x1050     59.88  
   1600x900      59.98  
   1280x1024     75.02    60.02  
   1440x900      59.90  
   1366x768      59.79  
   1280x800      59.91  
   1152x864      75.00  
   1280x720      60.00    50.00    59.94  
   1440x576i     50.00  
   1024x768      75.08    70.07    60.00  
   1440x480i     60.00    59.94  
   832x624       74.55  
   800x600       72.19    75.00    60.32  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       75.00    72.81    66.67    60.00    59.94  
   720x400       70.08  
VGA1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
Immediately thereafter I executed xrandr a second time and the output was:
Code:
user@pc15 ~ % xrandr
Screen 0: minimum 8 x 8, current 1600 x 900, maximum 32767 x 32767
LVDS1 connected primary 1600x900+0+0 (normal left inverted right x axis y axis) 294mm x 166mm
   1600x900      60.07*+
   1024x768      60.00  
   800x600       60.32    56.25  
   640x480       59.94  
DP1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
VGA1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
The Gnome Settings->Displays applet only shows my laptop display (1600 x 900).
Reply With Quote
  #4   (View Single Post)  
Old 26th July 2016
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 6,354
Default

I see two problems, neither Gnome-related.

1. For some reason, HDMI appears to be disconnecting. Cable? Connector? Driver? Video hardware? Insufficient information. /var/log/messages, or, more likely, /var/log/Xorg.0.log may indicate a cause. Note that the X.org log file is replaced each time you restart X, and only one backup is retained by default.

---

2. I believe you also have a resolution matching issue. That is because cloning a desktop on a second monitor with "--same-as" requires both to use the same resolution, unless you set resolution scaling factors. I've seen failed-to-display-output symptoms myself when I've forgotten this.

Your LCD monitor is currently set to its default 1600x900. That is also one of the resolutions available on the HDMI monitor (when it is attached), but it is not the default (--auto) size. To clone the desktop with --same-as, you would need to also set the --mode to 1600x900. Different sizes can be used if you extend the desktop with --left-of, --above, --below, or --right-of.
Reply With Quote
  #5   (View Single Post)  
Old 27th July 2016
jakeswen jakeswen is offline
New User
 
Join Date: Jul 2016
Posts: 9
Default

Progress! I created Monitor.conf files in xorg.conf.d and now at the Gnome login screen my TV screen turns black and stays that way instead of displaying no signal found message. There is not, however, a login text field or any buttons. The laptop screen is also completely black and I can type letters just like on a console but there is no response from the OS so I have to hard reboot. Minor issue. I think my Monitor.conf files are not precisely what X expects.

The interesting thing is, if I disable gdm, delete all of the xorg.conf.d files that I created, and just launch normal X Windows with startx, then both displays work fine. Xorg.0.log shows that X just uses default values. Once logged in, xrandr shows information for both displays and the HDMI output does not disconnect.

I might just have to create the xorg.conf file sections manually because on OpenBSD the command "X --configure" or a variant yields "unrecognized option". Also, there is no existing xorg.conf.sample file.

Are there other ways to generate an xorg.conf file?
Reply With Quote
  #6   (View Single Post)  
Old 27th July 2016
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 6,354
Default

I'm sorry, it does appear you have a Gnome-related issue of some kind, as GDM does not function by default for you with X.org's automatic configuration of your hardware.

Guidance for manual configuration of xorg.conf files is architecture specific, and can be found in /usr/X11R6/README.

I am unsure if manual xorg.conf files are needed. A quick internet search for "xrandr" and "gdm" brings up lots of hits for configuration/provisioning through gconf. I saw this link where one of the recommendations is to copy a working monitors.xml file to GDM's configuration directory.

Last edited by jggimi; 27th July 2016 at 11:19 AM. Reason: clarity
Reply With Quote
Reply

Tags
gnome, hdmi

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
GHC + Gnome = no go - It act like it is not installed looop OpenBSD Packages and Ports 2 2nd May 2012 04:32 PM
GNOME st89 OpenBSD Packages and Ports 3 8th October 2009 07:13 AM
USB icon on Gnome andycapp FreeBSD General 0 18th October 2008 11:50 PM
GNOME/FreeBSD6 gr1M FreeBSD Installation and Upgrading 3 25th July 2008 07:12 AM
Gnome PBI for PC-BSD s0xxx Other BSD and UNIX/UNIX-like 2 22nd July 2008 01:34 PM


All times are GMT. The time now is 01:59 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick