ASUS with Mesa Intel Xe Graphics looks bad on certain programs

The graphics for certain apps don’t work properly, others look perfectly normal.

*When I create a rectangle in Spectacle, for example the entire screen turns almost flush white/bright-light pastel colors.

*Most important is Blender’s Object or Edit mode windows don’t render properly, the face shading edges are jagged and blinks.
It’s the latest Blender version 4.2.3
The Blender available in YaST is version 2, which also has the same issue.

Single boot 15.6 (Not in VM etc)
KDE Plasma 5.27.11
Kernel: 6.4.0-150600.23.25-default(64-bit)
Graphics Platform X11
ASUS VivoBook Laptop
Intel i7 8 core 2.8ghz
Graphics Processor: Mesa Intel Xe Graphics
I am using the Pacman repository.

I’ve been using OpenSuse on/off since about 2012 but I rely almost entirely on GUI available settings (YaST etc). I’ve tried to learn Konsole but have difficulty mastering it.

Anything you suggest I’m willing to try.
Thank you.

Not every Xe GPU works best using the Xe kernel driver. Without your complete CPU model we can’t even look it up. Anyway, you can test on your kernel cmdline (E at Grub menu) forcing a switch from Xe driver to i915 to see how it goes: xe.force_probe=‘!4c8b’ i915.force_probe=‘4c8b’. Probably it won’t work, as that 4 digit string is for my own Xe GPU. Running inxi -Gxx will report your GPU chip-ID to substitute for my 4c8b to try on yours.

Easier to try first is to check if you have xf86-video-intel installed. If you do, remove it and see how the default X driver works. It’s expected to work better on most, as it’s existence is primarily for antique Intel GPUs, and it hasn’t had an “official” update in over a decade.

Thank you for the reply.
I performed the suggestions and this is the result:

me@customer:~> inxi -Gxx
Graphics:
Device-1: Intel TigerLake-LP GT2 [Iris Xe Graphics] vendor: ASUSTeK
driver: i915 v: kernel arch: Gen-12.1 ports: active: eDP-1
empty: HDMI-A-1,HDMI-A-2 bus-ID: 00:02.0 chip-ID: 8086:9a49
Device-2: Quanta USB2.0 HD UVC WebCam driver: uvcvideo type: USB rev: 2.0
speed: 480 Mb/s lanes: 1 bus-ID: 1-6:3 chip-ID: 0408:30d4
Display: x11 server: X.Org v: 1.21.1.11 with: Xwayland v: 24.1.1
compositor: kwin_x11 driver: X: loaded: modesetting unloaded: fbdev,vesa
alternate: intel dri: iris gpu: i915 display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96
Monitor-1: eDP-1 model: Samsung 0x4161 res: 1920x1080 dpi: 142
diag: 395mm (15.5")
API: OpenGL v: 4.6 Mesa 23.3.4 renderer: Mesa Intel Xe Graphics (TGL GT2)
direct-render: Yes

I ran this command:

me@customer:~> sudo xe.force_probe=‘!9a49’ i915.force_probe=‘9a49’
sudo xe.force_probe=‘sudo zypper addrepo https://brave-browser-rpm-release.s3.brave.com/brave-browser.repoa49’ i915.force_probe=‘9a49’
[sudo] password for root:
Adding repository ‘i915.force_probe=‘9a49’’ …[done]
Repository ‘i915.force_probe=‘9a49’’ successfully added

URI : https://brave-browser-rpm-release.s3.brave.com/brave-browser.repoa49’
Enabled : Yes
GPG Check : Yes
Autorefresh : No
Priority : 99 (default priority)

Repository priorities in effect: (See ‘zypper lr -P’ for details)
90 (raised priority) : 1 repository
99 (default priority) : 9 repositories
me@customer:~>

I reboot my PC.
The problems still exists.
I opened YaST to update and receive this error:

An error occurred during repository initialization. [i915.force_probe=‘9a49’|https://brave-browser-rpm-release.s3.brave.com/brave-browser.repoa49’] Valid metadata not found at specified URL History: - [i915.force_probe=‘9a49’|https://brave-browser-rpm-release.s3.brave.com/brave-browser.repoa49’] Repository type can’t be determined.

I can delete the brave browser repository and the error goes away.
Any other suggestions are greatly appreciated.
Thanks


The screenshot is an example of the incorrect render of the Blender editor.
The problem is not only in Blender but also some other programs such as Spectacle.

I didn’t give you a command to run. Adding parameters to kernel command line is a routine troubleshooting procedure. I gave you kernel command line options to test from your boot menu. You must strike the E key at that menu, as I wrote, which puts bootloader in edit mode. Then you navigate to the kernel command line, which starts with linu, move to the end of that line (which usually wraps), and add a space and those bolded parameters, as modified with the results from inxi, before exiting edit mode to proceed with boot. If it helps or solves your problem, you may report here and be directed how to make those parameters permanent, or look up how to do it via web search or openSUSE documentation.

If it does not help to add those parameters on kernel command line, please provide output here from inxi -GSaz from booting using those parameters, and also from booting without using them. In addition, run command sudo dmesg | susepaste -e 40320 and provide resulting URL here.

That repository you seem to have added needs to be removed, if in fact it was created, and that was not your intention. If sudo zypper lr shows it exists, remove it.

Intel kernel Xe driver is available since 6.8:

And it is still experimental.

OpenSUSE Leap 15.6 uses patched 6.4 kernel. It is possible to include Xe driver in Leap’s 6.4 kernel, but is it there right now?

Blender requires at least 2 Gib of VRAM, 8 Gib is recommended:

Post

inxi -aCGMSz

and

sudo dmesg | grep -i drm 

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.