You are not logged in.
When I am typing in firefox, the terminal or anywhere else the cursor sometimes appears behind the last typed character, also does it when I press backspace in an empty terminal. It does not block any functionality, but it is really irritating.
I'm so clueless, don't even know what do I link.
I am using awesome wm on xorg if that makes a difference.
Last edited by istipisti113 (2023-12-16 15:59:37)
Offline
Which xorg ddx driver? If you're using an intel GPU with xf86-video-intel installed, try removing that (and any config file you might've created enforcing the "intel" driver)
If not or if this doesn't fix it, post your xorg log: https://wiki.archlinux.org/title/Xorg#General https://wiki.archlinux.org/title/List_o … n_services
Offline
Thanks for the reply!
Here is the output: https://0x0.st/HYHf.txt
I am not using an intel card, there is one in my laptop, but I use the nvidia card, checked, the issue is present on both cards.
Do you think a reinstall would be worth a try?
Last edited by istipisti113 (2023-12-14 19:40:20)
Offline
That's not your xorg log but some random (useless) lines from it.
cat /var/log/Xorg.0.log | curl -F 'file=@-' 0x0.stOffline
Sorry, I tried to send something useful.
https://0x0.st/HYXo.txt
This is the result of the command you sent.
Offline
[ 7.444] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 7.444] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 7.445] (==) ServerLayout "layout"
[ 7.445] (**) |-->Screen "nvidia" (0)
[ 7.445] (**) | |-->Monitor "<default monitor>"
[ 7.445] (**) | |-->Device "nvidia"
[ 7.445] (**) | |-->GPUDevice "integrated"
[ 7.445] (**) | |-->GPUDevice "NVIDIA Corporation TU117M"
[ 7.445] (==) No monitor specified for screen "nvidia".
Using a default monitor configuration.
[ 7.445] (**) |-->Inactive Device "integrated"You're running an optimus system on the nvidia chip, but the only output is attached to the intel chip.
Is this deliberate? Why do you think that's a good idea?
The generic suggestion is to remove that config (optimus-manager?) and run the system in regular prime fashion. Alternatively just disable the IGP in the BIOS/UEFI.
Also remove xf86-video-nouveau.
Offline
It is like this because it is a laptop and the monitor is wired into the integrated but low performance chip, while the other video outputs like the hdmi are wired to the nvidia one. I tried it and it is buggy on the intel graphics as well.
Offline
Yes, but there's currently no output attached to the HDMI.
I tried it and it is buggy on the intel graphics as well.
Xorg log for that setup?
Edit: do you use a compositor (eg. picom) next to awesomewm?
Last edited by seth (2023-12-14 21:34:45)
Offline
I use xcompmgr along awesomewm.
This is it on the intel card: https://0x0.st/HYqt.txt
It is really interesting because it sometimes starts to do it, but after a reboot it stops it for like 5 minutes, and I think I can confirm that it only does it on the nvidia card now, I cant make it do that again on the intel one.
Also it does not do it on an external monitor, only the build in one.
Last edited by istipisti113 (2023-12-15 16:25:07)
Offline
It's most likely a prime-sync issue, you might try to replicate it on the nvidia GPU w/o xcompmgr
The journal you posted exclusively uses the IGP, the nvidia card isn't utilized at all.
[ 6095.520] (**) | |-->Device "integrated"
[ 6095.520] (**) | |-->GPUDevice "NVIDIA Corporation TU117M" you'd remove all config files and it seems there's no kms driver loaded for the nvidia one (do you bbswitch it off or something like that)?
In any event ensure to enable modesetting for the nvidia GPU
Offline
I reinstalled arch because it didn't boot, most likely messed something up. The way that the PRIME page of the wiki says does not work, "xrandr --setprovideroffloadsink 1 0" gives this error:
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 140 (RANDR)
Minor opcode of failed request: 34 (RRSetProviderOffloadSink)
Value in failed request: 0x1b7
Serial number of failed request: 16
Current serial number in output stream: 17
I installed optimus-manager and it works without the issue, but I cant get the internal display to run at 144 hz while the external monitor runs at 60.
Offline
Remove optimus-manager, report on the status quo of the original problem afterwards and post your xorg log.
Offline
https://0x0.st/HYmQ.txt this is the result after removing optimus-manager.
I have this in /etc/X11/xorg.conf:
Section "Monitor"
Identifier "Monitor0"
Option "PreferredMode" "1920x1080"
Option "RefreshRate" "60"
EndSection
Section "Monitor"
Identifier "Monitor1"
Option "PreferredMode" "1920x1080"
Option "RefreshRate" "144"
EndSection
Section "Screen"
Identifier "Screen0"
Monitor "Monitor0"
EndSection
Section "Screen"
Identifier "Screen1"
Monitor "Monitor1"
EndSectionand this in /etc/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf:
Section "OutputClass"
Identifier "intel"
Driver "modesetting"
EndSection
Section "OutputClass"
Identifier "nvidia"
MatchDriver "nvidia-drm"
Driver "nvidia"
Option "AllowEmptyInitialConfiguration"
Option "PrimaryGPU" "yes"
ModulePath "/usr/lib/nvidia/xorg"
ModulePath "/usr/lib/xorg/modules"
EndSectionThe only card thats working now is the nvidia one, there is ooutput on both monitors, but the internal one is locked on 60hz, it should be 144, but the original issue is solved I think, I don't notice it anymore.
Interestingly, the mouse is 144 hz, I think, but the scrolling in firefox and other apps is 60, if I unplug the external monitor the internal can refresh at 144
Last edited by istipisti113 (2023-12-16 13:18:43)
Offline
Please use [code][/code] tags. Edit your post in this regard.
[ 5.554] (**) |-->Screen "Screen0" (0)
[ 5.554] (**) | |-->Monitor "Monitor0"You're still defaulting to the nvidia GPU.
I have this in /etc/X11/xorg.conf
Why? Remove that.
and this in /etc/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf:
and that as well.
Offline
If I remove those, how do I configure it, or does the driver do it for me?
Offline
the driver do it for me
Xorg has decent auto-detection and the only thing the config achieves is to run the server on the nvidia chip, what, along the only output on the intel chip, most likely gets you the "cursor jumping" and defeats the entire optimus idea. The IGP is gonna be fine for everyday jobs and you'll then explicitly "prime-run superturboturkeypuncher³" for maximum game FPS
Offline
Thank you very much! Deleting those files really did solve it.
Awesome now runs on the intel gpu on both monitors, and prime-run works well.
Thank you for your time, help and patience! How do I mark it as solved?
Offline
Mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Offline