LinuxQuestions.org
Help answer threads with 0 replies.
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 12-10-2007, 02:55 AM   #1
utkarshrawat
Member
 
Registered: Jul 2007
Posts: 120

Rep: Reputation: 15
Display Problem


Hi
Iam facing problem regarding display in my system.Sometimes my screen
resolution become big & sometimes small .I meant that screen resolution is not fixed it automatically changes whenever i reboot.Sometimes 800X600
or "1024x768"

When i gave command


Code:
1:lspci

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.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (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)
I tried to change MOde manually gedit /etc/X11/xorg.conf
Code:
Section "Screen"
	Identifier "Screen0"
	Device     "Videocard0"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes    "1024x768" "800x600" "640x480"
	EndSubSection
After that i reboot it ask for which mode u want to select .
But still it does the same.
 
Old 12-10-2007, 07:15 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,808

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
The "Screen" section needs to specify a monitor (I thought)

And the "Monitor" section needs to specify the correct horiz and vert. scan rates.

Please tell us what monitor and video card you are using, and post all the relevant sections of xorg.conf.
 
Old 12-10-2007, 07:40 AM   #3
utkarshrawat
Member
 
Registered: Jul 2007
Posts: 120

Original Poster
Rep: Reputation: 15
I think its nothing to do with monitor(E74 IBM).
Iam not sure ,do we have to upgraded install drivers

Code:
cat /etc/X11/xorg.conf
# 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
                Modes    "1024x768" "800x600" 
        EndSubSection
EndSection
Code:
video card 
1:lspci

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.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (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)
 
Old 12-10-2007, 08:11 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,808

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
I've never seen xorg.conf with no "Monitor" section---obviously it defaults to something.

Things to try:

Run xorgconfig
Enter a monitor section manually
---(for the 1st two you will need the monitor specs for horiz and vertical scan rates)
specify the "vesa" or "vga" driver in the device section
 
Old 12-10-2007, 10:04 PM   #5
utkarshrawat
Member
 
Registered: Jul 2007
Posts: 120

Original Poster
Rep: Reputation: 15
when i run the command
Code:
xorgconfig
bash: xorgconfig: command not found
I have no idea how to enter monitor section manually .
 
Old 12-10-2007, 11:35 PM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,808

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
I don't see where you stated which Linux distribution you are using. It is possible that xorgconfig has to be run as root---or it maybe is not installed. (Your package manager will tell you).

Here is part of my xorg.conf file. For all the details of the syntax, do "man xorg.conf".

Code:
Section "Monitor"
    Identifier "monitor1"
    VendorName "Viewsonic"
    ModelName "VP2030b"
    HorizSync 24-92
    VertRefresh 50-75
EndSection

Section "Device"
    Identifier "device1"
    VendorName "ATI Technologies Inc."
    BoardName "ATI Radeon"
    Driver "radeon"
    Option "DPMS"
EndSection

Section "Screen"
    Identifier "screen1"
    Device "device1"
    Monitor "monitor1"
    DefaultColorDepth 24

   <<snipped>> 

    Subsection "Display"
        Depth 24
        Modes "1600x1200" "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x76
8" "832x624" "800x600" "640x480" "480x360" "320x240"
    EndSubsection
EndSection
 
Old 12-11-2007, 06:26 AM   #7
cgtueno
Member
 
Registered: Jul 2003
Posts: 363

Rep: Reputation: 50
December 11, 2007

Hi

pixellany appears to be correct in his advice.

The monitor section is required to specify the Horizontal Sync and Vertical Refresh parameters for the connected monitor.

Unless the monitor parameters have been specified then the resolution
that X establishes for the desktop on start up should be a low resolution. (Some distros I run default to 800 x 600)

Since any restart of X (ie machine reboot, logout of X etc) will result
in the startup processing of the X config file, the resolution will possibly differ from any temporary change of desktop resolution you have made from your distro's desktop tools prior to logout or shutdown.

The standard man pages on X in most distros provide a useful explanation of the makeup of the X config file.

Although you are using a single display card and monitor in your system, you might also like to read the Linux How To
"Xinerama-HOWTO, Using Xinerama to MultiHead XFree86 v.4.0+"
at the LDP (Linux Documentation Project)
http://tldp.org/HOWTO/HOWTO-INDEX/howtos.html

The reason I suggest you read this document is because it details the relationships between the X configuration file sections you are using, and their purpose/function, and relationships between the sections.
There are also a couple of useful examples in the appendix at the end.

For further assistance would you please post the name and version of the distribution you are using, and the version of X that you are using.
(eg. $ X -version)

Note that under X version 4+ you can also run the configuration tool
by:
installing your display cards, connecting the monitors
stopping X
logining into your system as root
In a command shell
Backing up your X configuration file
Generating a configuration file with the command
$ X -configure
Testing the new X configuration file
and if satisfactory replacing your old configuration file with the new one.

Hope that helps, best of luck

Chris
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
$DISPLAY problem wilberto83cg Linux - General 4 08-16-2006 04:31 PM
Problem withChanging DISPLAY environment variable to display on someone else's screen wantsri Linux - Networking 1 10-25-2005 11:14 AM
Display problem firefly87 Linux - Hardware 4 09-18-2005 01:19 PM
Display problem or something Grooveyphreak Linux - Newbie 1 05-27-2005 01:04 PM
RH9 Shrike /sbin/loader display problem with SIS 630 laptop - display is blank ! johnvoisey Red Hat 4 11-01-2003 06:52 AM

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

All times are GMT -5. The time now is 11:14 PM.

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