LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-29-2021, 09:13 AM   #1
makem
Member
 
Registered: Nov 2013
Posts: 209

Rep: Reputation: Disabled
Unable to use twin monitors.


My hardware:

Code:
makem@makems-TUF:~$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 21.04
Release:	21.04
Codename:	hirsute
makem@makems-TUF:~$ update-pciids
/usr/share/misc/pci.ids is read-only, exiting.
makem@makems-TUF:~$ sudo update-pciids
[sudo] password for makem: 
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  272k  100  272k    0     0   847k      0 --:--:-- --:--:-- --:--:--  845k
Done.
makem@makems-TUF:~$ lspci | grep -i --color 'vga\|3d\|2d'
00:02.0 VGA compatible controller: Intel Corporation RocketLake-S GT1 [UHD Graphics 750] (rev 04)
00:17.0 SATA controller: Intel Corporation Device 43d2 (rev 11)
makem@makems-TUF:~$ lspci -v -s 00:02.0 00:02.0
VGA compatible controller: Intel Corporation RocketLake-S GT1 [UHD Graphics 750] (rev 04) (prog-if 00 [VGA controller]) 
             DeviceName: Onboard - Video Subsystem: ASUSTeK Computer Inc. Device 8694
             Flags: bus master, fast devsel, latency 0, IRQ 159
             Memory at 6000000000 (64-bit, non-prefetchable) [size=16M]
             Memory at 4000000000 (64-bit, prefetchable) [size=256M]
             I/O ports at 4000 [size=64]
             Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
             Capabilities: <access denied>
             Kernel driver in use: i915
             Kernel modules: i915
makem@makems-TUF:~$
Monitor 1:

MSI Optix G241 Esports Gaming IPS Monitor

2x HDMI (1.4b)
1x Display Port (1.2a)

This monitor is attached to the Display Port

Monitor 2:

ASUS VS248HR

Signal Input : HDMI, D-Sub, DVI-D
AV Audio Input : HDMI

This monitor is attached to the HDMI port

On boot, Display in xubuntu applications shows:

Microstep 24"
Resolution: 1920x1080

Monitor 2: Report - HDMI No Signal. The cables have been checked and the HDMI cable replaced

Last edited by makem; 10-29-2021 at 01:19 PM.
 
Old 10-29-2021, 09:27 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,899

Rep: Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318
can you use that monitor alone? does it work at all?
 
Old 10-29-2021, 09:43 AM   #3
makem
Member
 
Registered: Nov 2013
Posts: 209

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
can you use that monitor alone? does it work at all?
Now I feel rather foolish

It is a long while since I tried this and in the meantime two things have happened:

1. Somebody removed the HDMI cable from the computer.
2. The GPU drivers have been updated.

Ok, correct symptoms now are:

The Display panel now shows both monitors and I can choose Monitor 2 as the Primary. However, the xubuntu panel is on Monitor 1.
 
Old 10-29-2021, 09:45 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,899

Rep: Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318
probably you need to restart your X session for that (I mean if you reconfigured those settings).
 
Old 10-29-2021, 09:55 AM   #5
makem
Member
 
Registered: Nov 2013
Posts: 209

Original Poster
Rep: Reputation: Disabled
Monitor 2 worked when I plugged in the HDMI cable whilst the computer was running. However, when I restarted the computer with both monitors connected grub hung.

I turned off Monitor 2 and rebooted with same result. I removed the HDMI connection from the monitor and grub booted correctly.

I tried using Windows and again it hung after it booted to the desktop when both monitors were connected.

I seem to remember that I had this problem weeks ago when I was using 20.04. I have not tried since, even while I was using the kernel from 21.04. Having updated to 21.04 I thought I would try again.

I will look at the Bios to see if there is anything there that needs changing for 2 monitors. It may be that I need to specify the order of the monitors as Monitor 2 became primary. Or It could be the drivers as the GPU is quite new.

Last edited by makem; 10-29-2021 at 09:58 AM.
 
Old 10-29-2021, 10:47 AM   #6
makem
Member
 
Registered: Nov 2013
Posts: 209

Original Poster
Rep: Reputation: Disabled
I found this help which tells you how to set up the monitors:

https://www.instructables.com/How-to...tors-in-linux/

I would give it a try except for the fact that my xorg.conf file is not at /etc/X11/xorg.conf but instead is at /usr/share/doc/xserver-xorg-video-intel/ and it only contains:

Code:
Section "Device"
        Identifier "Intel"
        Driver "intel"
#       Option "AccelMethod" "uxa"
EndSection
It may explain why the system does not know which monitor is primary.

I am wondering if it would work?
 
Old 10-29-2021, 03:58 PM   #7
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,612

Rep: Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553
Quote:
Originally Posted by makem View Post
I would give it a try except for the fact that my xorg.conf file is not at /etc/X11/xorg.conf but instead is at /usr/share/doc/xserver-xorg-video-intel/ and it only contains:
Files in /usr/share/doc are not configuration files - the are documentation files.

(The purpose of paths in Linux is described in Filesystem Hierarchy Standard - if you don't want to read the full thing, Wikipedia has a summary.)

This is the top result for "ubuntu missing /etc/X11/xorg.conf":
Quote:
Originally Posted by https://askubuntu.com/questions/25746/etc-x11-xorg-conf-doesnt-exist

You COULD create your own xorg.conf by typing in a tty (not running gdm) the following:

X -configure

That will create a file called xorg.conf.new

To test the file type X -config xorg.conf.new

If you can load X and see the mouse and a good resolution then you can press CTRL+ALT+BACKSPACE to quit.

Copy then xorg.conf.new to the new location

cp xorg.conf.new /etc/X11/xorg.conf

Run startx to test.

Also the file does not exist since X.org does not needed anymore for some video cards (as i understand) only some Video cards have xorg.conf because of specific configurations (Like Nvidia and Ati). The rest of the X.org configuration options are in /usr/share/X11 like synaptics.
 
Old 10-29-2021, 05:00 PM   #8
makem
Member
 
Registered: Nov 2013
Posts: 209

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by boughtonp View Post
Files in /usr/share/doc are not configuration files - the are documentation files.

(The purpose of paths in Linux is described in Filesystem Hierarchy Standard - if you don't want to read the full thing, Wikipedia has a summary.)

This is the top result for "ubuntu missing /etc/X11/xorg.conf":
Thank you but the post you refer to is 10 years old so I don't think I should try that. However, thank you for pointing out the obvious, if I had looked closely - these are docs.
 
Old 10-30-2021, 03:37 AM   #9
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,899

Rep: Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318
Quote:
Originally Posted by makem View Post
Thank you but the post you refer to is 10 years old so I don't think I should try that. However, thank you for pointing out the obvious, if I had looked closely - these are docs.
That is just wrong. vi is also more than 10 (20) years old and still in use....
 
Old 10-30-2021, 06:46 AM   #10
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,612

Rep: Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553Reputation: 2553
Quote:
Originally Posted by makem View Post
Thank you but the post you refer to is 10 years old so I don't think I should try that.
Age doesn't make things wrong.

But if we assume X has broken backwards compatibility in such a way that those instructions are wrong, all you have to do is remove is remove/rename the file you copied.

Also, have you checked the Ubuntu Wiki - it has a bunch of pages on X troubleshooting and X.org config, including an example dual monitor ("multihead") example config.


Although, re-checking the thread, it seems your current issue is no longer getting the monitors working, but that XFCE is treating the wrong monitor as primary?
That might be an XFCE issue rather than an X one - have you checked whether XFCE has its own config relating to this?

 
Old 10-30-2021, 07:35 AM   #11
makem
Member
 
Registered: Nov 2013
Posts: 209

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by boughtonp View Post
Age doesn't make things wrong.

But if we assume X has broken backwards compatibility in such a way that those instructions are wrong, all you have to do is remove is remove/rename the file you copied.

Also, have you checked the Ubuntu Wiki - it has a bunch of pages on X troubleshooting and X.org config, including an example dual monitor ("multihead") example config.


Although, re-checking the thread, it seems your current issue is no longer getting the monitors working, but that XFCE is treating the wrong monitor as primary?
That might be an XFCE issue rather than an X one - have you checked whether XFCE has its own config relating to this?

I have 2 problems currently: failure to complete boot and wrong monitor chosen as primary when the HDMI is connected AFTER booting the Display Port monitor.

I believe I have checked the wiki you refer to but will read again.

I think the driver which has now been fixed (it failed to load) is still the problem and have referred it as a bug to:

https://github.com/DisplayLink/evdi/issues/317

That was where it was discovered the driver was not loading and they have corrected it.
 
Old 10-30-2021, 06:32 PM   #12
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,818
Blog Entries: 1

Rep: Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068
Have you tried not using the Intel DDX? The Modesetting DIX is generally the display driver recommended by Intel developers for any but antique IGPs.

Have you tried a WM startup script designating the primary display with xrandr?

Have you tried on the kernel command line appending video=HDMI-1?
 
Old 10-31-2021, 05:29 AM   #13
makem
Member
 
Registered: Nov 2013
Posts: 209

Original Poster
Rep: Reputation: Disabled
I think before I try to fix the wrong monitor being chosen I need to fix the boot problem. If I cannot use the machine when both monitors are connected, I cannot make any changes.

Why does grub not complete and hangs when the HDMI cable is connected, whether the second monitor is switched or not? This also affects Windows similarly except that it does boot to the desktop but is unusable, hanging, waiting for something.
 
Old 10-31-2021, 05:40 AM   #14
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,899

Rep: Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318
for me that looks like a hardware error. you may try a live CD too.
 
Old 10-31-2021, 06:44 AM   #15
makem
Member
 
Registered: Nov 2013
Posts: 209

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
for me that looks like a hardware error. you may try a live CD too.
Yes, that is a great idea. I will do that today.

Edit: With the ASUS BIOS I am using it is not possible to easily boot from USB. It has a secure boot facility involving keys which I have never come across. I am going to have to investigate that at some stage to be able to boot from a USB in the future.

Last edited by makem; 10-31-2021 at 09:27 AM.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] RealVNC on 4 Monitors, Can only Access 2 Monitors u9wy Linux - Software 2 11-01-2012 09:14 AM
twin view with two monitors Pedroski Fedora 22 09-18-2011 01:04 AM
How HA monitors services or it just monitors connectivity? tanveer Linux - Networking 0 11-12-2008 02:37 AM
2 monitors, nvidia, problem with window-size (maximize uses both monitors) meximex Linux - Hardware 1 05-19-2004 04:37 AM
TV's, CRT Monitors, LCD Monitors... refresh rates and other questions MasterC General 13 05-12-2003 04:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration