LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: gtom79 on July 07, 2011, 10:35:19

Title: Crash with ATI and 64bit Linux
Post by: gtom79 on July 07, 2011, 10:35:19
Hi,

i've a very strange crash occurs pretty frequently on Linux (64bit) with ATI driver. I do not receive any exception or something like that, but rather the whole vm crashes. See the dump file below:


#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f3cac833c92, pid=874, tid=139898901821184
#
# JRE version: 6.0_22-b22
# Java VM: OpenJDK 64-Bit Server VM (20.0-b11 mixed mode linux-amd64 compressed oops)
# Derivative: IcedTea6 1.10.2
# Distribution: Ubuntu 11.04, package 6b22-1.10.2-0ubuntu1~11.04.1
# Problematic frame:
# C  0x00007f3cac833c92
#
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
#   https://bugs.launchpad.net/ubuntu/+source/openjdk-6/
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

---------------  T H R E A D  ---------------

Current thread (0x0000000000f5a800):  JavaThread "main" [_thread_in_native, id=879, stack(0x00007f3cc048f000,0x00007f3cc0590000)]

siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x00000000b6a4fa40

Registers:
RAX=0x00000000b6a4fa40, RBX=0x0000000000020000, RCX=0x00000000b55dc870, RDX=0x0000000000000000
RSP=0x00007f3cc058cc10, RBP=0x00007f3cb55285d8, RSI=0x00007f3cb610f480, RDI=0x00007f3cb5edab76
R8 =0x0000000000000001, R9 =0x0000000000000150, R10=0x0000000000000000, R11=0x0000000000000000
R12=0x0000000000000000, R13=0x0000000000000000, R14=0x0000000000000004, R15=0x0000000000000000
RIP=0x00007f3cac833c92, EFLAGS=0x0000000000010202, CSGSFS=0x0000000000000033, ERR=0x0000000000000004
 TRAPNO=0x000000000000000e

Top of Stack: (sp=0x00007f3cc058cc10)
0x00007f3cc058cc10:   0000001c00000000 00000000fffffffc
0x00007f3cc058cc20:   00007f3cb5edab70 00007f3cb5e1a676
0x00007f3cc058cc30:   00007f3cb6a4fa40 00007f3cb55dc870
0x00007f3cc058cc40:   00007f3cb610f480 00007f3cb6110440
0x00007f3cc058cc50:   0000000000000003 0000000200000009
0x00007f3cc058cc60:   0000000000000002 00007f3cb55285d8
0x00007f3cc058cc70:   0000000100000000 0000000000000001
0x00007f3cc058cc80:   00007f3cac833b40 0000000000000000
0x00007f3cc058cc90:   00007f3cb55569c0 00007f3cb55285d8
0x00007f3cc058cca0:   00007f3cb55a5c40 00007f3ca5e22bce
0x00007f3cc058ccb0:   00007f3cb55285d8 00007f3ca5e22c68
0x00007f3cc058ccc0:   00007f3cc0597400 00007f3cb55a5c40
0x00007f3cc058ccd0:   00007f3cb55285f0 00007f3ca5e50892
0x00007f3cc058cce0:   0000000000000000 0000000000000000
0x00007f3cc058ccf0:   0000000200000000 0000000000000006
0x00007f3cc058cd00:   00007f3cb6816338 0000000400000000
0x00007f3cc058cd10:   00007f3cb55569c0 00007f3cb68164c8
0x00007f3cc058cd20:   00007f3cc0597040 00000004b552aaa8
0x00007f3cc058cd30:   0000000300000004 0000000100000000
0x00007f3cc058cd40:   0000079ec0597400 0000000000000000
0x00007f3cc058cd50:   0000000100000004 0000000000000002
0x00007f3cc058cd60:   00007f3cb5528808 fdccccce7dccccce
0x00007f3cc058cd70:   00007f3cc058cd80 000061f18a601807
0x00007f3cc058cd80:   00007f3cb5528808 00007f3ca5e1fbef
0x00007f3cc058cd90:   00007f3cb55285d8 00007f3ca5e22c68
0x00007f3cc058cda0:   0000000000000000 00007f3cb55285d8
0x00007f3cc058cdb0:   0000000000000000 00007f3ca5e5506d
0x00007f3cc058cdc0:   00007f3cc058ce40 00007f3cc058ce80
0x00007f3cc058cdd0:   00007f3cb6a9afb0 00007f3cb6a9b048
0x00007f3cc058cde0:   0000000600000000 00007f3cb552880c
0x00007f3cc058cdf0:   3f1521ff00000004 0000000000000000
0x00007f3cc058ce00:   0000000200000000 0000001c00000000

Instructions: (pc=0x00007f3cac833c92)
0x00007f3cac833c72:   0b c3 89 01 66 89 51 04 48 81 c1 06 00 00 00 ff
0x00007f3cac833c82:   44 24 68 48 89 4c 24 18 8b 44 24 20 8b 4c 24 28
0x00007f3cac833c92:   66 8b 18 66 89 19 ff 44 24 28 ff 44 24 20 ff 4c
0x00007f3cac833ca2:   24 4c 41 0f 8f 15 ff ff ff 48 8b 94 24 50 01 00

Register to memory mapping:

RAX=0x00000000b6a4fa40 is an unknown value
RBX=0x0000000000020000 is an unknown value
RCX=0x00000000b55dc870 is an unknown value
RDX=0x0000000000000000 is an unknown value
RSP=0x00007f3cc058cc10 is pointing into the stack for thread: 0x0000000000f5a800
RBP=0x00007f3cb55285d8 is an unknown value
RSI=0x00007f3cb610f480 is an unknown value
RDI=0x00007f3cb5edab76 is an unknown value
R8 =0x0000000000000001 is an unknown value
R9 =0x0000000000000150 is an unknown value
R10=0x0000000000000000 is an unknown value
R11=0x0000000000000000 is an unknown value
R12=0x0000000000000000 is an unknown value
R13=0x0000000000000000 is an unknown value
R14=0x0000000000000004 is an unknown value
R15=0x0000000000000000 is an unknown value


Stack: [0x00007f3cc048f000,0x00007f3cc0590000],  sp=0x00007f3cc058cc10,  free space=1015k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  0x00007f3cac833c92
[error occurred during error reporting (printing native stack), id 0xb]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  org.lwjgl.opengl.GL11.nglCallList(IJ)V+0
j  org.lwjgl.opengl.GL11.glCallList(I)V+15
j  com.product.abc.biz.wh.visu.lib.graphic.building.RackObject.drawConcreteObject()V+167
j  com.product.abc.biz.wh.visu.lib.graphic.building.GraphicObject.displayObject(Z)V+73
j  com.product.abc.biz.wh.visu.lib.graphic.building.GraphicObject.displayObject(Z)V+105
j  com.product.abc.biz.wh.visu.lib.graphic.building.GraphicObject.displayObject(Z)V+105
j  com.product.abc.biz.wh.visu.lib.graphic.buildingUniverseGraphicManager.displayScene()V+189
j  com.product.abc.biz.wh.visu.lib.selection.SelectionHandler.doPickObjectsAt(II)Lcom/product/abc/biz/wh/visu/graphic/building/GraphicObjectProvider;+155
j  com.product.abc.biz.wh.visu.lib.selection.SelectionHandler.selectNearestObjectAt(II)Lcom/product/abc/biz/wh/visu/graphic/building/GraphicObjectProvider;+3
j  com.product.abc.biz.wh.visu.lib.interaction.UserInteractionHandlerImpl.mouseUp(Lorg/eclipse/swt/events/MouseEvent;)V+127
j  org.eclipse.swt.widgets.TypedListener.handleEvent(Lorg/eclipse/swt/widgets/Event;)V+899
J  org.eclipse.swt.widgets.EventTable.sendEvent(Lorg/eclipse/swt/widgets/Event;)V
j  org.eclipse.swt.widgets.Widget.sendEvent(Lorg/eclipse/swt/widgets/Event;)V+25
j  org.eclipse.swt.widgets.Display.runDeferredEvents()Z+92
j  org.eclipse.swt.widgets.Display.readAndDispatch()Z+43
...
...
...

---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
 0x00007f3cb61c3000 JavaThread "Thread-20" daemon [_thread_blocked, id=998, stack(0x00007f3caac16000,0x00007f3caad17000)]
 0x00000000030a9800 JavaThread "GC Daemon" daemon [_thread_blocked, id=996, stack(0x00007f3cac01e000,0x00007f3cac11f000)]
 0x0000000002ef9000 JavaThread "RMI RenewClean-[172.28.9.87:39459]" daemon [_thread_blocked, id=995, stack(0x00007f3cacd77000,0x00007f3cace78000)]
 0x0000000003acc000 JavaThread "pool-3-thread-1" [_thread_blocked, id=994, stack(0x00007f3ca9881000,0x00007f3ca9982000)]
 0x00000000044a9800 JavaThread "pool-4-thread-1" [_thread_blocked, id=993, stack(0x00007f3cab160000,0x00007f3cab261000)]
 0x0000000002bcc800 JavaThread "pool-2-thread-1" [_thread_blocked, id=992, stack(0x00007f3cab261000,0x00007f3cab362000)]
 0x00000000014b6800 JavaThread "Worker-1" [_thread_blocked, id=988, stack(0x00007f3cabf1d000,0x00007f3cac01e000)]
 0x000000000337c000 JavaThread "Java indexing" daemon [_thread_blocked, id=986, stack(0x00007f3caa089000,0x00007f3caa18a000)]
 0x00007f3cb620d800 JavaThread "pool-5-thread-1" [_thread_blocked, id=984, stack(0x00007f3ca9a83000,0x00007f3ca9b84000)]
 0x00007f3cb49d1000 JavaThread "OpenGL-Rendering" daemon [_thread_blocked, id=983, stack(0x00007f3caae18000,0x00007f3caaf19000)]
 0x00007f3cb49d0000 JavaThread "AWT-XAWT" daemon [_thread_in_native, id=976, stack(0x00007f3ca9e87000,0x00007f3ca9f88000)]
 0x00007f3cb51f9800 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=975, stack(0x00007f3ca9f88000,0x00007f3caa089000)]
 0x00007f3cb517d800 JavaThread "JMS KickUser listener" [_thread_blocked, id=966, stack(0x00007f3ca9780000,0x00007f3ca9881000)]
 0x0000000001d6f800 JavaThread "Worker-0" [_thread_blocked, id=962, stack(0x00007f3ca967f000,0x00007f3ca9780000)]
 0x00007f3cb602c800 JavaThread "Timer-1" [_thread_blocked, id=959, stack(0x00007f3ca9982000,0x00007f3ca9a83000)]
 0x0000000001632000 JavaThread "ActiveMQ Transport: tcp://localhost/127.0.0.1:61616" [_thread_in_native, id=952, stack(0x00007f3ca9b84000,0x00007f3ca9c85000)]
 0x00007f3cb4414800 JavaThread "ActiveMQConnection[ID:masat-45358-1310033824384-0:4] Scheduler" daemon [_thread_blocked, id=951, stack(0x00007f3ca9c85000,0x00007f3ca9d86000)]
 0x00007f3cb4233000 JavaThread "Thread-13" [_thread_blocked, id=950, stack(0x00007f3ca9d86000,0x00007f3ca9e87000)]
 0x000000000302a800 JavaThread "ActiveMQConnection[ID:masat-45358-1310033824384-0:3] Scheduler" daemon [_thread_blocked, id=942, stack(0x00007f3caaf19000,0x00007f3cab01a000)]
 0x00000000034f1800 JavaThread "ActiveMQ Broker[VMgptkbota] Scheduler" daemon [_thread_blocked, id=939, stack(0x00007f3caa99e000,0x00007f3caaa9f000)]
 0x00007f3cb4776800 JavaThread "Timer-0" daemon [_thread_blocked, id=938, stack(0x00007f3caa595000,0x00007f3caa696000)]
 0x00007f3cb491e800 JavaThread "JMS Organizational Profile cache cleaning listener" daemon [_thread_blocked, id=937, stack(0x00007f3caa89d000,0x00007f3caa99e000)]
 0x0000000001433800 JavaThread "ActiveMQ Transport: tcp://localhost/127.0.0.1:61616" [_thread_in_native, id=934, stack(0x00007f3caab15000,0x00007f3caac16000)]
 0x00007f3cb4500800 JavaThread "ActiveMQConnection[ID:masat-45358-1310033824384-0:2] Scheduler" daemon [_thread_blocked, id=933, stack(0x00007f3caad17000,0x00007f3caae18000)]
 0x00007f3cb46b2800 JavaThread "pool-1-thread-1" [_thread_blocked, id=917, stack(0x00007f3cab46d000,0x00007f3cab56e000)]
 0x00000000018a5000 JavaThread "Thread-3" daemon [_thread_blocked, id=915, stack(0x00007f3cabd1b000,0x00007f3cabe1c000)]
 0x0000000002c1c000 JavaThread "log4j properties listener" daemon [_thread_blocked, id=914, stack(0x00007f3cabe1c000,0x00007f3cabf1d000)]
 0x0000000001d12800 JavaThread "RMI Scheduler(0)" daemon [_thread_blocked, id=911, stack(0x00007f3cac11f000,0x00007f3cac220000)]
 0x00007f3cb41f8800 JavaThread "[ThreadPool Manager] - Idle Thread" daemon [_thread_blocked, id=910, stack(0x00007f3cac422000,0x00007f3cac523000)]
 0x00007f3cb4243800 JavaThread "[Timer] - Main Queue Handler" daemon [_thread_blocked, id=909, stack(0x00007f3cac523000,0x00007f3cac624000)]
 0x00007f3cb4226000 JavaThread "Worker-JM" [_thread_blocked, id=908, stack(0x00007f3cac624000,0x00007f3cac725000)]
 0x00007f3cb4468800 JavaThread "Bundle File Closer" daemon [_thread_blocked, id=906, stack(0x00007f3cacb75000,0x00007f3cacc76000)]
 0x00007f3cb41e9800 JavaThread "Start Level Event Dispatcher" daemon [_thread_blocked, id=904, stack(0x00007f3caca74000,0x00007f3cacb75000)]
 0x00007f3cb4134000 JavaThread "Framework Event Dispatcher" daemon [_thread_blocked, id=902, stack(0x00007f3cacc76000,0x00007f3cacd77000)]
 0x0000000001011800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=899, stack(0x00007f3cb82fc000,0x00007f3cb83fd000)]
 0x000000000100c800 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=898, stack(0x00007f3cb83fd000,0x00007f3cb84fe000)]
 0x0000000001009000 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=895, stack(0x00007f3cb84fe000,0x00007f3cb85ff000)]
 0x0000000000ffb800 JavaThread "JDWP Command Reader" daemon [_thread_in_native, id=893, stack(0x00007f3cb85ff000,0x00007f3cb8700000)]
 0x0000000000ff9000 JavaThread "JDWP Event Helper Thread" daemon [_thread_blocked, id=892, stack(0x00007f3cb8700000,0x00007f3cb8801000)]
 0x0000000000ff5800 JavaThread "JDWP Transport Listener: dt_socket" daemon [_thread_blocked, id=889, stack(0x00007f3cb8801000,0x00007f3cb8902000)]
 0x0000000000fea800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=887, stack(0x00007f3cb8b07000,0x00007f3cb8c08000)]
 0x0000000000fc7000 JavaThread "Finalizer" daemon [_thread_blocked, id=885, stack(0x00007f3cb8c08000,0x00007f3cb8d09000)]
 0x0000000000fc5000 JavaThread "Reference Handler" daemon [_thread_blocked, id=884, stack(0x00007f3cb8d09000,0x00007f3cb8e0a000)]
=>0x0000000000f5a800 JavaThread "main" [_thread_in_native, id=879, stack(0x00007f3cc048f000,0x00007f3cc0590000)]

Other Threads:
 0x0000000000fbe000 VMThread [stack: 0x00007f3cb8e0a000,0x00007f3cb8f0b000] [id=883]
 0x0000000001014000 WatcherThread [stack: 0x00007f3cb81fb000,0x00007f3cb82fc000] [id=900]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
PSYoungGen      total 126080K, used 83187K [0x00000000f5560000, 0x00000000ffdc0000, 0x0000000100000000)
 eden space 109056K, 60% used [0x00000000f5560000,0x00000000f9602348,0x00000000fbfe0000)
 from space 17024K, 99% used [0x00000000fbfe0000,0x00000000fd07aa30,0x00000000fd080000)
 to   space 31680K, 0% used [0x00000000fded0000,0x00000000fded0000,0x00000000ffdc0000)
PSOldGen        total 136192K, used 101990K [0x00000000e0000000, 0x00000000e8500000, 0x00000000f5560000)
 object space 136192K, 74% used [0x00000000e0000000,0x00000000e6399ab8,0x00000000e8500000)
PSPermGen       total 176832K, used 151858K [0x00000000d0000000, 0x00000000dacb0000, 0x00000000e0000000)
 object space 176832K, 85% used [0x00000000d0000000,0x00000000d944cb40,0x00000000dacb0000)

Code Cache  [0x00007f3cb98a7000, 0x00007f3cb9f77000, 0x00007f3cbc8a7000)
total_blobs=2530 nmethods=1646 adapters=844 free_code_cache=43310976 largest_free_block=7680

Dynamic libraries:
...
...
...

VM Arguments:
jvm_args: -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:44493 -Xmx512m -XX:MaxPermSize=256m -Dcom.product.abc.rmi.host=localhost -Dcom.product.abc.rmi.port=22222 -Dlogin.ignore=true -Dlogin.alias=controlcenter -Dlogin.password=controlcenter -Dlogin.role=OPERATIVE -Dorg.eclipse.swtbot.keyboard.strategy=org.eclipse.swtbot.swt.finder.keyboard.SWTKeyboardStrategy -Dorg.eclipse.swtbot.keyboard.layout=EN_US -Dorg.lwjgl.util.Debug=true -Dorg.lwjgl.opengl.Display.allowSoftwareOpenGL=true -ea -Dfile.encoding=UTF-8
java_command: org.eclipse.equinox.launcher.Main -launcher /usr/local/eclipse-SDK-3.6-linux-gtk-x86_64/eclipse -name Eclipse -showsplash 600 -application com.product.abc.core.launcher.application -data /home/user/workspace/product-abc-team3/../runtime-trunk/productDesktop -configuration file:/home/user/workspace/product-abc-team3/.metadata/.plugins/org.eclipse.pde.core/productDesktop-Linux_64/ -dev file:/home/user/workspace/product-abc-team3/.metadata/.plugins/org.eclipse.pde.core/productDesktop-Linux_64/dev.properties -os linux -ws gtk -arch x86_64 -nl en_US
Launcher Type: SUN_STANDARD

Environment Variables:
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
USERNAME=user
LD_LIBRARY_PATH=/usr/lib/jvm/java-6-openjdk/jre/lib/amd64/server:/usr/lib/jvm/java-6-openjdk/jre/lib/amd64:/usr/lib/jvm/java-6-openjdk/jre/../lib/amd64:/usr/lib32
SHELL=/bin/bash
DISPLAY=:0

Signal Handlers:
SIGSEGV: [libjvm.so+0x7d0f60], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGBUS: [libjvm.so+0x7d0f60], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGFPE: [libjvm.so+0x683760], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGPIPE: SIG_IGN, sa_mask[0]=0x00001000, sa_flags=0x10000000
SIGXFSZ: [libjvm.so+0x683760], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGILL: [libjvm.so+0x683760], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGUSR2: [libjvm.so+0x683930], sa_mask[0]=0x00000004, sa_flags=0x10000004
SIGHUP: [libjvm.so+0x6862d0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGINT: [libjvm.so+0x6862d0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGTERM: [libjvm.so+0x6862d0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGQUIT: [libjvm.so+0x6862d0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004


---------------  S Y S T E M  ---------------

OS:Ubuntu 11.04 (natty)
uname:Linux 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:24 UTC 2011 x86_64
libc:glibc 2.13 NPTL 2.13
rlimit: STACK 8192k, CORE 0k, NPROC infinity, NOFILE 4096, AS infinity
load average:0.46 0.42 0.31

/proc/meminfo:
MemTotal:        8124748 kB
MemFree:          357488 kB
Buffers:          821576 kB
Cached:          1951924 kB
SwapCached:         4532 kB
Active:          5458920 kB
Inactive:        1292088 kB
Active(anon):    3700336 kB
Inactive(anon):   284564 kB
Active(file):    1758584 kB
Inactive(file):  1007524 kB
Unevictable:          32 kB
Mlocked:              32 kB
SwapTotal:       4200992 kB
SwapFree:        4187084 kB
Dirty:              1376 kB
Writeback:           516 kB
AnonPages:       3974004 kB
Mapped:           315308 kB
Shmem:              7244 kB
Slab:             546656 kB
SReclaimable:     514240 kB
SUnreclaim:        32416 kB
KernelStack:        4848 kB
PageTables:        35792 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:     8263364 kB
Committed_AS:    5726612 kB
VmallocTotal:   34359738367 kB
VmallocUsed:      130780 kB
VmallocChunk:   34359600984 kB
HardwareCorrupted:     0 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
DirectMap4k:     2334720 kB
DirectMap2M:     5986304 kB


CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 23 stepping 6, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1

Memory: 4k page, physical 8124748k(357488k free), swap 4200992k(4187084k free)

vm_info: OpenJDK 64-Bit Server VM (20.0-b11) for linux-amd64 JRE (1.6.0_22-b22), built on Jun 11 2011 05:56:16 by "buildd" with gcc 4.5.2

time: Thu Jul  7 12:18:07 2011
elapsed time: 75 seconds


It is always the same org.lwjgl.opengl.GL1.nglCallList function call at the top of the stack. However the crash not occurs each time. I can't figured out how to reproduce, but it has definitely something to do with list.

Has anybody a clue how can I find the root cause of this problem?

Thx
Title: Re: Crash with ATI and 64bit Linux
Post by: CodeBunny on July 07, 2011, 10:58:23
I'm using LWJGL on 64-bit Linux (Ubuntu) with an ATI graphics card, and I also usually have problems with OpenJDK and IcedTea that doesn't always happen (though it does about 95% of the time). However, I think that my problem is due to a threading issue with the X Windowing system. Beyond that I haven't been able to do anything to fix it.
Title: Re: Crash with ATI and 64bit Linux
Post by: gtom79 on July 07, 2011, 11:01:26
But if it is some threading problem in X, why does this not occurs using NVIDIA driver, or even mesa?  ???
Title: Re: Crash with ATI and 64bit Linux
Post by: CodeBunny on July 07, 2011, 13:33:58
Hmm. I don't know, I haven't been able to really test it that much.
Title: Re: Crash with ATI and 64bit Linux
Post by: gtom79 on July 07, 2011, 13:48:27
I've just cicked the ATI driver, and started testing with the mesa SGI driver (OpenGL info - Advanced Micro Devices, Inc. Mesa DRI R600 (RV635 9591) 20090101  TCL DRI2 2.1 Mesa 7.10.3).

Since I've replaced the driver I have no crashes at all.

This could be an indicator, that the fish is swimming in the sea of ATI.  :P
Title: Re: Crash with ATI and 64bit Linux
Post by: CodeBunny on July 07, 2011, 17:11:00
Hmm. Maybe that's the cause of my bug as well? I ordered a new nVidia card a few days ago, when it gets here maybe that will fix things.
Title: Re: Crash with ATI and 64bit Linux
Post by: princec on July 08, 2011, 09:57:24
Advice : don't use display lists.
Also : for ATI on Linux, use the open source drivers not the proprietry ones.

Cas :)
Title: Re: Crash with ATI and 64bit Linux
Post by: gtom79 on July 08, 2011, 20:52:00
why should i avoid display lists?
I thought (I mean the red book writes about  :-\ ) it is a good way to gain on performance!?
What are the main drawbacks of display lists?

Off topic:
A curious issue with the open source mesa driver:
On my lenovo with a lenovo 23" display it does not work over the display port, but only over the analogue VGA port!  :o

Thx
Title: Re: Crash with ATI and 64bit Linux
Post by: princec on July 09, 2011, 19:54:35
Display lists are very poorly implemented in most ICDs, often buggy and crashy. I think only Nvidia took them seriously in their prosumer cards.

Cas :)
Title: Re: Crash with ATI and 64bit Linux
Post by: CodeBunny on July 10, 2011, 12:10:03
That's unfortunate, because I find Display Lists extremely useful in their ability to speed up a wide variety of different types of calls. From what I've seen of VBOs and vertex buffers, they only really speed up geometry rendering.

Am I wrong in that? I'm not the most experienced with VBOs/etc.
Title: Re: Crash with ATI and 64bit Linux
Post by: princec on July 10, 2011, 21:25:19
Yes, you're wrong :) Drivers all operate asynchronously these days batching up commands in a queue anyway. And display lists have all sorts of subtle issues which can break your rendering.

Cas :)
Title: Re: Crash with ATI and 64bit Linux
Post by: CodeBunny on July 13, 2011, 11:31:57
Ah.

Oh well, my current project is fairly heavily based on them and almost finished, so I guess I'll just live with it. Good to keep in mind, though.