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 09-09-2018, 07:21 PM   #1
TripleDave
Member
 
Registered: Jun 2018
Location: Adelaide SA
Distribution: Lubuntu 18.04 & Mint 20.04
Posts: 38

Rep: Reputation: Disabled
Second monitor is blank


Installed lubuntu 18.04 i386 to an older laptop that was running windows 10 and I am greatly impressed with it's new lease on life! Only real issue I have is I'm unable to get the external monitor working. Xrandr shows both LVDS (primary) and VGA-0 connected.
~$ xrandr
Screen 0: minimum 320 x 200, current 2480 x 1050, maximum 8192 x 8192
VGA-0 connected 800x600+1680+0 (normal left inverted right x axis y axis) 376 x 301mm
1280x1024 60.02 + 75.02
1152x864 75.00
1024x768 75.03 60.00
800x600 75.00* 60.32
640x480 75.00 59.94
720x400 70.08
LVDS connected primary 1680x1050+0+0 (normal left inverted right x axis y axis) 331mm x 207mm
1680x1050 60.00*+
1400x1050 60.00
1280x1024 59.95
1440x900 59.99
1280x960 59.99
1280x854 59.95
1280x800 59.96
1280x720 59.97
1152x768 59.95
1024x768 59.95
800x600 59.96
848x480 59.94
720x480 59.94
640x480 59.94
S-video disconnected (normal left inverted right x axis y axis)

The graphics card is a ATI Mobility Radeon x1400 (RV515 chipset) and there are no errors in the /var/log/xorg.0.log file. lshw -c identifies the VGA controller as RV515/M54 and the driver as "radeon".
~$ lshw -c video
description: VGA compatible controller
product: RV515/M54 [Mobility Radeon X1400]
vendor: Advanced Micro Devices, Inc. [AMD/ATI]
physical id: 0
bus info: pci@0000:01:00.0
version: 00
width: 32 bits
clock: 33MHz
capabilities: vga_controller bus_master cap_list rom
configuration: driver=radeon latency=0
resources: irq:16 memory:d0000000-dfffffff ioport:ee00(size=256) memory:efdf0000-efdfffff memory:c0000-dffff

I am able to drag windows across to the VGA screen but can't see them (all blank). The VGA menu screen says it's in Power Save mode which I think means it is getting no signal. The VGA screen and monitor work when plugged into a different lubuntu laptop and I've closely inspected the cable connections. I'm thinking that maybe the video card is kaput! Any help is appreciated.
 
Old 09-09-2018, 07:57 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,323
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
Check the manual for your laptop. Most of the laptops I've used have had a function key as a hardware control to switch to and from second monitors. It usually has an icon (intended) to represent a picture of display.
 
Old 09-10-2018, 07:52 PM   #3
TripleDave
Member
 
Registered: Jun 2018
Location: Adelaide SA
Distribution: Lubuntu 18.04 & Mint 20.04
Posts: 38

Original Poster
Rep: Reputation: Disabled
Thanks frankbell, the laptop does have a F8 function key toggle. Not the problem - it makes no difference.
 
Old 09-11-2018, 12:17 AM   #4
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,808
Blog Entries: 1

Rep: Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066
Quote:
Originally Posted by TripleDave View Post
there are no errors in the /var/log/xorg.0.log file. lshw -c identifies the VGA controller as RV515/M54 and the driver as "radeon".
~$ lshw -c video
description: VGA compatible controller
product: RV515/M54 [Mobility Radeon X1400]
There may be an error that isn't labeled as such in Xorg.0.log. Please share a complete Xorg.0.log and output from
Code:
inxi -Gxx
That external display running at 800x600 smells like it may not be using the Radeon Xorg driver, and even if it is, IME that generation of Radeon is rather quirky and may need some config help.

Something to try: switch from the desktop to a vtty (e.g. Ctrl-Alt-F3), then back (Alt-Fn, n being whichever vtty Ubuntu 18.04's X is running on, probably 1, 7 or 8). Does doing this product an audible snap, or two, or light up the external display, either for the vtty and/or for X?
 
Old 09-11-2018, 01:16 AM   #5
TripleDave
Member
 
Registered: Jun 2018
Location: Adelaide SA
Distribution: Lubuntu 18.04 & Mint 20.04
Posts: 38

Original Poster
Rep: Reputation: Disabled
mrmazda,

Code:
inxi -Gxx
Code:
Graphics:  Card: Advanced Micro Devices [AMD/ATI] RV515/M54 [Mobility Radeon X1400]
           bus-ID: 01:00.0 chip-ID: 1002:7145
           Display Server: x11 (X.Org 1.19.6 ) drivers: ati,radeon (unloaded: modesetting,fbdev,vesa)
           Resolution: 800x600@75.00hz, 1680x1050@60.00hz
           OpenGL: renderer: ATI RV515 version: 2.1 Mesa 18.0.5 Direct Render: Yes
 
Old 09-11-2018, 02:02 AM   #6
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,808
Blog Entries: 1

Rep: Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066
If you would provide all I asked for I might have more to offer. Try adding the following to your kernel cmdline:using the e key at the grub menu. If it works, reconfigure /etc/default/grub to include it, and then rebuild grub.cfg. Alternatively, equivalence can be provided via xorg.conf*. e.g. /etc/X11/xorg.conf.d/50-monitor.conf
Code:
Section "Monitor"
  Identifier "Default Monitor"
	HorizSync	28-85
	VertRefresh	59-61
	Option	"PreferredMode"	"1280x1024"
EndSection
alone might be sufficient, by switching the external display VGA-0 to using the same refresh rate as LVDS, along with the external display's preferred mode instead of 800x600.
 
Old 09-11-2018, 02:11 AM   #7
TripleDave
Member
 
Registered: Jun 2018
Location: Adelaide SA
Distribution: Lubuntu 18.04 & Mint 20.04
Posts: 38

Original Poster
Rep: Reputation: Disabled
mrmazda, wrt contents of Xorg.0.log - it's too big a file for this thread to handle ie: > 30000 characters. Can I apply some filtering to produce a lesser size file?

Switching ttys from F8 and back tyo F7 did not result in any monitor changes.

I'll now try to implement your latest suggestions.

Thanks, Dave
 
Old 09-11-2018, 02:36 AM   #8
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,808
Blog Entries: 1

Rep: Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066
Code:
man pastebinit
explains how to upload Xorg.0.log so you can post a URL here to where it can be seen.

Switching to vtty3 (Ctrl-Alt-F3) should have produced a massive change, fullscreen text mode, instead of LXDE.
 
Old 09-11-2018, 03:04 AM   #9
TripleDave
Member
 
Registered: Jun 2018
Location: Adelaide SA
Distribution: Lubuntu 18.04 & Mint 20.04
Posts: 38

Original Poster
Rep: Reputation: Disabled
mrmazda, pastebinit didn't work for me, viz:

Code:
:~$ sudo cat /var/log/Xorg.0.log | pastebinit
[sudo] password for dmh: 
Traceback (most recent call last):
  File "/usr/bin/pastebinit", line 348, in <module>
    content = sys.stdin.read()
  File "/usr/lib/python3.6/codecs.py", line 321, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa3 in position 20935: invalid start byte
and yes, (Ctrl-Alt-F3) did put the monitor into full text mode.

I edited the ~/.bashrc for
Code:
# set external  screen resolution
xrandr --output VGA-0 --mode 1280x1024 --rate 60
# set laptop screen to be left of external screen
xrandr --output LVDS --left-of VGA-0
# set laptop screen to be primary monitor
xrandr --output LVDS --primary
###
which produced the following from xrandr aftyer a reboot
Code:
Screen 0: minimum 320 x 200, current 2960 x 1050, maximum 8192 x 8192
VGA-0 connected 1280x1024+1680+0 (normal left inverted right x axis y axis) 376mm x 301mm
   1280x1024     60.02*+  75.02  
   1152x864      75.00  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   640x480       75.00    59.94  
   720x400       70.08  
LVDS connected primary 1680x1050+0+0 (normal left inverted right x axis y axis) 331mm x 207mm
   1680x1050     60.00*+
   1400x1050     60.00  
   1280x1024     59.95  
   1440x900      59.99  
   1280x960      59.99  
   1280x854      59.95  
   1280x800      59.96  
   1280x720      59.97  
   1152x768      59.95  
   1024x768      59.95  
   800x600       59.96  
   848x480       59.94  
   720x480       59.94  
   640x480       59.94  
S-video disconnected (normal left inverted right x axis y axis)
Hope this helps, Dave
 
Old 09-11-2018, 03:34 AM   #10
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,808
Blog Entries: 1

Rep: Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066
Is the external display still black?

pastebinit isn't the only way to upload a log. Among others:
https://paste.ubuntu.com/
https://pastebin.com/
http://paste.debian.net/
http://susepaste.org/
https://paste.fedoraproject.org/

If you have Apache running you can host it yourself.
 
Old 09-11-2018, 03:50 AM   #11
TripleDave
Member
 
Registered: Jun 2018
Location: Adelaide SA
Distribution: Lubuntu 18.04 & Mint 20.04
Posts: 38

Original Poster
Rep: Reputation: Disabled
mrmazda, ok I used your first link. The created URL is https://paste.ubuntu.com/p/dH8FsCMZ6h/

and yes, the screen is still black

Cheers,

Dave
 
Old 09-12-2018, 12:59 AM   #12
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,808
Blog Entries: 1

Rep: Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066
I don't have any laptops, much less one with RV515/M54 [Mobility Radeon X1400], but I did spend some time trying to get close with a PC, eventually coming up with:
Code:
$ inxi -Gxx
Graphics:  Card: Advanced Micro Devices [AMD/ATI] RV516 [Radeon X1300/X1550 Series]
           bus-ID: 01:00.0 chip-ID: 1002:7183
           Display Server: X.Org 1.19.6 drivers: ati,radeon (unloaded: modesetting,fbdev,vesa)
           Resolution: 1920x1200@59.95hz, 1680x1050@59.97hz
           OpenGL: renderer: ATI RV515 version: 2.1 Mesa 18.0.5 Direct Render: Yes
on 18.04 running TDE and IceWM desktops. The only significant difference between our two gfxchips is yours is specifically mobile. That means DVI-0 here instead of LVDS, but also my VGA-0 display works as expected.

IceWM only takes a few seconds to install and requires nominal disk space. Why not give it a try to rule out LXDE as your problem? Also your display manager could be related, which is what, LightDM? You could try another. I like TDE's TDM, a fork of KDM, very fast on older hardware, relatively lightweight yet well-featured, and very mature.

Another way to test is bypassing the display manager. Boot in text mode by appending a 3 to the cmdline in the Grub menu. When you reach a login prompt at the completion of boot, login and start a default X session using the startx command. To make it work you might need to either install xserver-xorg-legacy, and/or either login as root or to run startx as normal user first do as root or using sudo do:
Code:
chmod 4711 /usr/bin/Xorg
If none of above works, the only other thing I can suggest is asking the AMD/ATI driver developers for help via their mailing list: https://lists.x.org/mailman/listinfo/xorg-driver-ati
 
Old 09-13-2018, 02:43 AM   #13
TripleDave
Member
 
Registered: Jun 2018
Location: Adelaide SA
Distribution: Lubuntu 18.04 & Mint 20.04
Posts: 38

Original Poster
Rep: Reputation: Disabled
mrmazda, I'll implement your suggestions. My system DE is LXDE, the WM is 'openbox' and the display manager is LightDM.I've downloaded IceWM and made it the default WM (via LXSession configuration) in place of 'openbox' but it looks like both are now running simultaneously - at least there are now two panels and both are active. I'll work my way through it. Thanks for your assistance so far. Can you tell me how to get into the Grub menu - holding the Shift key during boot doesn't work.
 
Old 09-13-2018, 04:26 AM   #14
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,808
Blog Entries: 1

Rep: Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066
Quote:
Originally Posted by TripleDave View Post
Can you tell me how to get into the Grub menu - holding the Shift key during boot doesn't work.
e for "Edit" current selection when the Grub menu appears.
 
  


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
External monitor goes blank cusri2004 Linux - Hardware 2 05-18-2010 06:14 PM
blank monitor? lilili Linux - Hardware 2 10-13-2007 04:01 PM
Monitor Blank klasact Linux - Newbie 1 05-29-2006 10:18 PM
Monitor goes blank on shutdown jorisb Linux - Hardware 4 01-26-2004 10:02 AM
monitor off / blank R@LF Linux - Hardware 5 08-02-2003 07:32 AM

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

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