Display flickers after upgrade to 6.6

classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

Display flickers after upgrade to 6.6

Federico Giannici
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:

OpenBSD 6.6 (GENERIC.MP) #372: Sat Oct 12 10:56:27 MDT 2019
     [hidden email]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 12848857088 (12253MB)
avail mem = 12446736384 (11870MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf0100 (59 entries)
bios0: vendor Award Software International, Inc. version "F7" date
10/13/2011
bios0: Gigabyte Technology Co., Ltd. GA-970A-D3
acpi0 at bios0: ACPI 1.0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP MSDM HPET MCFG MATS TAMG APIC MATS SSDT
acpi0: wakeup devices PCI0(S5) USB0(S3) USB1(S3) USB2(S3) USB3(S3)
USB4(S3) USB5(S3) USB6(S3) SBAZ(S4) PEX0(S5) PEX1(S5) PEX2(S5) PEX3(S5)
P2P_(S5) PCE2(S4) PCE3(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpihpet0 at acpi0: 14318180 Hz
acpimcfg0 at acpi0
acpimcfg0: addr 0xe0000000, bus 0-255
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD FX(tm)-4100 Quad-Core Processor, 3624.66 MHz, 15-01-02
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,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TOPEXT,CPCTR,ITSC
cpu0: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB
64b/line 16-way L2 cache, 8MB 64b/line 64-way L3 cache
cpu0: ITLB 48 4KB entries fully associative, 24 4MB entries fully
associative
cpu0: DTLB 32 4KB entries fully associative, 32 4MB entries fully
associative
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 201MHz
cpu0: mwait min=64, max=64, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD FX(tm)-4100 Quad-Core Processor, 3624.19 MHz, 15-01-02
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,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TOPEXT,CPCTR,ITSC
cpu1: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB
64b/line 16-way L2 cache, 8MB 64b/line 64-way L3 cache
cpu1: ITLB 48 4KB entries fully associative, 24 4MB entries fully
associative
cpu1: DTLB 32 4KB entries fully associative, 32 4MB entries fully
associative
cpu1: smt 1, core 0, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: AMD FX(tm)-4100 Quad-Core Processor, 3624.20 MHz, 15-01-02
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,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TOPEXT,CPCTR,ITSC
cpu2: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB
64b/line 16-way L2 cache, 8MB 64b/line 64-way L3 cache
cpu2: ITLB 48 4KB entries fully associative, 24 4MB entries fully
associative
cpu2: DTLB 32 4KB entries fully associative, 32 4MB entries fully
associative
cpu2: smt 0, core 1, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: AMD FX(tm)-4100 Quad-Core Processor, 3624.19 MHz, 15-01-02
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,PCLMUL,MWAIT,SSSE3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,NODEID,TOPEXT,CPCTR,ITSC
cpu3: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 2MB
64b/line 16-way L2 cache, 8MB 64b/line 64-way L3 cache
cpu3: ITLB 48 4KB entries fully associative, 24 4MB entries fully
associative
cpu3: DTLB 32 4KB entries fully associative, 32 4MB entries fully
associative
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 8 pa 0xfec00000, version 21, 24 pins, remapped
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 5 (PEX0)
acpiprt2 at acpi0: bus -1 (PEX1)
acpiprt3 at acpi0: bus -1 (PEX2)
acpiprt4 at acpi0: bus -1 (PEX3)
acpiprt5 at acpi0: bus 4 (P2P_)
acpiprt6 at acpi0: bus 1 (PCE2)
acpiprt7 at acpi0: bus -1 (PCE3)
acpiprt8 at acpi0: bus 2 (PCE4)
acpiprt9 at acpi0: bus -1 (PCE5)
acpiprt10 at acpi0: bus -1 (PCE6)
acpiprt11 at acpi0: bus -1 (PCE7)
acpiprt12 at acpi0: bus 3 (PCE9)
acpiprt13 at acpi0: bus -1 (PCEA)
acpiprt14 at acpi0: bus -1 (PCEB)
acpiprt15 at acpi0: bus -1 (PCEC)
acpiprt16 at acpi0: bus -1 (PCED)
acpicpu0 at acpi0: C2(0@100 io@0x841), C1(@1 halt!), PSS
acpicpu1 at acpi0: C2(0@100 io@0x841), C1(@1 halt!), PSS
acpicpu2 at acpi0: C2(0@100 io@0x841), C1(@1 halt!), PSS
acpicpu3 at acpi0: C2(0@100 io@0x841), C1(@1 halt!), PSS
acpibtn0 at acpi0: PWRB
acpipci0 at acpi0 PCI0: _OSC failed
acpicmos0 at acpi0
"PNP0C14" at acpi0 not configured
cpu0: 3624 MHz: speeds: 3600 3300 2500 1700 1400 MHz
pci0 at mainbus0 bus 0
0:0:0: mem address conflict 0xe0000000/0x20000000
pchb0 at pci0 dev 0 function 0 vendor "ATI", unknown product 0x5a14 rev 0x02
ppb0 at pci0 dev 2 function 0 "ATI SR5690 PCIE" rev 0x00: msi
pci1 at ppb0 bus 1
radeondrm0 at pci1 dev 0 function 0 "ATI Radeon HD 8500" rev 0x87
drm0 at radeondrm0
radeondrm0: msi
azalia0 at pci1 dev 0 function 1 "ATI Radeon HD 7700 Audio" rev 0x00: msi
azalia0: no supported codecs
ppb1 at pci0 dev 4 function 0 "ATI SR5690 PCIE" rev 0x00: msi
pci2 at ppb1 bus 2
xhci0 at pci2 dev 0 function 0 "Etron EJ168 xHCI" rev 0x01: msi, xHCI 1.0
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 configuration 1 interface 0 "Etron xHCI root hub" rev
3.00/1.00 addr 1
ppb2 at pci0 dev 9 function 0 "ATI SR5690 PCIE" rev 0x00: msi
pci3 at ppb2 bus 3
re0 at pci3 dev 0 function 0 "Realtek 8168" rev 0x06: RTL8168E/8111E-VL
(0x2c80), msi, address 90:2b:34:14:b4:db
rgephy0 at re0 phy 7: RTL8169S/8110S/8211 PHY, rev. 5
ahci0 at pci0 dev 17 function 0 "ATI SBx00 SATA" rev 0x40: apic 8 int
19, AHCI 1.2
ahci0: port 0: 6.0Gb/s
ahci0: port 1: 6.0Gb/s
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0: <ATA, Samsung SSD 850, EMT0>
naa.5002538da0264cef
sd0: 238475MB, 512 bytes/sector, 488397168 sectors, thin
sd1 at scsibus1 targ 1 lun 0: <ATA, Samsung SSD 850, EMT0>
naa.5002538da0264cee
sd1: 238475MB, 512 bytes/sector, 488397168 sectors, thin
ohci0 at pci0 dev 18 function 0 "ATI SB700 USB" rev 0x00: apic 8 int 18,
version 1.0, legacy support
ehci0 at pci0 dev 18 function 2 "ATI SB700 USB2" rev 0x00: apic 8 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
ohci1 at pci0 dev 19 function 0 "ATI SB700 USB" rev 0x00: apic 8 int 18,
version 1.0, legacy support
ehci1 at pci0 dev 19 function 2 "ATI SB700 USB2" rev 0x00: apic 8 int 17
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 0x42: polling
iic0 at piixpm0
spdmem0 at iic0 addr 0x50: 4GB DDR3 SDRAM PC3-10600
spdmem1 at iic0 addr 0x51: 4GB DDR3 SDRAM PC3-10600
spdmem2 at iic0 addr 0x52: 2GB DDR3 SDRAM PC3-10600
spdmem3 at iic0 addr 0x53: 2GB DDR3 SDRAM PC3-10600
azalia1 at pci0 dev 20 function 2 "ATI SBx00 HD Audio" rev 0x40: apic 8
int 16
azalia1: codecs: Realtek/0x0889
audio0 at azalia1
pcib0 at pci0 dev 20 function 3 "ATI SB700 ISA" rev 0x40
ppb3 at pci0 dev 20 function 4 "ATI SB600 PCI" rev 0x40
pci4 at ppb3 bus 4
skc0 at pci4 dev 7 function 0 "D-Link DGE-530T B1" rev 0x11, Yukon Lite
(0x9): apic 8 int 21
sk0 at skc0 port A: address 00:1b:11:17:40:e6
eephy0 at sk0 phy 0: 88E1011 Gigabit PHY, rev. 5
ohci2 at pci0 dev 20 function 5 "ATI SB700 USB" rev 0x00: apic 8 int 18,
version 1.0, legacy support
ppb4 at pci0 dev 21 function 0 "ATI SB800 PCIE" rev 0x00: msi
pci5 at ppb4 bus 5
ohci3 at pci0 dev 22 function 0 "ATI SB700 USB" rev 0x00: apic 8 int 18,
version 1.0, legacy support
ehci2 at pci0 dev 22 function 2 "ATI SB700 USB2" rev 0x00: apic 8 int 17
usb3 at ehci2: USB revision 2.0
uhub3 at usb3 configuration 1 interface 0 "ATI EHCI root hub" rev
2.00/1.00 addr 1
pchb1 at pci0 dev 24 function 0 "AMD AMD64 15/0xh Link Cfg" rev 0x00
pchb2 at pci0 dev 24 function 1 "AMD AMD64 15/0xh Address Map" rev 0x00
pchb3 at pci0 dev 24 function 2 "AMD AMD64 15/0xh DRAM Cfg" rev 0x00
km0 at pci0 dev 24 function 3 "AMD AMD64 15/0xh Misc Cfg" rev 0x00
pchb4 at pci0 dev 24 function 4 "AMD AMD64 15/0xh CPU Power" rev 0x00
pchb5 at pci0 dev 24 function 5 "AMD AMD64 15/0xh Host" rev 0x00
usb4 at ohci0: USB revision 1.0
uhub4 at usb4 configuration 1 interface 0 "ATI OHCI root hub" rev
1.00/1.00 addr 1
usb5 at ohci1: USB revision 1.0
uhub5 at usb5 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
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
it0 at isa0 port 0x2e/2: IT8720F rev 8, EC port 0x228
usb6 at ohci2: USB revision 1.0
uhub6 at usb6 configuration 1 interface 0 "ATI OHCI root hub" rev
1.00/1.00 addr 1
usb7 at ohci3: USB revision 1.0
uhub7 at usb7 configuration 1 interface 0 "ATI OHCI root hub" rev
1.00/1.00 addr 1
uhidev0 at uhub4 port 1 configuration 1 interface 0 "Cooler Master
Technology Inc. MASTERKEYS PRO L with intelligent RGB" rev 1.10/21.04 addr 2
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 variable keys, 6 key codes
wskbd0 at ukbd0: console keyboard
uhidev1 at uhub4 port 1 configuration 1 interface 1 "Cooler Master
Technology Inc. MASTERKEYS PRO L with intelligent RGB" rev 1.10/21.04 addr 2
uhidev1: iclass 3/0
uhid0 at uhidev1: input=64, output=64, feature=0
uhidev2 at uhub4 port 1 configuration 1 interface 2 "Cooler Master
Technology Inc. MASTERKEYS PRO L with intelligent RGB" rev 1.10/21.04 addr 2
uhidev2: iclass 3/0, 4 report ids
uhid1 at uhidev2 reportid 1: input=1, output=0, feature=0
uhid2 at uhidev2 reportid 2: input=4, output=0, feature=0
ukbd1 at uhidev2 reportid 4: no usable key codes array
uhidev3 at uhub4 port 2 configuration 1 interface 0 "Logitech USB
Optical Mouse" rev 2.00/72.00 addr 3
uhidev3: iclass 3/1
ums0 at uhidev3: 3 buttons, Z dir
wsmouse0 at ums0 mux 0
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
sd2 at scsibus3 targ 1 lun 0: <OPENBSD, SR RAID 1, 006>
sd2: 238472MB, 512 bytes/sector, 488391473 sectors
root on sd2a (409ffd737f4265d7.a) swap on sd2b dump on sd2b
initializing kernel modesetting (OLAND 0x1002:0x6613 0x1043:0x048B 0x87).
drm:pid0:si_vce_start *ERROR* failed VCE resume (-60).
radeondrm0: 1920x1080, 32bpp
wsdisplay0 at radeondrm0 mux 1: console (std, vt100 emulation), using wskbd0
wsdisplay0: screen 1-5 added (std, vt100 emulation)
acpi0: PM1 stuck (en 0x121 st 0x1), clearing

Reply | Threaded
Open this post in threaded view
|

Re: Display flickers after upgrade to 6.6

Stefan Sperling-5
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
    [hidden email]:/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 | Threaded
Open this post in threaded view
|

Re: Display flickers after upgrade to 6.6

Stefan Sperling-5
On Sat, Oct 19, 2019 at 03:18:53PM +0200, Stefan Sperling wrote:

> 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.

Something else which could be relevant is that xfce now ships its
own screensaver. This screensaver shows the desktop background by default.

I already tried disabling it in settings but the xfce4-screensaver process
remains active even when the screensaver is disabled.

Reply | Threaded
Open this post in threaded view
|

Re: Display flickers after upgrade to 6.6

Andre Stoebe
In reply to this post by Stefan Sperling-5
Hi,

I ran into the same issue this morning. Disabling the compositor worked
for me, but I noticed later that this is also documented in the package
readme:

Screen compositor
=================
If you're using the modesetting X driver and experience window
flickering when
the compositor is enabled, you should force the window manager to use the
XPresent method for vblank:

$xfwm4 --vblank=xpresent --replace &

This is documented upstream at
https://git.xfce.org/xfce/xfwm4/tree/COMPOSITOR#n114

Haven't tested that yet and left the compositor disabled, but I guess
this will fix your issues. If it does, that's probably a good reminder
to first look in the readme next time (me included). ;)

Regards,
André

Reply | Threaded
Open this post in threaded view
|

Re: Display flickers after upgrade to 6.6

Stefan Sperling-5

On Sat, Oct 19, 2019 at 04:17:15PM +0200, Andre Stoebe wrote:
> Hi,
>
> I ran into the same issue this morning. Disabling the compositor worked
> for me, but I noticed later that this is also documented in the package
> readme:

Thanks! Trying that now.
 

> Screen compositor
> =================
> If you're using the modesetting X driver and experience window
> flickering when
> the compositor is enabled, you should force the window manager to use the
> XPresent method for vblank:
>
> $xfwm4 --vblank=xpresent --replace &
>
> This is documented upstream at
> https://git.xfce.org/xfce/xfwm4/tree/COMPOSITOR#n114
>
> Haven't tested that yet and left the compositor disabled, but I guess
> this will fix your issues. If it does, that's probably a good reminder
> to first look in the readme next time (me included). ;)
>
> Regards,
> André
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Display flickers after upgrade to 6.6

Federico Giannici
In reply to this post by Andre Stoebe
On 2019-10-19 16:17, Andre Stoebe wrote:

> Hi,
>
> I ran into the same issue this morning. Disabling the compositor worked
> for me, but I noticed later that this is also documented in the package
> readme:
>
> Screen compositor
> =================
> If you're using the modesetting X driver and experience window
> flickering when
> the compositor is enabled, you should force the window manager to use the
> XPresent method for vblank:
>
> $xfwm4 --vblank=xpresent --replace &

I tried that command but it screwed all my windows (no more window
decorations and buttons, I cannot operate on windows)!
Now I had to came back to KDE...
:-(

Regards


> This is documented upstream at
> https://git.xfce.org/xfce/xfwm4/tree/COMPOSITOR#n114
>
> Haven't tested that yet and left the compositor disabled, but I guess
> this will fix your issues. If it does, that's probably a good reminder
> to first look in the readme next time (me included). ;)
>
> Regards,
> André
>

Reply | Threaded
Open this post in threaded view
|

Re: Display flickers after upgrade to 6.6

Federico Giannici
On 2019-10-19 17:59, Federico Giannici wrote:

> On 2019-10-19 16:17, Andre Stoebe wrote:
>> Hi,
>>
>> I ran into the same issue this morning. Disabling the compositor worked
>> for me, but I noticed later that this is also documented in the package
>> readme:
>>
>> Screen compositor
>> =================
>> If you're using the modesetting X driver and experience window
>> flickering when
>> the compositor is enabled, you should force the window manager to use the
>> XPresent method for vblank:
>>
>> $xfwm4 --vblank=xpresent --replace &
>
> I tried that command but it screwed all my windows (no more window
> decorations and buttons, I cannot operate on windows)!
> Now I had to came back to KDE...
> :-(

Solved!
The problem was I executed that command as root.

Sorry for the inconvenience.


> Regards
>
>
>> This is documented upstream at
>> https://git.xfce.org/xfce/xfwm4/tree/COMPOSITOR#n114
>>
>> Haven't tested that yet and left the compositor disabled, but I guess
>> this will fix your issues. If it does, that's probably a good reminder
>> to first look in the readme next time (me included). ;)
>>
>> Regards,
>> André
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: Display flickers after upgrade to 6.6

Jeff-3
In reply to this post by Federico Giannici
On Sat, 19 Oct 2019 17:59:41 +0200
Federico Giannici <[hidden email]> wrote:

> On 2019-10-19 16:17, Andre Stoebe wrote:
> > Hi,
> >
> > I ran into the same issue this morning. Disabling the compositor
> > worked for me, but I noticed later that this is also documented in
> > the package readme:
> >
> > Screen compositor
> > =================
> > If you're using the modesetting X driver and experience window
> > flickering when
> > the compositor is enabled, you should force the window manager to
> > use the XPresent method for vblank:
> >
> > $xfwm4 --vblank=xpresent --replace &  
>
> I tried that command but it screwed all my windows (no more window
> decorations and buttons, I cannot operate on windows)!
> Now I had to came back to KDE...
> :-(
>
> Regards
>
>
> > This is documented upstream at
> > https://git.xfce.org/xfce/xfwm4/tree/COMPOSITOR#n114
> >
> > Haven't tested that yet and left the compositor disabled, but I
> > guess this will fix your issues. If it does, that's probably a good
> > reminder to first look in the readme next time (me included). ;)
> >
> > Regards,
> > André
> >  

Hi, I thought I'd relate my experience: I also experienced this issue on
a machine recently upgraded to OpenBSD 6.6 which uses the aruba
chipset and also running xfce.  My workaround
(which was based on 'try stuff to see what works') involved turning off
compositing and
(via xorg.conf.d):

...
Option "AccelMethod" "EXA"
Option "ShadowPrimary" "on"
Option "SwapbuffersWait" "off"
Option "EnablePageFlip" "off"
...

This resolved issues with flickering, the mouse pointer vanishing and
re-appearing depending on which window is below the pointer (enabling
software mouse pointer for this was worse as garbage was rendered in a
rect surrounding the pointer), and also *some* issues with logging
in-out of an X session via xenodm.

I still experience problems with the machine going to sleep and waking
up, as sometimes, upon wake-up, the graphics go wonky, or don't update
at all, or the mouse pointer goes wonky.

Beyond the aforementioned, this set-up seems to allow me to use the
machine as before, however, I am not an X11 expert nor a radeondrm
driver expert; your mileage may very.

If I ever try Andre's hint in the future (thank-you), I might report on
success/failure.

regards,

Jeff

Reply | Threaded
Open this post in threaded view
|

Re: Display flickers after upgrade to 6.6

Patrick Harper
I haven't tried those settings yet (in my case GNOME Shell and Xfdashboard cause the display to corrupt and seize up except the cursor) but ShadowPrimary is a glamor option that should be irrelevant if EXA is used.

For years I've also observed text flickering in the console after drm is loaded, but in 6.5 and prior 3D-accelerated stuff was usable. Cayman should be fine with 8 million pixels.

--
  Patrick Harper
  [hidden email]

On Wed, 30 Oct 2019, at 13:12, Jeff wrote:

> On Sat, 19 Oct 2019 17:59:41 +0200
> Federico Giannici <[hidden email]> wrote:
>
> > On 2019-10-19 16:17, Andre Stoebe wrote:
> > > Hi,
> > >
> > > I ran into the same issue this morning. Disabling the compositor
> > > worked for me, but I noticed later that this is also documented in
> > > the package readme:
> > >
> > > Screen compositor
> > > =================
> > > If you're using the modesetting X driver and experience window
> > > flickering when
> > > the compositor is enabled, you should force the window manager to
> > > use the XPresent method for vblank:
> > >
> > > $xfwm4 --vblank=xpresent --replace &  
> >
> > I tried that command but it screwed all my windows (no more window
> > decorations and buttons, I cannot operate on windows)!
> > Now I had to came back to KDE...
> > :-(
> >
> > Regards
> >
> >
> > > This is documented upstream at
> > > https://git.xfce.org/xfce/xfwm4/tree/COMPOSITOR#n114
> > >
> > > Haven't tested that yet and left the compositor disabled, but I
> > > guess this will fix your issues. If it does, that's probably a good
> > > reminder to first look in the readme next time (me included). ;)
> > >
> > > Regards,
> > > André
> > >  
>
> Hi, I thought I'd relate my experience: I also experienced this issue on
> a machine recently upgraded to OpenBSD 6.6 which uses the aruba
> chipset and also running xfce.  My workaround
> (which was based on 'try stuff to see what works') involved turning off
> compositing and
> (via xorg.conf.d):
>
> ...
> Option "AccelMethod" "EXA"
> Option "ShadowPrimary" "on"
> Option "SwapbuffersWait" "off"
> Option "EnablePageFlip" "off"
> ...
>
> This resolved issues with flickering, the mouse pointer vanishing and
> re-appearing depending on which window is below the pointer (enabling
> software mouse pointer for this was worse as garbage was rendered in a
> rect surrounding the pointer), and also *some* issues with logging
> in-out of an X session via xenodm.
>
> I still experience problems with the machine going to sleep and waking
> up, as sometimes, upon wake-up, the graphics go wonky, or don't update
> at all, or the mouse pointer goes wonky.
>
> Beyond the aforementioned, this set-up seems to allow me to use the
> machine as before, however, I am not an X11 expert nor a radeondrm
> driver expert; your mileage may very.
>
> If I ever try Andre's hint in the future (thank-you), I might report on
> success/failure.
>
> regards,
>
> Jeff
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Display flickers after upgrade to 6.6

Patrick Harper
I can confirm that switching to EXA made GNOME usable. This'll only work up to Northern Islands cards/IGPs though.

Guess I'll be holding off of a GPU upgrade for a while longer.

--
  Patrick Harper
  [hidden email]

On Thu, 31 Oct 2019, at 13:47, Patrick Harper wrote:

> I haven't tried those settings yet (in my case GNOME Shell and
> Xfdashboard cause the display to corrupt and seize up except the
> cursor) but ShadowPrimary is a glamor option that should be irrelevant
> if EXA is used.
>
> For years I've also observed text flickering in the console after drm
> is loaded, but in 6.5 and prior 3D-accelerated stuff was usable. Cayman
> should be fine with 8 million pixels.
>
> --
>   Patrick Harper
>   [hidden email]
>
> On Wed, 30 Oct 2019, at 13:12, Jeff wrote:
> > On Sat, 19 Oct 2019 17:59:41 +0200
> > Federico Giannici <[hidden email]> wrote:
> >
> > > On 2019-10-19 16:17, Andre Stoebe wrote:
> > > > Hi,
> > > >
> > > > I ran into the same issue this morning. Disabling the compositor
> > > > worked for me, but I noticed later that this is also documented in
> > > > the package readme:
> > > >
> > > > Screen compositor
> > > > =================
> > > > If you're using the modesetting X driver and experience window
> > > > flickering when
> > > > the compositor is enabled, you should force the window manager to
> > > > use the XPresent method for vblank:
> > > >
> > > > $xfwm4 --vblank=xpresent --replace &  
> > >
> > > I tried that command but it screwed all my windows (no more window
> > > decorations and buttons, I cannot operate on windows)!
> > > Now I had to came back to KDE...
> > > :-(
> > >
> > > Regards
> > >
> > >
> > > > This is documented upstream at
> > > > https://git.xfce.org/xfce/xfwm4/tree/COMPOSITOR#n114
> > > >
> > > > Haven't tested that yet and left the compositor disabled, but I
> > > > guess this will fix your issues. If it does, that's probably a good
> > > > reminder to first look in the readme next time (me included). ;)
> > > >
> > > > Regards,
> > > > André
> > > >  
> >
> > Hi, I thought I'd relate my experience: I also experienced this issue on
> > a machine recently upgraded to OpenBSD 6.6 which uses the aruba
> > chipset and also running xfce.  My workaround
> > (which was based on 'try stuff to see what works') involved turning off
> > compositing and
> > (via xorg.conf.d):
> >
> > ...
> > Option "AccelMethod" "EXA"
> > Option "ShadowPrimary" "on"
> > Option "SwapbuffersWait" "off"
> > Option "EnablePageFlip" "off"
> > ...
> >
> > This resolved issues with flickering, the mouse pointer vanishing and
> > re-appearing depending on which window is below the pointer (enabling
> > software mouse pointer for this was worse as garbage was rendered in a
> > rect surrounding the pointer), and also *some* issues with logging
> > in-out of an X session via xenodm.
> >
> > I still experience problems with the machine going to sleep and waking
> > up, as sometimes, upon wake-up, the graphics go wonky, or don't update
> > at all, or the mouse pointer goes wonky.
> >
> > Beyond the aforementioned, this set-up seems to allow me to use the
> > machine as before, however, I am not an X11 expert nor a radeondrm
> > driver expert; your mileage may very.
> >
> > If I ever try Andre's hint in the future (thank-you), I might report on
> > success/failure.
> >
> > regards,
> >
> > Jeff
> >
> >
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Display flickers after upgrade to 6.6

Jeff-3
In reply to this post by Patrick Harper
On Thu, 31 Oct 2019 13:47:06 +0000
"Patrick Harper" <[hidden email]> wrote:

> I haven't tried those settings yet (in my case GNOME Shell and
> Xfdashboard cause the display to corrupt and seize up except the
> cursor) but ShadowPrimary is a glamor option that should be
> irrelevant if EXA is used.

Thanks, my mistake, ShadowPrimary is a glamor-only option; this is
clear from the radeon (4) man page; I believe I toggled this prior to
switching to EXA in the hope that it would fix the corruption seen when
I had previously toggled "SWcursor" in order to fix the mouse cursor
vanishing when over certain widgets; this didn't help in my case
(radeon/aruba/xfce).

If anyone wants to try the changes I suggested, they can surely leave
out the ShadowPrimary option.

Toggling SwapbuffersWait and EnablePageFlip (to "off") was an attempt
to eliminate some remaining 'rarely' flicker seen; it *seemed* to help,
but I haven't spent a lot of time investigating, my goal was to get the
machine usable again.

The idea behind "EnablePageFlip" to "off" is that it seemed to look
like graphic content was being rendered for some windows/widgets on one
backbuffer but not on the other (again, I'm only speculating, as I
don't know what's really going on under the hood), so that the content
'flickers' when page flipping is happening. This *could* be the result
of a render operation succeeding for one back-buffer and failing for
another; I don't really know.

The idea behind "SwapbuffersWait" to "off" falls in the random guess
category.  I think one would expect to maybe see some tearing
for GL applications if this option wasn't working correctly; but, I
could also see how a fault here could lead to flickering (depending on
the implementation), but is probably unlikely.  I think changing this
option may also have no effect.

P.S. / Aside:

For anyone experiencing graphics issues after installing 6.6,
it might be a good idea to ensure that, if needed:

machdep.allowaperture is set to the correct value (see: man xf86) for
your system (and please be aware of the security implications of
changing this value).

regards,

Jeff

Reply | Threaded
Open this post in threaded view
|

Re: Display flickers after upgrade to 6.6

Reheis Claus
The

xfwm4 --vblank=xpresent --replace &

did fix this for me until last update made the problem gone for me
permanently!

Thx

Here is my dmesg:

OpenBSD 6.6 (GENERIC.MP) #0: Sat Oct 26 08:08:07 MDT 2019
[hidden email]:/usr/src/sys/arch/amd64/compile/
GENERIC.MP
real mem = 8468377600 (8076MB)
avail mem = 8199020544 (7819MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xec1b0 (28 entries)
bios0: vendor American Megatrends Inc. version "UX303LAB.210" date
08/25/2015
bios0: ASUSTeK COMPUTER INC. UX303LAB
acpi0 at bios0: ACPI 5.0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC FPDT FIDT ECDT MCFG HPET SSDT UEFI SSDT ASF!
SSDT SSDT TPM2 SSDT SSDT SSDT PCCT SSDT SSDT DMAR BGRT
acpi0: wakeup devices PEG0(S4) PEGP(S4) PEG1(S4) PEGP(S4) PEG2(S4) PEGP(S4)
RP01(S4) RP02(S4) RP03(S4) RP04(S4) RP05(S4) RP06(S4) RP07(S4) RP08(S4)
GLAN(S4) EHC1(S3) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz, 2494.68 MHz, 06-3d-04
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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,PT,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz, 2494.24 MHz, 06-3d-04
cpu1:
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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,PT,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 1 (application processor)
cpu2: Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz, 2494.23 MHz, 06-3d-04
cpu2:
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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,PT,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 1, core 0, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz, 2494.23 MHz, 06-3d-04
cpu3:
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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,RDSEED,ADX,SMAP,PT,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 40 pins
acpimadt0: bogus nmi for apid 0
acpimadt0: bogus nmi for apid 2
acpimadt0: bogus nmi for apid 1
acpimadt0: bogus nmi for apid 3
acpiec0 at acpi0
acpimcfg0 at acpi0
acpimcfg0: addr 0xf8000000, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG0)
acpiprt2 at acpi0: bus -1 (PEG1)
acpiprt3 at acpi0: bus -1 (PEG2)
acpiprt4 at acpi0: bus 1 (RP01)
acpiprt5 at acpi0: bus -1 (RP02)
acpiprt6 at acpi0: bus -1 (RP03)
acpiprt7 at acpi0: bus 2 (RP04)
acpiprt8 at acpi0: bus -1 (RP05)
acpiprt9 at acpi0: bus -1 (RP06)
acpiprt10 at acpi0: bus -1 (RP07)
acpiprt11 at acpi0: bus -1 (RP08)
acpicpu0 at acpi0: C3(200@506 mwait.1@0x60), C2(200@148 mwait.1@0x33),
C1(1000@1 mwait.1), PSS
acpicpu1 at acpi0: C3(200@506 mwait.1@0x60), C2(200@148 mwait.1@0x33),
C1(1000@1 mwait.1), PSS
acpicpu2 at acpi0: C3(200@506 mwait.1@0x60), C2(200@148 mwait.1@0x33),
C1(1000@1 mwait.1), PSS
acpicpu3 at acpi0: C3(200@506 mwait.1@0x60), C2(200@148 mwait.1@0x33),
C1(1000@1 mwait.1), PSS
acpipwrres0 at acpi0: PG00, resource for PEG0
acpipwrres1 at acpi0: PG01, resource for PEG1
acpipwrres2 at acpi0: PG02, resource for PEG2
acpitz0 at acpi0: critical temperature is 108 degC
acpipwrres3 at acpi0: FN00, resource for FAN0
acpipwrres4 at acpi0: FN01, resource for FAN1
acpipwrres5 at acpi0: FN02, resource for FAN2
acpipwrres6 at acpi0: FN03, resource for FAN3
acpipwrres7 at acpi0: FN04, resource for FAN4
acpitz1 at acpi0: critical temperature is 105 degC
acpitz2 at acpi0: critical temperature is 105 degC
acpipci0 at acpi0 PCI0: 0x00000000 0x00000011 0x00000001
"FLT0102" at acpi0 not configured
"ATK3001" at acpi0 not configured
acpicmos0 at acpi0
acpiac0 at acpi0: AC unit online
acpibat0 at acpi0: BAT0 model "ASUS Battery" serial   type LIon oem
"ASUSTeK"
"PNP0C14" at acpi0 not configured
"ATK4002" at acpi0 not configured
acpials0 at acpi0: ALS_
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
"MSFT0101" at acpi0 not configured
"INT3400" at acpi0 not configured
"INT340F" at acpi0 not configured
"PNP0C0B" at acpi0 not configured
"PNP0C0B" at acpi0 not configured
"PNP0C0B" at acpi0 not configured
"PNP0C0B" at acpi0 not configured
"PNP0C0B" at acpi0 not configured
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: LCDD
cpu0: using VERW MDS workaround (except on vmm entry)
cpu0: Enhanced SpeedStep 2494 MHz: speeds: 2201, 2200, 2100, 2000, 1800,
1700, 1600, 1500, 1300, 1200, 1100, 1000, 900, 700, 600, 500 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core 5G Host" rev 0x09
inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics 5500" rev 0x09
drm0 at inteldrm0
inteldrm0: msi
azalia0 at pci0 dev 3 function 0 "Intel Core 5G HD Audio" rev 0x09: msi
azalia0: No codecs found
"Intel Core 5G Thermal" rev 0x09 at pci0 dev 4 function 0 not configured
xhci0 at pci0 dev 20 function 0 "Intel 9 Series xHCI" rev 0x03: msi, xHCI
1.0
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev
3.00/1.00 addr 1
"Intel 9 Series MEI" rev 0x03 at pci0 dev 22 function 0 not configured
azalia1 at pci0 dev 27 function 0 "Intel 9 Series HD Audio" rev 0x03: msi
azalia1: codecs: Conexant/0x510f
audio0 at azalia1
ppb0 at pci0 dev 28 function 0 "Intel 9 Series PCIE" rev 0xe3
pci1 at ppb0 bus 1
ppb1 at pci0 dev 28 function 3 "Intel 9 Series PCIE" rev 0xe3: msi
pci2 at ppb1 bus 2
iwm0 at pci2 dev 0 function 0 "Intel Dual Band Wireless AC 7265" rev 0x48,
msi
pcib0 at pci0 dev 31 function 0 "Intel 9 Series LPC" rev 0x03
ahci0 at pci0 dev 31 function 2 "Intel 9 Series AHCI" rev 0x03: msi, AHCI
1.3
ahci0: port 0: 6.0Gb/s
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0: <ATA, SanDisk SD7SB3Q2, X215>
naa.5001b44c8693380a
sd0: 244198MB, 512 bytes/sector, 500118192 sectors, thin
ichiic0 at pci0 dev 31 function 3 "Intel 9 Series SMBus" rev 0x03: apic 2
int 18
iic0 at ichiic0
spdmem0 at iic0 addr 0x52: 4GB DDR3 SDRAM PC3-12800 SO-DIMM
pchtemp0 at pci0 dev 31 function 6 "Intel 9 Series Thermal" rev 0x03
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard
pms0 at pckbc0 (aux slot)
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
vmm0 at mainbus0: VMX/EPT
efifb at mainbus0 not configured
uhidev0 at uhub0 port 1 configuration 1 interface 0 "HOLTEK USB Wireless
Device" rev 2.00/4.03 addr 2
uhidev0: iclass 3/1
ums0 at uhidev0: 5 buttons, Z dir
wsmouse1 at ums0 mux 0
uvideo0 at uhub0 port 5 configuration 1 interface 0 "SuYin USB2.0 UVC HD
Webcam" rev 2.00/1.01 addr 3
video0 at uvideo0
ugen0 at uhub0 port 8 "Intel Bluetooth" rev 2.01/0.01 addr 4
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on sd0a (b276eaf75aa6aeaa.a) swap on sd0b dump on sd0b
inteldrm0: 1366x768, 32bpp
wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation), using wskbd0
wsdisplay0: screen 1-5 added (std, vt100 emulation)
iwm0: hw rev 0x180, fw ver 16.242414.0, address 60:57:18:82:b7:98


Am Fr., 1. Nov. 2019 um 14:02 Uhr schrieb Jeff <[hidden email]>:

> On Thu, 31 Oct 2019 13:47:06 +0000
> "Patrick Harper" <[hidden email]> wrote:
>
> > I haven't tried those settings yet (in my case GNOME Shell and
> > Xfdashboard cause the display to corrupt and seize up except the
> > cursor) but ShadowPrimary is a glamor option that should be
> > irrelevant if EXA is used.
>
> Thanks, my mistake, ShadowPrimary is a glamor-only option; this is
> clear from the radeon (4) man page; I believe I toggled this prior to
> switching to EXA in the hope that it would fix the corruption seen when
> I had previously toggled "SWcursor" in order to fix the mouse cursor
> vanishing when over certain widgets; this didn't help in my case
> (radeon/aruba/xfce).
>
> If anyone wants to try the changes I suggested, they can surely leave
> out the ShadowPrimary option.
>
> Toggling SwapbuffersWait and EnablePageFlip (to "off") was an attempt
> to eliminate some remaining 'rarely' flicker seen; it *seemed* to help,
> but I haven't spent a lot of time investigating, my goal was to get the
> machine usable again.
>
> The idea behind "EnablePageFlip" to "off" is that it seemed to look
> like graphic content was being rendered for some windows/widgets on one
> backbuffer but not on the other (again, I'm only speculating, as I
> don't know what's really going on under the hood), so that the content
> 'flickers' when page flipping is happening. This *could* be the result
> of a render operation succeeding for one back-buffer and failing for
> another; I don't really know.
>
> The idea behind "SwapbuffersWait" to "off" falls in the random guess
> category.  I think one would expect to maybe see some tearing
> for GL applications if this option wasn't working correctly; but, I
> could also see how a fault here could lead to flickering (depending on
> the implementation), but is probably unlikely.  I think changing this
> option may also have no effect.
>
> P.S. / Aside:
>
> For anyone experiencing graphics issues after installing 6.6,
> it might be a good idea to ensure that, if needed:
>
> machdep.allowaperture is set to the correct value (see: man xf86) for
> your system (and please be aware of the security implications of
> changing this value).
>
> regards,
>
> Jeff
>
>