Resolution limited to 1024 x 768 following upgrade

Asked by TonyR

Upgraded from 10.04 to 14.04 and lots of things broke including the resolution I used to have with my Panasonic Viera 32 1080 TV which used to provide 1680 x 1050 but now I have stuck with 1048 x 768. Tried lot of Xrandr commanded on recommendation from other threads and got it to point where the desired 1680 x 1050 was select able but I got a blank screen in response. My Lenova computer is running a standard Intel graphics video card 82Q35 Express Integrated device ID 17aa:3038. Kernal device in use is i915.

How should I go about fixing? I also connected my laptop which is also running Ubuntu 14.04 and it too has the same problem with a different display adapter. It also used to work fine with 11.04. I dont understand why on upgrade basic dispaly breaks like this?

Any suggestions would be most appreciated.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Did you up grade to 12.04 in between, or did you wipe 10.04 out and do a clean install of 14.04 from CD / USB ?

Thanks

Revision history for this message
TonyR (rooneyo) said :
#2

Hello

I did not know I had to go to 12.04 in between until after the upgrade and my system was trashed and I found out on the web in the course of troubleshooting you need to do 2 steps.

I have reconfigured most of it but cant get decent resolution happening even trying xrandr mode setting commands.

I booted my system using a 14.04 disk and found it detected my installation and offered the "upgrade" option saying it would preserve my applications and settings. I assumed it was a cumulatory upgrade very common with installation media and having web connectivity it would have been able to conduct any steps its needed to complete the task. My astonishment is that if it is required to first upgrade to 12.04, as I now know, how on earth does the 14.04 setup program on detection of a 10.04 installation not at least advise the user of the incremental requirement and gracefully exit. How dumb can an installation program be to not accurately detect an instance of its own kind and detect the version and provide the user with appropriate advice? Instead it left me with a 14.04 installation where all my setting looked intact but almost nothing worked.

Any advise on how best restore decent resolution would be most appreciated.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

as you have not followed the correct upgrade path I suggest you wipe the install and do a clean install of Trusty. You can then restore your user data from your backups

Revision history for this message
TonyR (rooneyo) said :
#4

Hello

Thanks for taking the time to provide further comment.

I believe your assertion that I did not follow the "correct upgrade
path" is questionable so we can agree to differ. From my perspective a
properly designed upgrade script should accurately guide the users
through the process.

What I did was use an existing downloaded Ubuntu image burned to disk
that was used to install Ubuntu 14.04 to two other machines to upgrade
my 10.04 following the instructions as presented by the interface
provided by the setup program. I was provided the option to "upgrade"
claiming to retain my setting and programs. Because the upgrade
program was deficient, it did not identify that it was unable to upgrade
from 10.04 and should never have presented it as a viable option. If
you think this is not a deficiency so be it but I disagree. It depends
whether you believe a Ubuntu setup program souls be able to detect a
previous install, recognize its version and direct the user
appropriately or not. Why should I suspect that the instruction
provided would be deficient?

You advise reinstalling Trusty (14.04.03) which is all well and good
however if I boot my machine to a Trusty live installation I see the
same rubbish resolution - 1024 X 768 so why should your advise provide a
different outcome? I connected my ASUS Laptop running 14.04 to the
Panasonic TV I get the same poor resolution which the exact same
problem as I reported. So that suggests that 14.04 will not work with
the Panasonic TV like 10.04 did so what has changed. Same PC, same TV
but different Ubuntu version? Go figure.

So in my house where there were 3 system running Ubuntu perfectly on
10.04 and all 3 of them experienced serious issues on upgrade because
backward compatibility, it appears, is not implemented. You upgrade and
your system stops working and you cannot get a resolution when you open
issues in support forums. These issues remain unresolved:

https://answers.launchpad.net/ubuntu/+question/264654

Using 2015 Hardware with the latest DLINK DWA 131 driver cannot be made to work with Ubuntu 12.04, 13.04, 14.04 and 15.04 but if you install 10.04 it works perfectly? What changed in the kernel to break the previous Hardware support and why can we not get a resolution?

Another machine used as a multimedia machine, working fine for years with 10.04 broke on upgrade to 12.04 and all subsequent upgrades and countless interactions with launchpad failed to resolve the problem.

Here is the issue reference:

https://answers.launchpad.net/ubuntu/+source/alsa-driver/+question/246681

So what does "upgrade" mean if the platform is not moving forward and devices previously supported cannot be made to work in newer versions and all we get is changes to the UI we did not ask for. What we want is stability and reliability and expect decent regression testing to be applied to "upgrades". When basic components like sound cards, Wifi adapters and monitors cannot be detected properly and just work one wonders what has happened to this platform?

Below is the 3rd system in our house that broke where in the end we just bought a new PCI sound card to bypass the onboard sound but never found out why the on board quality sound device that worked perfectly for years , no hardware fault stopped work in Ubuntu on upgrade. Once again no backward compatibility and no support resolution.

https://answers.launchpad.net/ubuntu/+source/alsa-driver/+question/264066

So are you confident a clean re installation of 14.04 will make any
different to my problem when live boot shows it the sane rubbish resolution?

Kind Regards

Anthony

On 15/10/2015 9:17 PM, actionparsnip wrote:
> Your question #272421 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/272421
>
> Status: Open => Answered
>
> actionparsnip proposed the following answer:
> as you have not followed the correct upgrade path I suggest you wipe the
> install and do a clean install of Trusty. You can then restore your user
> data from your backups
>

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

You cannot leapfrog releases. Yes a properly coded script to guide users through the upgrade is nice but its simply not the case.

You have not followed the correct upgrade path, I am not surprised you are having issues.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#6

If you read the official upgrade page, it clearly shows the upgrade paths you can take. NONE of them are 10.04 to 14.04 without first stopping at 12.04
https://help.ubuntu.com/community/UpgradeNotes

Revision history for this message
Manfred Hampl (m-hampl) said :
#7

Before this is going to end up in a fruitless discussion:

What display and WLAN hardware do you have on your system, What is the output of the following diagnostic commands

uname -a
lsb_release -crid
sudo lshw -C display
sudo xrandr
lsusb
sudo dpkg --audit

Revision history for this message
TonyR (rooneyo) said :
#8

Hello Manfred

Here are the results except

sudo dpkg --audit returned nothing

anthony@Telelinux:~$ uname -a
Linux Telelinux 3.16.0-50-generic #67~14.04.1-Ubuntu SMP Fri Oct 2 22:08:53 UTC 2015 i686 i686 i686 GNU/Linux
anthony@Telelinux:~$
anthony@Telelinux:~$ lsb_release -crid
Distributor ID: Ubuntu
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Codename: trusty
anthony@Telelinux:~$
anthony@Telelinux:~$ sudo lshw -C display
[sudo] password for anthony:
Sorry, try again.
[sudo] password for anthony:
   *-display
        description: VGA compatible controller
        product: 82Q35 Express Integrated Graphics Controller
        vendor: Intel Corporation
        physical id: 2
        bus info: pci@0000:00:02.0
        version: 02
        width: 32 bits
        clock: 33MHz
        capabilities: msi pm vga_controller bus_master cap_list rom
        configuration: driver=i915 latency=0
        resources: irq:42 memory:d2100000-d217ffff ioport:1c70(size=8) memory:c0000000-cfffffff memory:d2000000-d20fffff

Screen 0: minimum 8 x 8, current 1024 x 768, maximum 32767 x 32767
VGA1 connected primary 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
    1024x768 60.0*
    800x600 60.3 56.2
    848x480 60.0
    640x480 59.9
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

Bus 002 Device 002: ID 0b05:171f ASUSTek Computer, Inc. My Cinema U3000 Mini [DiBcom DiB7700P]
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 0d7d:1923 Phison Electronics Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 046d:c517 Logitech, Inc. LX710 Cordless Desktop Laser
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

sudo dpkg --audit (Returned no results??)

On 19/10/2015 10:32 PM, Manfred Hampl wrote:
> uname -a
> lsb_release -crid
> sudo lshw -C display
> sudo xrandr
> lsusb
> sudo dpkg --audit

Revision history for this message
Manfred Hampl (m-hampl) said :
#9

What I read from your output is that the monitor apparently reports that it is capable to show four different resolutions, with the maximum of 1024x768 at 60.0 Hz (currently selected).
If you are sure that there are higher resolutions available for display, you can use xrandr commands to instruct the system to use one of them.

Revision history for this message
TonyR (rooneyo) said :
#10

Manfred, I reported at the very start of the thread that I had tried lot of Xrandr commands on recommendation from other threads and got it to point where the desired 1680 x 1050 was selectable but I got a blank screen in response. My Lenova computer is running a standard Intel graphics video card 82Q35 Express Integrated device ID 17aa:3038. Kernal device in use is i915.

How is your response supposed to assist me?

Please provide the Xander command set I should try and I will report accurately the outcome.
As I have reported the the monitor (TV) and Computer are unchanged from what worked perfectly at higher resolution for years with 10.04 so the only thing that has changed is the version of Ubuntu.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#11

And the upgrade method... Which is significant

Revision history for this message
Manfred Hampl (m-hampl) said :
#12

The cvt and xrandr commands would be something like this:

see http://askubuntu.com/questions/138408/how-to-add-display-resolution-fo-an-lcd-in-ubuntu-12-04-xrandr-problem and/or https://wiki.ubuntu.com/X/Config/Resolution

1. find out the resolutions that your screen hardware is capable of
2. convert the desired resolution/refresh rate into a modeline (with the cvt command), something like
cvt 1680 1050 60
3. define the resolution in xrandr (based on the output of the cvt command), something like
xrandr --newmode "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync
4. allow the VGA1 connection use that resolution
xrandr --addmode VGA1 "1680x1050_60.00"
5. switch to that resolution
xrandr --output VGA1 --mode "1680x1050_60.00"

(adapt the figures to your system!)
After a reboot the old resolution will be set again, if you want to make that permanent you have to add the information to system configuration files.

Revision history for this message
TonyR (rooneyo) said :
#13

OK so you are asking about the upgrade method well I have reported 3
Ubuntu instances with unresolved open issues running both 14.04 and
15.04 with the issue references provided and ALL were upgraded as
recommended via recommend single increments steps and that did not stop
hardware that previously worked, that not defective from working
properly in the later release version.

So why are you running the old chestnut about the upgrade method used
when it has nothing to do with this specific problem reported? I have
been advise to run live CD to determine whether I will get a better
outcome with a Upgrade / Reinstall so are you advising that this is not
true?

What then was Live CD devised to determine?

Please explain why running Live CD on the affected system shows has
exactly the same problem and what has that got to do with UPGRADE
methodology?

I am happy to connect my ASUS laptop to the Panasonic TV which was
properly upgraded from 12.04 to 14.04 and is stable in every respect
except it used to show proper resolution when connected to the TV on
earlier releases and now it does not.

Now we have bypassed the upgrade issue so will you provide decent and
diilligent troubleshooting assistance?

What commands do you want me to run on the ASUS and I will provide back
the results.

On 20/10/2015 6:57 PM, actionparsnip wrote:
> Your question #272421 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/272421
>
> Status: Open => Answered
>
> actionparsnip proposed the following answer:
> And the upgrade method... Which is significant
>

Revision history for this message
TonyR (rooneyo) said :
#14

Thanks to the tips Manfred. I will try this and let you know how I go.

On 20/10/2015 7:52 PM, Manfred Hampl wrote:
> Your question #272421 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/272421
>
> Manfred Hampl proposed the following answer:
> The cvt and xrandr commands would be something like this:
>
> see http://askubuntu.com/questions/138408/how-to-add-display-resolution-
> fo-an-lcd-in-ubuntu-12-04-xrandr-problem and/or
> https://wiki.ubuntu.com/X/Config/Resolution
>
> 1. find out the resolutions that your screen hardware is capable of
> 2. convert the desired resolution/refresh rate into a modeline (with the cvt command), something like
> cvt 1680 1050 60
> 3. define the resolution in xrandr (based on the output of the cvt command), something like
> xrandr --newmode "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync
> 4. allow the VGA1 connection use that resolution
> xrandr --addmode VGA1 "1680x1050_60.00"
> 5. switch to that resolution
> xrandr --output VGA1 --mode "1680x1050_60.00"
>
> (adapt the figures to your system!)
> After a reboot the old resolution will be set again, if you want to make that permanent you have to add the information to system configuration files.
>

Revision history for this message
TonyR (rooneyo) said :
#15

OK I hit the same issue as before.

1 I used CVT o add the new mode without error in my case 1680 x 1050 wjat I believe it used to use.

2 Having identified my interface as VGA1 I used sudo xrandr --addmode VGA1 1680x1050_60.00 only to get the error message Cannot find mode?

What should I do as I have just entered the mode as instructed?

Revision history for this message
Manfred Hampl (m-hampl) said :
#16

Can you please show the full series of commands as executed and their output?

Revision history for this message
TonyR (rooneyo) said :
#17

As Requested.

anthony@Telelinux:~$ sudo cvt 1680 1050 60
[sudo] password for anthony:
# 1680x1050 59.95 Hz (CVT 1.76MA) hsync: 65.29 kHz; pclk: 146.25 MHz
Modeline "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059
1089 -hsync +vsync
anthony@Telelinux:~$ sudo xrandr -q
Screen 0: minimum 8 x 8, current 1024 x 768, maximum 32767 x 32767
VGA1 connected primary 1024x768+0+0 (normal left inverted right x axis y
axis) 0mm x 0mm
    1024x768 60.0*
    800x600 60.3 56.2
    848x480 60.0
    640x480 59.9
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
anthony@Telelinux:~$ sudo xrandr --addmode VGA1 1680x1050_60.00
xrandr: cannot find mode "1680x1050_60.00"
anthony@Telelinux:~$

On 20/10/2015 8:38 PM, Manfred Hampl wrote:
> Your question #272421 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/272421
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> Can you please show the full series of commands as executed and their
> output?
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#18

Please read and follow my previous message.

The correct sequence is:

cvt 1680 1050 60
xrandr --newmode "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync
xrandr --addmode VGA1 "1680x1050_60.00"
xrandr --output VGA1 --mode "1680x1050_60.00"

You missed the "xrandr --newmode ..." command

Revision history for this message
TonyR (rooneyo) said :
#19

Hi Manfred

Thanks for pointing out the error in my script. This almost worked. When i applied the commands my screen shifted to 1680 x 1050 and looked great except the entire screen was shifted marginally to the left leaving 1 CMS black unused screen band on the right hand side. If it was not a TV but a computer monitor I could incremently move the entire right ward. On the left hand side a portion of the left icon are off the screen partially

When I restart of course the entire resolution is lost and I am back to square one.

How do I fix the screen position at 1680 x 1050 resolution and how do I make the config stick?

I have read a few articles about how to save the configuration, most quite old and several varieties of approaches are suggested. What would you recommend for 14.04?

Revision history for this message
Manfred Hampl (m-hampl) said :
#20

Ok, finally it's progressing.

What I recommend:

1. Try some other resolutions/refresh rates. You might check the user manual of your TV screen for allowed combinations. Maybe you find other possible resolutions or refresh rates, that work better (perhaps 1680x1050_75.00).

and/or

2. Check the user manual of your TV screen for hints how you could shift the picture.

++++++++++++++

To instruct the system to automatically switch to this new resolution:
If you have found a resolution that you want, you can put the "xrandr" commands required for in into a config file in your home directory, and the resolution will be set whenever you log in.

For the 1680x1050_60.00 resolution the following should work:

echo 'xrandr --newmode "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync' > ~/.xprofile
echo 'xrandr --addmode VGA1 "1680x1050_60.00"' >> ~/.xprofile
echo 'xrandr --output VGA1 --mode "1680x1050_60.00"' >> ~/.xprofile
chmod u+x ~/.xprofile

Revision history for this message
TonyR (rooneyo) said :
#21

Hi Manfred

Thank you for your suggestions which are most appreciated.

This is a lot of stuffing around and trial and error just to get Ubuntu
back to where it was four years ago in terms of supporting my TV
screen. You have to see that such buggy behavior is not viable in 2015
as this simply should not break like this. This should not break so
badly because of upgrade and the Ubuntu community deserves better.

Kind Regards

Anthony

On 22/10/2015 9:02 PM, Manfred Hampl wrote:
> Your question #272421 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/272421
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> Ok, finally it's progressing.
>
> What I recommend:
>
> 1. Try some other resolutions/refresh rates. You might check the user
> manual of your TV screen for allowed combinations. Maybe you find other
> possible resolutions or refresh rates, that work better (perhaps
> 1680x1050_75.00).
>
> and/or
>
> 2. Check the user manual of your TV screen for hints how you could shift
> the picture.
>
> ++++++++++++++
>
> To instruct the system to automatically switch to this new resolution:
> If you have found a resolution that you want, you can put the "xrandr" commands required for in into a config file in your home directory, and the resolution will be set whenever you log in.
>
> For the 1680x1050_60.00 resolution the following should work:
>
> echo 'xrandr --newmode "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync' > ~/.xprofile
> echo 'xrandr --addmode VGA1 "1680x1050_60.00"' >> ~/.xprofile
> echo 'xrandr --output VGA1 --mode "1680x1050_60.00"' >> ~/.xprofile
> chmod u+x ~/.xprofile
>

Revision history for this message
TonyR (rooneyo) said :
#22

OK just to solidify what I already reported I restored an image of my Media Center MythTv Ubuntu setup from an "Image For Linux" image dated 15/11/2013. A more recent image from 17/3/2014 was damaged and could not be restored. The restored image returned all expected functionality, both TV tuners recognized and working, Web Sites all working but content only valid up to that date, sound and resolution all OK. Having conducted testing I upgraded as recommended to 12.04 which broke the resolution down to 1024x 768 Stuffed around with that for several hours using Xrandr commands and could not get a decent resolution so I conducted a further upgrade to 14.04. On this version having followed the recommended upgrade path I am just about in the same place as I was when I initially upgraded.

This proves that advise I was receiving was rubbish and upgrading as recommended still break your system because, I presume, no proper regression testing has been conducted and upgrading breaks functionality that previously worked well. They are supposed to improve the distribution not degrade it as has clearly occurred I can now report on all 3 systems in our house. The worst part is you cannot get any assistance.

Having upgrade as recommended what do I need to do to get resolution like was achievable in 8.04, 9.04 and 10.04?

Revision history for this message
Manfred Hampl (m-hampl) said :
#23

Do the xrandr commands proposed in a previous replay work?

Revision history for this message
TonyR (rooneyo) said :
#24

Hello Manfred

I was able to get xrandr to set successfully the mode 1360x768 which does line up properly on screen and looks good. I now will try to see if I can get 10-monitor.conf to work to make these setting stick on each restart.

Revision history for this message
TonyR (rooneyo) said :
#25

Hello

I created the following 10-monitor.conf file saved in /usr/share/x11/xorg.conf.d

Section "Monitor"
  Identifier "Panasonic TV"
  Modeline "1360x768_60.00" 84.75 1360 1432 1568 1776 768 771 781 798 -hsync +vsync
EndSection
Section "Screen"
  Identifier "Screen0"
  Device "VGA1"
  Monitor "Monitor0"
  DefaultDepth 24
  SubSection "Display"
    Depth 24
    Modes "1360x768_60.00"
  EndSubSection
EndSection

Can you assist to identify why this is not working?

I suspect the identifier attribute is not used correctly. I found the example I reviewed On Line a little confusing in this respect.

Revision history for this message
Manfred Hampl (m-hampl) said :
#26

see https://wiki.ubuntu.com/X/Config/Resolution#Setting_xrandr_changes_persistently for details or other possibilities (e.g. ~/.xprofile)

Can you help with this problem?

Provide an answer of your own, or ask TonyR for more information if necessary.

To post a message you must log in.