Bug 247022 - www/chromium crashes graphics
Summary: www/chromium crashes graphics
Status: Closed Feedback Timeout
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Graham Perrin
URL:
Keywords: crash, needs-qa
Depends on:
Blocks:
 
Reported: 2020-06-05 22:05 UTC by courtney.hicks1
Modified: 2023-01-09 21:59 UTC (History)
4 users (show)

See Also:
grahamperrin: maintainer-feedback-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description courtney.hicks1 2020-06-05 22:05:26 UTC
I haven't been able to track down what is causing this as nothing appears in the logs, but I believe Chromimum and chromimum-based (or electron) based software behaves the same way. It appears if I don't start up chromium within the first few minutes or so of my computer being on, it will crash my graphics and my screen goes black. The OS itself doesn't crash because it reboots. I have this same behavior with editors/vscode.

Hardware:
Ryzen 3600
Nvidia GTX 1070Ti

Software:
Driver version x11/nvidia-driver-440.82
FreeBSD 12.1-STABLE r361840
KDE Plasma 5.18.5
Rendering Backend setting in Plasma: OpenGL 2.0

At times if it Doesn't crash, it loads really slow and looks like it's about to crash. My xorg file.conf file is generated by nvidia-xconfig
Comment 1 waitman 2020-06-11 00:54:55 UTC
I'm running with nvidia too, desktop is kde plasma latest in ports.

FreeBSD ayo 12.1-RELEASE-p6 FreeBSD 12.1-RELEASE-p6 GENERIC  amd64


Since I updated to the latest 83.0.4103.61, if I start Chromium then the system goes wonky. Clicking on anything does nothing, no response. The only thing that works is alt-tab to get to konsole terminal that is already running and I can type. It also "pastes" random weird text from other windows. (like the list of servers in the hexchat program that is running. just appears.). I don't have any  more details yet, and not 100% it's Chromium's fault but it only seems to go wonky after i start Chromium.)
Comment 2 Graham Perrin freebsd_committer freebsd_triage 2021-12-18 16:31:02 UTC
Is this reproducible with more a more recent release of the OS and more recent ports? 

Do you have an account at Reddit or on FreeBSD Forums?
Comment 3 Graham Perrin freebsd_committer freebsd_triage 2022-11-20 00:56:46 UTC
(In reply to courtney.hicks1 from comment #0)

If still reproducible, with a supported version of FreeBSD version, then please re-open this issue with additional information (including the version) and steps to reproduce.
Comment 4 nekobit 2023-01-09 02:21:51 UTC
Can confirm. I decided to try out Chromium after using Firefox for a while, noticed that suddenly my browser has been crashing. Chromium has also been particularly slow, so I am not seeing that it's very stable on FreeBSD.

Seeing this link, it uses RadeonKMS:
https://forums.freebsd.org/threads/www-chromium-crashes-the-system.76789/

I use amdgpu, and it causes my system to lock up. I don't see anything in particular of interest in my /var/crash, so I'll keep on with this
Comment 5 nekobit 2023-01-09 02:30:13 UTC
(In reply to nekobit from comment #4)
In elaboration. My whole computer crashes, a kernel panic. Again, not quite sure, i dont see any logs on the crash, probably on me.

I'm moving from Chromium for now as a cheap workaround, since this is my development machine... somehow. I do want to follow up on this if I notice any similar crashes, I'll poke around and see if I can get some debugging logs.

FreeBSD 14.0-CURRENT amd64

CPU: AMD Ryzen 5 2600 Six-Core Processor             (3393.89-MHz K8-class CPU)
FreeBSD/SMP: Multiprocessor System Detected: 12 CPUs
cpu0: <ACPI CPU> on acpi0


notable snippets:

exclusive sleep mutex vtdev (vtdev) r = 0 (0xffffffff81aec3b8) locked @ /usr/src/sys/dev/vt/vt_core.c:3053
Comment 6 nekobit 2023-01-09 02:31:02 UTC
(In reply to nekobit from comment #4)
s/browser has been crashing/computer has been crashing
Comment 7 Graham Perrin freebsd_committer freebsd_triage 2023-01-09 18:31:37 UTC
(In reply to courtney.hicks1 from comment #0)

> … The OS itself doesn't crash …

(In reply to nekobit from comment #5)

> … kernel panic. …

For the kernel panic (operating system crash), please open a separate bug report. Thanks.
Comment 8 nekobit 2023-01-09 21:59:31 UTC
(In reply to Graham Perrin from comment #7)
Right, I'll try to make a new thread. Apologies.