ubuntu 14.04 screen resolution 1440*900 60 Hz
Hi there,
Recently I have bought for my son a computer with ubuntu 14.04. So far so good. There is a problem with the resolution of the of the monitor screen (Philips 190SW8) with a resolution of 1440 * 900 @60Hz. When I look in the system screens it gives:
Unknow screen and the resolutions to choose from are 1024*768 (4:3) and 800*600 (4;3).
In the computer itself the motherboard AMD Athlon (tm) 64X2 Dual core processor 4000+ x2; Graphic Gallium 0.4 on AMD RS780
32 bits and a harddisk of 30.3 Gb.
I hope someone can help me in this.
On beforehand thanks
Kindly regards
Gerlof.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Gerlof Brinck
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
What is the output of:
sudo lshw -C display; lsb_release -a; uname -a; xrandr
Thanks
Revision history for this message
|
#2 |
Dear Andrew,
Thank s for your reaction.
Th output of the line is;
*-display
description: VGA compatible controller
product: RS780L [Radeon 3000]
vendor: Advanced Micro Devices, Inc. [AMD/ATI]
physical id: 5
bus info: pci@0000:01:05.0
version: 00
width: 32 bits
clock: 33MHz
resources: irq:18 memory:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Codename: trusty
Linux ubuntu-desktop 3.16.0-57-generic #77~14.04.1-Ubuntu SMP Thu Dec 17 23:20:32 UTC 2015 i686 athlon i686 GNU/Linux
Screen 0: minimum 320 x 200, current 1024 x 768, maximum 8192 x 8192
VGA-0 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
HDMI-0 disconnected (normal left inverted right x axis y axis)
beneden@
Kindly regards
Gerlof
Revision history for this message
|
#3 |
Open a terminal window and try the following commands:
xrandr --newmode "1440x900_60.00" 106.50 1440 1528 1672 1904 900 903 909 934 -hsync +vsync
xrandr --output VGA-0 --mode "1440x900_60.00"
This should switch the display to 1440x900 at 60 Hz. Does this work as expected?
As an emergency precaution note the following:
If the screen starts flickering that you cannot see anything any more, the easiest way to correct that is by rebooting: "blindly" type
sudo reboot now
Press the enter key
type your password
press the enter key again.
Revision history for this message
|
#4 |
Dear Manfred,
Thanks for your fast reply.
I have tried what you have proposed.
This is the answer of the computer:
beneden@
beneden@
xrandr: cannot find mode 1440x900_60.00
beneden@
Kindly regards
Gerlof.
Revision history for this message
|
#5 |
Dear Manfred,
I have tried it one more time, this is the output:
beneden@
X Error of failed request: BadName (named color or font does not exist)
Major opcode of failed request: 140 (RANDR)
Minor opcode of failed request: 16 (RRCreateMode)
Serial number of failed request: 25
Current serial number in output stream: 25
beneden@
xrandr: cannot find mode 1440x900_60.00
beneden@
Kindly regards
Gerlof.
Revision history for this message
|
#6 |
Sorry, my fault, I missed to add a command.
The sequence has to be
xrandr --newmode "1440x900_60.00" 106.50 1440 1528 1672 1904 900 903 909 934 -hsync +vsync
xrandr --addmode VGA-0 "1440x900_60.00"
xrandr --output VGA-0 --mode "1440x900_60.00"
(The first one has to be issued only once in a session, so it will create an error message if you re-issue it.)
Revision history for this message
|
#7 |
Oké thanks. It works, but when I restart the computer the screen goes automaticly to 1024*768 (4:3). When I check at the system the 1440*900 can not be chosen, see my question.
Is it an idea to put the sequence in the rc.local? Just above the 'exit 0'line?
Kindly regards
Gerlof.
Revision history for this message
|
#8 |
Run:
sudo gedit /usr/bin/fixres
add the below 4 lines:
#!/bin/bash
xrandr --newmode "1440x900_60.00" 106.50 1440 1528 1672 1904 900 903 909 934 -hsync +vsync
xrandr --addmode VGA-0 "1440x900_60.00"
xrandr --output VGA-0 --mode "1440x900_60.00"
Save the new file, close gedit then add the command "fixres" to your startup items.
Revision history for this message
|
#9 |
There are different options where to put these commands for automatic execution at boot time.
One source recommends to put them into a file
/etc/X11/
Or you can create a private configuration file .xprofile with these settings.
Revision history for this message
|
#10 |
Thanks!!
I hope the two last things:
After put the line
sudo gedit /usr/bin/fixres
in the terminal I got the message:
(gedit:2337): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:
And the file itself. So I copied the lines in the fixres and saved it.
Than my second question: Hope do I add the command "fixres" to the startup items?
Kindly regards
Gerlof.
Revision history for this message
|
#11 |
Search in Dash for "Startup" and you will see the item to use. You can then add a new item to run the command.
Revision history for this message
|
#12 |
THank for your answer. But I'am sorry where can I find Dash??
Hope hear from you
Kindly regards
Gerlof.
Revision history for this message
|
#13 |
Press the Windows key on your keyboard.
Revision history for this message
|
#14 |
Thanks!! I have found the dash (it is in the left top corner) and the start (opstarttoepass
and safed the programm with the changes. Restart the computer and the old screen settings returns????
Sorry to bother you I thinks somewhere I made a mistake.
I hope you are still willing to help me out.
Thanks!!
Gerlof.
Revision history for this message
|
#15 |
My recommendation would have been to create a .xinitrc file in your own home directory.
gedit ~/.xinitrc
paste the four lines as given by actionparsnip, save the file and close the editor.
Issue the command
chmod +x ~/.xinitrc
logoff and logon again.
Revision history for this message
|
#16 |
Manfred thanks!! I have to go soon. Tomorrow I will start with your recommendation. Only one question, where/how the command
chmod +x ~/.xinitrc
In the terminal??
Kindly regards
Gerlof.
Revision history for this message
|
#17 |
Yes, this is a command to be executed in a terminal.
Revision history for this message
|
#18 |
Good morning,
I have executed as described.
Made my own directory with the command
gedit ~/.xinitrc
And copied the lines as you have given me:
#!/bin/bash
xrandr --newmode "1440x900_60.00" 106.50 1440 1528 1672 1904 900 903 909 934 -hsync +vsync
xrandr --addmode VGA-0 "1440x900_60.00"
xrandr --output VGA-0 --mode "1440x900_60.00"
save and close the directory.
After that I executed the command
chmod +x ~/.xinitrc
in the terminal.
After that close with a restart (logoff logon) and the old resolution comes back.
I hope you are willing to help me.
Kindly regards
Gerlof.
Revision history for this message
|
#19 |
I started digging further into the problem, and it seems that some of my recommendations are no longer applicable to the lightdm display manager used in Ubuntu 14.04.
https:/
create a file
sudo gedit /etc/lightdm/
add the following contents:
[SeatDefaults]
display-
Save the file and reboot.
(In case that there is any fault in the setup, then the X server probably will not start any more. To repair that you would have to switch to a command mode session with ctrl-alt-F1, log in there and delete the 50-myconfig.conf file. "sudo reboot now" should boot into the graphical environment again, but with the old resolution.)
Revision history for this message
|
#20 |
THANKS FOR AL YOUR DIGGING!!!
I followed your instructions. When I try to create the file I get in the terminal:
beneden@
[sudo] password for beneden:
(gedit:2698): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:
(gedit:2698): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:
(gedit:2698): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:
(gedit:2698): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:
(gedit:2698): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:
^Cbeneden@
(gedit:2747): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:
IN the created file, at least the file with the name:
*50-myconfig.
I put a copy of the line
display-
And try to save it. That does not work.
I get the following message in red:
Bestand '/etc/light.
Controleer of u de lokatie juist heeft ingevoerd en probeer opnieuw.
In english: File...
Check if you have inserted the proper location and try try again.
I hope this will give you more information.
Kindly regards
Gerlof.
Revision history for this message
|
#21 |
Maybe you mistyped the filename
What is the output of
ps ax | grep dm
ls -l /etc/lightdm/
Revision history for this message
|
#22 |
The output is:
beneden@
664 ? Ss 0:00 rpc.idmapd
1086 ? Ssl 0:00 lightdm
1103 tty7 Ssl+ 1:47 /usr/bin/X -core :0 -seat seat0 -auth /var/run/
1112 ? Sl 0:00 lightdm --session-child 12 15
3029 pts/0 S+ 0:00 grep --color=auto dm
beneden@
Kindly regards
Gerlof.
Revision history for this message
|
#23 |
Ok, the "ps" output confirms that you are running lightdm
Try again with the following commands:
echo "[SeatDefaults]" > 50-myconfig.conf
echo "display-
cat -n 50-myconfig.conf
sudo cp 50-myconfig.conf /etc/lightdm/
sudo updatedb
locate lightdm.conf
Revision history for this message
|
#24 |
This are the results:
beneden@
beneden@
beneden@
1 [SeatDefaults]
2 display-
beneden@
[sudo] password for beneden:
cp: kan het normale bestand ‘/etc/lightdm/
beneden@
In english:
cp: can not make the normal file '/etc......./;is no directory
Revision history for this message
|
#25 |
ok, probably a wrong assumption by me,
WHat is the output of
sudo updatedb
locate lightdm.conf
ls -l /etc/lightdm/
Revision history for this message
|
#26 |
The output is:
beneden@
[sudo] password for beneden:
Sorry, probeer opnieuw
[sudo] password for beneden:
beneden@
beneden@
/etc/init/
/etc/lightdm/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/var/lib/
/var/lib/
beneden@
Revision history for this message
|
#27 |
Try
sudo mkdir /etc/lightdm/
sudo cp 50-myconfig.conf /etc/lightdm/
ls -la /etc/lightdm/
what is the output?
and then try rebooting.
Revision history for this message
|
#28 |
The output is:
beneden@
[sudo] password for beneden:
Sorry, probeer opnieuw
[sudo] password for beneden:
beneden@
mkdir: kan map ‘/etc/lightdm/
beneden@
beneden@
Translation to dutch:
mkdir: kan map ‘/etc/lightdm/
Can not make '/etc.....' : file already exists
I will restart (=reboot?) the computer.
Revision history for this message
|
#29 |
Now the computer has problems.
THe system is running in low-graphics mode
Your screen, graphics, and input device settings could not be detected correctly. You will need to configurate these yourself.
I hope you can help me out in this one.
Kindly Regards
Gerlof.
Revision history for this message
|
#30 |
Sorry that this did not work
The command
sudo rm /etc/lightdm/
and rebooting should reset the system to the previous status.
Revision history for this message
|
#31 |
It is oké that it is not working, you really tried to help me out.
Now I work with my laptop to communicate with you.
The problem here is that when I startup the computer i get a white screen in the middle with the text:
THe system is running in low-graphics mode
Your screen, graphics, and input device settings could not be detected correctly. You will need to configurate these yourself.
With a oke button in the right undercorner. When I press this button (the mouse is working)
I get a new white screen with the text:
What would you like to do?
-Run in low graphics mode for just one session
-Reconfigure graphics
-troubleshooting the error
-exit to console login
In the right corner below I can choose cancel of OK
I have to start somewhere so I can use the commands you have given me
Revision history for this message
|
#32 |
select run in low graphics mode for one session
the try logging in normally, open a terminal and issue the command
sudo rm /etc/lightdm/
Revision history for this message
|
#33 |
I have done it
Than a white screen with:
Stand by one minute while the display starts......
In the right corner ok
I push the button oke with result that the in de left upper corner is the small horizontal white streep blinking
Sorry
Revision history for this message
|
#34 |
other proposal:
reboot and select exit to console login
enter your username and password
issue the command
sudo rm /etc/lightdm/
if there is no error message, enter the command
sudo reboot now
Revision history for this message
|
#35 |
I'am afraid, same result I push the button oke with result that the in de left upper corner is the small horizontal white streep blinking
Sorry
Revision history for this message
|
#36 |
next try:
press the shift button during booting.
This should bring up the grub menu
select advanced options, recovery more, root command prompt
issue the commands
mount -o rw,remount /
rm /etc/lightdm/
exit
This should bring up the grub recovery menu again, select resume.
see http://
but the key command for you is not the passwd command to reset the password, but the rm command to remove the not fitting lightdm config file.
Revision history for this message
|
#37 |
I stopped the computer. Restart it with the shift button pressed, and again the white screen with: The system is running etc.
Am I doing something wrong?? Ore is it the computer?
Anyway I'am very grateful you are trying to help me.
Revision history for this message
|
#38 |
You have to press the shift button earlier, maybe repeatedly pressing helps reaching the grub menu.
Revision history for this message
|
#39 |
Thanks, but I'am afraid that I have to pay more attention to my children and go on with the cooking ( i did both) but now it is better that later I go on. Anyway repeatledly pressing the shift button i wil try it again first time it dod not work
Thanks i wiil come back tater.
Revision history for this message
|
#40 |
If you have an Ubuntu installation kit available, you could also boot into that installation kit (from DVD or USB stick) in the "Try Ubuntu without installing" mode, access the hard disk and remove that config file.
Revision history for this message
|
#41 |
Finnaly it worked out!!! It is now quiet in the house so I could give all my attention to the computer.
I pressed the shift button very frequently so I made it to the grub menu. After some attempts and your url to the site How to change etc.
I know that I have to change the resolution by hand, so be it. I'll learn it my son (he is using the computer mainly) how to do it.
Thanks for all your help,
Kindly Regards
Gerlof.