On Sat, Oct 19, 2019 at 01:44:32PM +0200, Federico Giannici wrote:
> Today I switched my desktop PC, with Xfce, to OpenBSD amd64 6.6.
> 
> Since the upgrade the display started to flickers. It seems to me that the
> desktop background flashes over the various windows.
> 
> I vaguely remember that i read something about this problem in a message in
> these mailings a couple months ago, with someone suggesting a solution. I
> searched these mailing archives but I wasn't able to find that message.
> 
> Someone can direct me to the suggested solution?
> 
> Thanks.
> 
> P.S.
> Here is the dmesg:

I am also seeing this.
It could be related to radeondrm since we are both using it.

OpenBSD 6.6 (GENERIC.MP) #372: Sat Oct 12 10:56:27 MDT 2019
    dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 4008247296 (3822MB)
avail mem = 3874066432 (3694MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.5 @ 0x9f800 (50 entries)
bios0: vendor American Megatrends Inc. version "V2.4" date 12/09/2009
bios0: MICRO-STAR INTERNATIONAL CO.,LTD MS-7596
acpi0 at bios0: ACPI 1.0
acpi0: sleep states S0 S1 S4 S5
acpi0: tables DSDT FACP APIC MCFG OEMB HPET SSDT
acpi0: wakeup devices PCE2(S4) PCE3(S4) PCE4(S4) PCE5(S4) PCE6(S4) PCE7(S4) 
PCE9(S4) PCEA(S4) PCEB(S4) PCEC(S4) SBAZ(S4) P0PC(S4) UHC1(S4) UHC2(S4) 
UHC3(S4) USB4(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Phenom(tm) II X4 945 Processor, 3000.51 MHz, 10-04-03
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 
16-way L2 cache, 6MB 64b/line 48-way L3 cache
cpu0: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative
cpu0: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative
cpu0: AMD erratum 721 detected and fixed
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 200MHz
cpu0: mwait min=64, max=64, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD Phenom(tm) II X4 945 Processor, 3000.16 MHz, 10-04-03
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC
cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 
16-way L2 cache, 6MB 64b/line 48-way L3 cache
cpu1: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative
cpu1: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative
cpu1: AMD erratum 721 detected and fixed
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: AMD Phenom(tm) II X4 945 Processor, 3000.16 MHz, 10-04-03
cpu2: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC
cpu2: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 
16-way L2 cache, 6MB 64b/line 48-way L3 cache
cpu2: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative
cpu2: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative
cpu2: AMD erratum 721 detected and fixed
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: AMD Phenom(tm) II X4 945 Processor, 3000.16 MHz, 10-04-03
cpu3: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,ITSC
cpu3: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 
16-way L2 cache, 6MB 64b/line 48-way L3 cache
cpu3: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative
cpu3: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative
cpu3: AMD erratum 721 detected and fixed
cpu3: smt 0, core 3, package 0
ioapic0 at mainbus0: apid 4 pa 0xfec00000, version 21, 24 pins
acpimcfg0 at acpi0
acpimcfg0: addr 0xe0000000, bus 0-255
acpihpet0 at acpi0: 14318180 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (P0P1)
acpiprt2 at acpi0: bus -1 (PCE2)
acpiprt3 at acpi0: bus -1 (PCE3)
acpiprt4 at acpi0: bus 2 (PCE4)
acpiprt5 at acpi0: bus 3 (PCE5)
acpiprt6 at acpi0: bus -1 (PCE6)
acpiprt7 at acpi0: bus -1 (PCE7)
acpiprt8 at acpi0: bus -1 (PCE9)
acpiprt9 at acpi0: bus -1 (PCEA)
acpiprt10 at acpi0: bus -1 (PCEB)
acpiprt11 at acpi0: bus -1 (PCEC)
acpiprt12 at acpi0: bus 4 (P0PC)
acpicpu0 at acpi0: C1(@1 halt!), PSS
acpicpu1 at acpi0: C1(@1 halt!), PSS
acpicpu2 at acpi0: C1(@1 halt!), PSS
acpicpu3 at acpi0: C1(@1 halt!), PSS
acpipci0 at acpi0 PCI0: _OSC failed
acpicmos0 at acpi0
acpibtn0 at acpi0: PWRB
"PNP0C14" at acpi0 not configured
cpu0: 3000 MHz: speeds: 3000 2300 1800 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "AMD RS880 Host" rev 0x00
ppb0 at pci0 dev 1 function 0 "AMD RS780 PCIE" rev 0x00
pci1 at ppb0 bus 1
radeondrm0 at pci1 dev 5 function 0 "ATI Radeon HD 4200" rev 0x00
drm0 at radeondrm0
radeondrm0: apic 4 int 18
azalia0 at pci1 dev 5 function 1 "ATI Radeon HD 4200 HD Audio" rev 0x00: msi
azalia0: no supported codecs
ppb1 at pci0 dev 4 function 0 "AMD RS780 PCIE" rev 0x00: msi
pci2 at ppb1 bus 2
xhci0 at pci2 dev 0 function 0 "VIA VL805 xHCI" rev 0x01: msi, xHCI 1.0
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 configuration 1 interface 0 "VIA xHCI root hub" rev 3.00/1.00 
addr 1
ppb2 at pci0 dev 5 function 0 "AMD RS780 PCIE" rev 0x00: msi
pci3 at ppb2 bus 3
re0 at pci3 dev 0 function 0 "Realtek 8168" rev 0x03: RTL8168D/8111D (0x2800), 
msi, address xx:xx:xx:xx:xx:xx
rgephy0 at re0 phy 7: RTL8169S/8110S/8211 PHY, rev. 2
ahci0 at pci0 dev 17 function 0 "ATI SBx00 SATA" rev 0x00: apic 4 int 22, AHCI 
1.1
ahci0: port 1: 3.0Gb/s
ahci0: port 2: 3.0Gb/s
ahci0: port 3: 3.0Gb/s
ahci0: port 4: 3.0Gb/s
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 1 lun 0: <ATA, STM3250318AS, CC38> naa.xxxxxxxxxxxxxxxx
sd0: 238475MB, 512 bytes/sector, 488397168 sectors
sd1 at scsibus1 targ 2 lun 0: <ATA, WDC WD2500AVJS-6, 01.0> naa.xxxxxxxxxxxxxxxx
sd1: 238475MB, 512 bytes/sector, 488397168 sectors
sd2 at scsibus1 targ 3 lun 0: <ATA, WDC WD15EARS-00J, 80.0> naa.xxxxxxxxxxxxxxxx
sd2: 1430799MB, 512 bytes/sector, 2930277168 sectors
sd3 at scsibus1 targ 4 lun 0: <ATA, WDC WD15EARS-00J, 80.0> naa.xxxxxxxxxxxxxxxx
sd3: 1430799MB, 512 bytes/sector, 2930277168 sectors
ohci0 at pci0 dev 18 function 0 "ATI SB700 USB" rev 0x00: apic 4 int 16, 
version 1.0, legacy support
ohci1 at pci0 dev 18 function 1 "ATI SB700 USB" rev 0x00: apic 4 int 16, 
version 1.0, legacy support
ehci0 at pci0 dev 18 function 2 "ATI SB700 USB2" rev 0x00: apic 4 int 17
usb1 at ehci0: USB revision 2.0
uhub1 at usb1 configuration 1 interface 0 "ATI EHCI root hub" rev 2.00/1.00 
addr 1
ohci2 at pci0 dev 19 function 0 "ATI SB700 USB" rev 0x00: apic 4 int 18, 
version 1.0, legacy support
ohci3 at pci0 dev 19 function 1 "ATI SB700 USB" rev 0x00: apic 4 int 18, 
version 1.0, legacy support
ehci1 at pci0 dev 19 function 2 "ATI SB700 USB2" rev 0x00: apic 4 int 19
usb2 at ehci1: USB revision 2.0
uhub2 at usb2 configuration 1 interface 0 "ATI EHCI root hub" rev 2.00/1.00 
addr 1
piixpm0 at pci0 dev 20 function 0 "ATI SBx00 SMBus" rev 0x3c: SMI
iic0 at piixpm0
iic0: addr 0x28 01=20 02=00 03=00 04=20 05=00 06=00 07=83 3e=03 41=20 42=00 
43=00 44=20 45=00 46=00 47=83 81=20 82=00 83=00 84=20 85=00 86=00 87=83 c1=20 
c2=00 c3=00 c4=20 c5=00 c6=00 c7=83 words 00=ff20 01=2000 02=0000 03=00ff 
04=20ff 05=00ff 06=00ff 07=ffff
spdmem0 at iic0 addr 0x52: 2GB DDR3 SDRAM PC3-10600
spdmem1 at iic0 addr 0x53: 2GB DDR3 SDRAM PC3-10600
pciide0 at pci0 dev 20 function 1 "ATI SB700 IDE" rev 0x00: DMA, channel 0 
configured to compatibility, channel 1 configured to compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus2 at atapiscsi0: 2 targets
cd0 at scsibus2 targ 0 lun 0: <_NEC, DVD_RW ND-4550A, 1.08> removable
cd0(pciide0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 2
azalia1 at pci0 dev 20 function 2 "ATI SBx00 HD Audio" rev 0x00: apic 4 int 16
azalia1: codecs: Realtek/0x0889
audio0 at azalia1
pcib0 at pci0 dev 20 function 3 "ATI SB700 ISA" rev 0x00
ppb3 at pci0 dev 20 function 4 "ATI SB600 PCI" rev 0x00
pci4 at ppb3 bus 4
ohci4 at pci4 dev 5 function 0 "Acer Labs M5237 USB" rev 0x03: apic 4 int 21, 
version 1.0, legacy support
ohci5 at pci4 dev 5 function 1 "Acer Labs M5237 USB" rev 0x03: apic 4 int 22, 
version 1.0, legacy support
ohci6 at pci4 dev 5 function 2 "Acer Labs M5237 USB" rev 0x03: apic 4 int 23, 
version 1.0, legacy support
ehci2 at pci4 dev 5 function 3 "Acer Labs M5239 USB2" rev 0x01: apic 4 int 20
usb3 at ehci2: USB revision 2.0
uhub3 at usb3 configuration 1 interface 0 "Acer Labs EHCI root hub" rev 
2.00/1.00 addr 1
puc0 at pci4 dev 6 function 0 "NetMos Nm9845" rev 0x01: ports: 16 com
com4 at puc0 port 0 apic 4 int 21: ns16550a, 16 byte fifo
com5 at puc0 port 1 apic 4 int 21: ns16550a, 16 byte fifo
com6 at puc0 port 2 apic 4 int 21: ns16550a, 16 byte fifo
com7 at puc0 port 3 apic 4 int 21: ns16550a, 16 byte fifo
com8 at puc0 port 4 apic 4 int 21: ns16550a, 16 byte fifo
com9 at puc0 port 5 apic 4 int 21: ns16550a, 16 byte fifo
usb4 at ohci4: USB revision 1.0
uhub4 at usb4 configuration 1 interface 0 "Acer Labs OHCI root hub" rev 
1.00/1.00 addr 1
usb5 at ohci5: USB revision 1.0
uhub5 at usb5 configuration 1 interface 0 "Acer Labs OHCI root hub" rev 
1.00/1.00 addr 1
usb6 at ohci6: USB revision 1.0
uhub6 at usb6 configuration 1 interface 0 "Acer Labs OHCI root hub" rev 
1.00/1.00 addr 1
ohci7 at pci0 dev 20 function 5 "ATI SB700 USB" rev 0x00: apic 4 int 18, 
version 1.0, legacy support
pchb1 at pci0 dev 24 function 0 "AMD AMD64 10h HyperTransport" rev 0x00
pchb2 at pci0 dev 24 function 1 "AMD AMD64 10h Address Map" rev 0x00
pchb3 at pci0 dev 24 function 2 "AMD AMD64 10h DRAM Cfg" rev 0x00
km0 at pci0 dev 24 function 3 "AMD AMD64 10h Misc Cfg" rev 0x00
pchb4 at pci0 dev 24 function 4 "AMD AMD64 10h Link Cfg" rev 0x00
usb7 at ohci0: USB revision 1.0
uhub7 at usb7 configuration 1 interface 0 "ATI OHCI root hub" rev 1.00/1.00 
addr 1
usb8 at ohci1: USB revision 1.0
uhub8 at usb8 configuration 1 interface 0 "ATI OHCI root hub" rev 1.00/1.00 
addr 1
usb9 at ohci2: USB revision 1.0
uhub9 at usb9 configuration 1 interface 0 "ATI OHCI root hub" rev 1.00/1.00 
addr 1
usb10 at ohci3: USB revision 1.0
uhub10 at usb10 configuration 1 interface 0 "ATI OHCI root hub" rev 1.00/1.00 
addr 1
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
usb11 at ohci7: USB revision 1.0
uhub11 at usb11 configuration 1 interface 0 "ATI OHCI root hub" rev 1.00/1.00 
addr 1
vmm0 at mainbus0: SVM/RVI
uhub12 at uhub0 port 1 configuration 1 interface 0 "VIA Labs USB2.0 Hub" rev 
2.10/4.20 addr 2
uhub13 at uhub12 port 1 configuration 1 interface 0 "Terminus Technology USB 
2.0 Hub [MTT]" rev 2.00/1.00 addr 3
uhub14 at uhub13 port 4 configuration 1 interface 0 "Genesys Logic USB2.0 Hub" 
rev 2.00/77.64 addr 4
uhub15 at uhub14 port 2 configuration 1 interface 0 "Chicony Generic USB Hub" 
rev 1.10/1.00 addr 5
uhidev0 at uhub15 port 1 configuration 1 interface 0 "Chicony PFU-65 USB 
Keyboard" rev 1.10/1.00 addr 6
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 variable keys, 6 key codes
wskbd1 at ukbd0 mux 1
ugen0 at uhub14 port 3 "Hewlett-Packard hp scanjet scanner" rev 2.00/3.05 addr 7
uhidev1 at uhub14 port 4 configuration 1 interface 0 "Logitech USB-PS/2 Optical 
Mouse" rev 2.00/27.20 addr 8
uhidev1: iclass 3/1
ums0 at uhidev1: 8 buttons, Z and W dir
wsmouse0 at ums0 mux 0
uslcom0 at uhub12 port 2 configuration 1 interface 0 "Silicon Labs CP2104 USB 
to UART Bridge Controller" rev 2.00/1.00 addr 9
ucom0 at uslcom0 portno 0
uslcom1 at uhub12 port 3 configuration 1 interface 0 "Silicon Labs CP2104 USB 
to UART Bridge Controller" rev 2.00/1.00 addr 10
ucom1 at uslcom1 portno 0
umass0 at uhub2 port 3 configuration 1 interface 0 "ENE Flash UB623X" rev 
2.00/1.00 addr 2
umass0: using SCSI over Bulk-Only
scsibus3 at umass0: 2 targets, initiator 0
sd4 at scsibus3 targ 1 lun 0: <USB2.0, CardReader CF, 0100> removable
sd5 at scsibus3 targ 1 lun 1: <USB2.0, CardReader SM XD, 0100> removable
sd6 at scsibus3 targ 1 lun 2: <USB2.0, CardReader MS, 0100> removable
sd7 at scsibus3 targ 1 lun 3: <USB2.0, CardReader SD, 0100> removable
vscsi0 at root
scsibus4 at vscsi0: 256 targets
softraid0 at root
scsibus5 at softraid0: 256 targets
softraid0: sd8 was not shutdown properly
sd8 at scsibus5 targ 1 lun 0: <OPENBSD, SR RAID 1, 006>
sd8: 1430796MB, 512 bytes/sector, 2930271472 sectors
softraid0: sd9 was not shutdown properly
sd9 at scsibus5 targ 2 lun 0: <OPENBSD, SR RAID 1, 006>
sd9: 238472MB, 512 bytes/sector, 488391473 sectors
root on sd9a (65031cd1c88ccbb2.a) swap on sd9b dump on sd9b
WARNING: / was not properly unmounted
initializing kernel modesetting (RS880 0x1002:0x9710 0x1462:0x7596 0x00).
radeondrm0: 1920x1080, 32bpp
wsdisplay0 at radeondrm0 mux 1: console (std, vt100 emulation), using wskbd0
wskbd1: connecting to wsdisplay0
wsdisplay0: screen 1-5 added (std, vt100 emulation)

Reply via email to