(Solved) Intel igpu multiple monitors broken related to Nvidia install?

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
burntex
Level 1
Level 1
Posts: 24
Joined: Tue Jan 26, 2021 11:53 am

(Solved) Intel igpu multiple monitors broken related to Nvidia install?

Post by burntex »

I had an Nvidia card installed and after removing it I could not get a second monitor to be configured with Monitor Preferences in LM20 or LM21 mate with the Intel igpu.. Basically both monitors go into a mostly unresponsive config state. I suspect it might be because of the Nvidia driver installation because my hardware works fine with 2 monitors with a LM installation that has never had Nvidia drivers installed. This problem has existed over several Nvidia driver upgrades 5.10 being the latest.

So I noticed here viewtopic.php?p=2258587#p2258587 where SMG made the comment:

How are you installing the Nvidia driver? Hopefully, you are not using the driver from the Nvidia website because installing it assumes you only have an Nvidia GPU which can mess up the ability of the iGPU to work properly.


I have tried sudo apt purge nvidia* but that did not help.

I may well have at one point installed an nvidia driver from their website..have done that but not sure if it was with this system/installation.

So, is there a procedure to recover the Intel igpu to work with multiple monitors?
Last edited by LockBot on Thu May 18, 2023 10:00 pm, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
SMG
Level 25
Level 25
Posts: 31713
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Intel igpu multiple monitors broken related to Nvidia install?

Post by SMG »

burntex wrote: Fri Nov 18, 2022 11:53 amI had an Nvidia card installed and after removing it I could not get a second monitor to be configured with Monitor Preferences in LM20 or LM21 mate with the Intel igpu..
Some desktops require making changes to settings in BIOS/UEFI to have the onboard graphics work properly. You have not provided any system information for us to know whether than might be needed in your case. Please give us information about your install by entering this command in a terminal:

Code: Select all

inxi -Fxxxrz
Click </> from the mini toolbar above the textbox where you type your reply and then place your cursor between the code tags and paste the results of the command between the code tags [code]Results[/code]. This will let us know how Mint sees your hardware.
burntex wrote: Fri Nov 18, 2022 11:53 amSo I noticed here viewtopic.php?p=2258587#p2258587 where SMG made the comment:

How are you installing the Nvidia driver? Hopefully, you are not using the driver from the Nvidia website because installing it assumes you only have an Nvidia GPU which can mess up the ability of the iGPU to work properly.

I have tried sudo apt purge nvidia* but that did not help.
That command would only help if you installed the drivers using a package management system such as Mint's Driver Manager. The drivers from Nvidia's website are not packaged drivers which is why they recommend in their documentation to use your distro's drivers and not theirs.

Additionally, if you created a custom xorg.conf file, that command would not remove it. You can check for the existence of a custom file with

Code: Select all

cat /etc/X11/xorg.conf
Image
A woman typing on a laptop with LM20.3 Cinnamon.
burntex
Level 1
Level 1
Posts: 24
Joined: Tue Jan 26, 2021 11:53 am

Re: Intel igpu multiple monitors broken related to Nvidia install?

Post by burntex »

Just to add a bit of history, I have had this problem for a couple of years and just worked around it but I would like to get it fixed if I can.
This happened on my i3-8100 desktop. I am currently using the same ssd on my new i5-13600K system but they act the same with respect to configuring a second monitor.

I decided to build a new basic LM21 mate on the i5-13600K. That works fine with being able to config igpu with 2 monitors. So I have a working system with identical hardware just different LM21 mate installations. In the past I did the same thing on the i3-8100 system by taking a duplicate ssd from my i3-8130u laptop (no nvidia install) and using that in the i3-8100 desktop and the igpu works fine configuring 2 monitors.

This is the info of the new i5-13600K using the newly built LM21. I will post using the broken LM21 when I reboot with that

Code: Select all

System:
  Kernel: 6.0.0-1007-oem x86_64 bits: 64 compiler: N/A Desktop: MATE 1.26.0 wm: marco dm: LightDM
    Distro: Linux Mint 21 Vanessa base: Ubuntu 22.04 jammy
Machine:
  Type: Desktop Mobo: Micro-Star model: PRO Z690-A DDR4(MS-7D25) v: 1.0
    serial: <superuser required> UEFI: American Megatrends LLC. v: 1.92 date: 10/14/2022
CPU:
  Info: 12-core (4-mt/8-st) model: 13th Gen Intel Core i5-13600K bits: 64 type: MST AMCP arch: N/A
    rev: 1 cache: L1: 1.1 MiB L2: 16 MiB L3: 24 MiB
  Speed (MHz): avg: 2881 high: 3000 min/max: 800/2300 cores: 1: 2900 2: 2900 3: 2900 4: 3000
    5: 2900 6: 3000 7: 2900 8: 3000 9: 3000 10: 3000 11: 3000 12: 2300 13: 3000 14: 2300 15: 3000
    16: 3000 bogomips: 95846
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel vendor: Micro-Star MSI driver: i915 v: kernel ports: active: DP-1,HDMI-A-1
    empty: DP-2, HDMI-A-2, HDMI-A-3, HDMI-A-4 bus-ID: 00:02.0 chip-ID: 8086:a780  
    

  Display: x11 server: X.Org v: 1.21.1.3 compositor: marco v: 1.26.0 driver: X:
    loaded: modesetting unloaded: fbdev,vesa gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 5760x2160 s-dpi: 96
  Monitor-1: DP-1 pos: right model: LG (GoldStar) TV SSCR res: 3840x2160 dpi: 61
    diag: 1836mm (72.3")
  Monitor-2: HDMI-1 mapped: HDMI-A-1 pos: primary,left model: Acer R240HY res: 1920x1080 dpi: 93
    diag: 604mm (23.8")
  OpenGL: renderer: Mesa Intel Graphics (RPL-S) v: 4.6 Mesa 22.0.5 direct render: Yes
Audio:
  Device-1: Intel vendor: Micro-Star MSI driver: snd_hda_intel v: kernel bus-ID: 00:1f.3
    chip-ID: 8086:7ad0
  Sound Server-1: ALSA v: k6.0.0-1007-oem running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Intel Ethernet I225-V vendor: Micro-Star MSI driver: igc v: kernel pcie: speed: 5 GT/s
    lanes: 1 port: N/A bus-ID: 03:00.0 chip-ID: 8086:15f3
  IF: enp3s0 state: up speed: 100 Mbps duplex: full mac: <filter>
  IF-ID-1: tun0 state: unknown speed: 10 Mbps duplex: full mac: N/A
Drives:
  Local Storage: total: 1.11 TiB used: 65.28 GiB (5.7%)
  ID-1: /dev/nvme0n1 vendor: TeamGroup model: TM8FP6001T size: 953.87 GiB speed: 31.6 Gb/s
    lanes: 4 serial: <filter> temp: 33.9 C
  ID-2: /dev/sda type: USB vendor: JMicron Tech model: N/A size: 119.24 GiB serial: <filter>
  ID-3: /dev/sdd type: USB vendor: SMI (STMicroelectronics) model: USB size: 58.59 GiB
    serial: <filter>
  ID-4: /dev/sde type: USB vendor: Patriot model: N/A size: 3.73 GiB serial: <filter>
Partition:
  ID-1: / size: 39.68 GiB used: 9.05 GiB (22.8%) fs: ext4 dev: /dev/sda2
  ID-2: /boot/efi size: 511 MiB used: 5.2 MiB (1.0%) fs: vfat dev: /dev/sda1
Swap:
  ID-1: swap-1 type: partition size: 512 MiB used: 0 KiB (0.0%) priority: -2 dev: /dev/sda3
  Repos:
  Packages: apt: 2145
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb http: //packages.linuxmint.com vanessa main upstream import backport
    2: deb http: //archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
    3: deb http: //archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse
    4: deb http: //archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
    5: deb http: //security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
Info:
  Processes: 339 Uptime: 36m Memory: 31.14 GiB used: 2.57 GiB (8.2%) Init: systemd v: 249
  runlevel: 5 Compilers: gcc: 11.3.0 alt: 11 Client: Unknown python3.10 client inxi: 3.3.13
SMG:
The drivers from Nvidia's website are not packaged drivers which is why they recommend in their documentation to use your distro's drivers and not theirs.

So how do I purge or delete these if they exist?

There is no /etc/X11/xorg.conf

this is the X11 dir of the broken LM21
X11_Broken_2022-11-18 13-50-00.png
this is the X11 dir of the newly built LM21 that works fine
X11_NewGood_2022-11-18 14-02-49.png
User avatar
SMG
Level 25
Level 25
Posts: 31713
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Intel igpu multiple monitors broken related to Nvidia install?

Post by SMG »

burntex wrote: Fri Nov 18, 2022 5:01 pmSo I have a working system with identical hardware just different LM21 mate installations.
Which means we know it is something in the install causing the issue.
burntex wrote: Fri Nov 18, 2022 5:01 pmSMG:
The drivers from Nvidia's website are not packaged drivers which is why they recommend in their documentation to use your distro's drivers and not theirs.

So how do I purge or delete these if they exist?
When installing the drivers from the Nvidia website, one uses an install program. To remove the drivers, one would run the uninstall program. If I am recalling correctly, when one installs the driver from the website, an Nvidia-installer log file is created in /var/log. If you do not have one of those log files, then it is likely you did not install the driver from the website.

The only difference between the two screen shots you posted seems to be Xsession.d, but I've never done anything in that directory to know if that might be an issue.

Could you please run the following on the "broken" install. X Server runs the graphics in Linux Mint. Please use this command in a terminal to upload the X Server log file to termbin:

Code: Select all

cat /var/log/Xorg.0.log | nc termbin.com 9999
It will return with a url address that you can post in your next reply.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
burntex
Level 1
Level 1
Posts: 24
Joined: Tue Jan 26, 2021 11:53 am

Re: Intel igpu multiple monitors broken related to Nvidia install?

Post by burntex »

this is the info on 'broken" LM21

Code: Select all

System:
  Kernel: 6.0.0-1007-oem x86_64 bits: 64 compiler: N/A Desktop: MATE 1.26.0 wm: marco dm: LightDM
    Distro: Linux Mint 21 Vanessa base: Ubuntu 22.04 jammy
Machine:
  Type: Desktop Mobo: Micro-Star model: PRO Z690-A DDR4(MS-7D25) v: 1.0
    serial: <superuser required> UEFI: American Megatrends LLC. v: 1.92 date: 10/14/2022
CPU:
  Info: 12-core (4-mt/8-st) model: 13th Gen Intel Core i5-13600K bits: 64 type: MST AMCP arch: N/A
    rev: 1 cache: L1: 1.1 MiB L2: 16 MiB L3: 24 MiB
  Speed (MHz): avg: 2925 high: 3000 min/max: 800/2300 cores: 1: 2900 2: 2900 3: 2901 4: 3000
    5: 2900 6: 3000 7: 2900 8: 3000 9: 2300 10: 3000 11: 3000 12: 3000 13: 3000 14: 3000 15: 3000
    16: 3000 bogomips: 95846
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel vendor: Micro-Star MSI driver: i915 v: kernel ports: active: DP-1,HDMI-A-1
    empty: DP-2, HDMI-A-2, HDMI-A-3, HDMI-A-4 bus-ID: 00:02.0 chip-ID: 8086:a780
  Display: x11 server: X.Org v: 1.21.1.3 compositors: 1: marco v: 1.26.0 2: Compton v: 1 driver:
    X: loaded: modesetting unloaded: fbdev,vesa gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 5760x2160 s-dpi: 96
  Monitor-1: DP-1 pos: right model: LG (GoldStar) TV SSCR res: 3840x2160 dpi: 61
    diag: 1836mm (72.3")
  Monitor-2: HDMI-1 mapped: HDMI-A-1 pos: primary,left model: Acer R240HY res: 1920x1080 dpi: 93
    diag: 604mm (23.8")
  OpenGL: renderer: Mesa Intel Graphics (RPL-S) v: 4.6 Mesa 22.0.5 direct render: Yes
Audio:
  Device-1: Intel vendor: Micro-Star MSI driver: snd_hda_intel v: kernel bus-ID: 00:1f.3
    chip-ID: 8086:7ad0
  Sound Server-1: ALSA v: k6.0.0-1007-oem running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Intel Ethernet I225-V vendor: Micro-Star MSI driver: igc v: kernel pcie: speed: 5 GT/s
    lanes: 1 port: N/A bus-ID: 03:00.0 chip-ID: 8086:15f3
  IF: enp3s0 state: up speed: 100 Mbps duplex: full mac: <filter>
  IF-ID-1: tun0 state: unknown speed: 10 Mbps duplex: full mac: N/A
Drives:
  Local Storage: total: 1.05 TiB used: 43.8 GiB (4.1%)
  ID-1: /dev/nvme0n1 vendor: TeamGroup model: TM8FP6001T size: 953.87 GiB speed: 31.6 Gb/s
    lanes: 4 serial: <filter> temp: 36.9 C
  ID-2: /dev/sda type: USB vendor: A-Data model: SU800 size: 119.24 GiB serial: <filter>
Partition:
  ID-1: / size: 55.45 GiB used: 43.76 GiB (78.9%) fs: ext4 dev: /dev/sda2
  ID-2: /boot/efi size: 508 MiB used: 40.9 MiB (8.1%) fs: vfat dev: /dev/sda1
Swap:
  ID-1: swap-1 type: partition size: 512 MiB used: 0 KiB (0.0%) priority: -2 dev: /dev/sda3
  Repos:
  Packages: 2826 apt: 2801 flatpak: 25
  No active apt repos in: /etc/apt/sources.list
  No active apt repos in: /etc/apt/sources.list.d/additional-repositories.list
  No active apt repos in: /etc/apt/sources.list.d/google-earth-pro.list
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb http: //packages.linuxmint.com vanessa main upstream import backport
    2: deb http: //ftp.ussg.iu.edu/linux/ubuntu jammy main restricted universe multiverse
    3: deb http: //ftp.ussg.iu.edu/linux/ubuntu jammy-updates main restricted universe multiverse
    4: deb http: //ftp.ussg.iu.edu/linux/ubuntu jammy-backports main restricted universe multiverse
    5: deb http: //security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
  No active apt repos in: /etc/apt/sources.list.d/openshot_developers-ppa-focal.list
  No active apt repos in: /etc/apt/sources.list.d/stebbins-handbrake-releases-focal.list
Info:
  Processes: 346 Uptime: 4m Memory: 31.14 GiB used: 2.87 GiB (9.2%) Init: systemd v: 249
  runlevel: 5 Compilers: gcc: 11.3.0 alt: 11/9 Client: Unknown python3.10 client inxi: 3.3.13 
  
X Log file
https://termbin.com/cpji
User avatar
SMG
Level 25
Level 25
Posts: 31713
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Intel igpu multiple monitors broken related to Nvidia install?

Post by SMG »

burntex wrote: Fri Nov 18, 2022 6:04 pm this is the info on 'broken" LM21
You have both marco and compton on this one. (Only marco on the other one.)

Graphics:
Device-1: Intel vendor: Micro-Star MSI driver: i915 v: kernel ports: active: DP-1,HDMI-A-1
empty: DP-2, HDMI-A-2, HDMI-A-3, HDMI-A-4 bus-ID: 00:02.0 chip-ID: 8086:a780
Display: x11 server: X.Org v: 1.21.1.3 compositors: 1: marco v: 1.26.0 2: Compton v: 1 driver:
X: loaded: modesetting unloaded: fbdev,vesa gpu: i915 display-ID: :0 screens: 1

I do not have MATE so I'm not sure what one does with two compositors.

The only line in the Xorg log which might represent an issue is the below one, but after that line both monitors and their EDIDs are listed and recognized.

Code: Select all

[     8.092] xf86EnableIO: failed to enable I/O ports 0000-03ff (Operation not permitted)
burntex wrote: Fri Nov 18, 2022 11:53 am could not get a second monitor to be configured with Monitor Preferences in LM20 or LM21 mate with the Intel igpu.
I would recommend removing/disabling Compton and see if that clears the issue.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
burntex
Level 1
Level 1
Posts: 24
Joined: Tue Jan 26, 2021 11:53 am

(Solved) Re: Intel igpu multiple monitors broken related to Nvidia install?

Post by burntex »

Whoa! You nailed it 'A woman typing on a laptop with LM20.3 Cinnamon.' Pretty impressive typing there...all this time I was sure it had something to do with Nvidia .. sorry about that Nvidia.

Yes in mate under Desktop Settings-Windows-Window Manager there is an option to have marco and compton.
How or why I ended up setting that I don't know. After setting it to marco and presto 2nd monitor shows up and all is well in the universe .. well maybe not all ...

Thank you so much..
User avatar
SMG
Level 25
Level 25
Posts: 31713
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: (Solved) Intel igpu multiple monitors broken related to Nvidia install?

Post by SMG »

You're welcome. :)
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Locked

Return to “Graphics Cards & Monitors”