Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: [CRASHWARE] updated foo_uie_albumart (Read 694131 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[CRASHWARE] updated foo_uie_albumart

Reply #575
This is definately not the cause, since older versions (at least the original AlbumArt panel) didn't produced this kind of odd behaviour.

Do you remember which version this slowdown started happening with?

I was actually leaning towards foosion's explanation, too.  I haven't had a chance to check myself, but before I add support for getting images over HTTP, I will definitely change so the image search doesn't lock up the interface.

[CRASHWARE] updated foo_uie_albumart

Reply #576
This is definately not the cause, since older versions (at least the original AlbumArt panel) didn't produced this kind of odd behaviour.
Do you remember which version this slowdown started happening with?

I was actually leaning towards foosion's explanation, too.  I haven't had a chance to check myself, but before I add support for getting images over HTTP, I will definitely change so the image search doesn't lock up the interface.

I've recently switched from foobar 0.83 to 0.93 Beta. Since 0.83 is not able to display the DLL version I just uploaded it. Maybe you are able to extract the version information from it? I just overlooked something: It's version 0.048. I'm sorry I don't have more information for you...

>> foo_uie_albumart.dll <<
"If there 's no soul in the computer's music, it's because nobody put it there." - Björk.

[CRASHWARE] updated foo_uie_albumart

Reply #577
Using albumart makes games lose FPS. (makes CS1.6 run at about 30fps?)

Why.
hi

[CRASHWARE] updated foo_uie_albumart

Reply #578
Hi there,

I just thought about that: Just release some sort of debug DLL version that would at least spill out debug info which function / procedure took how long into a text file. This way we could trigger this "bug" pretty easily. At least we would know where and when it hangs up...

Just a quick thought... 
- Chris
"If there 's no soul in the computer's music, it's because nobody put it there." - Björk.

[CRASHWARE] updated foo_uie_albumart

Reply #579
Hi there,

I just thought about that: Just release some sort of debug DLL version that would at least spill out debug info which function / procedure took how long into a text file. This way we could trigger this "bug" pretty easily. At least we would know where and when it hangs up...

Just a quick thought... 
- Chris

Yeah, I started to work on something like that, but I think I'd better first address the issue foosion brought up, because it's going to come up again if I, for instance, add support for album art from over the web.  I don't think anyone would want their foobar2000 to lock up because some server is down (but this is already happening to people, kind of).  Plus, I think this will help with at least some problems that people have been having.

[CRASHWARE] updated foo_uie_albumart

Reply #580

Hi there,

I just thought about that: Just release some sort of debug DLL version that would at least spill out debug info which function / procedure took how long into a text file. This way we could trigger this "bug" pretty easily. At least we would know where and when it hangs up...

Just a quick thought... 
- Chris

Yeah, I started to work on something like that, but I think I'd better first address the issue foosion brought up, because it's going to come up again if I, for instance, add support for album art from over the web.  I don't think anyone would want their foobar2000 to lock up because some server is down (but this is already happening to people, kind of).  Plus, I think this will help with at least some problems that people have been having.


This would make AlbumArt usable for me again (although the root of the problem is not yet fixed). Starting some background threads wouldn't bother me at least.  Thank you!
"If there 's no soul in the computer's music, it's because nobody put it there." - Björk.

 

[CRASHWARE] updated foo_uie_albumart

Reply #581
I've been doing a bit of experimentation and have added support for rendering using OpenGL. This should be considered highly experimental. It supports all the features of the GDI+ renderer (borders, colours etc) but should be a lot faster, since its completely hardware accelerated. This has allowed me to add 'fading' between images of different sizes/aspect ratios (narrower/wider), where the image will grow or shrink with animation, an effect I quite like.

Also there is a basic '3D view' mode, which you should probably not enable because it doesnt let you do much more than move the art around in 3D space using the mouse (ctrl and shift cause it to move in different ways.) Hopefully this can be developed by me or someone else into a virtual CD case or something shiny that looks nice  .

Anyway, please do not consider this an updated version of the plugin, it could be unstable, and I've only tested it on my ageing graphics card (Radeon 8500). You will loose your albumart settings on upgrading to this version.

Download here
Source code

This may or may not work very well depending on your graphics card. There is an 'OpenGL Info' button on the Display tab [edit: of the albumart configuration dialog]. The line "Max texture size (standard/extended):" is important, if the second value is 0, then the OpenGL extension I'm using isn't avaliable on your card. This shouldn't be the case on any reasonable graphics card made in the last 5 years or so, if it is the case for you, please post the entire contents of the OpenGL Info window in a codebox here.

The line "Vendor:" is also important, if it's not the manufacturer of your graphics card, or even worse, it contains the word 'Microsoft', you probably don't have the right drivers installed and performance could be very, very poor.

[CRASHWARE] updated foo_uie_albumart

Reply #582
w00t w00t sounds awesome downloading to try now cant wait

[CRASHWARE] updated foo_uie_albumart

Reply #583
Works for me (GeForce 6600GT), 3D Mode is OK

- Resizing quality in OpenGL is not very good even in Highest Mode
- In 3D Mode, an option to reset position would be nice

Thanks for this major update

[CRASHWARE] updated foo_uie_albumart

Reply #584
Follow cursor doesn't seem to work for me!
Thank you for your efforts!

edit: sorry - it works...

[CRASHWARE] updated foo_uie_albumart

Reply #585
tested with GF 6800 GT and working fine...

is it also possible to make the cd cover size larger when in 3d mode.. it only seems to take up half the screen...

i also agree about the resizing quality... but understandably its probably different in open gl...

i like the transitions... very cool...

keep it up no bugs so far

[CRASHWARE] updated foo_uie_albumart

Reply #586
Works for me (GeForce 6600GT), 3D Mode is OK

- Resizing quality in OpenGL is not very good even in Highest Mode

This is a problem with doing the resizing in hardware. I've noticed the reduction in quality is a lot more noticable with large scans, art of a size closer to that of your album-art pane is scaled more nicely. The advantage of doing scaling this was is that it is done by the graphics card, not the CPU, and is done very very quickly. However, if you are after quality, you should use GDI+ mode since the end result is basically the same (in 2D mode).

I will investigate ways to increase the quality, but keep in mind that this is only really to test the suitabilty of OpenGL for this sort of thing.

My plans for 3D mode (if I have the time) are of a nature where resizing quality shouldn't be as noticable as in 2D, but it still is a problem that needs to be solved if possible.

- In 3D Mode, an option to reset position would be nice

Right-click->Refresh should accomplish this.


tested with GF 6800 GT and working fine...

is it also possible to make the cd cover size larger when in 3d mode.. it only seems to take up half the screen...

Scrolling the mousewheel should zoom the image. But remember this is just for testing purposes.

Since you have a high-end nvidia card, could you post the output from the 'OpenGL Info' button (found on the Display tab of the preferences dialog) in a codebox so I can see which extensions it supports?

[CRASHWARE] updated foo_uie_albumart

Reply #587
I have a Radeon X800 Pro & it works as advertised so far
Code: [Select]
Version: 2.0.5819 WinXP Release
Vendor: ATI Technologies Inc.
Renderer: RADEON X800 PRO x86/MMX/3DNow!/SSE2
Max texture size (standard/extended): 2048/2048
Extensions:
GL_ARB_multitexture
GL_EXT_texture_env_add
GL_EXT_compiled_vertex_array
GL_S3_s3tc
GL_ARB_depth_texture
GL_ARB_fragment_program
GL_ARB_fragment_program_shadow
GL_ARB_fragment_shader
GL_ARB_multisample
GL_ARB_occlusion_query
GL_ARB_point_parameters
GL_ARB_point_sprite
GL_ARB_shader_objects
GL_ARB_shading_language_100
GL_ARB_shadow
GL_ARB_shadow_ambient
GL_ARB_texture_border_clamp
GL_ARB_texture_compression
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_transpose_matrix
GL_ARB_vertex_blend
GL_ARB_vertex_buffer_object
GL_ARB_vertex_program
GL_ARB_vertex_shader
GL_ARB_window_pos
GL_ARB_draw_buffers
GL_ATI_draw_buffers
GL_ATI_element_array
GL_ATI_envmap_bumpmap
GL_ATI_fragment_shader
GL_ATI_map_object_buffer
GL_ATI_separate_stencil
GL_ATI_texture_compression_3dc
GL_ATI_texture_env_combine3
GL_ATI_texture_float
GL_ATI_texture_mirror_once
GL_ATI_vertex_array_object
GL_ATI_vertex_attrib_array_object
GL_ATI_vertex_streams
GL_ATIX_texture_env_combine3
GL_ATIX_texture_env_route
GL_ATIX_vertex_shader_output_point_size
GL_EXT_abgr
GL_EXT_bgra
GL_EXT_blend_color
GL_EXT_blend_func_separate
GL_EXT_blend_minmax
GL_EXT_blend_subtract
GL_EXT_clip_volume_hint
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_rescale_normal
GL_EXT_secondary_color
GL_EXT_separate_specular_color
GL_EXT_shadow_funcs
GL_EXT_stencil_wrap
GL_EXT_texgen_reflection
GL_EXT_texture3D
GL_EXT_texture_compression_s3tc
GL_EXT_texture_cube_map
GL_EXT_texture_edge_clamp
GL_EXT_texture_env_combine
GL_EXT_texture_env_dot3
GL_EXT_texture_filter_anisotropic
GL_EXT_texture_lod_bias
GL_EXT_texture_mirror_clamp
GL_EXT_texture_object
GL_EXT_texture_rectangle
GL_EXT_vertex_array
GL_EXT_vertex_shader
GL_HP_occlusion_test
GL_NV_blend_square
GL_NV_occlusion_query
GL_NV_texgen_reflection
GL_SGI_color_matrix
GL_SGIS_generate_mipmap
GL_SGIS_multitexture
GL_SGIS_texture_border_clamp
GL_SGIS_texture_edge_clamp
GL_SGIS_texture_lod
GL_SUN_multi_draw_arrays
GL_WIN_swap_hint
WGL_EXT_extensions_string
WGL_EXT_swap_control

[CRASHWARE] updated foo_uie_albumart

Reply #588
I've been doing a bit of experimentation and have added support for rendering using OpenGL. This should be considered highly experimental. It supports all the features of the GDI+ renderer (borders, colours etc) but should be a lot faster, since its completely hardware accelerated. This has allowed me to add 'fading' between images of different sizes/aspect ratios (narrower/wider), where the image will grow or shrink with animation, an effect I quite like.

Also there is a basic '3D view' mode, which you should probably not enable because it doesnt let you do much more than move the art around in 3D space using the mouse (ctrl and shift cause it to move in different ways.) Hopefully this can be developed by me or someone else into a virtual CD case or something shiny that looks nice  .

Anyway, please do not consider this an updated version of the plugin, it could be unstable, and I've only tested it on my ageing graphics card (Radeon 8500). You will loose your albumart settings on upgrading to this version.

Download here
Source code

This may or may not work very well depending on your graphics card. There is an 'OpenGL Info' button on the Display tab [edit: of the albumart configuration dialog]. The line "Max texture size (standard/extended):" is important, if the second value is 0, then the OpenGL extension I'm using isn't avaliable on your card. This shouldn't be the case on any reasonable graphics card made in the last 5 years or so, if it is the case for you, please post the entire contents of the OpenGL Info window in a codebox here.

The line "Vendor:" is also important, if it's not the manufacturer of your graphics card, or even worse, it contains the word 'Microsoft', you probably don't have the right drivers installed and performance could be very, very poor.



AWESOME, this may be a fix to my FPS issue - wil report back and see if it fixes things.


E: Ok it severly helps FPS issues, but there's the slight issue of the fact that this is a mod of the original art plugin, rather than the MSN one that had more functionality. Perhaps these could be combined?

I have an FX5600XT


PS code a bloom shader xD
hi

[CRASHWARE] updated foo_uie_albumart

Reply #589
Hi, I'm having a problem.

When I startup foobar, I get this: "OpenGL initialisation failed. Switching to GDI+ mode."

And the OpenGLInfo button just tells me this "Error retrieving information"

I've got a Nvidia Geforce 4, 440 Go Mobile or something similar in this Notebook.  Is there something essential missing??

thanks, Jonesses

[CRASHWARE] updated foo_uie_albumart

Reply #590
Awesome work...

My only request would be to add album art tag reading support!

But in all seriousness it's really great, keep up the good work!!

[CRASHWARE] updated foo_uie_albumart

Reply #591
Dito on the great job.  Would love display of various random pictures with wild card support.

[CRASHWARE] updated foo_uie_albumart

Reply #592
I think this mod fixed my problem with fb2k randomly hang ups. But I have to test it for a longer time. Anyway what I would appriciate is an import/export feature so I won't have to manually set up my Album Art pathes each time I upgrade to a new version which is not backward compatible.

[CRASHWARE] updated foo_uie_albumart

Reply #593
I testet your plugin with my ATI x800XL and it works great. Just kind of a anti-alising-option would be great and, what other people already mentioned, a better quality when resizing big images.

But now I've a bigger problem. I wanted to switch back to the old albumart-plugin and so deleted your dll and put back the old one. After (trying) to start foobar the following two notices appeared:


[CRASHWARE] updated foo_uie_albumart

Reply #594
Thank you for your continuing efforts developing this popular component for foobar.  I installed the OpenGL version and am overall quite pleased with the transitions and performance.

There seems to be a problem displaying transparent png files with the OpenGL renderer. All my normal jpg,gif,etc album covers display fine however I use transparent png's for my no-cover, online radio, etc.  The new version does not display the transparent png file properly and instead shows some strange blocks similar to what I've seen when ImageShack tries to create a thumbnail of a transparent png.  If I disable the OpenGL option in preferences the images display fine.

[CRASHWARE] updated foo_uie_albumart

Reply #595
David_dl, here is the information you requested for my GF 6800GT output

Hope it helps

Code: [Select]
Version: 2.0.1
Vendor: NVIDIA Corporation
Renderer: GeForce 6800 GT/AGP/SSE2
Max texture size (standard/extended): 4096/4096
Extensions:
GL_ARB_color_buffer_float
GL_ARB_depth_texture
GL_ARB_draw_buffers
GL_ARB_fragment_program
GL_ARB_fragment_program_shadow
GL_ARB_fragment_shader
GL_ARB_half_float_pixel
GL_ARB_imaging
GL_ARB_multisample
GL_ARB_multitexture
GL_ARB_occlusion_query
GL_ARB_pixel_buffer_object
GL_ARB_point_parameters
GL_ARB_point_sprite
GL_ARB_shadow
GL_ARB_shader_objects
GL_ARB_shading_language_100
GL_ARB_texture_border_clamp
GL_ARB_texture_compression
GL_ARB_texture_cube_map
GL_ARB_texture_env_add
GL_ARB_texture_env_combine
GL_ARB_texture_env_dot3
GL_ARB_texture_float
GL_ARB_texture_mirrored_repeat
GL_ARB_texture_non_power_of_two
GL_ARB_texture_rectangle
GL_ARB_transpose_matrix
GL_ARB_vertex_buffer_object
GL_ARB_vertex_program
GL_ARB_vertex_shader
GL_ARB_window_pos
GL_ATI_draw_buffers
GL_ATI_texture_float
GL_ATI_texture_mirror_once
GL_S3_s3tc
GL_EXT_texture_env_add
GL_EXT_abgr
GL_EXT_bgra
GL_EXT_blend_color
GL_EXT_blend_equation_separate
GL_EXT_blend_func_separate
GL_EXT_blend_minmax
GL_EXT_blend_subtract
GL_EXT_compiled_vertex_array
GL_EXT_Cg_shader
GL_EXT_depth_bounds_test
GL_EXT_draw_range_elements
GL_EXT_fog_coord
GL_EXT_framebuffer_object
GL_EXT_multi_draw_arrays
GL_EXT_packed_depth_stencil
GL_EXT_packed_pixels
GL_EXT_pixel_buffer_object
GL_EXT_point_parameters
GL_EXT_rescale_normal
GL_EXT_secondary_color
GL_EXT_separate_specular_color
GL_EXT_shadow_funcs
GL_EXT_stencil_two_side
GL_EXT_stencil_wrap
GL_EXT_texture3D
GL_EXT_texture_compression_s3tc
GL_EXT_texture_cube_map
GL_EXT_texture_edge_clamp
GL_EXT_texture_env_combine
GL_EXT_texture_env_dot3
GL_EXT_texture_filter_anisotropic
GL_EXT_texture_lod
GL_EXT_texture_lod_bias
GL_EXT_texture_mirror_clamp
GL_EXT_texture_object
GL_EXT_texture_sRGB
GL_EXT_timer_query
GL_EXT_vertex_array
GL_HP_occlusion_test
GL_IBM_rasterpos_clip
GL_IBM_texture_mirrored_repeat
GL_KTX_buffer_region
GL_NV_blend_square
GL_NV_copy_depth_to_color
GL_NV_depth_clamp
GL_NV_fence
GL_NV_float_buffer
GL_NV_fog_distance
GL_NV_fragment_program
GL_NV_fragment_program_option
GL_NV_fragment_program2
GL_NV_half_float
GL_NV_light_max_exponent
GL_NV_multisample_filter_hint
GL_NV_occlusion_query
GL_NV_packed_depth_stencil
GL_NV_pixel_data_range
GL_NV_point_sprite
GL_NV_primitive_restart
GL_NV_register_combiners
GL_NV_register_combiners2
GL_NV_texgen_reflection
GL_NV_texture_compression_vtc
GL_NV_texture_env_combine4
GL_NV_texture_expand_normal
GL_NV_texture_rectangle
GL_NV_texture_shader
GL_NV_texture_shader2
GL_NV_texture_shader3
GL_NV_vertex_array_range
GL_NV_vertex_array_range2
GL_NV_vertex_program
GL_NV_vertex_program1_1
GL_NV_vertex_program2
GL_NV_vertex_program2_option
GL_NV_vertex_program3
GL_NVX_conditional_render
GL_SGIS_generate_mipmap
GL_SGIS_texture_lod
GL_SGIX_depth_texture
GL_SGIX_shadow
GL_SUN_slice_accum
GL_WIN_swap_hint
WGL_EXT_swap_control

[CRASHWARE] updated foo_uie_albumart

Reply #596
Firstly, thanx for the efforts...

The plugin doesn't work with transparent PNGs in OpenGL mode...



BTW, I'm using ATI X700.

[CRASHWARE] updated foo_uie_albumart

Reply #597
But now I've a bigger problem. I wanted to switch back to the old albumart-plugin and so deleted your dll and put back the old one. After (trying) to start foobar the following two notices appeared:

From a quick glance at the code, it looks like this error is from the part of the code that reads the config, which I wrote.  I didn't really consider the case where people might revert to an older version.  The only way you'll be able to revert to an older version is to rename "foo_uie_albumart.dll" to something like "foo_uie_albumart.dll.bak", start foobar2000, erase foo_uie_albumart's settings when it asks, then reinstall album art.  Unfortunately, you'll lose your settings this way.

edit: shoot!  That method doesn't work.  I'll check it out right now...

BTW, to all those pasting your "OpenGL Info", please use [ codebox ][ /codebox ] tags instead of [ code ].

[CRASHWARE] updated foo_uie_albumart

Reply #598
Okay, for those of you who want to switch back and forth between david_dl's version and mine, here's a beta build:

http://cherans.bol.ucla.edu/foo_uie_albumart021b.zip

If you change from a newer version to this beta build, your preferences should be reset.  It's really just a quick solution, though, which might not even work with all the variants of this plugin that are out there (if they use the same GUID as my version, they better be updating the VERSION_CURRENT constant).

[CRASHWARE] updated foo_uie_albumart

Reply #599
Thanks for the new version, but it seems the edge style option is not working anymore when I enable OpenGL. If OpenGL is disabled it works fine.