You are not logged in.

#1 2008-06-11 13:35:38

Stalafin
Member
From: Berlin, Germany
Registered: 2007-10-26
Posts: 617

Need some xrandr help (distorted external screen, etc...)

I just managed to switch from i810 to the new Intel driver, and am able to use xrandr now.

On my laptop I have a resolution of 1024x768 (on a Intel 945GM), and I use to connect it to an external UXGA (1600x1200) monitor via a VGA.


Now, when I reboot my computer with the secondary (external) monitor, it seems like it becomes my default monitor (tint for example can be found on it). Oddly, on my laptop there is displayed a part of the external monitor.

To solve this I issue the following command

$ xrandr --output LVDS --mode 1024x768 --pos 0x0 --output VGA --mode 1600x1200 --above LVDS

I put the external above (or below) the monitor one in order to not disable DRI (the whole screen stays within the Virtual range).

Unfortunately now I get a slight distortion on the external screen - a sort of snowy/ grain-like effect which is especially visible around the edges of windows.

How can I get rid of this?
And is there a way to set my laptop's screen as the main one?

Also, when I try to set a wallpaper for both screens (I can choose between screen 1 and 2) using Nitrogen, Nitrogen crashes with the following error:

$ nitrogen wallpaper/
The program 'nitrogen' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadDrawable (invalid Pixmap or Window parameter)'.
  (Details: serial 4334 error_code 9 request_code 14 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

Besides, Visibility for example isn't displayed at all - it should be in the lower right corner of the main screen when starting for example Pidgin, but it isn't there.




Attached is my output from xrandr -q (with the external monitor plugged in, turned on, and in use), and my xorg.conf:


xrandr -q

$ xrandr -q
Screen 0: minimum 320 x 200, current 1600 x 1968, maximum 2048 x 2048
VGA connected 1600x1200+0+0 (normal left inverted right x axis y axis) 408mm x 306mm
   1600x1200      60.0*+   59.9  
   1280x1024      75.0     59.9  
   1024x768       75.1     60.0  
   800x600        75.0     60.3  
   640x480        75.0     60.0  
   720x400        70.1  
LVDS connected 1024x768+0+1200 (normal left inverted right x axis y axis) 246mm x 185mm
   1024x768       50.0*+   60.0     40.0  
   800x600        60.3  
   640x480        60.0     59.9

xorg.conf

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen         "Default Screen"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "PS/2 Mouse" "CorePointer"
# Serial Mouse not detected
# USB Mouse not detected
EndSection

Section "ServerFlags"
    Option "AllowMouseOpenFail"  "true"
    
EndSection

Section "Files"
    RgbPath      "/usr/share/X11/rgb"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc:unscaled"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/100dpi"
    FontPath     "/usr/share/fonts/PEX"
# Additional fonts: Locale, Gimp, TTF...
    FontPath     "/usr/share/fonts/cyrillic"
#    FontPath     "/usr/share/lib/X11/fonts/latin2/75dpi"
#    FontPath     "/usr/share/lib/X11/fonts/latin2/100dpi"
# True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
    FontPath     "/usr/share/fonts/Type1"
    FontPath     "/usr/share/fonts/ttf/western"
    FontPath     "/usr/share/fonts/ttf/decoratives"
    FontPath     "/usr/share/fonts/truetype"
    FontPath     "/usr/share/fonts/truetype/openoffice"
    FontPath     "/usr/share/fonts/truetype/ttf-bitstream-vera"
    FontPath     "/usr/share/fonts/latex-ttf-fonts"
    FontPath     "/usr/share/fonts/defoma/CID"
    FontPath     "/usr/share/fonts/defoma/TrueType"
EndSection

Section "Module"
        Load  "ddc"  # ddc probing of monitor
    Load  "dbe"
    Load  "dri"
    Load  "extmod"
    Load  "glx"
        Load  "bitmap" # bitmap-fonts
    Load  "type1"
    Load  "freetype"
    Load  "record"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "keyboard"
        Option      "CoreKeyboard"
    Option "XkbRules" "xorg"
    Option "XkbModel" "pc105"
    Option "XkbLayout" ""
    Option "XkbVariant" ""
EndSection

Section "InputDevice"
    Identifier  "Serial Mouse"
    Driver      "mouse"
    Option      "Protocol" "Microsoft"
    Option      "Device" "/dev/ttyS0"
    Option      "Emulate3Buttons" "true"
    Option      "Emulate3Timeout" "70"
    Option        "SendCoreEvents"  "true"
EndSection

Section "InputDevice"
    Identifier  "PS/2 Mouse"
    Driver      "mouse"
    Option      "Protocol" "auto"
    Option          "ZAxisMapping"          "4 5"
    Option      "Device" "/dev/psaux"
    Option      "Emulate3Buttons" "true"
    Option      "Emulate3Timeout" "70"
    Option        "SendCoreEvents"  "true"
EndSection

Section "InputDevice"
        Identifier      "USB Mouse"
        Driver          "mouse"
        Option          "Device"                "/dev/input/mice"
    Option        "SendCoreEvents"    "true"
        Option          "Protocol"              "IMPS/2"
        Option          "ZAxisMapping"          "4 5"
        Option          "Buttons"               "5"
EndSection

# Auto-generated by Archie mkxcfg

Section "Monitor"
    Identifier "Generic Monitor"
    Option "DPMS"
EndSection

# Auto-generated by Archie mkxcfg

Section "Device"
    Identifier  "Intel 945GM"
    Driver      "intel"
    VendorName  "All"
    BoardName   "All"
EndSection

Section "Screen"
    Identifier "Default Screen"
    Device     "Intel 945GM"
    Monitor    "Generic Monitor"
    DefaultColorDepth 24
    SubSection "Display"
        Depth     1
        Modes "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     4
        Modes "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     8
        Modes "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     15
        Modes "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     16
        Modes "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     24
        Modes "1024x768" "800x600" "640x480"
        Virtual 2048 2048
    EndSubSection
    SubSection "Display"
        Depth     32
        Modes "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "DRI"
    Mode 0666
EndSection

Last edited by Stalafin (2008-06-11 13:39:54)

Offline

Board footer

Powered by FluxBB