Closed neelchauhan closed 2 years ago
Is sna/uxa stuff even supposed to work with such new hardware? xf86-video-intel is deprecated, just use xf86-video-modesetting. (These “accelerations” are really for xorg 2d things but they can have unpredictable effects on everything somehow)
To use SNA, I need to do this in /etc/X11/xorg.conf
:
Option "AccelMethod" "sna"
Option "TearFree" "true"
Option "TripleBuffer" "true"
Option "DRI" "3"
The graphics performance is better than UXA, but still slower than SNA with the corruption.
Sometimes it's easier if I just used Windows, especially since I work at Microsoft (not on Windows). But then getting audio or SSD drivers on Windows 11 is painful, even when FreeBSD 13.0 has them despite being 6 months older. And I've used FreeBSD at home too long to want to switch.
Are you still using one month old version of 5.7-wip branch?
Soooo have you tried the xf86 modesetting
driver? Or wayland ;)
I am using the current 5.7-wip
branch with the modesetting
driver.
I could also test my WhiskeyLake laptop to see if it works.
How can I run Toontown Rewritten
to test it?
If I run installer on our default centos7-based linuxolator, it reports about missing PyQt4.QtCore
% ./Launcher
Traceback (most recent call last):
File "PyInstaller-3.6-py2.7.egg/PyInstaller/loader/rthooks/pyi_rth_qt4plugins.py", line 45, in <module>
ImportError: No module named PyQt4.QtCore
[2976] Failed to execute script pyi_rth_qt4plugins
Also if it is regression after 5.6-stable
you can bisect commits to find guilty
Toontown Rewritten requires the Ubuntu-based Linuxulator. The CentOS 7-based Linuxulator doesn't work, or even CentOS 7 itself.
I have an Ubuntu Linuxulator installer here: https://github.com/neelchauhan/linux-browser-installer
My installer is a forked version built to unbreak 14-CURRENT.
You can also install Ubuntu in the Linuxulator manually here: https://forums.freebsd.org/threads/linuxulator-how-to-run-google-chrome-linux-binary-on-freebsd.77559/
Thank you for the hints. Now I am able to run it. I see no corruption on SkyLake with SNA. TigerLake - specific bug?
I believe it's a TigerLake-specific bug since my WhiskeyLake laptop didn't show corruption either.
@neelchauhan can you give an update on this ? Is this still happening with 5.10 ? Also you didn't answered @unrelentingtech question, what about modesetting or wayland ?
It doesn't happen on 5.10 (or 5.9) on modesetting. I haven't tried Wayland since Toontown Rewritten (for Linux) is an X11 app, and I haven't gotten GNOME working on Wayland yet.
Toontown Rewritten has some graphics corruption issues on the Linuxulator on both TigerLake and WhiskeyLake. Nowadays I use the Wine version since it has no corruption whatsoever.
Describe the bug
On an HP Spectre x360
14-ea1023dx14-ea0023dx (TigerLake) running 14-CURRENT and5.7-wip
, there are high levels of graphics corruption on OpenGL when running withsna
acceleration. This was seen on both the Windows and Linux versions of Toontown RewrittenEDIT: The 14-ea1023dx is a new model with a refreshed CPU. I have the 14-ea0023dx.
FreeBSD version
PCI Details
DRM KMOD version Paste the output of
pkg query -x '%n %v' 'drm.*kmod'
5.7-wip
as of November 10th at 17:10 PM PSTTo Reproduce
Take a TigerLake system, use Toontown Rewritten (or any OpenGL app), you should see it.
Screenshots If applicable, add screenshots to help explain your problem.
Some levels of graphics corruption is shown here. It's hard to capture it as a picture.
Additional context
5.7-wip
branch on a 13" HP Spectre (also TigerLake), but it's less severe in the current5.7-wip
5.6-stable
and5.7-wip
withuxa
does not have this issue.