Re: Display flickers after upgrade to 6.6

2020-01-20 Thread Stanislav Gilmulin

Yes, I have customized xorg.conf via /etc/X11/xorg.conf.d/intel.conf :

Section "Device"
  Identifier "drm0"
  Driver "intel"
  Option "TearFree" "true"
EndSection

I checked /var/log/Xorg.0.log, "intel" driver works without errors.

Unfortunately I did not solve the problem modifying this configuration 
file.


P.S. The https://man.openbsd.org/intel page mentions 
"XV_SYNC_TO_VBLANK". Even if it might be solution, actually I m not sure 
I can set this attribute.


On 10-01-2020 20:58, Dumitru Moldovan wrote:

On Fri, Jan 10, 2020 at 10:18:51AM -0700, Stanislav wrote:

I have got weak flickering of XFCE too (after upgrade to 6.6).
Mentioned setting the method for vblank does not fix it. Turning 
on/off

compositor does not help too.
Any ideas?



Have you tried customizing xorg.conf?  This /etc/X11/xorg.conf works 
for

me in 6.6 with the Radeon HD 4200 video chipset from my old desktop:

Section "Device"
   Identifier "drm0"
   Driver "radeon"
   Option "AccelMethod" "glamor"
   Option "DRI" "3"
   Option "TearFree" "On"
   Option "SWCursor" "true"
EndSection

Still getting a bit of glitches when resuming, but mostly just for the
current window (the terminal) and it's usually enough to change the
active "window" in tmux to get rid of it.  Rarely do I have to change
to console and back with CTRL-ALT-F1 and CTRL-ALT-F5.  Had more issues
with the older driver (and default settings), so I'm actually happy
with the upgrade in this regard.




Re: Display flickers after upgrade to 6.6

2020-01-10 Thread Dumitru Moldovan

On Fri, Jan 10, 2020 at 10:18:51AM -0700, Stanislav wrote:

I have got weak flickering of XFCE too (after upgrade to 6.6).
Mentioned setting the method for vblank does not fix it. Turning on/off
compositor does not help too.
Any ideas?



Have you tried customizing xorg.conf?  This /etc/X11/xorg.conf works for
me in 6.6 with the Radeon HD 4200 video chipset from my old desktop:

Section "Device"
   Identifier "drm0"
   Driver "radeon"
   Option "AccelMethod" "glamor"
   Option "DRI" "3"
   Option "TearFree" "On"
   Option "SWCursor" "true"
EndSection

Still getting a bit of glitches when resuming, but mostly just for the
current window (the terminal) and it's usually enough to change the
active "window" in tmux to get rid of it.  Rarely do I have to change
to console and back with CTRL-ALT-F1 and CTRL-ALT-F5.  Had more issues
with the older driver (and default settings), so I'm actually happy
with the upgrade in this regard.



Re: Display flickers after upgrade to 6.6

2020-01-10 Thread Stanislav
I have got weak flickering of XFCE too (after upgrade to 6.6).
Mentioned setting the method for vblank does not fix it. Turning on/off
compositor does not help too.
Any ideas?




-
Best Regards,
Stanislav Gilmulin
--
Sent from: http://openbsd-archive.7691.n7.nabble.com/openbsd-user-misc-f3.html



Re: Display flickers after upgrade to 6.6

2019-11-09 Thread Claus Reheis
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
r...@syspatch-66-amd64.openbsd.org:/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 0xfee0: 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 0xfec0, 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 0xf800, 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: 

Re: Display flickers after upgrade to 6.6

2019-11-01 Thread Jeff
On Thu, 31 Oct 2019 13:47:06 +
"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.

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



Re: Display flickers after upgrade to 6.6

2019-10-31 Thread 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
  paia...@fastmail.com

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
>   paia...@fastmail.com
> 
> On Wed, 30 Oct 2019, at 13:12, Jeff wrote:
> > On Sat, 19 Oct 2019 17:59:41 +0200
> > 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...
> > > :-(
> > > 
> > > 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
> > 
> >
> 
>



Re: Display flickers after upgrade to 6.6

2019-10-31 Thread 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
  paia...@fastmail.com

On Wed, 30 Oct 2019, at 13:12, Jeff wrote:
> On Sat, 19 Oct 2019 17:59:41 +0200
> 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...
> > :-(
> > 
> > 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
> 
>



Re: Display flickers after upgrade to 6.6

2019-10-30 Thread Jeff
On Sat, 19 Oct 2019 17:59:41 +0200
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...
> :-(
> 
> 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



Re: Display flickers after upgrade to 6.6

2019-10-19 Thread 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é







Re: Display flickers after upgrade to 6.6

2019-10-19 Thread Federico Giannici

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é





Re: Display flickers after upgrade to 6.6

2019-10-19 Thread Stefan Sperling


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



Re: Display flickers after upgrade to 6.6

2019-10-19 Thread Andre Stoebe
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é



Re: Display flickers after upgrade to 6.6

2019-10-19 Thread Stefan Sperling
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.



Re: Display flickers after upgrade to 6.6

2019-10-19 Thread Stefan Sperling
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 0xfee0: 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 0xfec0, version 21, 24 pins
acpimcfg0 at acpi0
acpimcfg0: addr 0xe000, 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 (P

Display flickers after upgrade to 6.6

2019-10-19 Thread 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
dera...@amd64.openbsd.org:/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 0xe000, bus 0-255
acpimadt0 at acpi0 addr 0xfee0: 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 0xfec0, 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