LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   X windows video freeze - KV 5.10.x (https://www.linuxquestions.org/questions/slackware-14/x-windows-video-freeze-kv-5-10-x-4175688283/)

rjj 01-13-2021 04:24 AM

Hello all,

Just to add more info to the thread: besides the lockups running 5.10.X, X <= 7, I'm also experiencing much worse audio quality.

Reverting to 5.4.84 solves both issues.

rdsherman 01-14-2021 10:52 AM

KV bump -> 5.10.7. NB: i915/drm patch in changelog + libdrm upgrade in SW-current. 24+ hours running & nary a burp | hiccup. (Promising, but, certainly too soon to proclaim victory.) Any other reports from the community?

dr.s 01-14-2021 01:17 PM

Quote:

Originally Posted by rdsherman (Post 6207681)
KV bump -> 5.10.7. NB: i915/drm patch in changelog + libdrm upgrade in SW-current. 24+ hours running & nary a burp | hiccup. (Promising, but, certainly too soon to proclaim victory.) Any other reports from the community?

No issues here since 5.10.5

GazL 01-14-2021 02:15 PM

Quote:

Originally Posted by dr.s (Post 6207731)
No issues here since 5.10.5

Mine has also be behaving since .5. Still to early to proclaim the issue is "gone" though.

dr.s 01-15-2021 12:37 AM

Quote:

Originally Posted by GazL (Post 6207746)
Mine has also be behaving since .5. Still to early to proclaim the issue is "gone" though.

Agreed, too early. In my case it does seem like a one off though, desktop was running 5.10.4 and had a single lock-up
upon resuming from suspend-to-ram, had no lock-ups at all on other machines including my laptop.

Chuck56 01-15-2021 07:43 AM

I just experienced a full lockup on my desktop requiring a hard reset button. This is a fully up-to-date 64-current with 5.10.7 running kde5, rebooted yesterday after updates, suspended overnight until I resumed this morning. It worked great for maybe 3 hours until the lockup while konsole was open with mc running, dolphin running & focused on ~/Downloads while superposition was downloading & firefox with 3 tabs open. Before resetting after lockup I tried to ping & ssh from terminal on my chromebook, no joy.

On reboot my /home partition recovered orphaned inodes and my /boot/efi partition needed fsck to reset a dirty bit. Here's info center/system info copied to clipboard:

Code:

Operating System: Slackware 14.2
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2
Kernel Version: 5.10.7
OS Type: 64-bit
Processors: 4 × AMD A8-7600 Radeon R7, 10 Compute Cores 4C+6G
Memory: 6.8 GiB of RAM
Graphics Processor: AMD KAVERI

After bringing up the system the Xorg.0.log looks clean. ACPI throws startup errors seen in syslog:
Code:

Jan 15 06:06:24 slacker kernel: [    0.005699] ACPI BIOS Warning (bug): Optional FADT field Pm2ControlBlock has valid Length but zero Address: 0x0000000000000000/0x1 (20200925/tbfadt-615)
Jan 15 06:06:24 slacker kernel: [    0.842927] pci 0000:00:00.2: can't derive routing for PCI INT A
Jan 15 06:06:24 slacker kernel: [    0.842931] pci 0000:00:00.2: PCI INT A: not connected
Jan 15 06:06:24 slacker kernel: [    0.844483]  PPR GT IA PC
Jan 15 06:06:24 slacker kernel: [    6.244189] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.VGA.LCD._BCM.AFN7], AE_NOT_FOUND (20200925/psargs-330)
Jan 15 06:06:24 slacker kernel: [    6.244792] ACPI Error: Aborting method \_SB.PCI0.VGA.LCD._BCM due to previous error (AE_NOT_FOUND) (20200925/psparse-529)
Jan 15 06:06:24 slacker kernel: [    6.245405] ACPI Error: Evaluating _BCM failed (20200925/video-357)
Jan 15 06:06:24 slacker kernel: [  15.347554] amdgpu 0000:00:01.0: amdgpu: Trusted Memory Zone (TMZ) feature not supported
Jan 15 06:06:24 slacker kernel: [  40.915672] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.

I'll try running down these errors to see what I can find but thought posting sooner rather than later might be helpful.

perda 01-15-2021 07:54 AM

I had similar experiences, hang-ups, freezes, etc. No luck with any of the different 5.10 kernels (tested up to 5.10.7) on my NVIDIA Quadro FX 580 (nouveau driver).

All problems went away when I changed to 5.4 kernel (5.4.89). No hick-ups or any other issues with KV.

Raveriux 01-15-2021 08:38 AM

I saw somewhere a suggestion to remove xf86-video-intel driver as it has some problems. On my setup it worked and now no freezes for few days after removal.

rdsherman 01-15-2021 08:42 PM

Sad report. 2021 January 15. 18:20 PST. Another lockup / freeze. KV 5.10.7 still ill.

Fedora 33 yesterday added 5.10.6 to its 5.9.16 /boot. I have that on another partition. It will take time to watch.

Can anyone else contribute here on the Fedora update?

Obviously many hours are needed to observe the malfunction.

As others have noted prior kernels seem fine. I have a CentOS Stream 8 using 4.18 & a Ubuntu with 5.8.x series.

rdsherman 01-15-2021 09:54 PM

Further relevant corroborating evidence with KV 5.10.6.

https://bugzilla.kernel.org/show_bug.cgi?id=211179

Quote from OP

"I am running up-to-date Arch Linux on a system with an Intel I5-9400 processor, 16 GB of ram, Asus mini-ITX motherboard. I do not use a desktop system, just a window manager (bspwm), starting X with startx at the login shell. I have tried using a different window manager and have seen the same problem described below.

About once/day, I am experiencing complete X freezes. The system is unresponsive to mouse or keyboard inputs, even attempts to switch consoles. I can ssh into the system from another and attempts to kill the xorg process with kill -9 fail, which suggests a driver problem to me. When I try to reboot, I get messages from systemd that it is waiting for the xorg process to die. Perhaps 5 or 10 minutes later, the system finally reboots."


My main sys is similar: xorg + wm + startx on SW-current, without systemd, of course. The ssh results are what I see, too.

rdsherman 01-17-2021 03:24 PM

Of relevance. Who is running kernel mode setting only, xorg-video-intel only, & both simultaneously? The majority of Linux users seem to do only the first; the second might be an extinct breed; the final scheme...? In the first category, there seem to be no or few problems on the latest kernels. Others have troubles. Comments?

derekn13 01-17-2021 05:38 PM

Quote:

Originally Posted by rdsherman (Post 6208885)
Of relevance. Who is running kernel mode setting only, xorg-video-intel only, & both simultaneously? The majority of Linux users seem to do only the first; the second might be an extinct breed; the final scheme...? In the first category, there seem to be no or few problems on the latest kernels. Others have troubles. Comments?

If you're referring to the X driver, you're either running the "intel" driver or the "modesetting" driver. I don't think there's any way to run both simultaneously (I'm not sure what that would mean).

Slackware-current ships with both drivers available. In that situation, X picks the intel driver. I.e., if you install Slackware-current on a system with Intel graphics, and you haven't messed with things, you're running the intel driver.

If you want to use the modesetting driver on Intel graphics hardware, you can either remove the xf86-video-intel package, or set up an Xorg config file. (See posts 2, 14, and 16 in https://www.linuxquestions.org/quest...el-4175688351/.)

To answer your question: I've had zero crashes since switching to the modesetting driver with kernel 5.10.3. I'm currently on 5.10.7.

RudieO 01-17-2021 10:08 PM

solved
 
After removing xf86-video-intel package, Xorg is now running on my Intel PC with Slackware-current-64 very well with kernel 5.10.x. On sddm log-on screen it see already that two displays with different resolutions are in use, and shows the screen with the different resolutions. Looks problem is solved with the removal of xf86-video-intel-x86_64-1.txz.

Quote:

Originally Posted by derekn13 (Post 6208916)
If you're referring to the X driver, you're either running the "intel" driver or the "modesetting" driver. I don't think there's any way to run both simultaneously (I'm not sure what that would mean).

Slackware-current ships with both drivers available. In that situation, X picks the intel driver. I.e., if you install Slackware-current on a system with Intel graphics, and you haven't messed with things, you're running the intel driver.

If you want to use the modesetting driver on Intel graphics hardware, you can either remove the xf86-video-intel package, or set up an Xorg config file. (See posts 2, 14, and 16 in https://www.linuxquestions.org/quest...el-4175688351/.)

To answer your question: I've had zero crashes since switching to the modesetting driver with kernel 5.10.3. I'm currently on 5.10.7.


rdsherman 01-18-2021 11:11 AM

The Slackware leaders should provide some "official" guidance about these video / graphic drivers choices, configuration,... It is only now being clarified on LQ.

Ilgar 01-18-2021 01:14 PM

Quote:

Originally Posted by Raveriux (Post 6207968)
I saw somewhere a suggestion to remove xf86-video-intel driver as it has some problems. On my setup it worked and now no freezes for few days after removal.

I have removed xf86-video-intel but still had the X freezes. I reverted to 5.4 after 5.10.4 so I don't know if 5.10.7 fixes my issue. I will try again this week. Obviously something got seriously broken in kernel 5.10.x.


All times are GMT -5. The time now is 06:57 AM.