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

2019-08-15 Thread bugtracker-admin
Issue #3198 has been updated by yellowrabbit2010.

File core.txt.3 added

Very fast crash in the FreeCAD when trying to open a file with a model.
<118>Aug 16 08:17:07 fly kernel: [drm] Initialized radeon 2.45.0 20080528
panic: BUG in ttm_bo_add_to_lru at /usr/src/sys/dev/drm/drm/../ttm/ttm_bo.c:173
cpuid = 0
Trace beginning at frame 0xf803a4857198
ttm_bo_add_to_lru() at ttm_bo_add_to_lru+0x13a 0x84f5752a
ttm_bo_add_to_lru() at ttm_bo_add_to_lru+0x13a 0x84f5752a
ttm_eu_fence_buffer_objects() at ttm_eu_fence_buffer_objects+0x5d 
0x84f5ae9d
radeon_cs_parser_fini() at radeon_cs_parser_fini+0x19d 0x8387cecd
radeon_cs_ioctl() at radeon_cs_ioctl+0x5ea 0x8387d9ba
drm_ioctl() at drm_ioctl+0xe9 0x84f3ea89
boot() called on cpu#0
Uptime: 4m52s
Physical memory: 20375 MB


Bug #3198: OpenGL app crash with Radeon driver
http://bugs.dragonflybsd.org/issues/3198#change-13785

* Author: yellowrabbit2010
* Status: In Progress
* 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.








---Files
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)
IMG_20190724_210557_HDR-min.jpg (2.57 MB)
vga.txz (312 KB)
IMG_20190727_194932_HDR.jpg (4.11 MB)
core.txt.0 (1.12 MB)
messages (35.1 KB)
core.txt.2 (1.47 MB)
core.txt.3 (1.73 MB)


-- 
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


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

2019-08-15 Thread bugtracker-admin
Issue #3198 has been updated by yellowrabbit2010.

File messages added

After about half an hour working with Chromium, at the moment when I moved the 
mouse, the Xorg died:(

kernel: ttm_bo_wait(): ret = 1



Bug #3198: OpenGL app crash with Radeon driver
http://bugs.dragonflybsd.org/issues/3198#change-13783

* Author: yellowrabbit2010
* Status: In Progress
* 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.








---Files
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)
IMG_20190724_210557_HDR-min.jpg (2.57 MB)
vga.txz (312 KB)
IMG_20190727_194932_HDR.jpg (4.11 MB)
core.txt.0 (1.12 MB)
messages (35.1 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


[DragonFlyBSD - Bug #3198] (In Progress) OpenGL app crash with Radeon driver

2019-08-15 Thread bugtracker-admin
Issue #3198 has been updated by ftigeot.

Status changed from New to In Progress

I have pushed a new branch to leaf with a possible fix: 
drm_ttm_radeon_4_7_10_rebased_v2

Can you check if this improve the situation on your hardware ?


Bug #3198: OpenGL app crash with Radeon driver
http://bugs.dragonflybsd.org/issues/3198#change-13781

* Author: yellowrabbit2010
* Status: In Progress
* 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.








---Files
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)
IMG_20190724_210557_HDR-min.jpg (2.57 MB)
vga.txz (312 KB)
IMG_20190727_194932_HDR.jpg (4.11 MB)


-- 
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