LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   xorg - virtual resolution (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/xorg-virtual-resolution-707212/)

setkos 02-24-2009 03:16 PM

xorg - virtual resolution
 
Hello,

I have asked in many places, I hope that this is right place...

Could you tell me how to turn on virtual resolution? I have MSI Wind with LVDS display (1024x600) and sometime I need to use higher resolution (1024x768). So I thought that virtual resolution with possiblility to scroll hidden area would be the best solution for this purpose. But I am not able to active virtual resolution.

This is my xorg.conf
Code:

Section "ServerLayout"
    Identifier    "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    ModulePath  "/usr/lib/xorg/modules"
    FontPath    "catalogue:/etc/X11/fontpath.d"
    FontPath    "built-ins"
EndSection

Section "Module"
    Load  "dri"
    Load  "extmod"
    Load  "dbe"
    Load  "glx"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/input/mice"
    Option        "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    Identifier  "Internal LVDS"
    Option      "PreferredMode" "1024x768"
EndSection

Section "Monitor"
    Identifier  "External VGA"
    ModeLine "1024x768"  78.8 1024 1040 1136 1312    768  769  772  800 +hsync +vsync
    Option      "PreferredMode" "1024x768"
EndSection

Section "Device"
              Option      "AccelMethod"    "exa"
              Option      "FramebufferCompression"    "false"
              Option      "monitor-VGA"    "External VGA"
              Option      "monitor-LVDS"    "Internl LVDS"
    Identifier  "Card0"
    Driver      "intel"
    VendorName  "Intel Corporation"
    BoardName  "Mobile 945GME Express Integrated Graphics Controller"
    BusID      "PCI:0:2:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device    "Card0"
    Monitor    "Internal LVDS"
    Monitor    "External VGA"
    SubSection "Display"
        Depth 24
        Virtual    1024 768
    EndSubSection
EndSection

but I don't know how to activate this new resolution. I have tried this way:

Code:

$ gtf 1024 768 60
  # 1024x768 @ 60.00 Hz (GTF) hsync: 47.70 kHz; pclk: 64.11 MHz
  Modeline "1024x768_60.00"  64.11  1024 1080 1184 1344  768 769 772 795  -HSync +Vsync

$ xrandr --newmode "1024x768_60.00"  64.11  1024 1080 1184 1344  768 769 772 795  -HSync +Vsync

$ xrandr --addmode LVDS "1024x768_60.00"
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  150 (RANDR)
  Minor opcode of failed request:  18 ()
  Serial number of failed request:  15
  Current serial number in output stream:  16

without success...

Could you give me any hints, links...I am totally confused.

pixellany 02-26-2009 08:48 AM

I don't understand the significance of setting the Virtual screen to the same resolution as the default.

setkos 02-26-2009 11:19 AM

Thank you for your answer!

Quote:

Originally Posted by pixellany (Post 3458167)
I don't understand the significance of setting the Virtual screen to the same resolution as the default.

But default resolution is 1024x600. I would like to active a higher resolution - 1024x768 and because of LVDS technical restrictions use it by scrolling display (I mean when I move mouse cursor to the down edge of display, I would be able to see the down part of the desktop).

How to achieve this?

pixellany 02-26-2009 03:52 PM

I'm obviously missing something....

1024x600 does not appear in your xorg.conf file----also, it is not a standard format. The common formats are 4:3 (eg 1024x768), 16:9, and 16:10 (eg 1920x1200). I think 5:4 is out there also.

setkos 03-01-2009 07:37 PM

Ok, so I have changed Monitor section for LVDS:
Code:

Section "Monitor"
    Identifier  "Internal LVDS"
    Option      "PreferredMode" "1024x600"
EndSection

I know that 1024x600 isn't typical, but it is common in netbooks' displays and this is maximum resolution for LVDS in my netbook.

In Windows XP, when I change resolution into 1024x768 (or higher) I am able to see the rest of the desktop by moving mouse cursor to the edge of the display. While doing this, desktop moves and I am able to see the rest of the desktop).

I though that Virtual Resolution does the same on Linux.


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