LinuxQuestions.org
Review your favorite Linux distribution.
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 11-15-2017, 06:47 PM   #1
lucmove
Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian Jessie
Posts: 808

Rep: Reputation: 76
Different screen resolutions on notebook and external monitor


Remember when we needed antennas to watch TV and sometimes the reception wasn't good and the image was all noisy? I have this problem now with a monitor connected to a notebook.

At first, the monitor was not detected at all. I had to reboot the notebook with the monitor connected. Now it works, but the image is bad.

Then I realized that it must be a resolution problem. The notebook's integrated screen is 1024x768 while the external monitor is 1366x768.

Neither xrandr or arandr detects the external monitor so I don't know how I can set a different resolution for the external screen.

Is there a fix for this?
 
Old 11-16-2017, 01:57 AM   #2
Rhadamanthysan
LQ Newbie
 
Registered: Nov 2013
Location: Brasil
Distribution: Slackware FreeBSD
Posts: 23

Rep: Reputation: Disabled
could you please be more specific? what distribution of GNU/Linux. What type of connection (vga or HDMI)? What GUI (gnome, kde, fluxbox... etc). Have you tested another cable to rule out that possibility? Can you test same cable with another computer/notebook on the same TV? My way around this (i'm using KDE) is simply use kde menus to turn off notebook screen, leaving only the tv as output.
 
Old 11-16-2017, 02:27 AM   #3
mrmazda
Member
 
Registered: Aug 2016
Location: USA
Distribution: openSUSE, Knoppix, Debian, Mageia, Fedora, more
Posts: 326

Rep: Reputation: 86
You can restart Xorg without rebooting, which is a lot faster.

In addition to providing the already requested information, upload your Xorg.0.log file and share the link here. Debian has a terminal command pastebinint to make this easy without having X running. Optionally use http://paste.debian.net/ with a web browser. Other useful information to provide is notebook brand and model, output from 'dmesg | grep error', 'inxi -c0 -v4' and 'lspci -nnk | grep -A4 VGA'.
 
Old 11-16-2017, 11:33 AM   #4
lucmove
Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian Jessie
Posts: 808

Original Poster
Rep: Reputation: 76
Quote:
Originally Posted by Rhadamanthysan View Post
could you please be more specific?
Sure.

> what distribution of GNU/Linux?
Debian 9 (Stretch)

> What type of connection (vga or HDMI)?
VGA

> What GUI (gnome, kde, fluxbox... etc)
Openbox/LXDE

> Have you tested another cable to rule out that possibility?
No. I only have this one.

> Can you test same cable with another computer/notebook on the same TV?
Yes, it works fine on my desktop machine, also Debian 9.

> My way around this (i'm using KDE) is simply use kde menus to turn off notebook screen, leaving only the tv as output.
I don't use KDE, but please note I specified above:

Quote:
Neither xrandr or arandr detects the external monitor so I don't know how I can set a different resolution for the external screen.
So I can't turn either one off. I can turn the external one off by disconnecting it, and the integrated one by closing the lid. Just not quite the same, right? :-\

Last edited by lucmove; 11-16-2017 at 11:35 AM.
 
Old 11-16-2017, 11:49 AM   #5
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian 9 Stretch
Posts: 2,299
Blog Entries: 8

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
Since the notebook's internal screen has 1024x768 resolution, I'm betting this is a very old laptop and the external monitor connection is VGA.

Could you post the output of the following:

Code:
xrandr
lspci
Normally, xrandr should list at least two outputs. But if there's only one output listed, then the proper video driver may need to be installed.

My experience is that if the VGA monitor's native resolution isn't detected, it's possible to add the resolution by adding a modeline for the desired resolution. The code would look something like:

Code:
xrandr --newmode "1366x768custom" 85.5 1366 1494 1624 1798 768 770 776 795 -hsync +vsync
xrandr --addmode VGA-1 "1366x768custom"
You'll have to replace "VGA-1" with whatever xrandr tells you the relevant output is. Then, after adding this mode arandr will see it and you can use arandr to create a useful script to set the desired resolutions and placements.
 
1 members found this post helpful.
Old 11-16-2017, 12:24 PM   #6
lucmove
Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian Jessie
Posts: 808

Original Poster
Rep: Reputation: 76
I can't do any troubleshooting anymore. The machine is broken and I'm taking it to a shop:

https://www.linuxquestions.org/quest...ng-4175617705/

I'll get back to you when I have it in working order. Thanks for the help so far.
 
Old 11-19-2017, 02:58 AM   #7
lucmove
Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian Jessie
Posts: 808

Original Poster
Rep: Reputation: 76
So the machine is back from the repair shop. If anyone still wants to help me with this, I'll appreciate it.
 
Old 11-19-2017, 03:02 AM   #8
lucmove
Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian Jessie
Posts: 808

Original Poster
Rep: Reputation: 76
Quote:
Originally Posted by IsaacKuo View Post
Since the notebook's internal screen has 1024x768 resolution, I'm betting this is a very old laptop and the external monitor connection is VGA.
It is a very old laptop.

Quote:
Originally Posted by IsaacKuo View Post
Could you post the output of the following:
Code:
xrandr
lspci
# xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 640 x 480, current 1024 x 768, maximum 1024 x 768
default connected 1024x768+0+0 0mm x 0mm
1024x768 61.00*
800x600 61.00
640x480 60.00

# lspci
00:00.0 RAM memory: NVIDIA Corporation MCP67 Memory Controller (rev a2)
00:01.0 ISA bridge: NVIDIA Corporation MCP67 ISA Bridge (rev a2)
00:01.1 SMBus: NVIDIA Corporation MCP67 SMBus (rev a2)
00:01.2 RAM memory: NVIDIA Corporation MCP67 Memory Controller (rev a2)
00:01.3 Co-processor: NVIDIA Corporation MCP67 Co-processor (rev a2)
00:02.0 USB controller: NVIDIA Corporation MCP67 OHCI USB 1.1 Controller (rev a2)
00:02.1 USB controller: NVIDIA Corporation MCP67 EHCI USB 2.0 Controller (rev a2)
00:04.0 USB controller: NVIDIA Corporation MCP67 OHCI USB 1.1 Controller (rev a2)
00:04.1 USB controller: NVIDIA Corporation MCP67 EHCI USB 2.0 Controller (rev a2)
00:06.0 IDE interface: NVIDIA Corporation MCP67 IDE Controller (rev a1)
00:07.0 Audio device: NVIDIA Corporation MCP67 High Definition Audio (rev a1)
00:08.0 PCI bridge: NVIDIA Corporation MCP67 PCI Bridge (rev a2)
00:09.0 IDE interface: NVIDIA Corporation MCP67 AHCI Controller (rev a2)
00:0a.0 Ethernet controller: NVIDIA Corporation MCP67 Ethernet (rev a2)
00:0c.0 PCI bridge: NVIDIA Corporation MCP67 PCI Express Bridge (rev a2)
00:0d.0 PCI bridge: NVIDIA Corporation MCP67 PCI Express Bridge (rev a2)
00:12.0 VGA compatible controller: NVIDIA Corporation C67 [GeForce 7000M / nForce 610M] (rev a2)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
03:00.0 Ethernet controller: Qualcomm Atheros AR242x / AR542x Wireless Network Adapter (PCI-Express) (rev 01)

Quote:
Originally Posted by IsaacKuo View Post
Normally, xrandr should list at least two outputs. But if there's only one output listed, then the proper video driver may need to be installed.
What driver would that be?

Quote:
Originally Posted by IsaacKuo View Post
My experience is that if the VGA monitor's native resolution isn't detected, it's possible to add the resolution by adding a modeline for the desired resolution. The code would look something like:
Code:
xrandr --newmode "1366x768custom" 85.5 1366 1494 1624 1798 768 770 776 795 -hsync +vsync
xrandr --addmode VGA-1 "1366x768custom"
You'll have to replace "VGA-1" with whatever xrandr tells you the relevant output is.
But it seems to me that xrandr isn't telling me anything about that external VGA output.
 
Old 11-19-2017, 03:39 AM   #9
mrmazda
Member
 
Registered: Aug 2016
Location: USA
Distribution: openSUSE, Knoppix, Debian, Mageia, Fedora, more
Posts: 326

Rep: Reputation: 86
That 7000M is about 12 years old. If I'm not mistaken, the first 1366x768 resolution screens had yet to make an appearance when the 7000M was current technology. Do you have access to another screen to test that has a native resolution common by that time, maybe 1920x1080 or 1440x900 or 1680x1050?

How old is the laptop's BIOS? Is it the latest available?

Once upon a time with some GeForce gfxchips (e.g. 6150SE, close in age to your 7000M), various Xorg problems could be solved by adding nouveau.config=NvMSI=0 to the kernel cmdline. Maybe it's worth trying here.
 
1 members found this post helpful.
Old 11-19-2017, 03:49 AM   #10
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 6,965
Blog Entries: 4

Rep: Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668
Quote:
Originally Posted by IsaacKuo View Post
Normally, xrandr should list at least two outputs. But if there's only one output listed, then the proper video driver may need to be installed.
you should show us what is currently in use:
Code:
lspci -k | grep -A5 VGA
i suspect it's the nouveau driver.
my experience with nouveau is that it tends to work less reliably the older the card is; so maybe you need to hunt down the suitable driver from nvidia.
i have used this how-to succesfully.
 
1 members found this post helpful.
Old 11-19-2017, 05:35 AM   #11
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 3,327
Blog Entries: 1

Rep: Reputation: 690Reputation: 690Reputation: 690Reputation: 690Reputation: 690Reputation: 690
nVidia and xrandr don't play well. Perhaps nvidia-xconfig would be better suited. Although I wouldn't expect much support for a 1366x768 screen on something old (or even new) via external connections. The best one of my older laptops could do on a 1600x900 display was 1280x800 or some such. You could probably get 1280x720, but still a non-native resolution, so less than optimal / pretty.

If xrandr was well supported you could turn screens off.

$ xrandr --output default --off

With --on to turn it back on. It's useful for saving the backlight life if you're not using the LCD. Saving battery life without closing the lid. And boosting GPU performance since it has one less screen to handle. But nvidia doesn't speak xrandr very well. So all amd/intel on my end, except for my arm based things.
 
1 members found this post helpful.
Old 11-19-2017, 08:28 AM   #12
mrmazda
Member
 
Registered: Aug 2016
Location: USA
Distribution: openSUSE, Knoppix, Debian, Mageia, Fedora, more
Posts: 326

Rep: Reputation: 86
FWIW, 9.2 works as expected here on a desktop using onboard GeForce 6150SE and 1360x768 Samsung TV with VGA cable and modeset Xorg driver.
 
1 members found this post helpful.
Old 11-22-2017, 07:03 PM   #13
lucmove
Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian Jessie
Posts: 808

Original Poster
Rep: Reputation: 76
I never managed to make the older laptop work with this 1366x768 monitor. But I have a slightly newer laptop here, and this one works. I think I have a keeper. Thank you all.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Notebook + ext monitor = different resolutions lucmove Linux - Hardware 1 01-11-2012 09:38 PM
External Monitor on a Notebook (hp 2133) leventis123 Linux - Laptop and Netbook 7 02-17-2011 05:53 AM
Need advice setting up multi-monitor support in Linux; mixed screen size/resolutions utahnix Linux - Hardware 1 04-24-2009 03:59 AM
External monitor different from notebook screen dougnc Linux - Laptop and Netbook 0 02-25-2008 04:27 PM
Notebook with External Monitor lokirulez Linux - Hardware 1 06-23-2006 06:15 PM

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

All times are GMT -5. The time now is 10:20 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration