You are not logged in.

#1 2023-07-30 20:30:37

hokaiiiiii
Member
Registered: 2023-07-30
Posts: 3

[SOLVED] troubles with xorg configuration and screen tearing

i'm new here. i recently installed arch linux and I liked it. but the problems arose when i noticed some gaps on my screen, so i tried to fix it. i followed this guide https://christitus.com/fix-screen-tearing-linux, didn't help, i also read some arch linux documentation and it didn't help either. moreover, when I tried to just add some configuration files to /etc/X11/xorg.conf.d, it immediately gave me an error when loading. i was able to fix this by adding "init=/bin/bash" to grub. anyway, i still couldn't figure out how to solve it. i do not know, maybe I am actually applying incorrect configurations due to a different graphics card? please help, this is my first arch installation

setup:
i'm using optimus based(pain) laptop
Graphics:
  Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] driver: i915 v: kernel
  Device-2: NVIDIA TU117M [GeForce GTX 1650 Mobile / Max-Q] driver: nvidia
    v: 535.86.05
  Device-3: Quanta HD User Facing driver: uvcvideo type: USB
  Display: server: X.Org v: 21.1.8 with: Xwayland v: 23.1.2 driver: X:
    loaded: modesetting,nvidia unloaded: intel,vesa dri: iris gpu: i915
    resolution: 1920x1080~60Hz
  API: OpenGL v: 4.6.0 NVIDIA 535.86.05 renderer: NVIDIA GeForce GTX
    1650/PCIe/SSE2

keypoints:
* whenever i add something new in /etc/X11/xorg.conf.d it gave me error
* i use only dwm and no de

PS: english is not my first language

edit and solution: spelling. it looks like the tearing issue is related to nvidia cards. i won't tell you how to fix it, because there is a lot of documentation on this topic if you look for it. but it's unclear about xorg. apparently this has something to do with the fact that it is incorrectly configured from the very beginning. i realized that for me personally, this was related to zprofile and nvidia configuration. nevertheless, this article https://wiki.archlinux.org/title/xinit helped me to properly enable it on startup. as for others, i recommend looking at the dmesg and journalctl messages. the second solution may be to simply reinstall xorg and configure it accordingly using the manual, or just simply reinstall arch

Last edited by hokaiiiiii (2023-08-21 17:20:29)

Offline

#2 2023-07-30 21:42:07

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,120

Re: [SOLVED] troubles with xorg configuration and screen tearing

when i tried to just add some configuration files on /etc/X11/xorg.conf.d it immediately gave me error on the boot

What "some configuration files" *exactly*?

i initially could fix it by adding "init=/bin/bash" in the grub

2nd link below, you were lookign for the multi-user.target

And please post your Xorg log, https://wiki.archlinux.org/title/Xorg#General

PS: english is not my first language

https://deepl.com/

Offline

Board footer

Powered by FluxBB