LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Screen resolution changes automatically (https://www.linuxquestions.org/questions/linux-hardware-18/screen-resolution-changes-automatically-564295/)

yamuna 06-25-2007 02:51 AM

Screen resolution changes automatically
 
Hi all,

I'm a newbie to Linux. I'm using FC6 and the output of /sbin/lspci for my machine is,
00:00.0 Host bridge: Intel Corporation 82946GZ/PL/GL Memory Controller Hub (rev 02)
00:01.0 PCI bridge: Intel Corporation 82946GZ/PL/GL PCI Express Root Port (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82946GZ/GL Integrated Graphics Controller (rev 02)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7 Family) Serial ATA Storage Controller IDE (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01)
04:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5786 Gigabit Ethernet PCI Express (rev 02)

My kernel version is 2.6.18-1.2798.fc6xen.
I've also loaded Windows XP.
The problem is that, the screen resolution changes to 800*600 if I us linux after using Windows and I'm not able to increase the resolution, because the monitor gets reset to 'GENERIC CRT DISPLAY' automatically. And the volume control is also not working properly.. I'm not able to mute the speaker and If I change the volume, then I hear no sound what so ever. I've to restart all over again inorder to hear any sound. And even if I play in the same volume level for a while,the sound goes off completly after about 15 to 20 minutes. I would appreciate any help possible for this problem.

Thank you,
Yamuna

JoeDuncan 06-25-2007 10:15 AM

It would help if you could post your /etc/X11/xorg.conf and /var/log/Xorg.0.log files here, then we might be able to tell what is going wrong.

yamuna 06-25-2007 10:33 PM

Hi,
These are the contents of /etc/X11/xorg.conf file

# 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 "Device"
Identifier "Videocard0"
Driver "i810"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

And the /var/log/Xorg.0.log file is exceptionally long. Should I post it here?

Thank you for ur response Joe.
Yamuna

Wim Sturkenboom 06-26-2007 02:11 AM

Create a section for your monitor; it should more or less look like below
Code:

Section "Monitor"
Identifier  "Monitor0"
VendorName  "DEL"
ModelName    "DELL P790"
HorizSync    31.0 - 92.0
VertRefresh  50.0 - 150.0

Option      "DPMS"
EndSection

The bold lines are the important ones. Adjust VertRefresh and HorizSync to the specifications of your monitor.

Add Monitor0 to the screen section as shown below in bold

Code:

Section "Screen"
Identifier "Screen0"
Device    "Videocard0"
Monitor    "Monitor0"
DefaultDepth 24

Add resolutions to the subsection display:

Code:

SubSection "Display"
Viewport  0 0
Depth    24
modes    "1280x960" "1024x768"
EndSubSection

Modify the bold lines to the resolutions that you want to use and that your card and monitor can handle.


With regards to the log:
check for lines starting with WW (warnings) or EE (errors).


All times are GMT -5. The time now is 04:54 AM.