Screen tearing on XFCE AHS

Message
Author
danielson

Screen tearing on XFCE AHS

#1 Post by danielson »

Have tried compositor with Compton, Xfwm and none at all, still getting screen tearing in Firefox and Vivaldi.

System: Host: <filter> Kernel: 5.14.0-4mx-amd64 x86_64 bits: 64 compiler: N/A
parameters: BOOT_IMAGE=/boot/vmlinuz-5.14.0-4mx-amd64
root=UUID=<filter> ro quiet splash
Desktop: Xfce 4.16.0 tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm4 dm: LightDM 1.26.0
Distro: MX-21_ahs_x64 Wildflower November 22 2021
base: Debian GNU/Linux 11 (bullseye)
Machine: Type: Laptop System: Dell product: Latitude E5430 non-vPro v: 01 serial: <filter>
Chassis: type: 9 serial: <filter>
Mobo: Dell model: 0MYF02 v: A00 serial: <filter> UEFI: Dell v: A21 date: 11/30/2018
Battery: ID-1: BAT0 charge: 99.9 Wh condition: 99.9/99.9 Wh (100%) volts: 12.6/11.1
model: SMP DELL P6YD624 type: Li-ion serial: <filter> status: Full
Device-1: hidpp_battery_0 model: Logitech Wireless Keyboard serial: <filter>
charge: 55% (should be ignored) rechargeable: yes status: Discharging
Device-2: hidpp_battery_1 model: Logitech Wireless Mouse M280/320/275
serial: <filter> charge: 55% (should be ignored) rechargeable: yes
status: Discharging
CPU: Topology: Dual Core model: Intel Core i5-3210M bits: 64 type: MT MCP arch: Ivy Bridge
family: 6 model-id: 3A (58) stepping: 9 microcode: 21 L2 cache: 3072 KiB
flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 19934
Speed: 1419 MHz min/max: 1200/3100 MHz Core speeds (MHz): 1: 1374 2: 1401 3: 1397
4: 1267
Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
Type: mds mitigation: Clear CPU buffers; SMT vulnerable
Type: meltdown mitigation: PTI
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl and seccomp
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, IBRS_FW,
STIBP: conditional, RSB filling
Type: srbds status: Vulnerable: No microcode
Type: tsx_async_abort status: Not affected
Graphics: Device-1: Intel 3rd Gen Core processor Graphics vendor: Dell driver: i915 v: kernel
bus ID: 00:02.0 chip ID: 8086:0166
Display: x11 server: X.Org 1.20.13 driver: modesetting unloaded: fbdev,vesa
resolution: 1600x900~60Hz, 1440x900~60Hz
OpenGL: renderer: Mesa DRI Intel HD Graphics 4000 (IVB GT2) v: 4.2 Mesa 21.2.5
compat-v: 3.0 direct render: Yes
Audio: Device-1: Intel 7 Series/C216 Family High Definition Audio vendor: Dell
driver: snd_hda_intel v: kernel bus ID: 00:1b.0 chip ID: 8086:1e20
Device-2: Logitech Logitech USB Headset type: USB
driver: hid-generic,snd-usb-audio,usbhid bus ID: 2-2:2 chip ID: 046d:0a8f
Sound Server: ALSA v: k5.14.0-4mx-amd64
Network: Device-1: Broadcom and subsidiaries BCM4313 802.11bgn Wireless Network Adapter
vendor: Dell driver: wl v: kernel port: f040 bus ID: 02:00.0 chip ID: 14e4:4727
IF: wlan0 state: dormant mac: <filter>
Device-2: Broadcom and subsidiaries NetXtreme BCM5761 Gigabit Ethernet PCIe
vendor: Dell driver: tg3 v: kernel port: f040 bus ID: 0c:00.0 chip ID: 14e4:1681
IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives: Local Storage: total: 223.57 GiB used: 13.77 GiB (6.2%)
ID-1: /dev/sda vendor: Kingston model: SA400S37240G size: 223.57 GiB block size:
physical: 512 B logical: 512 B speed: 6.0 Gb/s serial: <filter> rev: 0102 scheme: GPT
RAID: Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode] driver: ahci v: 3.0
port: f060 bus ID: 00:1f.2 chip ID: 8086.282a rev: 04
Partition: ID-1: / raw size: 54.58 GiB size: 53.42 GiB (97.88%) used: 13.71 GiB (25.7%) fs: ext4
dev: /dev/sda5
Sensors: System Temperatures: cpu: 73.0 C mobo: 46.0 C sodimm: 44.0 C
Fan Speeds (RPM): cpu: 0
Repos: No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
1: deb http://deb.debian.org/debian bullseye-updates main contrib non-free
Active apt repos in: /etc/apt/sources.list.d/debian.list
1: deb http://deb.debian.org/debian bullseye main contrib non-free
2: deb http://security.debian.org/debian-security bullseye-security main contrib non-free
Active apt repos in: /etc/apt/sources.list.d/mx.list
1: deb http://mirrors.rit.edu/mxlinux/mx-packages/mx/repo/ bullseye main non-free
2: deb http://mirrors.rit.edu/mxlinux/mx-packages/mx/repo/ bullseye ahs
Active apt repos in: /etc/apt/sources.list.d/vivaldi.list
1: deb [arch=amd64] https://repo.vivaldi.com/stable/deb/ stable main
Info: Processes: 228 Uptime: 6m Memory: 7.68 GiB used: 1.52 GiB (19.8%) Init: SysVinit
v: 2.96 runlevel: 5 default: 5 Compilers: gcc: 10.2.1 alt: 10 Shell: quick-system-in
running in: quick-system-in inxi: 3.0.36
Last edited by danielson on Sun Jan 09, 2022 10:15 pm, edited 2 times in total.

User avatar
dolphin_oracle
Developer
Posts: 22735
Joined: Sun Dec 16, 2007 12:17 pm

Re: Screen tearing on XFCE AHS

#2 Post by dolphin_oracle »

with that graphics chip and processor there isn't much reason to use the ahs stuff. I know, because I also have an ivy bridge. I don't get the screen tearing though, at least not with a single monitor. I do with a second monitor. switching to the "intel" xorg driver (mx-tweak->other tab) help the screen tearing for me. the setup for that driver includes utilizing a "tear free" option for the intel graphics driver.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/

danielson

Re: Screen tearing on XFCE AHS

#3 Post by danielson »

@dolphin_oracle - much better, thanks! :)

Smoother on Vivaldi than Firefox (smooth scrolling issue there i suppose).

User avatar
dolphin_oracle
Developer
Posts: 22735
Joined: Sun Dec 16, 2007 12:17 pm

Re: Screen tearing on XFCE AHS

#4 Post by dolphin_oracle »

I'm glad that's better. :happy:

I know my machine works ok with the 5.14 kernel, except for suspend, which doesn't work at all. things work better with the 5.10 kernel. I know there are changes to the i915 drivers in the 5.14 kernel. things aren't better on the 5.15 kernel either.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/

danielson

Re: Screen tearing on XFCE AHS

#5 Post by danielson »

@dolphin_oracle - think your tip also helped to resolve an oustanding issue i had (that others don't seem to have), namely, a momentary "hic" in the sound while listening to Ytube for example. Something that would happen on irregular time frames from a few minutes to more.

Seeing that (as it often happens) i'm the marginal one to report such a thing, i didn't post a new thread about it.

Btw, love the work you guys are doing! :)

davemx
Posts: 320
Joined: Sun Aug 12, 2018 2:31 pm

Re: Screen tearing on XFCE AHS

#6 Post by davemx »

dolphin_oracle wrote: Wed Dec 08, 2021 8:51 am I'm glad that's better. :happy:

I know my machine works ok with the 5.14 kernel, except for suspend, which doesn't work at all. things work better with the 5.10 kernel. I know there are changes to the i915 drivers in the 5.14 kernel. things aren't better on the 5.15 kernel either.
Nice to see you and the other devs doing so much firefighting because kernel devs and desktop devs keep forgetting the basic rule: "If it ain't broke don't fix it". Keep up the good work!

P.S. I did find a way to return from suspending with the ahs/5.14 kernel on intel. It's a bit convoluted but at least it proved all the data was still there. I pressed (e.g) CTRL-ALT-F3, logged on the resultant text screen, and hibernated from there. On reboot, I was able to press CTRL-ALT-F7 and my screen had returned. So at least we know that the problem purely relates to the screen layout.

I literally solved all my major XFCE AHS problems by zapping it and installing standard XFCE.
Desktop: Mini-Box M350 with Asus H110i-plus motherboard, Pentium G4600 processor, 2TB SSD and 16Gb RAM DDR4-2133
Printer/Scanner: Brother MFC-J5335W
Laptop: Lenovo V15 ADA
Media Centre: Lenovo Q190

User avatar
dolphin_oracle
Developer
Posts: 22735
Joined: Sun Dec 16, 2007 12:17 pm

Re: Screen tearing on XFCE AHS

#7 Post by dolphin_oracle »

davemx wrote: Thu Dec 09, 2021 9:54 am
dolphin_oracle wrote: Wed Dec 08, 2021 8:51 am I'm glad that's better. :happy:

I know my machine works ok with the 5.14 kernel, except for suspend, which doesn't work at all. things work better with the 5.10 kernel. I know there are changes to the i915 drivers in the 5.14 kernel. things aren't better on the 5.15 kernel either.
Nice to see you and the other devs doing so much firefighting because kernel devs and desktop devs keep forgetting the basic rule: "If it ain't broke don't fix it". Keep up the good work!

P.S. I did find a way to return from suspending with the ahs/5.14 kernel on intel. It's a bit convoluted but at least it proved all the data was still there. I pressed (e.g) CTRL-ALT-F3, logged on the resultant text screen, and hibernated from there. On reboot, I was able to press CTRL-ALT-F7 and my screen had returned. So at least we know that the problem purely relates to the screen layout.

I literally solved all my major XFCE AHS problems by zapping it and installing standard XFCE.
the solus guys just announced they are holding off on xorg and kernel updates because of issues like these.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/

danielson

Re: Screen tearing on XFCE AHS [Solved]

#8 Post by danielson »

Did this part as suggested here and rebooted:

... go to “/usr/share/X11/xorg.conf.d” and add one of the files below for your graphics card.

For Intel drivers edit or create a file called “10-intel.conf” and add the following then reboot your pc:

Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "TearFree" "true"
EndSection

https://techstop.github.io/fix-screen-tearing-xfce/

No more screen tearing! :)
Sounds like a name brand for shampoo...

Post Reply

Return to “Hardware /Configuration”