Linux Lite Forums

Hardware - Support => Video Cards => Topic started by: newtusmaximus on March 31, 2017, 05:49:26 PM

Title: Wrong Screen resolution - lost use of monitor even on rebooting
Post by: newtusmaximus on March 31, 2017, 05:49:26 PM
My main desktop on LL3.2 64 bit. Integrated video intel as per main profile.   Was happily running on 1024 x 768.    Opted to try higher resolution via display settings and screen went into x/y oscillations.   Did emergency shut down - holding down off button.  On rebooting, screen still in x/y oscillations totally unusable.

Any ideas please welcomed on how I can change screen resolution back to 1024 x 768  when I can not use screen.   Can it be done via grub and if so how.  Thank you
Title: Re: Wrong Screen resolution - lost use of monitor even on rebooting
Post by: firenice03 on March 31, 2017, 06:32:14 PM
How did you change resolution?
- terminal or file manipulation or GUI (display)??
- How recent of a system restore??

If terminal - you can access TTY to change things back as well as use CLI for Systemback to restore...

Perhaps xrandr to the resolution you prefer if changed via GUI.. (again TTY)
Code: [Select]
xrandr -s 1024x768
To access a TTY display, press: CTRL+ALT+F1.. to go back to desktop CTRL+ALT+F7
Will need to logo in to access..
Title: Re: Wrong Screen resolution - lost use of monitor even on rebooting
Post by: newtusmaximus on April 01, 2017, 05:25:15 AM
CRT Monitor is iiyama vision master pro 451  19 inch
Screen resolution altered via menu/settings/display –  monitor identified as iiyama North America  18” no model named.   However  In previous ll2.8 32 bit  monitor identifed as iiyama 19 inch with maximum resoltion option 1024 x 768.

The only difference is that I have added extra RAM and matched  ram on each channel so achieving proper channel pairing.  This might have improved video capability??

Recent  fresh install of ll 3.2 64 bit.  So no recovery point other than default.

Confirm monitor is working still – not monitor fault  by using live DVD.

AS can’t get a screen so that I can log on, but can get live DVD working, is there a way to alter screen resolution of the LL set up on the HDD from the live DVD screen?
Title: Re: Wrong Screen resolution - lost use of monitor even on rebooting
Post by: firenice03 on April 01, 2017, 09:32:22 AM
Boot to HDD... after LL loads (to login) press CTRL+ALT+F1 you'll be at a TTY screen (terminal)

Login

With out a systemback up... I would try the following commands to force a resolution..
Code: [Select]
xrandr -s 1024x768
after entering code..
CTRL+ALT+F7 to return to desktop (login)
screen should hopefully return to a usable resolution..
Then using GUI confirm and/or set.. Test with a reboot..
Title: Re: Wrong Screen resolution - lost use of monitor even on rebooting
Post by: newtusmaximus on April 01, 2017, 11:46:34 AM
firenice03 thank you for your perseverance :)
response to xrandr -s 1024x768  is can't open display.
Title: Re: Wrong Screen resolution - lost use of monitor even on rebooting
Post by: bitsnpcs on April 01, 2017, 12:31:50 PM
Hello,

does the monitor have a button for degauss (it can be button at rear of monitor), or reset button ?
Or to unplug it from the power short time.
Title: Re: Wrong Screen resolution - lost use of monitor even on rebooting
Post by: newtusmaximus on April 01, 2017, 02:08:39 PM
bitsnpcs I don't think it is a monitor issue,.  The Live dvd works OK .  Believe it must be a software settings issue.

Also booting from an external drive with LL2.8 32 bit also works OK  However the monitor has always had to be switched on once the boot up process has completed and awaiting log in.  Believe it is something to do with the loading order of drivers.

When loading from puppy linux usb, the monitor problem does not occur.

So somehow I need to change the display settings on the HDD back to 1024x768.  Terminal +xrandr does not appear to be the way.
Title: Re: Wrong Screen resolution - lost use of monitor even on rebooting
Post by: bitsnpcs on April 01, 2017, 04:12:49 PM
newtusmaximus,

I had thought if the +xrandr had worked but did not appear it worked because the monitor stuck in oscillate then degauss makes a oscillate strong, and that is to reset the mask.
Also where you explain boot sequence and monitor - the monitor is a cold (crt type) and it is the power switched on, then it also does an auto degauss, usually it is of the lower amount oscillate, so the degauss and the monitor working, v/s boot in OS, it is having a direct relationship in this instances etc.

But how you describe the Live disc is working then you are right it needs the edit back in software.

Have you tried to do this Grub edit (http://askubuntu.com/questions/470492/ubuntu-14-04-black-screen-when-installing) - "nomodeset"  it tells the kernel not to start video drivers until the system is running.
You problem is not for its intended use, but my idea being, without the video drivers loading the OS will default to a lower resolution and get you to the desktop to change the resolution in the Menu>Settings>display, then on reboot nomodeset does not "hold/remain" but
the resolution changes will, and so it could solve it etc. (hopefully so)

Update -

How to set display resolution from Grub (http://askubuntu.com/questions/761149/how-to-set-display-resolution-while-having-to-use-nomodeset-on-boot)

But can you please test the nomodeset theory first, I am interested to know if it can work, because it could help someone else reading the thread in future.
Title: Re: Wrong Screen resolution - lost use of monitor even on rebooting
Post by: newtusmaximus on April 02, 2017, 12:31:23 PM
Agree have to stick with solving this as others may suffer this problem in the future.
So
a) Boot up - on switch, stabbing continuously on escape key - brings up GRUB screen
b) highlighting linux 4.4.0-71 generic press "e" key and into edit mode.  Insert "nomodeset"  in the correct line as per the link in previous post and then press F10.
c) turned off monitor until all boot up activity settled and then turned on monitor again.
d) Login flash screen displayed. Logged in
e) Sound and screen displays welcoming page - however display very large -
f) menu/settings/display  shows "default"  set at 640 x 480  .  This can not be changed  closed.
g) Terminal xrandr -s 1024x768  still states can't be accessed.
h) Back to main screen and close down via screen
i) Wait for a few minutes then reboot with screen off, wait until boot activity has quietened down, turn screen on and login screen displayed - login  and  x/y oscillations recur.  i.e nomodeset  and subsequent stab at changing display settings via menu has not worked.
 
Title: Re: Wrong Screen resolution - lost use of monitor even on rebooting
Post by: bitsnpcs on April 02, 2017, 04:19:26 PM
Hello,

yes it seems "nomodeset" has done exactly as I had hoped, it has not loaded the drivers and has defaulted to a lower resolution.
eg - you can now access the desktop without having the oscillating display and are able to work with that further in wider range of ways, a couple of these see below, hopefully others can add more now you can access desktop.

On rebooting, nomodeset edited in Grub will not hold, eg; needs to be done again on each boot.
Or
You need to edit grub with nomodeset to get to the desktop, then edit grub file to make that hold after rebooting, LL-user explained to me how to do this correctly here (https://www.linuxliteos.com/forums/installing-linux-lite/installing-ll-3-2/msg29263/#msg29263),  - 

Then it will reboot each time without the oscillations, but it will still be at 640x480 resolution.
In this respect it is only a partial solution -
+ve= 1/ you can now get to your desktop
 -ve= 2/ you cannot yet alter the resolution because the drivers are not being used to allow that.

Once the above edits are completed -
I am only theory/experimental, not using links of experienced users below here, so please take care -

Options 1 to try -

a/ purge and remove the previously used driver, if it's a package need to remove and purge that, as it   
    holds the incorrect resolution setting and cannot be changed, so it needs to be gone from your system.
b/ reboot (helps with ram clear)
c/ Lite Tweaks - clear ram (yes I know b), cache, packages
d/ install the driver again, hopefully it has amnesia and now is - Fresh & clean settings.
e/ use the Menu>Settings>Display option and set the 1024 resolution.
f/ not to reboot after b before f, reboot see if resolution settings hold
g/ optional remove nomodeset edit in grub file and replace with original, as per LL -user instructions.
h/ reboot see if settings hold, if no replace nomodeset settings in grub from desktop, so it holds.

Options 2 to try -

a/ a thru c
d/ Terminal xrandr -s 1024x768 

I have not used xrandr and cannot try and help with it yet.
Title: Re: Wrong Screen resolution - lost use of monitor even on rebooting
Post by: firenice03 on April 02, 2017, 09:20:48 PM
Sorry I missed the xrandr didnt work and got busy this weekend..

I did some looking this may help..
https://wiki.ubuntu.com/X/Config/Resolution

Specifically
Resetting an out-of-range resolution
If you set a resolution inappropriate for your monitor in the Screen Resolution GUI tool, you can reset it from a terminal by running

Code: [Select]
rm ~/.config/monitors.xml
You'll want to try this from a TTY
Instead of removing you could change it to a backup, just to be safe...
Code: [Select]
mv ~/.config/monitors.xml ~/.config/monitors.xml.BAK
Title: Re: Wrong Screen resolution - lost use of monitor even on rebooting
Post by: firenice03 on April 02, 2017, 09:58:43 PM
I played with the xrandr more (as it should work best)...

So I came up with a work around..
You still want to use xrandr -s 1024x768
But yest TTY cant find display so we need to give the system a few seconds and manually switch back to the desktop..

I tested the ability to change resolution from a TTY with this method..

Again boot the PC once its up (log in should just type PW + enter)
Go into TTY1 with CTRL + ALT + F1
Run this command then immediately switch back CRTL + ALT + F7
Code: [Select]
sleep 5; xrandr -s 1024x768 -d :0
If 5 seconds isn't long enough add additional seconds as needed... resolution should change automatically..
Title: Re: Wrong Screen resolution - lost use of monitor even on rebooting
Post by: newtusmaximus on April 03, 2017, 07:30:37 AM
tried the "sleep 5; xrandr -s 1024x768 -d :0" suggestion  terminal screen came back with "Size 1024x768 not found in available modes"

UPDATE
Compaq-dc7700p-Ultra-slim-Desktop:~$ xrandr -q
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 640 x 480, current 640 x 480, maximum 640 x 480
default connected 640x480+0+0 0mm x 0mm
   640x480       73.00*

HP-Compaq-dc7700p-Ultra-slim-Desktop:~$ rm ~/.config/monitors.xml
rm:
cannot remove '/home/linuxlite/.config/monitors.xml': No such file or directory


Title: Re: Wrong Screen resolution - lost use of monitor even on rebooting
Post by: firenice03 on April 03, 2017, 09:10:43 AM
Not sure why 640x480 is the only listed..
You can substitute that resolution to at least bring the desktop back...??..??

Code: [Select]
sleep 5; xrandr -s 640x480 -d :0
It's not going to be pretty but perhaps the GUI will allow the other resolutions..

Title: Re: Wrong Screen resolution - lost use of monitor even on rebooting
Post by: newtusmaximus on April 03, 2017, 03:38:03 PM
Switched monitor off - and unplugged for half an hour.
Rebooted - using nomodeset grub edit , F10 and promptly switched off monitor
and let it finish boot.
Had other things to do so left pc booted and running but not logged on , monitor off.
Came back and log on screen was at higher resolution - icons smaller size.
Went into menu/settings/display = default  BUT set as 1024x768 @ 61Hz - Could not change either Hz or rsesolution.

tty1
HP-Compaq-dc7700p-Ultra-slim-Desktop:~$ 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 

Restart via menu  ( not  via off)
reboots - logon  flash screen  bigger fonts, login  and x/y oscillations again.

tty1 login, poweroff
Reboot, escape key, nomodeset grub alteration, F10, large fonts/icons  back to 640x480.  again can't alter via menu/settings/display.

HP-Compaq-dc7700p-Ultra-slim-Desktop:~$ xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 640 x 480, current 640 x 480, maximum 640 x 480
default connected 640x480+0+0 0mm x 0mm
   640x480       73.00*

Round and round we go again :(
Title: GONE AWAY Re: Wrong Screen resolution - lost use of monitor even on rebooting
Post by: newtusmaximus on April 03, 2017, 04:48:56 PM
The reason for the problem not identified, even after all the kind efforts of colleagues here on the forum.

HOWEVER, once back  via nomodeset modified grub onto 640x480 resolution I thought I would run menu/settings/install drivers to see what came up, even though I was not aware of any proprietary drivers - there hadn't been in LL2.8 32bit when used on this setup before I had upgraded the RAM .

Behold: some Intel microcode CPU drivers were identified as being available so I loaded them AND  afterwards ran menu/favourites/install updates but No immediate change to screen resolution.  So rebooted via menu.

Switched off monitor again until boot up activity had settled, switched on monitor and logged in -
RESULT - high resolution screen!!
menu/settings/display showed original iiyama North America 18 inch monitor identified and resolution at 1024x768 x 60Hz.

Updated Hz to 75 without problems - BUT LEFT RESOLUTION ALONE!!!  did not want to fall off the cliff again.

So problem gone away but can't say it has been resolved,  as far from sure what action overcame the problem.

HP-Compaq-dc7700p-Ultra-slim-Desktop:~$ xrandr
Screen 0: minimum 8 x 8, current 1024 x 768, maximum 32767 x 32767
VGA1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 360mm x 290mm
   1600x1200     75.00 
   1280x1024     75.02 
   1152x864      75.00 
   1024x768      75.08*   70.07    60.00 
   832x624       74.55 
   800x600       72.19    75.00    60.32    56.25 
   640x480       75.00    72.81    66.67    60.00 
   720x400       70.08 
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

Suppose I should try and change screen resolution to higher to see whether I can recreate the problem, or it has in fact gone away for good., BUT forgive me if I chicken out of this.  This pc is my main workhorse, and I use the large CRT iiyama as it is a treat to use.; even if a bit quirky.

Again thanks to  Bitsnpcs  and firenice03 for all their good will and effort in support.  Much appreciated.  Shows the spirit of this forum!!
Title: Re: Wrong Screen resolution - lost use of monitor even on rebooting
Post by: bitsnpcs on April 03, 2017, 05:27:56 PM
Good to read you have got your monitor working again newtusmaximus :)







Title: Re: Wrong Screen resolution - lost use of monitor even on rebooting
Post by: firenice03 on April 03, 2017, 05:31:05 PM
Glad to hear you're back up and running!!!..

 ;D ;D ;D

Quote
Again thanks to  Bitsnpcs  and firenice03 for all their good will and effort in support.  Much appreciated.  Shows the spirit of this forum!!

- You're Welcome  :)