You are not logged in.
Hi,
I can't run OpenGL programs such as Blender, Wings3D and Crack-Attack.
All these programs will freeze my system after a while.
My video card is a Via Unichrome Pro (K8M800), the driver is openchrome.
First I thought it has something to do with my graphics card driver, but I don't believe that's the issue, because I tried several configurations now:
openchrome / dri
openchrome / without dri
vesa / dri
vesa / without dri
All OpenGL apps will freeze after or while, sometimes they freeze the whole system. I guess it has something to do with the mesa package, but I don't know why it isn't working.
Also tried to compile libdrm and openchrome by myself (the newest versions from svn), but still the same results.
When I'm starting glxgears, it will run for hours, but the other programs freeze, so I guess glxgears doesn't use OpenGL???
I'm pretty sure that Blender and Wings3D worked in Ubuntu 5.10 half a year ago, but with Archlinux I'm not able to use these programs anymore.
Any suggestions?
I need those apps, especially Blender... :cry:
digiKam developer - www.digikam.org
Offline
I think you're having the same problem as mentioned here:
http://bbs.archlinux.org/viewtopic.php?p=212236
Namely, apps that use SDL seem to lock up systems, or kick people out of X anyway.
-=edit=-
nevermind, crack-attack doesn't look like it's an SDL app from its deps... hmmmmmm....
In any case, it's similar to what other people are experiencing, and everyone with different video drivers it would seem.
Perhaps a bug-report should be filed...
-=/edit=-
Offline
http://bugs.archlinux.org/task/5907
Added to this, existing, bugreport... seems we may all have some related problem?
Offline
I have this problem since I use Archlinux. I don't know if some update is responsible for that, because I installed Blender 3 months ago and it didn't work. I used to work with Blender in Ubuntu, everything was fine. I changed my system to Archlinux in June so I can't give you an exact date when these things broke up.
Found this article for openchrome: Openchrome 3D Status
So it says that the last stable version of Mesa seems to be Mesa-6.4.1.
But as I said before my system also freezes with the vesa driver, and with or without dri.
It is so frustrating, I wish I'd never bought this laptop :x
Since two years I can't use this video card correctly.... :evil:
Just 50€ more and I would have a NVIDIA video card. I hate VIA ![]()
digiKam developer - www.digikam.org
Offline
Hey, don't dis VIA too much, they're the only chipset manufacturer that hasn't gone head-over-heels for hardware DRM.
Anyway... Although the wiki page that you linked to is outdated, there are a *lot* of showstopping bugs in the Unichrome drivers, and Freedesktop's habit of never making bugfix releases for drivers is not helping things. Try posting your xorg.conf, someone might spot something in there that could cause crashes.
Speaking of which: do you have a "DRI" section in xorg.conf? Should look like this;
Section "DRI"
Mode 0666
EndSectionXOrg is supposed to fall back on indirect rendering if that's not there, but - at least on Unichrome - it locks up instead whenever you try to start something that uses OpenGL.
Offline
The problem is that even if DRI is disabled the system will freeze....
But anyway here's my xorg.conf, generated with X -configure:
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
RgbPath "/usr/share/X11/rgb"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/75dpi"
FontPath "/usr/share/fonts/100dpi"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/local/share/fonts"
EndSection
Section "Module"
Load "extmod"
Load "dbe"
Load "record"
Load "xtrap"
Load "dri"
Load "freetype"
Load "type1"
Load "glx"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "de"
Option "XkbVariant" "nodeadkeys"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Device"
Identifier "Card0"
VendorName "Unknown Vendor"
BoardName "Unknown Board"
BusID "PCI:1:0:0"
Driver "via"
Option "DisableIRQ"
Option "EnableAGPDMA"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1024x768"
EndSubSection
EndSection
Section "DRI"
Mode 0666
EndSectiondigiKam developer - www.digikam.org
Offline
Output of glxinfo:
direct rendering: Yes
OpenGL renderer string: Mesa DRI UniChrome (K8M800) 20060710 x86/MMX+/3DNow!+/SSE2
digiKam developer - www.digikam.org
Offline
dunno if this is any help at all to you.
But I had almost identical problems to you when I was running gentoo about a month ago.
This on a Macbook (non-Pro) using i945GM.
So using that as a reference I would say that it might not be the drivers, but then again I'm pretty new to these kind of stuffs.
Otherwise I had about the same problem as you, direct rendering = Yes, drivers loaded successfully everything seemed right, but whenever I started a open gl application my computer froze. These problems disappeared when I made the switch to arch though.
Hope this helps at all. ![]()
Offline
no
not really...
I wanted to use Blender today and every time I move in 3D space, the program freezes and I have to kill the application or in worst case restart my system. So I started / killed / restarted Blender 200 times or more in the last 2 hours :cry:
But there is one strange thing I figured out:
Every time I reach a special angle in my scene, Blender crashes. If I turn off the 3D-viewing window, I can pass that angle and continue editing my scene.
When I turn on the 3D-mode, it crashes again.
Maybe Blender has to generate a lot of shadows and highlights at this point, or it uses OpenGL functions which have not been used before?
Not all OpenGL programs crash immediately, I can use Blender if I just click the buttons or render a scene, but if I move in 3D space, the program will crash...
This is so weird, I don't know what to do... :cry:
digiKam developer - www.digikam.org
Offline
Maybe this post is unnecessary but I found out that if I disable dri and use the vesa driver, my OpenGL-renderer is Mesa3D, with dri enabled and openchrome driver it is Via Corporation.
If I disable dri and use the vesa driver, the applications seem to work better (but slower of course), but if something goes wrong the whole X-Server is killed and restarted, with openchrome and dri enabled the X-Server freezes and I have to kill the application in a login shell.
Maybe this is helpful?? Guess not ... :cry:
digiKam developer - www.digikam.org
Offline
Here is my output from glxinfo without dri extension and with vesa driver:
name of display: :0.0
display: :0 screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_OML_swap_method,
GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_hyperpipe,
GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig, GLX_MESA_copy_sub_buffer
client glx vendor string: SGI
client glx version string: 1.4
client glx extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
GLX_MESA_copy_sub_buffer, GLX_MESA_swap_control,
GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_OML_sync_control,
GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync,
GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap
GLX version: 1.2
GLX extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
GLX_OML_swap_method, GLX_SGI_make_current_read, GLX_SGIS_multisample,
GLX_SGIX_fbconfig, GLX_EXT_texture_from_pixmap
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.5.1)
OpenGL extensions:
GL_ARB_depth_texture, GL_ARB_imaging, GL_ARB_multitexture,
GL_ARB_point_parameters, GL_ARB_point_sprite, GL_ARB_shadow,
GL_ARB_shadow_ambient, GL_ARB_texture_border_clamp,
GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar,
GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat,
GL_ARB_texture_non_power_of_two, GL_ARB_texture_rectangle,
GL_ARB_transpose_matrix, GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra,
GL_EXT_blend_color, GL_EXT_blend_func_separate, GL_EXT_blend_logic_op,
GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_clip_volume_hint,
GL_EXT_copy_texture, GL_EXT_draw_range_elements, GL_EXT_fog_coord,
GL_EXT_framebuffer_object, GL_EXT_multi_draw_arrays, GL_EXT_packed_pixels,
GL_EXT_point_parameters, GL_EXT_polygon_offset, GL_EXT_rescale_normal,
GL_EXT_secondary_color, GL_EXT_separate_specular_color,
GL_EXT_shadow_funcs, GL_EXT_stencil_wrap, GL_EXT_subtexture,
GL_EXT_texture, GL_EXT_texture3D, GL_EXT_texture_edge_clamp,
GL_EXT_texture_env_add, GL_EXT_texture_env_combine,
GL_EXT_texture_env_dot3, GL_EXT_texture_lod_bias, GL_EXT_texture_object,
GL_EXT_texture_rectangle, GL_EXT_vertex_array, GL_APPLE_packed_pixels,
GL_ATI_texture_env_combine3, GL_ATI_texture_mirror_once,
GL_ATIX_texture_env_combine3, GL_IBM_texture_mirrored_repeat,
GL_INGR_blend_func_separate, GL_MESA_pack_invert, GL_MESA_ycbcr_texture,
GL_NV_blend_square, GL_NV_point_sprite, GL_NV_texgen_reflection,
GL_NV_texture_rectangle, GL_SGIS_generate_mipmap,
GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp,
GL_SGIS_texture_lod, GL_SGIX_depth_texture, GL_SGIX_shadow,
GL_SGIX_shadow_ambient, GL_SUN_multi_draw_arrays
visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
0x22 16 tc 0 16 0 r y . 5 6 5 0 0 16 0 0 0 0 0 0 0 None
0x23 16 tc 0 16 0 r y . 5 6 5 0 0 16 8 16 16 16 0 0 0 None
0x24 16 tc 0 24 0 r y . 5 6 5 8 0 16 8 16 16 16 16 0 0 None
0x25 16 tc 0 24 0 r . . 5 6 5 8 0 16 8 16 16 16 16 0 0 Noneand here's the output with dri and openchrome driver:
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_OML_swap_method,
GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_hyperpipe,
GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig, GLX_MESA_copy_sub_buffer
client glx vendor string: SGI
client glx version string: 1.4
client glx extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
GLX_MESA_copy_sub_buffer, GLX_MESA_swap_control,
GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_OML_sync_control,
GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync,
GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap
GLX version: 1.2
GLX extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_swap_control,
GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_SGI_video_sync,
GLX_SGIS_multisample, GLX_SGIX_fbconfig
OpenGL vendor string: VIA Technology
OpenGL renderer string: Mesa DRI UniChrome (K8M800) 20060710 x86/MMX+/3DNow!+/SSE2
OpenGL version string: 1.2 Mesa 6.5.1
OpenGL extensions:
GL_ARB_imaging, GL_ARB_multisample, GL_ARB_multitexture,
GL_ARB_point_parameters, GL_ARB_texture_env_add,
GL_ARB_texture_env_combine, GL_ARB_texture_mirrored_repeat,
GL_ARB_transpose_matrix, GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra,
GL_EXT_blend_color, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
GL_EXT_clip_volume_hint, GL_EXT_compiled_vertex_array, GL_EXT_convolution,
GL_EXT_copy_texture, GL_EXT_draw_range_elements, GL_EXT_fog_coord,
GL_EXT_histogram, GL_EXT_packed_pixels, GL_EXT_point_parameters,
GL_EXT_polygon_offset, GL_EXT_rescale_normal, GL_EXT_secondary_color,
GL_EXT_separate_specular_color, GL_EXT_stencil_wrap, GL_EXT_subtexture,
GL_EXT_texture, GL_EXT_texture3D, GL_EXT_texture_edge_clamp,
GL_EXT_texture_env_add, GL_EXT_texture_env_combine,
GL_EXT_texture_lod_bias, GL_EXT_texture_object, GL_EXT_vertex_array,
GL_APPLE_packed_pixels, GL_IBM_rasterpos_clip,
GL_IBM_texture_mirrored_repeat, GL_MESA_window_pos, GL_NV_blend_square,
GL_NV_light_max_exponent, GL_NV_texgen_reflection, GL_OES_read_format,
GL_SGI_color_matrix, GL_SGI_color_table, GL_SGIS_texture_edge_clamp,
GL_SGIS_texture_lod
visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
0x22 16 tc 0 16 0 r y . 5 6 5 0 0 24 8 0 0 0 0 0 0 None
0x23 16 tc 0 16 0 r . . 5 6 5 0 0 24 8 0 0 0 0 0 0 None
0x24 16 tc 0 16 0 r y . 5 6 5 0 0 16 0 0 0 0 0 0 0 None
0x25 16 tc 0 16 0 r . . 5 6 5 0 0 16 0 0 0 0 0 0 0 None
0x26 16 tc 0 16 0 r y . 5 6 5 0 0 0 0 0 0 0 0 0 0 None
0x27 16 tc 0 16 0 r . . 5 6 5 0 0 0 0 0 0 0 0 0 0 None
0x28 16 tc 0 16 0 r y . 5 6 5 0 0 24 8 16 16 16 0 0 0 Slow
0x29 16 tc 0 16 0 r . . 5 6 5 0 0 24 8 16 16 16 0 0 0 Slow
0x2a 16 tc 0 16 0 r y . 5 6 5 0 0 16 0 16 16 16 0 0 0 Slow
0x2b 16 tc 0 16 0 r . . 5 6 5 0 0 16 0 16 16 16 0 0 0 Slow
0x2c 16 tc 0 16 0 r y . 5 6 5 0 0 0 0 16 16 16 0 0 0 Slow
0x2d 16 tc 0 16 0 r . . 5 6 5 0 0 0 0 16 16 16 0 0 0 SlowMaybe this is helpful??
I'm pretty sure now that it isn't an issue of the driver I'm using, because vesa does also kill the X-Server. It must have something to do with Mesa, but I don't know what.
I compiled Mesa, freeglut and libgl-dri by myself now, but still the same results.
Maybe I will try to get and compile an older version of Mesa and see if it works.
Maybe xorg is broken, that's an option too!
digiKam developer - www.digikam.org
Offline
OK it's getting stranger every day!
I have two blender scenes, both are similar and contain normal meshes (cubes):
If I open the first and spin my 3D-scene (camera view), it will freeze the system very fast.
If I open the second one and spin the scene, I can do this for 1 minute and longer, it only crashed once...
The only differences between those scenes are:
- number of light sources
- space between the boxes
Maybe OpenGL crashes because some vertices in the second scene don't have enough space between them?
The first scene (the "stable" one) also has more boxes in it, so it can't be the number of meshes or vertices.
Maybe someone can test my scenes and spin them like crazy
? If it's an error in Mesa or xorg you should have the same problems. And maybe someone else has the Unichrome Pro (K8M800) and can test these two files.
I also added more options to xorg.conf:
Driver "via"
Option "DisableIRQ"
Option "EnableAGPDMA"
Option "AGPMode" "8"
Option "AGPFastWrite" "True"
Option "EnablePageFlip" "True"My computer and graphics card can't handle AGPFastWrite, but I tried it anyway.
digiKam developer - www.digikam.org
Offline
These are the logs generated while blender was running and then stopped with killall blender:
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(II) No APM support in BIOS or kernel
(II) AIGLX: Resuming AIGLX clients after VT switch
(II) VIA(0): VIAEnterVT
(II) VIA(0): VIASave
(II) VIA(0): Primary
(II) VIA(0): TVSave...
(II) VIA(0): VT162xSave
(II) VIA(0): Trying VBE Mode 1024x768 (0xc117) Refresh 2.55:
(II) VIA(0): ViaVbeSetRefresh
(II) VIA(0): Active Device: 2
(II) VIA(0): Refresh Rate Index: 0
(II) VIA(0): ViaCursorRestore
(II) VIA(0): [drm] Initialized AGP ring-buffer, size 0x200000 at AGP offset 0x1e00000.
(II) VIA(0): VIALoadPalette
(II) Mouse0: ps2EnableDataReporting: succeeded
(II) VIA(0): VIALoadPalette
(II) 3rd Button detected: disabling emulate3Button
(II) AIGLX: Suspending AIGLX clients for VT switch
(II) VIA(0): VIALeaveVT
(II) VIA(0): [drm] Cleaning up DMA ring-buffer.
(II) VIA(0): ViaCursorStore
(II) VIA(0): VIARestore
(II) VIA(0): VT162xRestore
(II) VIA(0): ViaLCDPower: On.
(II) VIA(0): ViaDisablePrimaryFIFO
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(II) No APM support in BIOS or kernel
(II) AIGLX: Resuming AIGLX clients after VT switch
(II) VIA(0): VIAEnterVT
(II) VIA(0): VIASave
(II) VIA(0): Primary
(II) VIA(0): TVSave...
(II) VIA(0): VT162xSave
(II) VIA(0): Trying VBE Mode 1024x768 (0xc117) Refresh 2.55:
(II) VIA(0): ViaVbeSetRefresh
(II) VIA(0): Active Device: 2
(II) VIA(0): Refresh Rate Index: 0
(II) VIA(0): ViaCursorRestore
(II) VIA(0): [drm] Initialized AGP ring-buffer, size 0x200000 at AGP offset 0x1e00000.
(II) VIA(0): VIALoadPalette
(II) Mouse0: ps2EnableDataReporting: succeeded
(II) VIA(0): VIALoadPaletteI turned off AIGLX and Composite:
Section "ServerFlags"
Option "AIGLX" "off"
EndSection
Section "Extensions"
Option "Composite" "Disable"
EndSectionThese are the warnings I get now:
(WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi".
(WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi".
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(WW) VIA(0): Panel on K8M800, PM800 or VM800 is currently not supported.
(WW) VIA(0): Using VBE to set modes to work around this.
(WW) VIA(0): Bad V_BIOS checksum
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)Anything interesting?
digiKam developer - www.digikam.org
Offline
Hello,
I up this post because I'm facing the same problem as you do (did ?). If dri is enabled (I'm using xf86-ati-video driver) blender and the whole system just freeze. Everytime. I have to hard reboot and during this reboot everything is so slow (grub, boot process).
If I disable dri, blender does not crash but the rendering is very painful and the whole interface blinks.. I discovered today that if I run mplayer with openGL video output it also crashes de whole system even if dri is disabled :?
Did you find how to solve this or get things better ?
I am using ati radeon 9600pro graphics card with opensource driver.
Offline