Windows Vista x64

This forum is now locked and archived. Please use the Version 6 Issues forum

Windows Vista x64

Postby themysteriousx » Fri Jan 12, 2007 3:56 am

Image

I don't know how clearly you can see that, but that is my Pertelian fully functional on Windows Vista RTM (released version) 64 bit edition.

The install process was not plain sailing, but it seems to be fixable quite easily.

1) Install the Pertelian Software package.
It asked me if I wanted to install J# Redist runtime. I said no to this, as I know that I have J# already installed, however, the installer detected it as J# 0.0. This is probably due to the J# runtime being installed somewhere else in Vista. ##FIXED 14-3-2007##

2) Download the drivers from here: http://www.ftdichip.com/Drivers/D2XX.htm
The drivers in the pertelian download section did not work, however, the set at the top do work.
I didn't test it with the VCP drivers (I have no idea if they will work or not), but I used this set as the files in there seemed to match the ones supplied by you.

Extract the drivers somewhere.

3) Open up the device manager, find the USB <--> Serial device, right click, update drivers, browse, and give it the location. Wait for it to complete.

4) Wait a while, and it will pop up a box, asking you if you want to install drivers for a USB serial port. Tell it you do, again, browse for drivers, and give it the same location as above.

5) Note down from the device manager the com port used (should say something like "USB serial port (Com5)").

6) Close the pertelian client (if it is running) and then open the start menu, all programs, pertelian.

7) Right click the pertelian executable, select properties.

8) Select compatibility

9) Select run this program as an administrator.

10) Click OK.

11) Reopen the pertelian client, and set the com port. Click connect. You are now working. However, due to pertelian requiring admin permissions, it must be started manually every time the computer boots.

---

Steps 7 to 10 can be eliminated, with an update to the pertelian client.

The vista security model makes programs unable to write to the program files directory by default. This means that config files cannot be saved, hence why you need to at this time run the client in administrator mode.

To get around this, the application needs to be adapted so it somehow gets permission to write to program files, or (probably simplest) save the config file in the users home directory (probably a better idea anyway).

This also needs to be addresses as programs requiring administrative permissions cannot be automatically run on boot.

Also, while not running in administrator mode, the pertelian unit crashes when you exit (the screen freezes and keeps whatever data is on it, and if you repopen the pertelian client, it cannot connect until the unit is physically disconnected and plugged back in.).

If you have any questions, or want me to run any tests, feel free to PM or email me.

I'll add any plugin issues I find as I find them. The network speed plugin seems to be working fine though :)
Last edited by themysteriousx on Fri Mar 23, 2007 2:46 am, edited 5 times in total.
themysteriousx
 
Posts: 26
Joined: Thu Nov 23, 2006 12:25 pm

Postby themysteriousx » Fri Jan 12, 2007 3:57 am

First issue.

(Using itunes) Everytime the media player plugin updates, it pulls itunes into focus (I have it minimised to the tray).

###
Focus problem seems to be fixed, but pertelian cannot get song info from itunes, does notice that something is playing though.

Relevant bit from the log

Code: Select all
23/03/2007 03:04:39 [SongSearch] - Tick
23/03/2007 03:04:39 [CoreThread - StartTicking] Thread SongSearch started
23/03/2007 03:04:40 [PluginManager] - NextPlugin
23/03/2007 03:05:10    at Core.Media.ITunesPlayer.GetMediaPlayer()
   at Core.Media.MediaManager.GetMediaPlayer()
   at CorePlugins.SongSearch.Tick()
23/03/2007 03:05:14 [PluginManager] - NextPlugin
Last edited by themysteriousx on Fri Mar 23, 2007 3:08 am, edited 1 time in total.
themysteriousx
 
Posts: 26
Joined: Thu Nov 23, 2006 12:25 pm

Postby themysteriousx » Fri Jan 12, 2007 4:00 am

Second issue:

Activating/Deactivating plugins seems to take 5-10 seconds (pertelian client freezes).

Edit: only happens with teamspeak plugin. Hm..
themysteriousx
 
Posts: 26
Joined: Thu Nov 23, 2006 12:25 pm

Postby mrasmus » Fri Jan 12, 2007 4:02 am

Hey!

Very nice guide. I've been running on Vista for a while now (successfully on RC1) and I like the fact that you made this guide for future users...I had pretty much the same solution, not sure if you saw that, but this is the perfect, definitive guide to Vista operation. Good job!

--mrasmus

PS: I'm thinking this should be sticky'd, since it's a good reference, but I'm gonna talk to Pokesomi about it (I'm mainly here for spam control, not general moderation, so I'm not sure it's my call). Really good job, though.
mrasmus
 
Posts: 123
Joined: Tue Dec 26, 2006 12:37 am

Postby themysteriousx » Fri Jan 12, 2007 4:03 am

Third issue: Cannot configure forum plugin. Not a crash, just the configure button does nothing. ###FIXED 14-3-2007###

Fourth issue: Media player plugin does not work with media player 11 (kind of expected)

Fifth issue: Volume plugin does not work (at all, configure button does nothing, and when the plugin is loaded, it displays a blank screen on the unit whenever its turn comes round)

Sixth issue: IRC plugin: may just be me, but I can't find a way to configure it. Configure button is disabled (greyed out) and the unit displays ###FIXED 14-3-2007###

[IRC] Not Connected
Connect-Press USKey

Plugins that work (seemingly) flawlessly:
Core Weather
Core Network Stats
Core System Stats
Last edited by themysteriousx on Fri Mar 23, 2007 3:03 am, edited 4 times in total.
themysteriousx
 
Posts: 26
Joined: Thu Nov 23, 2006 12:25 pm

Postby themysteriousx » Fri Jan 12, 2007 4:04 am

Hopefully I've provided enough information to make this guide redundant :)
That's the plan anyway :)
themysteriousx
 
Posts: 26
Joined: Thu Nov 23, 2006 12:25 pm

Postby mrasmus » Fri Jan 12, 2007 4:07 am

themysteriousx wrote:Third issue: Cannot configure forum plugin. Not a crash, just the configure button does nothing.


That's not a problem for me, it works on my machine... as for the TS client plugin taking a while for enable/disable (particularly annoying when you're doing it commonly due to the non-saving error), I think that's just how stuff works. It's not a particularly bad problem, in my opinion.

Nice job

--mrasmus
mrasmus
 
Posts: 123
Joined: Tue Dec 26, 2006 12:37 am

Postby mrasmus » Fri Jan 12, 2007 4:08 am

themysteriousx wrote:Hopefully I've provided enough information to make this guide redundant :)
That's the plan anyway :)


That would be optimal, really, but I'm not sure they're working on Vista support *quite* yet. In the meantime, this is definitely the definitive guide for making it work... it can always be unpinned at a later date.

--mrasmus
mrasmus
 
Posts: 123
Joined: Tue Dec 26, 2006 12:37 am

Postby Mike » Fri Jan 12, 2007 6:20 pm

AWESOME JOB GUYS!!

thank you very much for this information ill foward this to Vic and Alex to see if we can get this into the online manual, as for offical Vista support i belive that is still up in the air.


but again kudos guys this will be VERY helpful for my testing when we do have a full Vista compatable release.
ForeSight Systems LLC
Mike Halby
Chief Beta Tester
Mike@Pertelian.com
Mike
 
Posts: 43
Joined: Tue Feb 21, 2006 7:10 am

Postby Pokesomi » Fri Jan 12, 2007 8:32 pm

This topic has been made sticky
User avatar
Pokesomi
 
Posts: 90
Joined: Tue Nov 28, 2006 5:02 am
Location: Woodland Hills, CA

Postby mrasmus » Fri Jan 12, 2007 11:30 pm

Mike wrote:AWESOME JOB GUYS!!

thank you very much for this information ill foward this to Vic and Alex to see if we can get this into the online manual, as for offical Vista support i belive that is still up in the air.


but again kudos guys this will be VERY helpful for my testing when we do have a full Vista compatable release.


The main thing's the whole settings-saving problem... easily fixable, just basically run it in an %AppData% directory (I think that's right). The /Users/username/ folder should be accessible fully, while the Program Files and Program Files (x86) folders are both write-protected, as far as I can tell.

Also, I'm only RC1, but I'm definitely willing to beta test if you guys need help on it for Vista compatibility.

--mrasmus
mrasmus
 
Posts: 123
Joined: Tue Dec 26, 2006 12:37 am

Postby themysteriousx » Fri Jan 19, 2007 6:32 pm

Just been watching a day of windows vista technical presentations, thought that as developers you may find them helpful for when you start work on pertelian compatibility.

http://gaia.world-television.com/ms/20070119/

Of particular note is Confidence - Security and Reliability with Windows Vista, which explains the Vista permission system, and how to work with it (using C Sharp.NET 3.0, though I think you use J Sharp), especially as this seems to be the main stumbling block for vista compatibility with pertelian. Luckily, it seems that the fix is fairly simple.

I also learned something from the presentation which may help it run in it's current state without admin privilidges, I'll test it out and amend the guide if I turn out to be correct when I get home.
themysteriousx
 
Posts: 26
Joined: Thu Nov 23, 2006 12:25 pm

Postby Tweakfiend » Sat Jan 20, 2007 5:29 pm

Thanks for this useful setup.

As for section 11 "Admin approval mode" I presume you mean.

Go to "start " "Run" enter "secpol.msc" go to " Local Policies " "Security Options " "User account control" "Run all administrators in Admin approval mode" and disable.
Does that solve your problem on that section ?
Tweakfiend
 
Posts: 94
Joined: Fri Nov 24, 2006 4:35 pm
Location: England

Postby themysteriousx » Sat Jan 20, 2007 7:00 pm

That would solve the problem, but that looks as if it would also introduce a massive security hole into the users system, as you are effectively disabling vistas security system...

The problem is that windows defender blocks programs from autostarting if they require admin permissions. Your suggestion works because it removes the concept of "admin mode", everything will run with full privilidges by default.

Disabling the windows defender service would also do the trick but again, wouldd pose a massive security risk.
themysteriousx
 
Posts: 26
Joined: Thu Nov 23, 2006 12:25 pm

Postby Tweakfiend » Sat Jan 20, 2007 7:47 pm

Yes the security aspect is the issue
I have been running Vista 32 bit since last June with admin rights disabled ,and had no problems apart from Defender.
In many official quarters this is an acceptable way of proceeding. as the alternative is too much "rights" interference.
Tweakfiend
 
Posts: 94
Joined: Fri Nov 24, 2006 4:35 pm
Location: England

Postby Tweakfiend » Fri Jan 26, 2007 11:59 pm

Just to advise people this works principle with a Vista 32 bit system and the correct driver from the link indicated... but 32 bit, rather than 64 bit.

The com port does not load at first but if you choose the one incorrectly loaded in Device Manager ..this will convert to a serial com port adaptor when you point it to the unzipped drivers above.

All the plug ins I used seem to work without locking up.
Tweakfiend
 
Posts: 94
Joined: Fri Nov 24, 2006 4:35 pm
Location: England

Postby Tweakfiend » Sat Jan 27, 2007 12:05 am

Forgot to say does not access "run this program as an administrator" in properties /Compatibility section but choose "run in Windows XP SP2 mode "




Tweakfiend wrote:Just to advise people this works principle with a Vista 32 bit system and the correct driver from the link indicated... but 32 bit, rather than 64 bit.

The com port does not load at first but if you choose the one incorrectly loaded in Device Manager ..this will convert to a serial com port adaptor when you point it to the unzipped drivers above.

All the plug ins I used seem to work without locking up.
Tweakfiend
 
Posts: 94
Joined: Fri Nov 24, 2006 4:35 pm
Location: England

Postby themysteriousx » Wed Feb 07, 2007 12:19 am

Pertelian Update 05/02/2007 breaks on x64. ###FIXED 14-3-2007###

Application loads, but connect button does nothing (doesn't give a "cannot connect", or freeze the app like it normally does).

Log file:

Code: Select all
07/02/2007 00:14:17   PlugInManager.Load()
07/02/2007 00:14:18 [PluginManager]  Load plugins from :plugins\CorePlugins.dll
07/02/2007 00:14:18 Plugin coreForumWatcher loaded
07/02/2007 00:14:18 Plugin coreEBay loaded
07/02/2007 00:14:18 Plugin coreWeather loaded
07/02/2007 00:14:19 Exception while loading Mixer
07/02/2007 00:14:19 System.TypeLoadException: Could not load type 'WaveLib.AudioMixer.MIXERCONTROL' from assembly 'WaveLibMixer, Version=1.0.2592.40908, Culture=neutral, PublicKeyToken=null' because it contains an object field at offset 20 that is incorrectly aligned or overlapped by a non-object field.
   at WaveLib.AudioMixer.MixerLine.set_HMixer(IntPtr value)
   at WaveLib.AudioMixer.Mixer.ReloadLines()
   at WaveLib.AudioMixer.Mixer.set_DeviceId(Int32 value)
   at WaveLib.AudioMixer.Mixers..ctor()
   at CorePlugins.Volume.Volume..ctor(): Could not load type 'WaveLib.AudioMixer.MIXERCONTROL' from assembly 'WaveLibMixer, Version=1.0.2592.40908, Culture=neutral, PublicKeyToken=null' because it contains an object field at offset 20 that is incorrectly aligned or overlapped by a non-object field.
07/02/2007 00:14:19    at WaveLib.AudioMixer.MixerLine.set_HMixer(IntPtr value)
   at WaveLib.AudioMixer.Mixer.ReloadLines()
   at WaveLib.AudioMixer.Mixer.set_DeviceId(Int32 value)
   at WaveLib.AudioMixer.Mixers..ctor()
   at CorePlugins.Volume.Volume..ctor()
07/02/2007 00:14:19 Plugin coreVolume loaded
07/02/2007 00:14:19 Plugin coreRSS loaded
07/02/2007 00:14:19 Plugin coreSports loaded
07/02/2007 00:14:19 Plugin coreNotes loaded
07/02/2007 00:14:19 Plugin coreIRC loaded
07/02/2007 00:14:19 Plugin coreStocks loaded
07/02/2007 00:14:21 Plugin coreSystemStats loaded
07/02/2007 00:14:21 Plugin coreTeamSpeak loaded
07/02/2007 00:14:21 Plugin coreNetworkStats is a Runnable Service
07/02/2007 00:14:21 Plugin coreNetworkStats loaded
07/02/2007 00:14:21 Plugin coreSongSearch loaded
07/02/2007 00:14:22 [CoreThread - StartTicking] Thread Forum started
07/02/2007 00:14:22 [Forum] - Tick
07/02/2007 00:14:22 [CoreThread - StartTicking] Thread eBay started
07/02/2007 00:14:22 [CoreThread - StartTicking] Thread Weather started
07/02/2007 00:14:22 [CoreThread - StartTicking] Thread RSS started
07/02/2007 00:14:22 [CoreThread - StartTicking] Thread Sports started
07/02/2007 00:14:22 [CoreThread - StartTicking] Thread Stocks started
07/02/2007 00:14:22 [CoreThread - StartTicking] Thread SystemStats started
07/02/2007 00:14:22 [CoreThread - StartTicking] Thread TeamSpeak started
07/02/2007 00:14:22 [CoreThread] - Thread TeamSpeak - An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
07/02/2007 00:14:22    at CorePlugins.TeamSpeak.TSRemote.tsrGetServerInfo(IntPtr tsrServerInfo)
   at CorePlugins.TeamSpeak.TSRemote.get_ServerInfo()
   at CorePlugins.TeamSpeak.TeamSpeak.Tick()
   at Core.Utils.CoreThread.TickerThread()
07/02/2007 00:14:23 Starting Pertelian
07/02/2007 00:14:28 [Pertelian] - Connect
07/02/2007 00:14:29 [Pertelian] - Connect
07/02/2007 00:14:29 [Pertelian] - Connect
07/02/2007 00:14:29 [Pertelian] - Connect
07/02/2007 00:15:00 [Pertelian] - Connect
07/02/2007 00:15:14 [Pertelian] - Connect
Last edited by themysteriousx on Fri Mar 23, 2007 2:49 am, edited 1 time in total.
themysteriousx
 
Posts: 26
Joined: Thu Nov 23, 2006 12:25 pm

Postby Alex » Wed Feb 07, 2007 3:15 am

Vista or XP themysteriousx?
ForeSight Systems LLC
ALEXANDER S. JARZEBINSKI
Chief Executive Officer
(714) 657-2522
Email: alex@pertelian.com
Alex
 
Posts: 977
Joined: Tue Dec 06, 2005 5:36 pm

Postby Broken0007 » Wed Feb 07, 2007 3:17 am

This looks just like my XP x64 problem which I just started a thread for...

http://pertelian.com/forums/viewtopic.php?t=719
Chris
Broken0007
 
Posts: 43
Joined: Thu Dec 21, 2006 5:36 am
Location: Corvallis, Oregon

Postby themysteriousx » Wed Feb 07, 2007 10:13 pm

Sorry, Vista 64.
themysteriousx
 
Posts: 26
Joined: Thu Nov 23, 2006 12:25 pm

Postby Alex » Thu Feb 08, 2007 6:11 am

With the 2-6 build, do we have things back to normal?
ForeSight Systems LLC
ALEXANDER S. JARZEBINSKI
Chief Executive Officer
(714) 657-2522
Email: alex@pertelian.com
Alex
 
Posts: 977
Joined: Tue Dec 06, 2005 5:36 pm

Postby themysteriousx » Thu Feb 08, 2007 5:47 pm

Yup, back in business. Emulation window is still broken though. ###FIXED 14-3-2007###
Last edited by themysteriousx on Fri Mar 23, 2007 2:48 am, edited 1 time in total.
themysteriousx
 
Posts: 26
Joined: Thu Nov 23, 2006 12:25 pm

Postby Alex » Thu Feb 08, 2007 7:22 pm

Yup, see that, should be an easy fix.
ForeSight Systems LLC
ALEXANDER S. JARZEBINSKI
Chief Executive Officer
(714) 657-2522
Email: alex@pertelian.com
Alex
 
Posts: 977
Joined: Tue Dec 06, 2005 5:36 pm

Postby themysteriousx » Fri Mar 23, 2007 2:48 am

Pertelian is currently totally non-functional when running without administrative permissions.

On the flip side, a couple of bugs have been quashed (I've gone through the thread and marked with ###)

When teamspeak plugin is cycled to, pertelian crashes, log isn't revealing about why (neither is windows) but I'll post it anyway:

Code: Select all
23/03/2007 02:55:31   PlugInManager.Load()
23/03/2007 02:55:31 [PluginManager]  Load plugins from :plugins\CorePlugins.dll
23/03/2007 02:55:32 Plugin coreForumWatcher loaded
23/03/2007 02:55:32 Plugin coreEBay loaded
23/03/2007 02:55:32 Plugin coreWeather loaded
23/03/2007 02:55:32 Exception while loading Mixer
23/03/2007 02:55:32 System.TypeLoadException: Could not load type 'WaveLib.AudioMixer.MIXERCONTROL' from assembly 'WaveLibMixer, Version=1.0.2629.37209, Culture=neutral, PublicKeyToken=null' because it contains an object field at offset 20 that is incorrectly aligned or overlapped by a non-object field.
   at WaveLib.AudioMixer.MixerLine.set_HMixer(IntPtr value)
   at WaveLib.AudioMixer.Mixer.ReloadLines()
   at WaveLib.AudioMixer.Mixer.set_DeviceId(Int32 value)
   at WaveLib.AudioMixer.Mixers..ctor()
   at CorePlugins.Volume.Volume..ctor(): Could not load type 'WaveLib.AudioMixer.MIXERCONTROL' from assembly 'WaveLibMixer, Version=1.0.2629.37209, Culture=neutral, PublicKeyToken=null' because it contains an object field at offset 20 that is incorrectly aligned or overlapped by a non-object field.
23/03/2007 02:55:32    at WaveLib.AudioMixer.MixerLine.set_HMixer(IntPtr value)
   at WaveLib.AudioMixer.Mixer.ReloadLines()
   at WaveLib.AudioMixer.Mixer.set_DeviceId(Int32 value)
   at WaveLib.AudioMixer.Mixers..ctor()
   at CorePlugins.Volume.Volume..ctor()
23/03/2007 02:55:32 Plugin coreVolume loaded
23/03/2007 02:55:32 Plugin coreRSS loaded
23/03/2007 02:55:32 Plugin coreSports loaded
23/03/2007 02:55:32 Plugin coreNotes loaded
23/03/2007 02:55:32 Plugin coreIRC loaded
23/03/2007 02:55:32 Plugin coreStocks loaded
23/03/2007 02:55:32 Plugin coreSystemStats loaded
23/03/2007 02:55:32 Plugin coreTeamSpeak loaded
23/03/2007 02:55:32 Plugin coreNetworkStats loaded
23/03/2007 02:55:32 Plugin coreSongSearch loaded
23/03/2007 02:55:33 [CoreThread - StartTicking] Thread Forum started
23/03/2007 02:55:33 [Forum] - Tick
23/03/2007 02:55:33 [CoreThread - StartTicking] Thread eBay started
23/03/2007 02:55:33 [CoreThread - StartTicking] Thread Weather started
23/03/2007 02:55:33 [CoreThread - StartTicking] Thread RSS started
23/03/2007 02:55:33 [CoreThread - StartTicking] Thread Sports started
23/03/2007 02:55:33 [CoreThread - StartTicking] Thread Stocks started
23/03/2007 02:55:33 [CoreThread - StartTicking] Thread SystemStats started
23/03/2007 02:55:33 [CoreThread - StartTicking] Thread TeamSpeak started
23/03/2007 02:55:33 [CoreThread] - Thread TeamSpeak - An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
23/03/2007 02:55:33    at CorePlugins.TeamSpeak.TSRemote.tsrGetServerInfo(IntPtr tsrServerInfo)
   at CorePlugins.TeamSpeak.TSRemote.get_ServerInfo()
   at CorePlugins.TeamSpeak.TeamSpeak.Tick()
   at Core.Utils.CoreThread.TickerThread()
23/03/2007 02:55:33 [CoreThread - StartTicking] Thread Network Stats started
23/03/2007 02:55:33 [CoreThread - StartTicking] Thread scroll started
23/03/2007 02:55:34 [Pertelian] - InitializeMain - LCD Initialize(USB=7 Rows=4 Cols=20 ScrollSpeed=250)
23/03/2007 02:55:34 [CoreThread - StartTicking] Thread IM Thread started
23/03/2007 02:55:34 [CoreThread - StartTicking] Thread Email started
23/03/2007 02:55:34 Starting Pertelian
23/03/2007 02:55:46 [CoreThread - StopTicking] Thread Network Stats stopped
23/03/2007 02:55:49 [CoreThread - StopTicking] Thread SystemStats stopped
23/03/2007 02:55:49 [CoreThread - StopTicking] Thread Stocks stopped
23/03/2007 02:55:50 [IRC] - Save
23/03/2007 02:55:51 [CoreThread - StopTicking] Thread Sports stopped
23/03/2007 02:55:51 [CoreThread - StopTicking] Thread RSS stopped
23/03/2007 02:55:52 [CoreThread - StopTicking] Thread Weather stopped
23/03/2007 02:55:52 [CoreThread - StopTicking] Thread eBay stopped
23/03/2007 02:55:53 [CoreThread - StopTicking] Thread Forum stopped
23/03/2007 02:55:55 [PluginManager] - NextPlugin
23/03/2007 02:55:55 [PluginManager] - NextPlugin CorePlugins.TeamSpeak.TeamSpeak chosen
themysteriousx
 
Posts: 26
Joined: Thu Nov 23, 2006 12:25 pm

Postby Kaota » Tue May 15, 2007 2:41 am

Thanks for this guide- the link to the x64 drivers saved me. Any word on an update to the app to incorporate x64 support and also run as without admin?
Kaota
 
Posts: 51
Joined: Mon Dec 25, 2006 8:01 pm

Postby Alex » Wed Jan 09, 2008 5:58 am

Hey Everyone,
As you know, there have been quite a few releases since these posts started and we have been working very hard on official Vista support. Well, we tested all Pertelian features with Windows Vista (32 bit) without disabling UAC and have not run into any major issues.
Is anyone having any issues with the latest releases of Pertelian running on Vista?
ForeSight Systems LLC
ALEXANDER S. JARZEBINSKI
Chief Executive Officer
(714) 657-2522
Email: alex@pertelian.com
Alex
 
Posts: 977
Joined: Tue Dec 06, 2005 5:36 pm


Return to Bugs/Issues Version 5 Archive

Who is online

Users browsing this forum: No registered users and 0 guests

cron