Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Disable virtual desktop in xorg.conf
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Mortman
n00b
n00b


Joined: 05 Mar 2005
Posts: 9

PostPosted: Sat Mar 19, 2005 11:34 pm    Post subject: Disable virtual desktop in xorg.conf Reply with quote

I recently got the ATI Radeon drivers installed and running. However, my desktop in KDE is now a "virtual desktop", which is very annoying to me. Is there any way to manually disable this in xorg.conf? I'd rather not have to run any scripts for it (as it was the source of many headaches when installing the ATI drivers).
Back to top
View user's profile Send private message
inode77
Veteran
Veteran


Joined: 20 Jan 2004
Posts: 1303
Location: Heart of Europe

PostPosted: Sat Mar 19, 2005 11:37 pm    Post subject: Reply with quote

IIRR there's a line (or a couple of em) called virtual..... => just comment them out.
Make a copy of your working config before starting to modify xorg.conf, so you can go back if something goes wrong.
Back to top
View user's profile Send private message
Mortman
n00b
n00b


Joined: 05 Mar 2005
Posts: 9

PostPosted: Sun Mar 20, 2005 12:18 am    Post subject: Reply with quote

Thanks for the reply inode. Tried commenting out the solitary Virtual line. Didn't change anything for the better (in fact, it made KDE start up with a smaller window bordered by a black matte on all sides). I can get rid of this by setting the desktop resolution to something else and then changing it back to where I want it. Any ideas?
Back to top
View user's profile Send private message
inode77
Veteran
Veteran


Joined: 20 Jan 2004
Posts: 1303
Location: Heart of Europe

PostPosted: Sun Mar 20, 2005 12:29 am    Post subject: Reply with quote

Code:
Virtual  xdim ydim
This optional entry specifies the virtual screen resolution to be used.  xdim must be a multiple of either 8 or 16 for most drivers, and a multiple of 32 when running in monochrome  mode.
The given  value  will  be  rounded down if this is not the case.  Video modes which are too large for the specified virtual size will be rejected.  If this entry is not present, the virtual screen resolution will be set to accommodate all the valid video modes given in the Modes entry.  Some drivers/hardware combinations do not support virtual screens. 
Refer to the  appropriate  driver-specific documentation for details.

Hmm... you have the correct resolutions set for your screen in the mode line(s)?
You did restart your X-server by logout and then CTRL+ALT+BACKSPACE?
Back to top
View user's profile Send private message
Mortman
n00b
n00b


Joined: 05 Mar 2005
Posts: 9

PostPosted: Sun Mar 20, 2005 1:04 am    Post subject: Reply with quote

I just did a reboot on my system. I think I have the correct resolutions for my modelines. It may be easier if I post the pertinent parts of my xorg.conf

Code:


# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"
    Identifier  "Monitor0"
    HorizSync   31.5 -  57.0
    VertRefresh 50.0 - 90.0
    Option "DPMS"

# === Active Stereo mode lines based on GTF ===
# XVGA @ 100Hz
Modeline "1024x768@100" 113.309 1024 1096 1208 1392 768 769 772 814 +hsync +vsync
# XVGA @ 120Hz
Modeline "1024x768@120" 139.054 1024 1104 1216 1408 768 769 772 823 +hsync +vsync
# SXGA @ 100Hz
Modeline "1280x1024@100" 190.960 1280 1376 1520 1760 1024 1025 1028 1085 +hsync +vsync
# SXGA @ 120Hz
Modeline "1280x1024@120" 233.793 1280 1384 1528 1776 1024 1025 1028 1097 +hsync +vsync
Modeline "1920x1200" 193.156 1920 2048 2256 2592 1200 1201 1203 1242 +hsync +vsync
# 1920x1200 @ 75Hz
Modeline "1920x1200" 246.590 1920 2064 2272 2624 1200 1201 1203 1253 +hsync +vsync
# 2048x1536 @ 60
EndSection


# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

# Standard VGA Device:

Section "Device"
    Identifier  "Standard VGA"
    VendorName  "Unknown"
    BoardName   "Unknown"

# The chipset line is optional in most cases.  It can be used to override
# the driver's chipset detection, and should not normally be specified.

#    Chipset     "generic"

# The Driver line must be present.  When using run-time loadable driver
# modules, this line instructs the server to load the specified driver
# module.  Even when not using loadable driver modules, this line
# indicates which driver should interpret the information in this section.

    Driver      "vga"
# The BusID line is used to specify which of possibly multiple devices
# this section is intended for.  When this line isn't present, a device
# section can only match up with the primary video device.  For PCI
# devices a line like the following could be used.  This line should not
# normally be included unless there is more than one video device
# installed.

#    BusID       "PCI:0:10:0"

#    VideoRam    256

#    Clocks      25.2 28.3

EndSection

# === ATI device section ===

Section "Device"
    Identifier                          "ATI Graphics Adapter"
    Driver                              "fglrx"
# ### generic DRI settings ###
# === disable PnP Monitor  ===
    #Option                              "NoDDC"
# === disable/enable XAA/DRI ===
    Option "no_accel"                   "no"
    Option "no_dri"                     "no"
# === misc DRI settings ===
    Option "mtrr"                       "off" # disable DRI mtrr mapper, driver has its own code for mtrr
# ### FireGL DDX driver module specific settings ###
# === Screen Management ===
    Option "DesktopSetup"               "0x00000000"
    Option "MonitorLayout"              "AUTO, AUTO"
    Option "IgnoreEDID"                 "off"
    Option "HSync2"                     "unspecified"
    Option "VRefresh2"                  "unspecified"
    Option "ScreenOverlap"              "0"
# === TV-out Management ===
    Option "NoTV"                       "yes"     
    Option "TVStandard"                 "NTSC-M"     
    Option "TVHSizeAdj"                 "0"     
    Option "TVVSizeAdj"                 "0"     
    Option "TVHPosAdj"                  "0"     
    Option "TVVPosAdj"                  "0"     
    Option "TVHStartAdj"                "0"     
    Option "TVColorAdj"                 "0"     
    Option "GammaCorrectionI"           "0x00000000"
    Option "GammaCorrectionII"          "0x00000000"
# === OpenGL specific profiles/settings ===
    Option "Capabilities"               "0x00000000"
# === Video Overlay for the Xv extension ===
    Option "VideoOverlay"               "off"
# === OpenGL Overlay ===
# Note: When OpenGL Overlay is enabled, Video Overlay
#       will be disabled automatically
    Option "OpenGLOverlay"              "off"
# === Center Mode (Laptops only) ===
    Option "CenterMode"                 "on"
# === Pseudo Color Visuals (8-bit visuals) ===
    Option "PseudoColorVisuals"         "off"
# === QBS Management ===
    Option "Stereo"                     "off"
    Option "StereoSyncEnable"           "1"
# === FSAA Management ===
    Option "FSAAEnable"                 "no"
    Option "FSAAScale"                  "1"
    Option "FSAADisableGamma"           "no"
    Option "FSAACustomizeMSPos"         "no"
    Option "FSAAMSPosX0"                "0.000000"
    Option "FSAAMSPosY0"                "0.000000"
    Option "FSAAMSPosX1"                "0.000000"
    Option "FSAAMSPosY1"                "0.000000"
    Option "FSAAMSPosX2"                "0.000000"
    Option "FSAAMSPosY2"                "0.000000"
    Option "FSAAMSPosX3"                "0.000000"
    Option "FSAAMSPosY3"                "0.000000"
    Option "FSAAMSPosX4"                "0.000000"
    Option "FSAAMSPosY4"                "0.000000"
    Option "FSAAMSPosX5"                "0.000000"
    Option "FSAAMSPosY5"                "0.000000"
# === Misc Options ===
    Option "UseFastTLS"                 "0"
    Option "BlockSignalsOnLock"         "on"
    Option "UseInternalAGPGART"         "no"
    Option "ForceGenericCPU"            "no"
    BusID "PCI:1:0:0"    # vendor=1002, device=4c66
    Screen 0
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  "Screen0"
    Device      "ATI Graphics Adapter"
    Monitor     "Monitor0"
    DefaultDepth 24
    #Option "backingstore"

    Subsection "Display"
        Depth       24
        Modes       "1280x1024" "1400x1050" "1152x864" "1024x768" "1900x1200"
        ViewPort    0 0  # initial origin if mode is smaller than desktop
#        Virtual     1900 1200
    EndSubsection
EndSection


Again, any help is much appreciated.
Back to top
View user's profile Send private message
inode77
Veteran
Veteran


Joined: 20 Jan 2004
Posts: 1303
Location: Heart of Europe

PostPosted: Sun Mar 20, 2005 1:21 am    Post subject: Reply with quote

That's my config, if you give it a try remember to either replace the font section or configure/run x-fontserver.
I don't have any modeline section compared to you and you don't have a descending resolution line.
Code:
# **********************************************************************
Section "dri"
    Group 27    # video
    Mode 0660
EndSection
# **********************************************************************

# **********************************************************************
Section "Module"

    Load        "dbe"     # Double buffer extension

    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection
   
    Load        "type1"
    Load        "freetype"
   
    Load        "glx"   # libglx.a
    Load        "dri"   # libdri.a

EndSection
# **********************************************************************

# **********************************************************************
Section "Files"

    RgbPath    "/usr/lib/X11/rgb"


    FontPath   "unix/:-1"
#    FontPath   "/usr/X11R6/lib/X11/fonts/local/"

# The module search path.  The default path is shown here.
#    ModulePath "/usr/X11R6/lib/modules"

EndSection
# **********************************************************************

# **********************************************************************
Section "ServerFlags"

# Uncomment this to cause a core dump at the spot where a signal is
# received.  This may leave the console in an unusable state, but may
# provide a better stack trace in the core dump to aid in debugging

#    Option "NoTrapSignals"

# Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
# This allows clients to receive this key event.

#    Option "DontZap"

# Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
# sequences.  This allows clients to receive these key events.

#    Option "Dont Zoom"

# Uncomment this to disable tuning with the xvidtune client. With
# it the client can still run and fetch card and monitor attributes,
# but it will not be allowed to change them. If it tries it will
# receive a protocol error.

#    Option "DisableVidModeExtension"

# Uncomment this to enable the use of a non-local xvidtune client.

#    Option "AllowNonLocalXvidtune"

# Uncomment this to disable dynamically modifying the input device
# (mouse and keyboard) settings.

#    Option "DisableModInDev"

# Uncomment this to enable the use of a non-local client to
# change the keyboard or mouse settings (currently only xset).

#    Option "AllowNonLocalModInDev"

EndSection
# **********************************************************************

# **********************************************************************
Section "InputDevice"

    Identifier   "Keyboard1"
    Driver   "kbd"
    Option "AutoRepeat" "500 30"
    Option "XkbRules"   "xfree86"
    Option "XkbModel"   "pc102"
    Option "XkbLayout"   "de_CH"
    Option "XkbVariant" "nodeadkeys"
   
EndSection
# **********************************************************************

# **********************************************************************
Section "InputDevice"

    Identifier   "Mouse1"
    Driver "mouse"
    Option "Protocol"   "ImPS/2"
    Option "ZAxisMapping"   "4 5"
    Option "Device"     "/dev/input/mice"

EndSection
# **********************************************************************

# **********************************************************************
Section "Monitor"
    Identifier  "Monitor0"
    VendorName   "Sony"
    ModelName    "LCD Panel 1280x1024"
    HorizSync   28 - 80
    VertRefresh 48 - 75
    Option "DPMS"
EndSection

Section "Monitor"
    Identifier   "Monitor1"
    VendorName   "IBM"
    ModelName    "LCD Panel 1400x1050"
    HorizSync    31.5 - 90.0
    VertRefresh  59.0 - 75.0
    Option       "dpms"
EndSection
# **********************************************************************

# **********************************************************************
Section "Device"
    Identifier                          "ATI Graphics Adapter"
    Driver                              "fglrx"
# ### generic DRI settings ###
# === disable PnP Monitor  ===
    #Option                              "NoDDC"
# === disable/enable XAA/DRI ===
    Option "no_accel"                   "no"
    Option "no_dri"                     "no"
# === misc DRI settings ===
    Option "mtrr"                       "off" # disable DRI mtrr mapper, driver has its own code for mtrr
# ### FireGL DDX driver module specific settings ###
# === Screen Management ===
    Option "DesktopSetup"               "0x00000100"
    Option "MonitorLayout"              "AUTO, NONE"
    Option "IgnoreEDID"                 "off"
    Option "HSync2"                     "unspecified"
    Option "VRefresh2"                  "unspecified"
    Option "ScreenOverlap"              "0"
# === TV-out Management ===
    Option "NoTV"                       "yes"     
    Option "TVStandard"                 "NTSC-M"     
    Option "TVHSizeAdj"                 "0"     
    Option "TVVSizeAdj"                 "0"     
    Option "TVHPosAdj"                  "0"     
    Option "TVVPosAdj"                  "0"     
    Option "TVHStartAdj"                "0"     
    Option "TVColorAdj"                 "0"     
    Option "GammaCorrectionI"           "0x00000000"
    Option "GammaCorrectionII"          "0x00000000"
# === OpenGL specific profiles/settings ===
    Option "Capabilities"               "0x00000000"
# === Video Overlay for the Xv extension ===
    Option "VideoOverlay"               "on"
# === OpenGL Overlay ===
# Note: When OpenGL Overlay is enabled, Video Overlay
#       will be disabled automatically
    Option "OpenGLOverlay"              "off"
# === Center Mode (Laptops only) ===
    Option "CenterMode"                 "off"
# === Pseudo Color Visuals (8-bit visuals) ===
    Option "PseudoColorVisuals"         "off"
# === QBS Management ===
    Option "Stereo"                     "off"
    Option "StereoSyncEnable"           "1"
# === FSAA Management ===
    Option "FSAAEnable"                 "no"
    Option "FSAAScale"                  "1"
    Option "FSAADisableGamma"           "no"
    Option "FSAACustomizeMSPos"         "no"
    Option "FSAAMSPosX0"                "0.000000"
    Option "FSAAMSPosY0"                "0.000000"
    Option "FSAAMSPosX1"                "0.000000"
    Option "FSAAMSPosY1"                "0.000000"
    Option "FSAAMSPosX2"                "0.000000"
    Option "FSAAMSPosY2"                "0.000000"
    Option "FSAAMSPosX3"                "0.000000"
    Option "FSAAMSPosY3"                "0.000000"
    Option "FSAAMSPosX4"                "0.000000"
    Option "FSAAMSPosY4"                "0.000000"
    Option "FSAAMSPosX5"                "0.000000"
    Option "FSAAMSPosY5"                "0.000000"
# === Misc Options ===
    Option "DynamicClocks"       "on"
    Option "UseFastTLS"                 "0"
    Option "BlockSignalsOnLock"         "on"
    Option "UseInternalAGPGART"         "yes"
    Option "ForceGenericCPU"            "no"
    BusID "PCI:1:0:0"    # vendor=1002, device=4c66
    Screen 0
EndSection
# **********************************************************************

# **********************************************************************
Section "Screen"
    Identifier  "Screen0"
    Device      "ATI Graphics Adapter"
    Monitor     "Monitor0"
    DefaultDepth 24
    #Option "backingstore"

    Subsection "Display"
        Depth       24
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0  # initial origin if mode is smaller than desktop
#        Virtual     1280 1024
    EndSubsection
EndSection

Section "Screen"
    Identifier  "Screen1"
    Device      "ATI Graphics Adapter"
    Monitor     "Monitor0"
    DefaultDepth 24
    #Option "backingstore"

    Subsection "Display"
        Depth       24
        Modes       "1400x1050" "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0  # initial origin if mode is smaller than desktop
   #        Virtual     1280 1024
    EndSubsection
EndSection
# **********************************************************************

# **********************************************************************
#Section "ServerLayout"
#
#    Identifier  "Server Layout 0"
#    Screen "Screen0"
#    InputDevice "Mouse1" "CorePointer"
#    InputDevice "Keyboard1" "CoreKeyboard"
#
#EndSection

Section "ServerLayout"

    Identifier  "Server Layout 1"
    Screen "Screen1"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"

EndSection
# **********************************************************************
Back to top
View user's profile Send private message
Mortman
n00b
n00b


Joined: 05 Mar 2005
Posts: 9

PostPosted: Sun Mar 20, 2005 1:34 am    Post subject: Reply with quote

Well, I gave your settings for the graphics and screens but got the same result. I'm wondering if this has to do with something outside of the xorg.conf file. Everything in there seems to be in order.
Back to top
View user's profile Send private message
Mortman
n00b
n00b


Joined: 05 Mar 2005
Posts: 9

PostPosted: Sun Mar 20, 2005 3:08 am    Post subject: Reply with quote

Fixed. I'm not entirely sure what was wrong, so I bit the bullet and re-ran fglrxconfig, this time making sure to specify "no" on the virtual desktop. Works fine now.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum