2009/4/23 Toma Bodar <tomas.bod...@gmail.com>: > Hi all, > > I don't try it yet so you can kick my ass if I'm missing something ;-) > > Is there a possibility to just use xrandr(1) for switching between > outputs if my X work out of the box without xorg.conf? > Because I have 'not configured' for my Intel GM45.I read that support > for this chipset isn't full yet.When I have laptop in > docking station I have on HDMI-1 Dell E2209W with optimal resolution > 1680x1050/60Hz,but both (HDMI-1 and LVDS) > are working on 1024x768/60Hz which isn't so much usefull. > > $ dmesg | grep vga > vga1 at pci0 dev 2 function 0 "Intel GM45 Video" rev 0x07 > wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) > intagp0 at vga1 > inteldrm0 at vga1: apic 2 int 16 (irq 11) > $ dmesg | grep GM45 > pchb0 at pci0 dev 0 function 0 "Intel GM45 Host" rev 0x07 > vga1 at pci0 dev 2 function 0 "Intel GM45 Video" rev 0x07 > "Intel GM45 Video" rev 0x07 at pci0 dev 2 function 1 not configured > $ > > $ xrandr --verbose > Screen 0: minimum 320 x 200, current 1440 x 900, maximum 1440 x 1440 > VGA disconnected (normal left inverted right x axis y axis) > Identifier: 0x3b > Timestamp: -753984668 > Subpixel: unknown > Clones: > CRTCs: 0 1 > LVDS connected 1440x900+0+0 (0x40) normal (normal left inverted right > x axis y axis) 304mm x 190mm > Identifier: 0x3c > Timestamp: -753984668 > Subpixel: horizontal rgb > Clones: > CRTC: 1 > CRTCs: 1 > EDID_DATA: > 00ffffffffffff00320c400100000000 > 00120103901e13780ad7859359548c29 > 22505400000001010101010101010101 > 010101010101b027a08051841a303020 > 360030be1000001ab027a0805184e731 > 3020aa0030be1000001a000000fe0043 > 54303038803134315750320a00000000 > 00000000000000000002010a202000ea > PANEL_FITTING: full > supported: center full_aspect full > BACKLIGHT_CONTROL: combination > supported: native legacy combination kernel > BACKLIGHT: 101 (0x00000065) range: (0,101) > 1440x900 (0x40) 101.6MHz +HSync -VSync *current +preferred > h: width 1440 start 1488 end 1520 total 1824 skew 0 clock 55.7KHz > v: height 900 start 903 end 909 total 926 clock 60.2Hz > 1440x900 (0x41) 101.6MHz +HSync -VSync > h: width 1440 start 1488 end 1520 total 1824 skew 0 clock 55.7KHz > v: height 900 start 910 end 920 total 1387 clock 40.2Hz > 1024x768 (0x42) 65.0MHz -HSync -VSync > h: width 1024 start 1048 end 1184 total 1344 skew 0 clock 48.4KHz > v: height 768 start 771 end 777 total 806 clock 60.0Hz > 800x600 (0x43) 40.0MHz +HSync +VSync > h: width 800 start 840 end 968 total 1056 skew 0 clock 37.9KHz > v: height 600 start 601 end 605 total 628 clock 60.3Hz > 800x600 (0x44) 36.0MHz +HSync +VSync > h: width 800 start 824 end 896 total 1024 skew 0 clock 35.2KHz > v: height 600 start 601 end 603 total 625 clock 56.2Hz > 640x480 (0x45) 25.2MHz -HSync -VSync > h: width 640 start 656 end 752 total 800 skew 0 clock 31.5KHz > v: height 480 start 490 end 492 total 525 clock 59.9Hz > HDMI-1 disconnected (normal left inverted right x axis y axis) > Identifier: 0x3d > Timestamp: -753984668 > Subpixel: unknown > Clones: HDMI-2 > CRTCs: 0 1 > HDMI-2 disconnected (normal left inverted right x axis y axis) > Identifier: 0x3e > Timestamp: -753984668 > Subpixel: unknown > Clones: HDMI-1 > CRTCs: 0 1 > TV disconnected (normal left inverted right x axis y axis) > Identifier: 0x3f > Timestamp: -753984668 > Subpixel: unknown > Clones: > CRTCs: 0 1 > BOTTOM: 37 (0x00000025) range: (0,100) > RIGHT: 46 (0x0000002e) range: (0,100) > TOP: 36 (0x00000024) range: (0,100) > LEFT: 54 (0x00000036) range: (0,100) > TV_FORMAT: NTSC-M > supported: NTSC-M NTSC-443 NTSC-J PAL-M > PAL-N PAL > $ > > $ uname -a > OpenBSD FQDN 4.5 GENERIC.MP#78 i386 > $ >
Below is my xorg.conf. I have a dual head set up using xrandr and the same intel chip. Also, I've been using a diff that owain@ submitted for testing a while ago and it's done me well. Perhaps you should try it out, too. Here's a link: http://marc.info/?l=openbsd-tech&m=123307709522306&w=2 Good luck! -Neal 1 Section "ServerLayout" 2 Identifier "X.org Configured" 3 Screen 0 "Screen0" 0 0 4 InputDevice "Mouse0" "CorePointer" 5 InputDevice "Keyboard0" "CoreKeyboard" 6 EndSection 7 8 Section "Files" 9 ModulePath "/usr/X11R6/lib/modules" 10 FontPath "/usr/X11R6/lib/X11/fonts/misc/" 11 FontPath "/usr/X11R6/lib/X11/fonts/TTF/" 12 FontPath "/usr/X11R6/lib/X11/fonts/OTF" 13 FontPath "/usr/X11R6/lib/X11/fonts/Type1/" 14 FontPath "/usr/X11R6/lib/X11/fonts/100dpi/" 15 FontPath "/usr/X11R6/lib/X11/fonts/75dpi/" 16 EndSection 17 18 Section "Module" 19 Load "GLcore" 20 Load "dbe" 21 Load "dri" 22 Load "extmod" 23 Load "glx" 24 Load "record" 25 Load "xtrap" 26 Load "freetype" 27 Load "type1" 28 EndSection 29 30 Section "InputDevice" 31 Identifier "Keyboard0" 32 Driver "kbd" 33 EndSection 34 35 Section "InputDevice" 36 Identifier "Mouse0" 37 Driver "mouse" 38 Option "Protocol" "wsmouse" 39 Option "Device" "/dev/wsmouse" 40 Option "ZAxisMapping" "4 5 6 7" 41 EndSection 42 43 Section "Monitor" 44 Identifier "Monitor0" 45 VendorName "Lenovo" 46 ModelName "T400" 47 EndSection 48 49 Section "Monitor" 50 Identifier "Monitor1" 51 VendorName "LG" 52 ModelName "Flatron" 53 Option "DPMS" 54 EndSection 55 56 Section "Device" 57 ### Available Driver options are:- 58 ### Values: <i>: integer, <f>: float, <bool>: "True"/"False", 59 ### <string>: "String", <freq>: "<f> Hz/kHz/MHz" 60 ### [arg]: arg optional 61 #Option "NoAccel" # [<bool>] 62 #Option "SWcursor" # [<bool>] 63 #Option "ColorKey" # <i> 64 #Option "CacheLines" # <i> 65 #Option "Dac6Bit" # [<bool>] 66 #Option "DRI" # [<bool>] 67 #Option "NoDDC" # [<bool>] 68 #Option "ShowCache" # [<bool>] 69 #Option "XvMCSurfaces" # <i> 70 #Option "PageFlip" # [<bool>] 71 Identifier "Card0" 72 Driver "intel" 73 VendorName "Intel" 74 BoardName "GM45 Video" 75 BusID "PCI:0:2:0" 76 Option "monitor-T400" "Monitor0" 77 Option "monitor-LG" "Monitor1" 78 EndSection 79 80 Section "Screen" 81 Identifier "Screen0" 82 Device "Card0" 83 #Monitor "Monitor0" 84 SubSection "Display" 85 Viewport 0 0 86 Depth 1 87 EndSubSection 88 SubSection "Display" 89 Viewport 0 0 90 Depth 4 91 EndSubSection 92 SubSection "Display" 93 Viewport 0 0 94 Depth 8 95 EndSubSection 96 SubSection "Display" 97 Viewport 0 0 98 Depth 15 99 EndSubSection 100 SubSection "Display" 101 Viewport 0 0 102 Depth 16 103 EndSubSection 104 SubSection "Display" 105 Virtual 2880 900 106 Viewport 0 0 107 Depth 24 108 EndSubSection 109 EndSection > -- > http://www.openbsd.org/lyrics.html > > -- www.nealhogan.net www.lambdaserver.com