This forum has been archived. All content is frozen. Please use KDE Discuss instead.

How to set my resolution to 1280x1024

Tags: None
(comma "," separated)
adaba
Registered Member
Posts
3
Karma
0
Hello everybody,

I juste installed Kubuntu 12.10 on my laptop (an IBM one). On top of the laptop screen I am using another screen which I would like to set to 1280x1024. If I go in the settings I can only set the resolution up to 1024x768.

I tried :
- to create a xorg.conf file and to set the resolution. To create the xorg.conf file I used the "sudo X -configure" but there was an error (something like the number of screen is not correct). I add anywat the line
Code: Select all
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"

in every "Display" subsection of the generated xorg.conf file. It didn't work (I can't choose the resolution 1280x1024 and now when I restart the screen are cloned).
- to search how to install drivers for my graphical card (I was hoping it could solve the problem) but it doesn't seem to be standard so I didn't find the drivers. This is what is return by the command "lspci | grep -i vga":
Code: Select all
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)


Is it possible to set the resolution to 1280x1024 by any mean ?

Thanks in advance for your help !

EDIT:
I found the drivers of the graphical card here : https://01.org/linuxgraphics/downloads. But I have no idea of which stack release and which version (Kernel, Mesa, ...) I must choose.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
As you are using Kubuntu 12.10, the drivers for your Intel 945GM chip are included, and do not need to be installed. Attempting to install the "drivers" from that site may cause your system other problems.

What is the output of the command "xrandr"?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
adaba
Registered Member
Posts
3
Karma
0
Ok fortunately I didn't install them so... Shouldn't I see the drivers in the "additional drivers" window ? (or maybe they are not additional since they are included...)

The xrandr command returns me this:
Code: Select all
Screen 0: minimum 320 x 200, current 2048 x 768, maximum 4096 x 4096
LVDS-0 connected 1024x768+0+0 246mm x 185mm
   1024x768       50.0*+   60.0     40.0 
   800x600        60.3 
   640x480        60.0 
VGA-0 connected 1024x768+1024+0 0mm x 0mm
   1024x768       60.0*
   800x600        60.3     56.2 
   848x480        60.0 
   640x480        59.9

The LVDS screen is the laptop screen (1024*768 works well) it's the VGA screen that I would like to set to 1280*1024 60Hz.
adaba
Registered Member
Posts
3
Karma
0
I found a solution by looking at the xrandr command:
1 - Definition of a new mode named 1280x1024_60.00:
Code: Select all
xrandr --newmode $(gtf 1280 1024 60 | sed -ne 's/"//g;s/ Modeline //p')

2 - Set the mode to my second screen
Code: Select all
xrandr --addmode VGA-0 1280x1024_60.00

3 - Set the display to this mode normally.

Thanks for your help !
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
With regards to the "additional drivers" window, that is only for third party drivers - such as the proprietary ones provided by Nvidia and ATI for their cards.
The open source drivers (which includes the only ones for Intel cards, written by Intel themselves) are shipped as part of the system core.

Good to see you found a solution - although I would recommend checking the monitor cable (as all monitors should publish information including the resolutions they support over EDID, which is then used to build the list of supported resolutions automatically).


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], q.ignora, watchstar