SubWiji - Windows Subsonic Client (WPF)

Windows Subsonic Client (WPF)

Moderator: moderators

Re: Windows Subsonic Client (WPF)

Postby askedal » Mon Jan 30, 2012 2:45 pm

Hi Paul,

ahh, much better now. We dropped to ~25% CPU, but the wpfgfx_v0400.dll!MILQueryInterface+0x551 is still using the major part of it. Can you reduce the CPU footprint of this thread as well ?

As you see ~12 % and I see ~25 %, how many CPUs do you have in your testmachine (I have two CPUs) ?

Best regards

Askedal
User avatar
askedal
 
Posts: 16
Joined: Mon Jan 30, 2012 11:49 am

Re: Windows Subsonic Client (WPF)

Postby paulodell » Mon Jan 30, 2012 2:49 pm

askedal wrote:Hi Paul,

ahh, much better now. We dropped to ~25% CPU, but the wpfgfx_v0400.dll!MILQueryInterface+0x551 is still using the major part of it. Can you reduce the CPU footprint of this thread as well ?

As you see ~12 % and I see ~25 %, how many CPUs do you have in your testmachine (I have two CPUs) ?

Best regards

Askedal


Hi Askedal,
Yes I have 4 CPU's :P so double, it all adds up :)
Upon further investigation there are other UI events (mostly the text scrolling) which I have tuned slightly but I need to read up on WPF UI in order to tune these without sacrificing the UI look and feel.
I've just published that small tweak, it may only save you a couple of % but I am aware of this and am hoping to bring this CPU hogging down :P

Thanks for the feedback and testing

Paul
SubWiji http://tinyurl.com/7sxwbfv Install http://subwiji.paulodell.co.uk
Transcode Step1 "ffmpeg -f mp3 -i %s -ab %bk -v 0 -f mp3 -"
Tremor Games http://www.tremorgames.com/?ref=59174
User avatar
paulodell
 
Posts: 294
Joined: Fri Jul 29, 2011 11:28 am
Location: UK

Re: Windows Subsonic Client (WPF)

Postby paulodell » Mon Jan 30, 2012 11:46 pm

Hey,
Just a quick check in about the CPU % issue.
After some more code cleanup you should find that SubWiji runs better now, I am seeing 2-6% when streaming.

Let me know how you find it
Regards,

Paul
SubWiji http://tinyurl.com/7sxwbfv Install http://subwiji.paulodell.co.uk
Transcode Step1 "ffmpeg -f mp3 -i %s -ab %bk -v 0 -f mp3 -"
Tremor Games http://www.tremorgames.com/?ref=59174
User avatar
paulodell
 
Posts: 294
Joined: Fri Jul 29, 2011 11:28 am
Location: UK

Windows Subsonic Client (WPF)

Postby Wez1981 » Tue Jan 31, 2012 9:36 am

2 to 4% when streaming on q6600. Awesome stuff! POW!
Wez1981
 
Posts: 8
Joined: Tue Jan 31, 2012 9:33 am

Re: Windows Subsonic Client (WPF)

Postby askedal » Tue Jan 31, 2012 9:47 am

I still see

10-16 % CPU (2 CPU) when idle :
    8-9 % wpfgfx_v0400.dll+0x2ddc
    6-8 % subwiji.exe

and up to 23 % when streaming
    10-12 % wpfgfx_v0400.dll+0x2ddc
    10-12 % subwiji.exe

It is much better now, but there is still room for improvement :-)

Can you make the scrolling of the text and the show of the equalizer bars (the dancing bars between time and titel) optional ?

Many thanks

Askedal
User avatar
askedal
 
Posts: 16
Joined: Mon Jan 30, 2012 11:49 am

Re: Windows Subsonic Client (WPF)

Postby paulodell » Tue Jan 31, 2012 10:06 am

askedal wrote:I still see
10-16 % CPU (2 CPU) when idle :
    8-9 % wpfgfx_v0400.dll+0x2ddc
    6-8 % subwiji.exe
and up to 23 % when streaming
    10-12 % wpfgfx_v0400.dll+0x2ddc
    10-12 % subwiji.exe
It is much better now, but there is still room for improvement :-)
Can you make the scrolling of the text and the show of the equalizer bars (the dancing bars between time and titel) optional ?
Many thanks
Askedal

Hi,
I am looking at having a performance bar so that you can set the amount of Frames the WPF controls can use.
I will try and add this at lunchtime today, I will have to talk to my second developer as he is the WPF king.

Just out of interest can you tell me what CPU, RAM and GPU you have in your system? Using this I can get a benchmark for the performance selector.
Are your GPU drivers up-to-date also?

Thanks,

Paul
SubWiji http://tinyurl.com/7sxwbfv Install http://subwiji.paulodell.co.uk
Transcode Step1 "ffmpeg -f mp3 -i %s -ab %bk -v 0 -f mp3 -"
Tremor Games http://www.tremorgames.com/?ref=59174
User avatar
paulodell
 
Posts: 294
Joined: Fri Jul 29, 2011 11:28 am
Location: UK

Re: Windows Subsonic Client (WPF)

Postby askedal » Tue Jan 31, 2012 2:38 pm

In my HP laptop I have one CPU (two cores), 8 GB of memory and a NVidia Quadro FX 770M. Here an excerpt from the CPU-Z tool:



Processor 1 ID = 0
Number of cores 2 (max 2)
Number of threads 2 (max 2)
Name Intel Mobile Core 2 Duo P9600
Codename Penryn
Specification Intel(R) Core(TM)2 Duo CPU P9600 @ 2.66GHz
Package (platform ID) Socket P (478) (0x7)
CPUID 6.7.A
Extended CPUID 6.17
Core Stepping E0
Technology 45 nm
Core Speed 798.0 MHz
Multiplier x FSB 3.0 x 266.0 MHz
Rated Bus speed 1063.9 MHz
Stock frequency 2666 MHz
Instructions sets MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, EM64T, VT-x
L1 Data cache 2 x 32 KBytes, 8-way set associative, 64-byte line size
L1 Instruction cache 2 x 32 KBytes, 8-way set associative, 64-byte line size
L2 cache 6144 KBytes, 24-way set associative, 64-byte line size
FID/VID Control yes
FID range 6.0x - 10.0x
Max VID 1.175 V


GPU:
Display adapter 0
Name NVIDIA Quadro FX 770M
Revision A1
Memory size 512 MB
PCI device bus 1 (0x1), device 0 (0x0), function 0 (0x0)
Vendor ID 0x10DE (0x103C)
Model ID 0x065C (0x30E7)
Performance Level Default
Core clock 169.0 MHz
Shader clock 338.0 MHz
Memory clock 100.0 MHz
Performance Level 2D Desktop
Core clock 275.0 MHz
Shader clock 550.0 MHz
Memory clock 300.0 MHz
Performance Level 2D Desktop
Core clock 400.0 MHz
Shader clock 800.0 MHz
Memory clock 300.0 MHz
Performance Level 3D Applications
Core clock 500.0 MHz
Shader clock 1250.0 MHz
Memory clock 800.0 MHz
User avatar
askedal
 
Posts: 16
Joined: Mon Jan 30, 2012 11:49 am

Re: Windows Subsonic Client (WPF)

Postby paulodell » Tue Jan 31, 2012 2:40 pm

askedal wrote:In my HP laptop I have one CPU (two cores), 8 GB of memory and a NVidia Quadro FX 770M.

Thanks for that info, the other developer is looking into major performance tweaks, when that update gets pushed I'll let you know and you can give it a spin.

Cheers,

Paul
SubWiji http://tinyurl.com/7sxwbfv Install http://subwiji.paulodell.co.uk
Transcode Step1 "ffmpeg -f mp3 -i %s -ab %bk -v 0 -f mp3 -"
Tremor Games http://www.tremorgames.com/?ref=59174
User avatar
paulodell
 
Posts: 294
Joined: Fri Jul 29, 2011 11:28 am
Location: UK

Re: Windows Subsonic Client (WPF)

Postby LordOklar » Tue Jan 31, 2012 3:00 pm

Hi,
your app looks really great but I'm missing a basic function which prevents me from connecting to my server: There is no option for using a proxy to access the internet. Unfortunately I'm often in locations just connected via a proxy and I think I'm not the only one.

For using proxies in .NET is absolutely easy I look forward to get this function in the near future.

Keep up the good work!
lo
LordOklar
 
Posts: 1
Joined: Tue Jan 31, 2012 2:54 pm

Re: Windows Subsonic Client (WPF)

Postby paulodell » Tue Jan 31, 2012 3:20 pm

LordOklar wrote:Hi,
your app looks really great but I'm missing a basic function which prevents me from connecting to my server: There is no option for using a proxy to access the internet. Unfortunately I'm often in locations just connected via a proxy and I think I'm not the only one.

For using proxies in .NET is absolutely easy I look forward to get this function in the near future.

Keep up the good work!
lo


Hi LordOklar,
If you have some example .NET Proxy code I can reference then please PM me and Ill have a look at implementing a proxy setting.

Paul
SubWiji http://tinyurl.com/7sxwbfv Install http://subwiji.paulodell.co.uk
Transcode Step1 "ffmpeg -f mp3 -i %s -ab %bk -v 0 -f mp3 -"
Tremor Games http://www.tremorgames.com/?ref=59174
User avatar
paulodell
 
Posts: 294
Joined: Fri Jul 29, 2011 11:28 am
Location: UK

Re: Windows Subsonic Client (WPF)

Postby paulodell » Wed Feb 01, 2012 8:45 am

paulodell wrote:
askedal wrote:In my HP laptop I have one CPU (two cores), 8 GB of memory and a NVidia Quadro FX 770M.

Thanks for that info, the other developer is looking into major performance tweaks, when that update gets pushed I'll let you know and you can give it a spin.

Hi Askedal,
The newest update just pushed a moment ago has a performance slider, the settings go from Low, Medium, High.
Please give all three and try and let me know the results you find :)

Thanks

Paul
SubWiji http://tinyurl.com/7sxwbfv Install http://subwiji.paulodell.co.uk
Transcode Step1 "ffmpeg -f mp3 -i %s -ab %bk -v 0 -f mp3 -"
Tremor Games http://www.tremorgames.com/?ref=59174
User avatar
paulodell
 
Posts: 294
Joined: Fri Jul 29, 2011 11:28 am
Location: UK

Re: Windows Subsonic Client (WPF)

Postby Waro555 » Wed Feb 01, 2012 4:04 pm

Hello,

I tested that Subsonic Windows UI and that's really impressive. The design is great and everything is working well.

If I may propose some enhancements :
    A Browse Interface - I miss a Browse interface so that i can search for a style of Music instead of an artist or an Album. Sometimes I don't know what to listen so I browse like on Subsonic Web UI.
    Searching without using the player interface - I like the main windows that pop up when i perform a search - but it would be better if that windows got it own search bow and a "stay on top" option so that I don't have to reopen the player interface each time i search for something.

I'll continue to test it and report there my feedbacks.

Keep up your work as that UI is simply fabulous ...
User avatar
Waro555
 
Posts: 20
Joined: Wed Feb 01, 2012 3:48 pm
Location: Monaco (MC)

Re: Windows Subsonic Client (WPF)

Postby paulodell » Wed Feb 01, 2012 4:13 pm

Waro555 wrote:I tested that Subsonic Windows UI and that's really impressive. The design is great and everything is working well.

Thanks :)

Waro555 wrote:A Browse Interface - I miss a Browse interface so that i can search for a style of Music instead of an artist or an Album. Sometimes I don't know what to listen so I browse like on Subsonic Web UI.

Do you mean like the website where you can select Random, Recently Added, Recently Played, Highest Rated, Most Played etc?
If that is what you mean then its already there :D (its the 4th mini button - to the left of the volume), its called Album Mixer, it shows the same options as the website and can load upto 10 pages of each item.
It also has an early version of Artist Cloud which at the moment just lists all the artists.

Waro555 wrote:
    Searching without using the player interface - I like the main windows that pop up when i perform a search - but it would be better if that windows got it own search bow and a "stay on top" option so that I don't have to reopen the player interface each time i search for something.

I'm not sure what you mean by reopen the player interface? Do you have the bar on Auto-Hide?

Thanks

Paul
SubWiji http://tinyurl.com/7sxwbfv Install http://subwiji.paulodell.co.uk
Transcode Step1 "ffmpeg -f mp3 -i %s -ab %bk -v 0 -f mp3 -"
Tremor Games http://www.tremorgames.com/?ref=59174
User avatar
paulodell
 
Posts: 294
Joined: Fri Jul 29, 2011 11:28 am
Location: UK

Re: Windows Subsonic Client (WPF)

Postby askedal » Wed Feb 01, 2012 4:25 pm

Hi Paul,

I see:
    high idle 5-8 % / streaming 14-18 %
    Mid idle 4-6 % / streaming 15-18 %
    low idle less than 0.5 % / streaming 1-2 %

So, not a big difference between High and Mid, but low is good.

Regards

A.
User avatar
askedal
 
Posts: 16
Joined: Mon Jan 30, 2012 11:49 am

Re: Windows Subsonic Client (WPF)

Postby Waro555 » Wed Feb 01, 2012 4:40 pm

paulodell wrote:Do you mean like the website where you can select Random, Recently Added, Recently Played, Highest Rated, Most Played etc?
If that is what you mean then its already there :D (its the 4th mini button - to the left of the volume), its called Album Mixer, it shows the same options as the website and can load upto 10 pages of each item.
It also has an early version of Artist Cloud which at the moment just lists all the artists.

Well, I'm aware of the Album Mixer but that's not exactly what I was trying to explain. The Artist cloud looks like what I was looking for but I think that it didn't work as expected because i ordered my music like 'GENRE' \`'ARTIST' \ 'ALBUM'. So when I select 'ROCK' from the Artist Cloud it shows me the first artist of the list. I understand this is not a bug as it comes from the way I decided to organize my collection.

Instead of an Artist Cloud that suppose that the first level of Folder is the artist name, it may be good to have a menu where you can browse your collection just like you do on Windows, or on the subsonic web UI.

paulodell wrote:I'm not sure what you mean by reopen the player interface? Do you have the bar on Auto-Hide?

Yes I set the player to auto hide because if i open a browser (chrome...) it stay on top and i can't see my chrome tabs. So, if i search something, then go to the search windows that appear, my player close and if I want to search something else i had to click elsewhere, reopen the player interface (mousse over few seconds), and retype my search. That's why I was thinking of a search box included in the windows (that prompt when searching ...).

It may be seen in another way, set an icon only (no free text) in the player, clicking on it open the main search windows (with a free text box), that windows do not auto-hide. So no need to return the player while browsing/searching for music to add to the playlist. <<<<<< that's just a random idea

Sorry for the poor English --- I'm french, so .... lol

Thanks
User avatar
Waro555
 
Posts: 20
Joined: Wed Feb 01, 2012 3:48 pm
Location: Monaco (MC)

PreviousNext

Return to SubWiji

Who is online

Users browsing this forum: No registered users and 5 guests