LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-09-2021, 03:48 AM   #1
thomasbb
Member
 
Registered: Mar 2019
Location: Nice
Distribution: Xubuntu
Posts: 123

Rep: Reputation: Disabled
Question Graphics card hot change


To have a dual screen, I changed the graphics card, but the second screen doesn't light. Do I need to recompile the kernel or something?
 
Old 01-09-2021, 05:01 AM   #2
obobskivich
Member
 
Registered: Jun 2020
Posts: 596

Rep: Reputation: Disabled
Can you provide more information about:

- What distro/DE
- What graphics card(s) are involved
- Did you turn on the various monitor(s) and connect them up to known working output(s) with known working cable(s)?

The most 'obvious' guess/answer, since you put 'Xubuntu' in your profile, would be to go into Settings -> Display and see if the additional monitor (s) are present, and if so, set them to 'On' or 'Enabled' and then confirm the changes. If that's not useful, folks will probably need at least the information I requested, if not more (like the output of xrandr).
 
1 members found this post helpful.
Old 01-09-2021, 07:44 AM   #3
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,850

Rep: Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309
additionally recompiling kernel will not help (but again, hard to say anything without details).
 
1 members found this post helpful.
Old 01-09-2021, 12:25 PM   #4
thomasbb
Member
 
Registered: Mar 2019
Location: Nice
Distribution: Xubuntu
Posts: 123

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by obobskivich View Post
Can you provide more information about:
- What distro/DE
The distro is CentOs7 in console mode, without graphical environment
Quote:
- What graphics card(s) are involved
No idea, I took it from a less old PC that was taking dust in a closet. The output is DMS-59 I think, and then a splitter cable gives two Vga output. The Bios only says "PEG" on the main monitor. The new card looks like this card and the former like this one
Quote:
- Did you turn on the various monitor(s) and connect them up to known working output(s) with known working cable(s)?
Extensively... And everything works
Quote:
The most 'obvious' guess/answer, since you put 'Xubuntu' in your profile, would be to go into Settings -> Display and see if the additional monitor (s) are present, and if so, set them to 'On' or 'Enabled' and then confirm the changes. If that's not useful, folks will probably need at least the information I requested, if not more (like the output of xrandr).
At the lab, the computer runs Xubuntu but I'm home hacking. If needed, I can reinstall everything but I'm trying to avoid coming to that end
 
Old 01-09-2021, 12:30 PM   #5
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,850

Rep: Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309
Ok, so once more:
You have a computer at home, running Xubuntu and another one in the lab running CentOS 7. Which one do you want to use with two monitors?
lspci should give you some info about your VGA compatible controller (= video card).
 
1 members found this post helpful.
Old 01-09-2021, 03:37 PM   #6
thomasbb
Member
 
Registered: Mar 2019
Location: Nice
Distribution: Xubuntu
Posts: 123

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
Ok, so once more:
You have a computer at home, running Xubuntu and another one in the lab running CentOS 7. Which one do you want to use with two monitors?
The hacked computer home runs CentOs 7 (as I started on the forum to learn using Xubuntu in the lab, I left it when I switched to Linux)
Quote:
lspci should give you some info about your VGA compatible controller (= video card).
lspci says:
Code:
NVIDIA Corporation G86 [Quadro NVS 290] (rev a1)
(if I unplug the vga cable that goes from output #2 on the computer to the screen with no signal and plug it to output #1, the screen lights and shows what the main screen was displaying)

Last edited by thomasbb; 01-09-2021 at 03:44 PM. Reason: add info
 
Old 01-09-2021, 04:46 PM   #7
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,803

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
Originally Posted by thomasbb View Post
The hacked computer home runs CentOs 7 (as I started on the forum to learn using Xubuntu in the lab, I left it when I switched to Linux)

lspci says:
Code:
NVIDIA Corporation G86 [Quadro NVS 290] (rev a1)
(if I unplug the vga cable that goes from output #2 on the computer to the screen with no signal and plug it to output #1, the screen lights and shows what the main screen was displaying)
So both displays are known to be working? But one graphics card is able to provide a video signal to whatever display it's connected to? And the other graphics card doesn't? I would assume that the card that was detected by "lspci" is the one that's providing the video output. Right?

Since both are nVidia-based, have you checked the driver that's being used? If it's one of nVidia's proprietary drivers, does it have support for both chips?

Have you gone into a system setting dialog (as previously suggested) to see if there's an option to select one or both screens for output? If so, are both selected?

I haven't run a dual-video-card system before -- other than on a system with a motherboard-based video chip that I disabled via the BIOS in favor of my (now-no-longer-supported) nVidia card -- but I'm wondering if this could be an Xorg-related problem, i.e., does Xorg detected the second "screen". If not, this could be due to that system configuration setting that enables both cards/displays. Have you taken a look at the Xorg log file to how many screens are defined? (On my system, it's /var/log/Xorg.0.log---and I only see a "Screen 0". YMMV.)

HTH...
 
1 members found this post helpful.
Old 01-09-2021, 05:00 PM   #8
thomasbb
Member
 
Registered: Mar 2019
Location: Nice
Distribution: Xubuntu
Posts: 123

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rnturn View Post
does Xorg detected the second "screen"
There is no graphical environment
 
Old 01-09-2021, 10:19 PM   #9
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,803

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
Originally Posted by thomasbb View Post
There is no graphical environment
Sorry... I read and immediately spaced off that information from your earlier post. I've never known anyone to use that sort of configuration before. Most folks would simply use Ctrl-Alt-F[1-6] but I can see how having two live monitors could be useful.

I wish you luck in finding a solution.
 
1 members found this post helpful.
Old 01-10-2021, 01:10 AM   #10
obobskivich
Member
 
Registered: Jun 2020
Posts: 596

Rep: Reputation: Disabled
FWIW: I've never known nVidia cards to drive multiple displays without some sort of GUI/DE running - e.g. they won't display the computer's BIOS/UEFI on multiple screens, display text installers on multiple screens, etc. I know some ATi/AMD cards will do this, but it would be a 1:1 clone (the same output on all screens), which you could also achieve with a 1x2 active splitter (for whatever connection of choice). I'm also not sure I'd spend the money on a Radeon just to test that theory, when you could get a splitter (if your goal is to just have the same output on many monitors). Like rnturn, I'm not sure how you'd do this without a DE - you could probably run X and a very basic wm like dwm and have (separate) terminals on each of the displays, but I don't know if that's possible in your environment (and I base this entirely on pictures I've seen of dwm in action and reading about it - see more here: https://dwm.suckless.org/ and example image here: https://en.wikipedia.org/wiki/Dwm#/m...l_monitor.jpeg - according to the caption of the Wikipedia image this relies on Xinerama as well).
 
1 members found this post helpful.
Old 01-10-2021, 04:13 AM   #11
thomasbb
Member
 
Registered: Mar 2019
Location: Nice
Distribution: Xubuntu
Posts: 123

Original Poster
Rep: Reputation: Disabled
For example on a 32bits computer, if I change the processor, I need to reinstall Linux. Is it the same for graphics cards?
 
Old 01-10-2021, 04:15 AM   #12
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,850

Rep: Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309
Quote:
Originally Posted by thomasbb View Post
For example on a 32bits computer, if I change the processor, I need to reinstall Linux.
I don't think it is true.

Quote:
Originally Posted by thomasbb View Post
Is it the same for graphics cards?
You only need to install the driver for the new video card.
 
1 members found this post helpful.
Old 01-10-2021, 04:23 AM   #13
thomasbb
Member
 
Registered: Mar 2019
Location: Nice
Distribution: Xubuntu
Posts: 123

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
I don't think it is true.
How would you do then?

Quote:
You only need to install the driver for the new video card.
For example:
Code:
sudo yum remove nouveau
sudo yum install nouveau
?
 
Old 01-10-2021, 04:35 AM   #14
thomasbb
Member
 
Registered: Mar 2019
Location: Nice
Distribution: Xubuntu
Posts: 123

Original Poster
Rep: Reputation: Disabled
Just tryied
Code:
rpm -qa | grep nouveau
rpm -qa | grep nvidia
and nothing appears... Maybe there is no driver at all: it's a minimal installation
 
Old 01-10-2021, 08:37 AM   #15
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,850

Rep: Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309
if you have a similar card (for example a better nvidia) you do not need to install/uninstall anything, that will work.
Also these are generic kernels and they work with almost any CPUs, so do not need to do anything.

Furthermore I think nvidia (or nouveau) required only for GUI, otherwise yes, there is a basic support in the kernel for non-graphical environments.

Also I think you can have only one console, so you cannot use 2 monitors in console mode, you need to run X to be able to do that. Or probably there is a kernel patch to do that (I think this is a quite uncommon request).

But correct me if I'm wrong, maybe I have misunderstood something.
 
1 members found this post helpful.
  


Reply

Tags
dual monitor, graphics card



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
Use Nvidia graphics card on linux mint mate 17.3 when in a hybrid graphics card environment betty _frances Linux Mint 1 06-08-2016 06:31 AM
Kernel 3.14 - how to change graphics card?(Radeon and Intel hybrid graphics) kamils096 Linux - Kernel 3 07-12-2014 05:09 PM
[SOLVED] Black screen after using hot HDMI cable. Graphics card broken? duplex Linux - Hardware 4 12-27-2013 01:27 PM
Hot? You want...hot??? I dont... ButterflyMelissa Linux - Hardware 11 08-08-2013 05:30 AM
Dual monitors: inbuilt graphics card & external graphics card fanofai Linux - Newbie 1 06-07-2009 07:31 AM

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

All times are GMT -5. The time now is 07:10 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