LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 07-14-2012, 06:24 PM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,062

Rep: Reputation: 45
/etc/X11/xorg.conf won't change the resolution.


Hi:
I reinstalled my linux distribution after having lost the partition. As I always do, I modified /etc/X11/xorg.conf leaving the only screen section as follows:
Code:
# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

Section "Device"
    Identifier  "VESA Framebuffer"
    Driver      "sis"
    #VideoRam    4096
    # Insert Clocks lines here if appropriate
EndSection

# **********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present.  Each describes
# the configuration of a single screen.  A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
    Identifier  "Screen 1"
    Device      "VESA Framebuffer"
    Monitor     "My Monitor"

# If your card can handle it, a higher default color depth (like 24 or 32)
# is highly recommended.

#   DefaultDepth 8
   DefaultDepth 16
#   DefaultDepth 24
#   DefaultDepth 32

# "1024x768" is also a conservative usable default resolution.  If you
# have a better monitor, feel free to try resolutions such as
# "1152x864", "1280x1024", "1600x1200", and "1800x1400" (or whatever your
# card/monitor can produce)

    Subsection "Display"
        Depth       8
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes "800x600" "800x600" "800x600"
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       32
        Modes "1024x768" "800x600" "640x480"
    EndSubsection

EndSection
As you can see, the entry for Depth 16 has all three modes set to 800x600. When X starts, it says he is using /etc/X11/xorg.conf. However, the resolution doesn't change. In /var/log/Xorg.0.log I find:
Code:
(II) Open ACPI successful (/var/run/acpid.socket)
(II) AIGLX: Resuming AIGLX clients after VT switch
(II) SIS(0): Setting custom mode 800x600 on CRT1
(II) SIS(0): Setting custom mode 800x600 on CRT2
(II) Mouse1: ps2EnableDataReporting: succeeded
(II) AIGLX: Suspending AIGLX clients for VT switch
(II) SIS(0): Restoring by setting old mode 0x03
.................................................[the periods are mine]
..................................................
..................................................
(II) Open ACPI successful (/var/run/acpid.socket)
(II) AIGLX: Resuming AIGLX clients after VT switch
(II) SIS(0): Setting custom mode 800x600 on CRT1
(II) SIS(0): Setting custom mode 800x600 on CRT2
(II) Mouse1: ps2EnableDataReporting: succeeded
(II) AIGLX: Suspending AIGLX clients for VT switch
(II) SIS(0): Restoring by setting old mode 0x03
The same block of seven lines repeats itself many times. I think the line
(II) SIS(0): Restoring by setting old mode 0x03

has something to do with this problem. The question is: why does the resolution not change?

Last edited by stf92; 07-14-2012 at 09:19 PM.
 
Old 07-15-2012, 12:28 AM   #2
r0h1t
LQ Newbie
 
Registered: Sep 2008
Distribution: Fedora 17 x86_64
Posts: 5

Rep: Reputation: 2
Question

Xserver is doing what its told - set the resolution to 800x600 as you've mentioned in your xorg.conf file. I fail to see the problem here.
 
Old 07-15-2012, 01:07 AM   #3
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,062

Original Poster
Rep: Reputation: 45
You're right. The resolution is set to 800x600. But with this resolution I always saw a screen larger than the physical screen (virtual screen panning). I used the mouse to access those parts of the desktop outside the physical screen. But this happens no more.
 
Old 07-15-2012, 01:23 AM   #4
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,062

Original Poster
Rep: Reputation: 45
I don't believe it. With this Screen section I do get virtual screen panning!:

Code:
Section "Screen"
    Identifier  "Screen 1"
    Device      "VESA Framebuffer"
    Monitor     "My Monitor"

# If your card can handle it, a higher default color depth (like 24 or 32)
# is highly recommended.

#   DefaultDepth 8
   DefaultDepth 16
#   DefaultDepth 24
#   DefaultDepth 32

# "1024x768" is also a conservative usable default resolution.  If you
# have a better monitor, feel free to try resolutions such as
# "1152x864", "1280x1024", "1600x1200", and "1800x1400" (or whatever your
# card/monitor can produce)

####        Modes en el archivo original: "640x480" "1024x768" "800x600" 
# Ultima configuracion en vigor:
#   "800x600" como 1er campo de lineas Modes (el unico al que KDE 
#   o quien sea que sea parece dar bola). 
#           "1024x768" era el 1er campo en los 4 Modes!
    Subsection "Display"
        Depth       8
        Modes "640x480" "1024x768" "800x600" 
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes "800x600" "1024x768" "800x600" 
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes "800x600"
    EndSubsection
    Subsection "Display"
        Depth       32
        Modes "640x480" "1024x768" "800x600" 
###########             Modes "640x480"
    EndSubsection

EndSection
I do not understand where the difference is. There are some changes but why do they determine virtual screen panning?
 
  


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
resolution max is 800x600 venkata369 Linux - Newbie 2 04-03-2010 05:11 AM
max resolution of 800x600 lemtree Linux - Hardware 10 12-18-2009 10:39 AM
how do I set fedora 10 gnome 800x600 resolution in a rc script for startx 100201 Linux - Newbie 2 06-18-2009 06:48 PM
my PCLOS gives only 800x600 resolution newbiesforever Linux - Distributions 3 09-26-2008 01:04 AM
Can't get a better resolution than 800X600 on debian bharath144 Linux - General 4 03-12-2006 10:23 AM


All times are GMT -5. The time now is 08:15 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration