NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

xsrc/54167: Xorg wsfb server "Rotate" does not work on NetBSD 8.0



>Number:         54167
>Category:       xsrc
>Synopsis:       Xorg wsfb server "Rotate" does not work on NetBSD 8.0
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    xsrc-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 06 07:45:00 +0000 2019
>Originator:     Izumi Tsutsui
>Release:        NetBSD 8.0
>Organization:
>Environment:
System: NetBSD wzero3 8.0 NetBSD 8.0 (WZERO3) #0: Tue Jul 17 14:59:51 UTC 2018  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/hpcarm/compile/WZERO3 hpcarm
Architecture: earmv4
Machine: hpcarm
>Description:
It looks Xorg wsfb server in NetBSD 8.0 does not draw windows correctly.
src/external/mit/xorg/etc/etc.hpcarm/xorg.conf.ws003sh has
the following lines:
---
Section "Device"
        Identifier      "Wsdisplay0"
        Driver          "wsfb"

        Option          "Rotate"        "CCW"
EndSection
---
and it worked on NetBSD/hpcarm 6.1.5.

However on NetBSD/hpcarm 8.0 Xorg draws windows as the following:
 https://gist.githubusercontent.com/tsutsui/13ac0181ec87d4685a384e9f6d885040/raw/03c850680a41081f7bdae194cc62ac571d4dce14/NetBSD-hpcarm-Xorg-server-Rotate-CCW.png

It looks stride width is not handled correctly.

Note without the "Rotate" option it works as expected:
 https://gist.githubusercontent.com/tsutsui/13ac0181ec87d4685a384e9f6d885040/raw/03c850680a41081f7bdae194cc62ac571d4dce14/NetBSD-hpcarm-Xorg-server-Rotate-normal.png

and wsfb driver with "Rotate" CCW on NetBSD/i386 8.0
with "vesa 1024x768x16" settings on bootloader
seems also work as expected:
 https://gist.githubusercontent.com/tsutsui/13ac0181ec87d4685a384e9f6d885040/raw/d6f0b9d99b3f5e7bad1594bca2edfdbefb0a44a4/NetBSD-i386-8.0-QEMU-vesa_1024x768x16_wsfb-CCW.png

>How-To-Repeat:
Install NetBSD/hpcarm 8.0 and start Xorg server with
src/external/mit/xorg/etc/etc.hpcarm/xorg.conf.ws003sh etc.

>Fix:
No idea.
Check xorg server API changes since netbsd-6?

---
Izumi Tsutsui



Home | Main Index | Thread Index | Old Index