LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-25-2007, 02:51 AM   #1
yamuna
LQ Newbie
 
Registered: Feb 2007
Posts: 2

Rep: Reputation: 0
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

Last edited by yamuna; 06-25-2007 at 10:32 PM.
 
Old 06-25-2007, 10:15 AM   #2
JoeDuncan
Member
 
Registered: Aug 2003
Location: Ottawa
Distribution: Redhat 5.2, 6.0, 6.1, Mandrake 7.2, 8.0, 9.1, 9.2, 10.0, Gentoo, Debian 3.1r0
Posts: 224

Rep: Reputation: 30
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.
 
Old 06-25-2007, 10:33 PM   #3
yamuna
LQ Newbie
 
Registered: Feb 2007
Posts: 2

Original Poster
Rep: Reputation: 0
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
 
Old 06-26-2007, 02:11 AM   #4
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
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).
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I messed with the screen resolution and now Redhat will boot into a black screen! Mr. Hill Linux - Newbie 29 05-04-2009 11:52 AM
change screen resolution of xdm login screen in suse linux anon104 Linux - Desktop 2 04-02-2007 09:26 AM
How do i fix screen resolution / monitor choice while screen is pretty much unreadabl tinkerdog Fedora 2 09-08-2006 03:53 AM
default screen resolution smaller than max. resolution ?? Thoddy Linux - General 2 11-10-2005 01:33 AM
Unable to configure screen resolution for 15.2" LCD screen in Fedore Core 1 schu Linux - Newbie 3 01-02-2004 05:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration