PDA

View Full Version : [all variants] 10.10 force manual resolution



elglas
October 11th, 2010, 10:24 PM
Hey everyone,

I decided to give an install of Ubuntu 10.10 a try today, and found an issue regarding my monitor (which is an older television with a DVI input, in 1080i.

in short, my monitor is detected incorrectly (a much lower resolution, the tv only shows the center of the display), and I need to specify my resolution manually. The correct resolution does not show up when I run xrandr. On an older box this is where I would start digging into /etc/X11/xorg.conf, however the file no longer exists.

can a modern Linux guru help me out?

~Peter

bmjbmj
October 27th, 2010, 09:01 PM
Same problem here! Help pleas!

thelaw
October 27th, 2010, 09:36 PM
I just ran into this and fixed it. First, /etc/X11/xorg.conf is not created - you will have to create this manually.

What I did was thus:

- Issue the lspci command to determine my video card


scratchy:~$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)

You could also try:

scratchy:~$ lspci | grep Display
00:02.1 Display controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)

Then...I googled and found out I needed to manually create the xorg.conf and enter the following (note the "intel" - that's what I entered based on the lspci command)


Section "Device"
Identifier "Configured Video Device"
Driver "intel"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
EndSection

I rebooted and was able to change my resolution.

Note: I do have trouble with switching between my external and internal monitors, as well as booting up my laptop without the 2nd monitor...but...that's another thread :)

marisdembovskis
January 15th, 2011, 10:26 AM
Thanks.
Appreciate this post.

Also could not change resolution and xrandr did not worked out.
I got intel as you.
Thanks a lot.

marisdembovskis
January 17th, 2011, 05:32 PM
1. I added xorg.conf
-----
Section "Device"
Identifier "Configured Video Device"
Driver "intel"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
EndSection
----------------



2. Reboot
3. Then xandr recognises LCD displays (before xrandr did not recognise screen, only after intel driver loades as it says in xorg.conf file)
4. rouzy@rouzy-M3N:~$ xrandr -q
Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 2048 x 2048
VGA1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 376mm x 301mm
1280x1024 60.0*+ 75.0
1280x960 60.0
1152x864 75.0
1024x768 85.0 75.1 70.1 60.0
832x624 74.6
800x600 85.1 72.2 75.0 60.3 56.2
640x480 85.0 72.8 75.0 66.7 60.0
720x400 70.1
LVDS1 connected (normal left inverted right x axis y axis) connected 1024x768+0+0
1024x768 60.0 + 85.0 75.0 70.1 60.0
832x624 74.6
800x600 85.1 72.2 75.0 60.3 56.2
640x480 85.0 72.8 75.0 59.9
720x400 85.0
640x400 85.1
640x350 85.1


5. So I got laptop screen (1024x768) and xandr says it is LVDS1
and I got external display (1280x1024)
So xandr in begging says that both of them are 1024x768. And that is not tre. I want external display be as it has to be 1280x1024. Played a lot around it.


Solution is this:
6. turn out laptop screen: xrandr --output LVDS1 --off
7. xrandr --output VGA1 --mode 1280x1024
And now background in Desktop is not cut


xandr output
xrandr -q
Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 2048 x 2048
VGA1 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 376mm x 301mm
1280x1024 60.0*+ 75.0
1280x960 60.0
1152x864 75.0
1024x768 85.0 75.1 70.1 60.0
832x624 74.6
800x600 85.1 72.2 75.0 60.3 56.2
640x480 85.0 72.8 75.0 66.7 60.0
720x400 70.1
LVDS1 connected (normal left inverted right x axis y axis)
1024x768 60.0 + 85.0 75.0 70.1 60.0
832x624 74.6
800x600 85.1 72.2 75.0 60.3 56.2
640x480 85.0 72.8 75.0 59.9
720x400 85.0
640x400 85.1
640x350 85.1


8. So laptop screen is off. And external screen is as it is.
I add those commands in STARTUP APPLICATIONS.
xrandr --output LVDS1 --off
xrandr --output VGA1 --mode 1280x1024

So that after reboot screen automatically turns off and resest resolution for external display.