You are not logged in.

#1 2022-02-07 15:23:24

oddball33
Member
Registered: 2022-02-07
Posts: 1

Graphics issues

I have a System76 Gazelle with Nvidia graphics and Intel graphics.
Under the 5.15 series and earlier kernels, everything is fine. Under the 5.16 series and 5.17-rc's, I cannot change the resolution on the built-in screen. I can change the resolution of external screens, though. If I boot back into the 5.15 series, everything's fine again. I'm running Plasma on X11, because I could never get the Nvidia to work with Wayland. Also, the problem occurs regardless of DE. If I change the resolution through graphical tools, the screen just goes blank. If I use xrandr in a terminal, i get configure crtc 0 failed. But everything's fine under the 5.15 series kernel.
Did something change with 5.16?

Xorg log for 5.16.5 arch kernel
https://pastebin.com/YBMKG1rU

Xorg log for 5.15.20-lts kernel
https://pastebin.com/KqKBFFHy

Offline

#2 2022-03-05 17:08:41

squalou
Member
Registered: 2018-06-04
Posts: 112

Re: Graphics issues

Hi,

just to mention that I have the same issue, wth a Tuxedo computer with intel-only card and Gnome on Xorg.

Also, note that Wayland has issues too : when set to non-native resolution, it does not turns black entirely but instead, the display is reduced in a small corner,leaving the rest of the monitor black.
As if the image was not upscaled.

Last edited by squalou (2022-03-05 17:36:53)

Offline

#3 2022-03-05 21:47:07

squalou
Member
Registered: 2018-06-04
Posts: 112

Re: Graphics issues

Hi,

As a workaround, I switched back from modesetting to intel. Things works fine.

To do so, install xserver-xorg-video-intel

and if the package does not do it for you, create 

/usr/share/X11/xorg.conf.d/99-intel.conf

containing

Section "Device"
	Identifier "Device0"
	Driver "intel"
EndSection

reboot

(sidenote : this does not solve the issue when using wayland)

Last edited by squalou (2022-03-06 08:26:09)

Offline

#4 2022-03-09 20:53:00

squalou
Member
Registered: 2018-06-04
Posts: 112

Re: Graphics issues

Detailed explanation and workaround from here https://gitlab.freedesktop.org/drm/intel/-/issues/5252

Create

/usr/share/X11/xorg.conf.d/10-monitor.conf

containing for instance

Section "Monitor"
    Identifier  "eDP-1"
    Modeline "1680x1050_90.00"  228.00  1680 1808 1984 2288  1050 1053 1059 1108 -hsync +vsync
    Modeline "1920x1200_90.00"  300.50  1920 2072 2280 2640  1200 1203 1209 1266 -hsync +vsync
EndSection

will allow you to switch to these resolutions.

Apparently, new kernel drivers refuses refresh rates that does not match - previously it was ignoring the query and doing its best.

Somehow X has wrong refresh rates reported.

My bet :

- use intel driver for a boot
- issue `xrandr` to get the supported refresh rates
- use cvt 1680 1050 90 for instance to get required modelines
- complete the X conf file above.

Offline

Board footer

Powered by FluxBB