Can't change screen resolution.

General support questions including new installations
Post Reply
dissectx
Posts: 5
Joined: 2011/11/11 17:50:07

Can't change screen resolution.

Post by dissectx » 2011/11/11 18:00:50

Hi - I have read many pages on this topic - I have tried some suggestions, and others I don't understand how to do.

I have a Dell E2311H monitor.

Here is what I did try:

[code]
ddcprobe
Monitor autoprobe results
Monitor autoprobe failed.
[/code]


my xorg file (WHICH BY THE WAY I HAVE ADDED 1920x1080 to the screen modes section and it never sticks after I log back in)

[code]
# Xorg configuration created by system-config-display

Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "Monitor"
Identifier "Monitor0"
ModelName "Dell E2311H 1920x1080"
### Comment all HorizSync and VertSync values to use DDC:
HorizSync 31.5 - 67.0
VertRefresh 56.0 - 65.0
Option "dpms"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "vesa"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1920x1080"
EndSubSection
EndSection

[/code]


I tried some command I found on another forum:
[code]
/usr/bin/system-config-display --reconfig
[/code]
but that never changes the resolution, and when i am asked to log out and back in, the resolution is the old default one.


There are two places to change the resolution:

Preferences > Screen Resolution
which displays : 1280x1024, 1024x768, 800x600, 640x480

why doesn't it look like my xorg.config file??

And Anministration > Display GUI lists like 10 resolutions. WHY??? How do I change my screen res to 1920 x 1080?





What should I do? I have this brand new computer with Centos 5.7 ...thanks

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Can't change screen resolution.

Post by TrevorH » 2011/11/11 19:32:21

You're looking in the wrong area. You are currently using the vesa driver which will only support resolutions that are reported by your machine display BIOS. You would be better off looking to find a driver for your video card to replace the vesa driver. If you need help with locating that then please post the output from the getinfo.sh script which you can find in the FAQ and Readme 1st sections of these forums in the post about how to provide more information about your system.

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Can't change screen resolution.

Post by gerald_clark » 2011/11/11 19:43:54

And don't double post.

dissectx
Posts: 5
Joined: 2011/11/11 17:50:07

Re: Can't change screen resolution.

Post by dissectx » 2011/11/11 19:46:08

where did i double post? i created a new topic with a WHOLE different question. don't be a bully

dissectx
Posts: 5
Joined: 2011/11/11 17:50:07

Re: Can't change screen resolution.

Post by dissectx » 2011/11/11 19:56:28

[quote]
TrevorH wrote:
You're looking in the wrong area. You are currently using the vesa driver which will only support resolutions that are reported by your machine display BIOS. You would be better off looking to find a driver for your video card to replace the vesa driver. If you need help with locating that then please post the output from the getinfo.sh script which you can find in the FAQ and Readme 1st sections of these forums in the post about how to provide more information about your system.[/quote]

Hello - Here is the output to getinfo.sh.../tmp/basedata.we9398

Information for general problems.
[code]
== BEGIN uname -rmi ==
2.6.18-274.7.1.el5PAE i686 i386
== END uname -rmi ==

== BEGIN rpm -qa \*-release\* ==
centos-release-5-7.el5.centos
centos-release-notes-5.7-0
== END rpm -qa \*-release\* ==

== BEGIN cat /etc/redhat-release ==
CentOS release 5.7 (Final)
== END cat /etc/redhat-release ==

== BEGIN getenforce ==
Disabled
== END getenforce ==

== BEGIN free -m ==
total used free shared buffers cached
Mem: 3949 3759 190 0 150 3364
-/+ buffers/cache: 244 3705
Swap: 2000 0 2000
== END free -m ==

== BEGIN rpm -q yum rpm python ==
yum-3.2.22-37.el5.centos
rpm-4.4.2.3-22.el5_7.2
python-2.4.3-44.el5_7.1
== END rpm -q yum rpm python ==

== BEGIN ls /etc/yum.repos.d ==
CentOS-Base.repo
CentOS-Debuginfo.repo
CentOS-Media.repo
CentOS-Vault.repo
rpmforge.repo
== END ls /etc/yum.repos.d ==

== BEGIN cat /etc/yum.conf ==
[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
bugtracker_url=http://bugs.centos.org/set_project.php?project_id=16&ref=http://bugs.centos.org/bug_report_page.php?category=yum

# Note: yum-RHN-plugin doesn't honor this.
metadata_expire=1h

installonly_limit = 5

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
== END cat /etc/yum.conf ==

== BEGIN yum repolist all ==
Loaded plugins: downloadonly, fastestmirror, protectbase
Loading mirror speeds from cached hostfile
0 packages excluded due to repository protections
repo id repo name status
C5.0-base CentOS-5.0 - Base disabled
C5.0-centosplus CentOS-5.0 - Plus disabled
C5.0-extras CentOS-5.0 - Extras disabled
C5.0-updates CentOS-5.0 - Updates disabled
C5.1-base CentOS-5.1 - Base disabled
C5.1-centosplus CentOS-5.1 - Plus disabled
C5.1-extras CentOS-5.1 - Extras disabled
C5.1-updates CentOS-5.1 - Updates disabled
C5.2-base CentOS-5.2 - Base disabled
C5.2-centosplus CentOS-5.2 - Plus disabled
C5.2-extras CentOS-5.2 - Extras disabled
C5.2-updates CentOS-5.2 - Updates disabled
C5.3-base CentOS-5.3 - Base disabled
C5.3-centosplus CentOS-5.3 - Plus disabled
C5.3-extras CentOS-5.3 - Extras disabled
C5.3-updates CentOS-5.3 - Updates disabled
C5.4-base CentOS-5.4 - Base disabled
C5.4-centosplus CentOS-5.4 - Plus disabled
C5.4-extras CentOS-5.4 - Extras disabled
C5.4-updates CentOS-5.4 - Updates disabled
C5.5-base CentOS-5.5 - Base disabled
C5.5-centosplus CentOS-5.5 - Plus disabled
C5.5-extras CentOS-5.5 - Extras disabled
C5.5-updates CentOS-5.5 - Updates disabled
C5.6-base CentOS-5.6 - Base disabled
C5.6-centosplus CentOS-5.6 - Plus disabled
C5.6-extras CentOS-5.6 - Extras disabled
C5.6-updates CentOS-5.6 - Updates disabled
addons CentOS-5 - Addons enabled: 0
base CentOS-5 - Base enabled: 2,704
c5-media CentOS-5 - Media disabled
centosplus CentOS-5 - Plus disabled
contrib CentOS-5 - Contrib disabled
debug CentOS-5 - Debuginfo disabled
extras CentOS-5 - Extras enabled: 253
local Pixim Additions - CentOS 5.7 enabled: 2
rpmforge RHEL 5 - RPMforge.net - dag enabled: 2
rpmforge-extras RHEL 5 - RPMforge.net - extras disabled
rpmforge-testing RHEL 5 - RPMforge.net - testing disabled
updates CentOS-5 - Updates enabled: 237
repolist: 3,198
== END yum repolist all ==

== BEGIN egrep 'include|exclude' /etc/yum.repos.d/*.repo ==
== END egrep 'include|exclude' /etc/yum.repos.d/*.repo ==

== BEGIN sed -n -e "/^\[/h; /priority *=/{ G; s/\n/ /; s/ity=/ity = /; p }" /etc/yum.repos.d/*.repo | sort -k3n ==
== END sed -n -e "/^\[/h; /priority *=/{ G; s/\n/ /; s/ity=/ity = /; p }" /etc/yum.repos.d/*.repo | sort -k3n ==

== BEGIN cat /etc/fstab ==
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
LABEL=SWAP-sda2 swap swap defaults 0 0
== END cat /etc/fstab ==

== BEGIN df -h ==
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 224G 3.3G 209G 2% /
/dev/sda1 122M 17M 99M 15% /boot
tmpfs 2.0G 0 2.0G 0% /dev/shm
titan:/home2/samd 6.0T 4.7T 1.4T 79% /home/samd
titan:/home/caseym 20G 8.7M 20G 1% /home/caseym
titan:/proj4 6.0T 3.9T 2.2T 64% /proj/hw4
titan:/sw 2.0T 1.5T 557G 73% /proj/sw
titan:/cvs-pvs/pvs 20G 18G 2.7G 87% /proj/pvs
titan:/tools/tools/noarch
800G 503G 298G 63% /tool/share
titan:/software2 500G 457G 44G 92% /proj/sw2
titan:/proj7 5.6T 4.3T 1.4T 76% /proj/hw7
titan:/proj1/hw 950G 349G 602G 37% /proj/hw
titan:/pub 1.5T 787G 750G 52% /direct_linux/pub
titan:/syseng 5.6T 4.3T 1.4T 76% /proj/syseng
titan:/tools/local/rhel5-x86
800G 503G 298G 63% /direct_linux/local_linux
== END df -h ==

== BEGIN fdisk -l ==

Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 16 128488+ 83 Linux
/dev/sda2 17 271 2048287+ 82 Linux swap / Solaris
/dev/sda3 272 30401 242019225 83 Linux
== END fdisk -l ==

== BEGIN blkid ==
/dev/sda3: LABEL="/" UUID="a15cea7f-61c1-4cfd-9770-b9c1bb3846cb" TYPE="ext3"
/dev/sda2: LABEL="SWAP-sda2" TYPE="swap"
/dev/sda1: LABEL="/boot" UUID="b76b1c01-7ae1-4fc9-9d97-78cba94a17f8" TYPE="ext3"
== END blkid ==

== BEGIN cat /proc/mdstat ==
Personalities :
unused devices: <none>
== END cat /proc/mdstat ==

== BEGIN pvs ==
== END pvs ==

== BEGIN vgs ==
No volume groups found
== END vgs ==

== BEGIN lvs ==
No volume groups found
== END lvs ==

== BEGIN rpm -qa kernel\* | sort ==
kernel-headers-2.6.18-274.7.1.el5
kernel-PAE-2.6.18-274.7.1.el5
kernel-PAE-2.6.18-274.el5
kernel-PAE-devel-2.6.18-274.7.1.el5
kernel-PAE-devel-2.6.18-274.el5
== END rpm -qa kernel\* | sort ==

== BEGIN lspci ==
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family HECI Controller #1 (rev 04)
00:1a.0 USB Controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b4)
00:1c.2 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 3 (rev b4)
00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 (rev b4)
00:1d.0 USB Controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation H61 Express Chipset Family LPC Controller (rev 04)
00:1f.2 IDE interface: Intel Corporation 6 Series/C200 Series Chipset Family 4 port SATA IDE Controller (rev 04)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 04)
00:1f.5 IDE interface: Intel Corporation 6 Series/C200 Series Chipset Family 2 port SATA IDE Controller (rev 04)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)
== END lspci ==

== BEGIN lspci -n ==
00:00.0 0600: 8086:0100 (rev 09)
00:02.0 0300: 8086:0102 (rev 09)
00:16.0 0780: 8086:1c3a (rev 04)
00:1a.0 0c03: 8086:1c2d (rev 04)
00:1b.0 0403: 8086:1c20 (rev 04)
00:1c.0 0604: 8086:1c10 (rev b4)
00:1c.2 0604: 8086:1c14 (rev b4)
00:1c.4 0604: 8086:1c18 (rev b4)
00:1d.0 0c03: 8086:1c26 (rev 04)
00:1f.0 0601: 8086:1c5c (rev 04)
00:1f.2 0101: 8086:1c00 (rev 04)
00:1f.3 0c05: 8086:1c22 (rev 04)
00:1f.5 0101: 8086:1c08 (rev 04)
03:00.0 0200: 10ec:8168 (rev 06)
== END lspci -n ==

== BEGIN lsusb ==
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 002 Device 004: ID 413c:2107 Dell Computer Corp.
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 003: ID 0461:4d81 Primax Electronics, Ltd
== END lsusb ==

== BEGIN ifconfig -a ==
eth0 Link encap:Ethernet HWaddr D0:67:E5:09:EF:5B
inet addr:172.16.12.19 Bcast:172.16.255.255 Mask:255.255.0.0
inet6 addr: fe80::d267:e5ff:fe09:ef5b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:12386985 errors:0 dropped:0 overruns:0 frame:0
TX packets:8136397 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:15479576 (14.7 MiB) TX bytes:1386314958 (1.2 GiB)
Interrupt:225 Base address:0x2000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:3472613 errors:0 dropped:0 overruns:0 frame:0
TX packets:3472613 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:472998028 (451.0 MiB) TX bytes:472998028 (451.0 MiB)

sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

== END ifconfig -a ==

== BEGIN route -n ==
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
172.16.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 172.16.0.1 0.0.0.0 UG 0 0 0 eth0
== END route -n ==

== BEGIN cat /etc/resolv.conf ==
; generated by /sbin/dhclient-script
search pixim.com
nameserver 172.16.10.6
nameserver 172.16.10.19
== END cat /etc/resolv.conf ==

== BEGIN grep net /etc/nsswitch.conf ==
#networks: nisplus [NOTFOUND=return] files
#netmasks: nisplus [NOTFOUND=return] files
netmasks: files nis
networks: files nis
netgroup: nis
== END grep net /etc/nsswitch.conf ==

== BEGIN chkconfig --list | grep -Ei 'network|wpa' ==
NetworkManager 0:off 1:off 2:off 3:off 4:off 5:off 6:off
network 0:off 1:off 2:on 3:on 4:on 5:on 6:off
wpa_supplicant 0:off 1:off 2:off 3:off 4:off 5:off 6:off
== END chkconfig --list | grep -Ei 'network|wpa' ==

[/code]
What do i do now? thanks!

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Can't change screen resolution.

Post by TrevorH » 2011/11/11 20:55:58

[quote]
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
[/quote]

I'm pretty sure that this is the embedded video card that comes with the Intel Sandy Bridge processors and there are no drivers for CentOS 5 for this. There [b]may[/b] be support for it if you use CentOS 6 [u]and[/u] install the CR repository and update to the latest fixes but it's not certain. If you want to stick with CentOS 5 on this machine then I think your easiest option is to install a separate video card that you know has supported drivers.

zsego
Posts: 2
Joined: 2011/10/26 18:18:30

Re: Can't change screen resolution.

Post by zsego » 2015/12/04 16:50:03

I am having exactly the same problem as explained here, but with a little tweak: I cannot change resolution to 1920x1080 for non-root user. However, when I login as a root, everything goes well, the resolution is 1920x1080.
Any idea how to fix this?

I am using CentOS release 5.11.

Post Reply