dnschneid / crouton

Chromium OS Universal Chroot Environment
https://goo.gl/fd3zc
BSD 3-Clause "New" or "Revised" License
8.52k stars 1.24k forks source link

Screen Tearing in some games on Ubuntu Focal GNOME #4840

Open elkawai621 opened 1 year ago

elkawai621 commented 1 year ago

name: focal
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/focal...
crouton: version 1-20220111101058~master:a9eafaee
release: focal
architecture: amd64
xmethod: xorg
targets: gnome,x11,audio,xorg
host: version 15054.114.0 (Official Build) stable-channel lars 
kernel: Linux localhost 4.19.254-13653-ga5ef616743fe #1 SMP PREEMPT Thu Oct 13 19:09:26 PDT 2022 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
Unmounting /mnt/stateful_partition/crouton/chroots/focal...```

#### Please describe your issue:
in some games there is screen tearing, which is a bit annoying, I tried to fix it with xorg.conf but it doesn't work
TomTravis commented 1 year ago

gnome uses chromium heavy it does not work so well with focal try kde and mate or xfce4

elkawai621 commented 1 year ago

@TomTravis , I want to install mate, but I don't know how

TomTravis commented 1 year ago

sudo apt install mate (cli) from a xterm in the gnome session

elkawai621 commented 1 year ago

@TomTravis I already installed it, I start it? how?

TomTravis commented 1 year ago

Screenshot at 2022-10-25 12-38-10 nano .xinitrc add pulseaudio --start exec mate-session

save to local account then xinit it will start

TomTravis commented 1 year ago

i use it also

elkawai621 commented 1 year ago

epic , Thanks!

elkawai621 commented 1 year ago

but is there a way to start mate like this: sudo startmate

is it annoying to run start-chroot | xinit

TomTravis commented 1 year ago

nope unless you make one i just xinit via cli no sudo needed

TomTravis commented 1 year ago

do some reading

TomTravis commented 1 year ago

i do not use start-chroot never have sudo enter-chroot -c /media... xinit

let us know what happens with mate ? I'm starting to use KDE development tools work very well with bullseye, Focal runs well also

The new gnu text editor will not install on Bullseye it want the new kernel and OS bookworm

elkawai621 commented 1 year ago

@TomTravis I have been testing mate and it has many problems with vulkan, when playing dolphin emu it said: "failed to create vulkan device", I managed to fix it but is buggy

elkawai621 commented 1 year ago

to install it i use: sudo crouton -n mate -t ​​core,xorg,x11,audio -r focal

(it was just that)

TomTravis commented 1 year ago

i do not play games maybe a light weigh WM will be the best for games https://ice-wm.org/

or build it https://dolphin-emu.org/docs/guides/building-dolphin-linux/

TomTravis commented 1 year ago

mate is for ease of use not gaming

elkawai621 commented 1 year ago

oh

TomTravis commented 1 year ago

yes compile for the setup helps also game

TomTravis commented 1 year ago

ok ill check out the 3d performance with the games KDE tools also runs somewhat slow loading not super fast xtogo server client is used also