[DragonFlyBSD - Bug #3198] OpenGL app crash with Radeon driver

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Wed Jul 24 02:40:28 PDT 2019

Issue #3198 has been updated by ftigeot.

Thanks for this bug report.
The issue looks to be hardware-specific though; I cannot reproduce it at will on any of my machines.

The branch drm_ttm_radeon_4_4_180_v1 on leaf contains the individual changes leading to the Linux 4.4.180 update.

Can you bisect the changes on your hardware ?

Some instructions on how to do that:
* git remote add leaf git://leaf.dragonflybsd.org/~ftigeot/dragonfly.git
* git fetch leaf
* git checkout drm_ttm_radeon_4_4_180_v1
* git checkout 211521498c6a0f6fdedfa4c7210a9b3f57aeef0e
* make kernel && reboot

That last git checkout will give you the state of master just before the drm/radeon 4.4.180 changes
If all goes well with that commit, you will then be able to find out which of the following ones broke opengl on your hardware

Bug #3198: OpenGL app crash with Radeon driver

* Author: yellowrabbit2010
* Status: New
* Priority: High
* Assignee: 
* Category: Driver
* Target version: 
The programs I work with, namely, FreeCAD, Kicad, MPV, Chromium crash with ``vm_fault: pager read error'' at different times, sometimes immediately after starting, sometimes after some manipulations.
I managed to repeat the situation on the configuration with minimal changes:
- I downloaded DragonFly-X86_64-LATEST.img.bz2 2019-07-16 03:56 285M
- installed it on 8G usb flash drive
- modify rc.conf and wpa_supplicant.conf in order to connect to WiFi
- pkg install Xorg mesa-demos
- added user rabbit
- startx 
- glxgears

Glxgears crushed immediately after start. Unfortunately, the test installation does not contain packages with debug information, so its core file is not very informative. But since the situation is always repeated, I built packages with debug information and made a screenshot of the gdb file with the downloaded core on the working machine (KERNCONF=X86_64_GENERIC).
I have to note that I use the core of the March version and it has no problems with graphics at all: there have been no failures for a long time with all the programs listed above. That is, it is unlikely that this is a video memory or swap file problem and so on.
= 5.5-DEVELOPMENT DragonFly v5.5.0.325.gf6792-DEVELOPMENT #25: Sun Mar 24 09:54:07 VLAT 2019 =

I made an image of the flash drive immediately after the failure, you can download it from here https://yellowrabbit.gitlab.io/pub/bugs/dfly-glxgears.img.xz . There are no passwords neither for the rabbit user nor for root.

IMG_20190718_080950_HDR-min.jpg (1.83 MB)
Xorg.0.log (27.6 KB)
gdb-0.txt (558 Bytes)
messages (34.9 KB)
gdb-1.txt (2.72 KB)
gdb-1.png (394 KB)
glxgears.core.xz (298 KB)

You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account

More information about the Bugs mailing list