On Sat, Nov 26, 2011 at 01:49:49PM +0200, Oleksii Zhmyrov wrote: > On 11/26/11 13:20, Ville Valkonen wrote: > >Hello, > > > >I am running OpenBSD current on a Lenovo SL-510 laptop (dmesg below) and > >xrandr rotate doesn't work as expected. When executing > > $ xrandr --output LVDS --rotate right > >picture goes completely gibberish, as seen in here: > > http://imageshack.us/photo/my-images/69/xrandr.jpg/ > > > >Currently I am using i3 window manager but it happens in Fluxbox too. > >Xorg.0.log diff (below) reveals sync problem (and apparently so does the > >picture). > > > >Please let me know how should I proceed. > > > >Sincerely, > >Ville Valkonen > > > > Lenovo SL-510, OpenBSD current, xfce4. No xorg.conf file. > $ xrandr --output LVDS --rotate right > works as expected, nothing unusual. >
I guess one of you is using a snapshot, while the other as built xenocara from CVS sources. Which is which ? Please post the full Xorg.0.log and compare the intel video driver versions. > > > >### Xrandr: > >Screen 0: minimum 320 x 200, current 1366 x 768, maximum 4096 x 4096 > >VGA disconnected (normal left inverted right x axis y axis) > >LVDS connected 1366x768+0+0 (normal left inverted right x axis y axis) > >344mm x 193mm > > 1366x768 50.0* > >HDMI-1 disconnected (normal left inverted right x axis y axis) > > > >### Xorg.0.log diff before and after the following commands > >### xrandr --output LVDS --rotate right > >### xrandr --output LVDS --rotate normal > >### commands: > >--- xorg.old Thu Nov 24 12:31:32 2011 > >+++ xorg.new Thu Nov 24 12:31:47 2011 > >@@ -443,3 +443,26 @@ Release Date: 2011-11-04 > > [3575506.563] is lvds > > [3575506.564] (II) intel(0): using SSC reference clock of 96 MHz > > [3575506.583] (II) intel(0): Selecting standard 18 bit TMDS pixel format. > >+[3575738.681] (II) intel(0): EDID vendor "LEN", prod id 16560 > >+[3575738.681] (II) intel(0): Using hsync ranges from config file > >+[3575738.681] (II) intel(0): Using vrefresh ranges from config file > >+[3575738.681] (II) intel(0): Printing DDC gathered Modelines: > >+[3575738.681] (II) intel(0): Modeline "1366x768"x0.0 69.30 1366 > >1414 1446 1718 768 771 775 806 -hsync -vsync (40.3 kHz) > >+[3575738.681] (II) intel(0): EDID vendor "LEN", prod id 16560 > >+[3575739.052] (II) intel(0): Allocated new frame buffer 768x1366 > >stride 3072, tiled > >+[3575739.082] (II) intel(0): New front buffer at 0xb344000 > >+[3575739.123] (II) intel(0): Allocated new frame buffer 1408x768 > >stride 5632, tiled > >+[3575739.172] is lvds > >+[3575739.172] (II) intel(0): using SSC reference clock of 96 MHz > >+[3575739.192] (II) intel(0): Selecting standard 18 bit TMDS pixel format. > >+[3575742.527] (II) intel(0): EDID vendor "LEN", prod id 16560 > >+[3575742.527] (II) intel(0): Using hsync ranges from config file > >+[3575742.527] (II) intel(0): Using vrefresh ranges from config file > >+[3575742.527] (II) intel(0): Printing DDC gathered Modelines: > >+[3575742.527] (II) intel(0): Modeline "1366x768"x0.0 69.30 1366 > >1414 1446 1718 768 771 775 806 -hsync -vsync (40.3 kHz) > >+[3575742.527] (II) intel(0): EDID vendor "LEN", prod id 16560 > >+[3575742.902] (II) intel(0): Allocated new frame buffer 1408x768 > >stride 5632, tiled > >+[3575742.931] (II) intel(0): New front buffer at 0xbd44000 > >+[3575743.021] is lvds > >+[3575743.021] (II) intel(0): using SSC reference clock of 96 MHz > >+[3575743.041] (II) intel(0): Selecting standard 18 bit TMDS pixel format. > > > >### Dmesg: > >### > >OpenBSD 5.0-current (GENERIC) #114: Sun Nov 20 16:30:30 MST 2011 > > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC > >real mem = 2003517440 (1910MB) > >avail mem = 1936134144 (1846MB) > >mainbus0 at root > >bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xe0010 (44 entries) > >bios0: vendor LENOVO version "6JET83WW (1.41 )" date 09/21/2010 > >bios0: LENOVO 284756G > >acpi0 at bios0: rev 4 > >acpi0: sleep states S0 S3 S4 S5 > >acpi0: tables DSDT FACP HPET MCFG APIC BOOT SLIC SSDT SSDT SSDT > >acpi0: wakeup devices P0P2(S4) P0P1(S4) USB0(S3) USB1(S3) USB2(S3) > >USBR(S3) EHC1(S3) USB3(S3) USB4(S3) USB5(S3) EHC2(S3) HDEF(S4) > >PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) > >RP04(S4) PXSX(S4) RP05(S4) RP06(S4) BLAN(S4) LID_(S3) SLPB(S3) > >acpitimer0 at acpi0: 3579545 Hz, 24 bits > >acpihpet0 at acpi0: 14318179 Hz > >acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255 > >acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat > >cpu0 at mainbus0: apid 0 (boot processor) > >cpu0: Intel(R) Core(TM)2 Duo CPU T5870 @ 2.00GHz, 1995.30 MHz > >cpu0: > >FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM,NXE,LONG > >cpu0: 2MB 64b/line 8-way L2 cache > >cpu0: apic clock running at 199MHz > >cpu at mainbus0: not configured > >ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins > >acpiprt0 at acpi0: bus 0 (PCI0) > >acpiprt1 at acpi0: bus -1 (P0P2) > >acpiprt2 at acpi0: bus 7 (P0P1) > >acpiprt3 at acpi0: bus 2 (RP01) > >acpiprt4 at acpi0: bus 3 (RP02) > >acpiprt5 at acpi0: bus 4 (RP03) > >acpiprt6 at acpi0: bus 5 (RP04) > >acpiprt7 at acpi0: bus -1 (RP05) > >acpiprt8 at acpi0: bus 6 (RP06) > >acpiec0 at acpi0 > >acpicpu0 at acpi0: C2, C1, PSS > >acpitz0 at acpi0: critical temperature is 105 degC > >acpithinkpad0 at acpi0 > >acpiac0 at acpi0: AC unit online > >acpibat0 at acpi0: BAT1 model "42T4704" serial 681 type LION oem > >"Panasonic" > >acpibtn0 at acpi0: LID_ > >acpibtn1 at acpi0: PWRB > >acpibtn2 at acpi0: SLPB > >cpu0: Enhanced SpeedStep 1995 MHz: speeds: 2001, 2000, 1600, 1200, 800 MHz > >pci0 at mainbus0 bus 0 > >pchb0 at pci0 dev 0 function 0 "Intel GM45 Host" rev 0x07 > >vga1 at pci0 dev 2 function 0 "Intel GM45 Video" rev 0x07 > >wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) > >wsdisplay0: screen 1-5 added (80x25, vt100 emulation) > >intagp0 at vga1 > >agp0 at intagp0: aperture at 0xd0000000, size 0x10000000 > >inteldrm0 at vga1: apic 2 int 16 > >drm0 at inteldrm0 > >"Intel GM45 Video" rev 0x07 at pci0 dev 2 function 1 not configured > >uhci0 at pci0 dev 26 function 0 "Intel 82801I USB" rev 0x03: apic 2 int 16 > >uhci1 at pci0 dev 26 function 1 "Intel 82801I USB" rev 0x03: apic 2 int 21 > >uhci2 at pci0 dev 26 function 2 "Intel 82801I USB" rev 0x03: apic 2 int 19 > >ehci0 at pci0 dev 26 function 7 "Intel 82801I USB" rev 0x03: apic 2 int 19 > >usb0 at ehci0: USB revision 2.0 > >uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 > >azalia0 at pci0 dev 27 function 0 "Intel 82801I HD Audio" rev 0x03: msi > >azalia0: codecs: Realtek ALC269, Intel/0x2802, using Realtek ALC269 > >audio0 at azalia0 > >ppb0 at pci0 dev 28 function 0 "Intel 82801I PCIE" rev 0x03: msi > >pci1 at ppb0 bus 2 > >"JMicron SD/MMC" rev 0x00 at pci1 dev 0 function 0 not configured > >sdhc0 at pci1 dev 0 function 2 "JMicron SD Host Controller" rev 0x00: > >apic 2 int 16 > >sdmmc0 at sdhc0 > >"JMicron Memory Stick" rev 0x00 at pci1 dev 0 function 3 not configured > >"JMicron xD" rev 0x00 at pci1 dev 0 function 4 not configured > >ppb1 at pci0 dev 28 function 1 "Intel 82801I PCIE" rev 0x03: msi > >pci2 at ppb1 bus 3 > >ppb2 at pci0 dev 28 function 2 "Intel 82801I PCIE" rev 0x03: msi > >pci3 at ppb2 bus 4 > >ppb3 at pci0 dev 28 function 3 "Intel 82801I PCIE" rev 0x03: msi > >pci4 at ppb3 bus 5 > >iwn0 at pci4 dev 0 function 0 "Intel WiFi Link 5100" rev 0x00: msi, > >MIMO 1T2R, MoW, address 00:24:d6:00:42:b6 > >ppb4 at pci0 dev 28 function 5 "Intel 82801I PCIE" rev 0x03: msi > >pci5 at ppb4 bus 6 > >re0 at pci5 dev 0 function 0 "Realtek 8168" rev 0x03: RTL8168D/8111D > >(0x2800), apic 2 int 17, address 00:26:9e:39:a9:be > >rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2 > >uhci3 at pci0 dev 29 function 0 "Intel 82801I USB" rev 0x03: apic 2 int 23 > >uhci4 at pci0 dev 29 function 1 "Intel 82801I USB" rev 0x03: apic 2 int 19 > >uhci5 at pci0 dev 29 function 2 "Intel 82801I USB" rev 0x03: apic 2 int 18 > >ehci1 at pci0 dev 29 function 7 "Intel 82801I USB" rev 0x03: apic 2 int 23 > >usb1 at ehci1: USB revision 2.0 > >uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1 > >ppb5 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0x93 > >pci6 at ppb5 bus 7 > >pcib0 at pci0 dev 31 function 0 "Intel 82801IBM LPC" rev 0x03 > >ahci0 at pci0 dev 31 function 2 "Intel 82801I AHCI" rev 0x03: msi, AHCI 1.2 > >scsibus0 at ahci0: 32 targets > >sd0 at scsibus0 targ 0 lun 0:<ATA, FUJITSU MJA2250B, 0084> SCSI3 > >0/direct fixed naa.500000e043e8eeb8 > >sd0: 238475MB, 512 bytes/sector, 488397168 sectors > >cd0 at scsibus0 targ 1 lun 0:<Optiarc, DVD RW AD-7590S, 1.L1> ATAPI > >5/cdrom removable > >ichiic0 at pci0 dev 31 function 3 "Intel 82801I SMBus" rev 0x03: apic 2 int > >19 > >iic0 at ichiic0 > >spdmem0 at iic0 addr 0x50: 2GB DDR3 SDRAM PC3-8500 SO-DIMM > >usb2 at uhci0: USB revision 1.0 > >uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1 > >usb3 at uhci1: USB revision 1.0 > >uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1 > >usb4 at uhci2: USB revision 1.0 > >uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1 > >usb5 at uhci3: USB revision 1.0 > >uhub5 at usb5 "Intel UHCI root hub" rev 1.00/1.00 addr 1 > >usb6 at uhci4: USB revision 1.0 > >uhub6 at usb6 "Intel UHCI root hub" rev 1.00/1.00 addr 1 > >usb7 at uhci5: USB revision 1.0 > >uhub7 at usb7 "Intel UHCI root hub" rev 1.00/1.00 addr 1 > >isa0 at pcib0 > >isadma0 at isa0 > >pckbc0 at isa0 port 0x60/5 > >pckbd0 at pckbc0 (kbd slot) > >pckbc0: using irq 1 for kbd slot > >wskbd0 at pckbd0: console keyboard, using wsdisplay0 > >pms0 at pckbc0 (aux slot) > >pckbc0: using irq 12 for aux slot > >wsmouse0 at pms0 mux 0 > >wsmouse1 at pms0 mux 0 > >pms0: Synaptics touchpad, firmware 7.2 > >pcppi0 at isa0 port 0x61 > >spkr0 at pcppi0 > >mtrr: Pentium Pro MTRR support > >sdmmc0: can't enable card > >vscsi0 at root > >scsibus1 at vscsi0: 256 targets > >softraid0 at root > >scsibus2 at softraid0: 256 targets > >root on sd0a swap on sd0b dump on sd0b > > > >### xorg.conf (though no affect when omitted) > >Section "Files" > > ModulePath "/usr/X11R6/lib/modules" > > FontPath "/usr/X11R6/lib/X11/fonts/misc/" > > FontPath "/usr/X11R6/lib/X11/fonts/TTF/" > > FontPath "/usr/X11R6/lib/X11/fonts/OTF" > > FontPath "/usr/X11R6/lib/X11/fonts/Type1/" > > FontPath "/usr/X11R6/lib/X11/fonts/100dpi/" > > FontPath "/usr/X11R6/lib/X11/fonts/75dpi/" > > FontPath "/usr/X11R6/lib/X11/fonts/misc/" > > FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled" > > FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled" > > FontPath "/usr/local/share/ghostscript/fonts/" > > FontPath "/usr/X11R6/lib/X11/fonts/Type1/" > > FontPath "/usr/local/lib/X11/fonts/Droid/" > >EndSection > > > >Section "InputDevice" > > Identifier "TouchPad0" > > Driver "synaptics" > > Option "Device" "/dev/wsmouse0" > > #Option "AutoServerLayout" "true" > > #Option "ZAxisMapping" "4 5 6 7" > >EndSection > > > >Section "InputDevice" > > Identifier "TrackPoint1" > > Driver "mouse" > > #Option "Protocol" "wsmouse" > > Option "Device" "/dev/wsmouse1" > > Option "Emulate3Buttons" "false" > > Option "EmulateWheel" "true" > > Option "EmulateWheelButton" "2" > > #Option "AutoServerLayout" "true" > > #Option "ZAxisMapping" "4 5 6 7" > >EndSection > > > >Section "InputDevice" > > Identifier "Mouse" > > Driver "mouse" > > Option "Device" "/dev/wsmouse2" > > #Option "AutoServerLayout" "true" > >EndSection > > > >Section "ServerLayout" > > Identifier "X.org Configured" > > Screen 0 "Screen0" 0 0 > > InputDevice "TouchPad0" "SendCoreEvents" > > InputDevice "TrackPoint1" "CorePointer" > > InputDevice "Mouse" "SendCoreEvents" > > InputDevice "Keyboard0" "CoreKeyboard" > > InputDevice "Keyboard1" "SendCoreEvents" > > #Option "AutoAddDevices" "false" > >EndSection > > > >Section "Module" > > Load "dbe" > > Load "dri" > > Load "dri2" > > Load "extmod" > > Load "glx" > > Load "record" > >EndSection > > > >Section "InputDevice" > > Identifier "Keyboard0" > > Driver "Keyboard" > > #Option "XkbRules" "xorg" > > Option "XkbModel" "pc105" > > Option "XkbLayout" "fi" > >EndSection > > > >Section "InputDevice" > > Identifier "Keyboard1" > > Driver "Keyboard" > > #Option "XkbRules" "xorg" > > Option "XkbModel" "pc105" > > Option "XkbLayout" "fi" > >EndSection > > > > > >Section "Monitor" > > Identifier "Monitor0" > > VendorName "Monitor Vendor" > > ModelName "Monitor Model" > >EndSection > > > >Section "Device" > > ### Available Driver options are:- > > ### Values:<i>: integer,<f>: float,<bool>: "True"/"False", > > ###<string>: "String",<freq>: "<f> Hz/kHz/MHz" > > ### [arg]: arg optional > > #Option "NoAccel" # [<bool>] > > #Option "SWcursor" # [<bool>] > > #Option "ColorKey" #<i> > > #Option "CacheLines" #<i> > > #Option "Dac6Bit" # [<bool>] > > #Option "DRI" # [<bool>] > > #Option "NoDDC" # [<bool>] > > #Option "ShowCache" # [<bool>] > > #Option "XvMCSurfaces" #<i> > > #Option "PageFlip" # [<bool>] > ># Option "AccelMethod" "UXA" > > Identifier "Card0" > > Driver "intel" > > VendorName "Intel" > > BoardName "GM45 Video" > > BusID "PCI:0:2:0" > >EndSection > > > >Section "Screen" > > Identifier "Screen0" > > Device "Card0" > > Monitor "Monitor0" > ># SubSection "Display" > ># Viewport 0 0 > ># Depth 1 > ># EndSubSection > ># SubSection "Display" > ># Viewport 0 0 > ># Depth 4 > ># EndSubSection > ># SubSection "Display" > ># Viewport 0 0 > ># Depth 8 > ># EndSubSection > ># SubSection "Display" > ># Viewport 0 0 > ># Depth 15 > ># EndSubSection > ># SubSection "Display" > ># Viewport 0 0 > ># Depth 16 > ># EndSubSection > > SubSection "Display" > > Viewport 0 0 > > Depth 24 > ># Virtual 8192 8192 > > EndSubSection > >EndSection > > > > > > > -- > Oleksii Zhmyrov > National Technical University of Ukraine "Kyiv Polytechnic Institute" > Institute of Physics and Technology > Tel.: +380-63-496-2695 > -- Matthieu Herrb