unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Ekaitz Zarraga <ekaitz@elenq.tech>
To: "André A. Gomes" <andremegafone@gmail.com>
Cc: Help Guix <help-guix@gnu.org>
Subject: Re: help: screen tearing in guix
Date: Wed, 27 Oct 2021 10:03:26 +0000	[thread overview]
Message-ID: <Dw5M1Ax8IlZlNOB9UaNIuK1xfjY33lkSqGmFj_mWZ-fSV5T-VNqMMbIvNXkz5Fe6w3MLLbOgeHOXG_ZNt_zmVnoGVlcprZvTQTLFrc34OEo=@elenq.tech> (raw)
In-Reply-To: <87ilxmi7k7.fsf@gmail.com>

Hi Andre

> I've noticed that on my laptop's built-in screen there's some kind of
> weird "delay" going on.  For instance, the cursor lags behind after
> hitting Space.  On my external monitor, there are no issues at all.  If
> that matters, the built-in screen native resolution is almost 4K.  I've
> tried to play with the ModeLine settings in the past, but I wasn't able
> to solve it.
>
> I'm wondering if this "TearFree" option sounds like it could solve my
> issue.  Regardless, I'll give it a try.

In my laptop it didn't resolve tearing totally but it reduced it (I think,
I made the change recently and I was trained to ignore it :S)


> I also took a look at your config, and I noticed the last section
> relative to ModemManager.
>
> I've been playing with DIY keyboards (as you know) and I'm just curious
> why exactly ModemManager interferes with USB devices.
>
> For now I've solved the issue by adding the following udev rule:
>
> --8<---------------cut here---------------start------------->8---
> SUBSYSTEMS=="usb", ATTRS{idVendor}=="1b4f", ATTRS{idProduct}=="9205",
> TAG+="uaccess", ENV{ID_MM_DEVICE_IGNORE}="1"
> --8<---------------cut here---------------end--------------->8---
>
> My understand is that MM from "ID_MM_DEVICE_IGNORE" stands for
> ModemManager.  I'd like to get a deeper understanding of what's going
> on.  If you can share some pointers, I'd appreciate it.

The modem manager basically tries to know if anything you connected
is a modem so it sends AT commands to the serial devices right when
they are connected. That may interfere with your work.

The udev rule you added id more than enough I think. I'm a radical guy
so I just removed the modem manager service :)



      reply	other threads:[~2021-10-27 10:03 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-22  2:31 help: screen tearing in guix dikasetyaprayogi--- via
2021-10-22  6:16 ` Daniel Meißner
2021-10-22 10:54   ` Julien Lepiller
2021-10-22 14:33     ` dikasetyaprayogi--- via
2021-10-23 20:50       ` Ekaitz Zarraga
2021-10-23 22:18         ` dikasetyaprayogi--- via
2021-10-24 10:48           ` Ekaitz Zarraga
2021-10-24 10:54             ` Pascal Lorenz
2021-10-24 11:00               ` Ekaitz Zarraga
2021-10-24 18:55                 ` André A. Gomes
2021-10-24 18:47         ` André A. Gomes
2021-10-27 10:03           ` Ekaitz Zarraga [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='Dw5M1Ax8IlZlNOB9UaNIuK1xfjY33lkSqGmFj_mWZ-fSV5T-VNqMMbIvNXkz5Fe6w3MLLbOgeHOXG_ZNt_zmVnoGVlcprZvTQTLFrc34OEo=@elenq.tech' \
    --to=ekaitz@elenq.tech \
    --cc=andremegafone@gmail.com \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).