It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
avatar
vidsgame: Apologies, by dropping I meant disconnecting totally. Toggling it off and on immediately fixes this but only temporarily. Sometimes the solution lasts for a day, sometimes for a few hours and sometimes is disconnects every couple minutes. It's random.
avatar
adamhm: That is *exactly* what my initial experience has been with Realtek wifi adapters, until installing either a kernel update with fixed drivers or separate drivers.

avatar
vidsgame: In fact, I have a Realtek. So that makes sense. Model: RTL8821AE BT Combo 802.11ac/b/g/n. The latest kernel - 4.10 was giving more frequent disconnects so I switched back to 4.8.

Initially, 4.8 was working perfectly, until I updated to 4.10 then went back to 4.8.

This kernel 4.8 is more tolerable but I would like to get it working again like a stable connection.
avatar
adamhm: Never had this issue though, the problems were always present from the start & usually installing a newer kernel at least reduced the frequency of disconnects. You could try installing this driver: https://github.com/lwfinger/rtlwifi_new

I've had good results with it before, but you need to compile it yourself. Download the .zip, extract it somewhere, open a terminal in the directory & run "sudo make install" (install the package "build-essential" before doing this)
What's "build essential" and where do I get it? Is that all I need to do to compile it? The steps you explained or is there/are there any prerequisite steps?
avatar
vidsgame: What's "build essential" and where do I get it? Is that all I need to do to compile it? The steps you explained or is there/are there any prerequisite steps?
The build-essential package will install some development packages that are often needed for compiling things like this. Install it through the Software Manager or Synaptic Package Manager - search for & install the package named "build-essential".

Then extract the .zip containing the new driver code, open a terminal in the resulting directory & run the command "sudo make install" and then restart the system.
avatar
vidsgame: What's "build essential" and where do I get it? Is that all I need to do to compile it? The steps you explained or is there/are there any prerequisite steps?
avatar
adamhm: The build-essential package will install some development packages that are often needed for compiling things like this. Install it through the Software Manager or Synaptic Package Manager - search for & install the package named "build-essential".

Then extract the .zip containing the new driver code, open a terminal in the resulting directory & run the command "sudo make install" and then restart the system.
Alright. I'm about to give it a go. It says installation was a success. I hope this driver works out.

To anyone else having the same problem. The solution adadhm suggested was really easy.

Thank you again, adamhm. You're my hero.
Post edited August 01, 2017 by vidsgame
If you want to test linux mint on a Virtual Machine, DO NOT USE SWAP.

I am using different kinds of Linux Mint both as dual-boot and on VMs. There was a huge performance difference between VMs and the actual Linux. I always thought that was because of VB limitations. Until I recently took a closer look how and when the performance changes. So I kept experimenting between different desktops (xfce, cinnamon etc) and I realized that the performance and CPU usage gets insane as soon as SWAP usage becomes 20-30 MBs. The system works normal after first boot but once SWAP gets its share, even clicking menu (equivalent of windows start) or opening a folder becomes a nightmare.

So I removed SWAP (it is easy but you need to do a few things. Just using Gparted was not enough) and added its space to the main partition. Now not only I have more disk space but also everything works great. I used my xfce on VB for about 5 hours without a single performance issue.

ALSO, if you are using a flashdrive (aka SSD?), it is highly recommended not to use SWAP because of serious performance issues.
The PlayOnLinux guide has now been updated & moved into its own separate guide and the download link for it has been added to the first post (I've also made some small updates to the Mint guide).
avatar
adamhm: ...
I've been at this for two days now and am pretty desperate, so I hope this avenue can give me help.

I've become an admin on the Pillars of Eternity wiki. It needs plenty of love and I've started adding creature pages, plus behind the scenes updates. As part of testing out the Cargo extension, I've made a change to a template, and now need to change code on around 80 creature pages. From what I'm told, this is where AutowikiBrowser (or AWB) shines. Unfortunately I can't get the darn thing to work :(

It needs .NET 3.5 to run in Linux (see here: [url=https://en.wikipedia.org/wiki/Wikipedia:AutoWikiBrowser]https://en.wikipedia.org/wiki/Wikipedia:AutoWikiBrowser[/url] ). I've tried many times and ways to get it installed, but it looks like the PlayOnLinux path is incorrect for 3.0. Downloaded it manually and put it in /home/pangaea/.PlayOnLinux/ressources/dotnet30, but I'm still getting trouble. Same with MSXML3. POL just keeps chugging away without any real progress. Today I noticed a rather large .log file (see attachment), so probably a neverending loop of some type.

I have WineHQ installed. But when I tried to install dotnet20 from there (I need 2.0, 3.0, 3.5, plus probably other stuff), I was told mono wasn't installed, and got a couple error messages. It should be installed, probably by default. Ran sudo apt-get install wine-mono but that didn't help either.

So Plan B
Installed Windows XP with VirtualBox. That went fine, surprisingly enough. Until a point. Can't connect to the internet, except a couple Microsoft sites, like MSN (I can click on news links and it works). Windows Update doesn't work. Today I installed Firefox, and that allowed me to surf normally. But something is still not right. I've installed network drivers and tried various netsh resets, but no luck. Tried a small program called WinsockxpFix - no luck.

When I open AWB I'm told there is a problem, and it pops up again each time I try to access Preferences (see attachment).

When trying to access the internet with IE or when starting up AWB, I see the network icon flashing red in the VirtualBox 'container'. Not sure if the problem is with VB or something else, but I'm guessing it's something in WindowsXP that is wrong since it does connect to some MS-linked sites. Very odd problem that I've never seen before. Nothing I search for works either, and I've tried a fair few things, some mentioned above.

Please help. I'd love to work more efficiently on the wiki, and this is driving my enthusiasm out the window (excuse the pun).

Ideally I'd get it working properly through Linux, but I keep running into brick walls there too :(
Attachments:
Post edited September 02, 2017 by Pangaea666
avatar
Pangaea666: It needs .NET 3.5 to run in Linux (see here: [url=https://en.wikipedia.org/wiki/Wikipedia:AutoWikiBrowser]https://en.wikipedia.org/wiki/Wikipedia:AutoWikiBrowser[/url] ). I've tried many times and ways to get it installed, but it looks like the PlayOnLinux path is incorrect for 3.0. Downloaded it manually and put it in /home/pangaea/.PlayOnLinux/ressources/dotnet30, but I'm still getting trouble. Same with MSXML3. POL just keeps chugging away without any real progress. Today I noticed a rather large .log file (see attachment), so probably a neverending loop of some type.

I have WineHQ installed. But when I tried to install dotnet20 from there (I need 2.0, 3.0, 3.5, plus probably other stuff), I was told mono wasn't installed, and got a couple error messages. It should be installed, probably by default. Ran sudo apt-get install wine-mono but that didn't help either.
Wine tries to install Wine Mono automatically when creating or updating a prefix. It searches for the appropriate Mono installer for that version of Wine in a few locations and if it can't find it then it prompts to download & install it.

Download Wine Staging 2.15 with PlayOnLinux, then download https://dl.winehq.org/wine/wine-mono/4.7.1/wine-mono-4.7.1.msi and place it in ~/.cache/wine and then create a new prefix to install AWB into. Try running it with that and if it fails, then try installing .NET 3.5 via configuration --> install components --> dotnet35sp1 or so and try again.

If that still fails, you could also try using CrossOver, as that has its own install script for .NET 3.5 and it's a bit different to regular Wine/Wine Staging so might work better.

For WinXP in VirtualBox, you could try installing VirtualBox's guest additions ("Devices" --> "Insert Guest Additions CD Image..." then run the installer in the VM) if you haven't already.
avatar
Pangaea666: It needs .NET 3.5 to run in Linux (see here: [url=https://en.wikipedia.org/wiki/Wikipedia:AutoWikiBrowser]https://en.wikipedia.org/wiki/Wikipedia:AutoWikiBrowser[/url] ). I've tried many times and ways to get it installed, but it looks like the PlayOnLinux path is incorrect for 3.0. Downloaded it manually and put it in /home/pangaea/.PlayOnLinux/ressources/dotnet30, but I'm still getting trouble. Same with MSXML3. POL just keeps chugging away without any real progress. Today I noticed a rather large .log file (see attachment), so probably a neverending loop of some type.

I have WineHQ installed. But when I tried to install dotnet20 from there (I need 2.0, 3.0, 3.5, plus probably other stuff), I was told mono wasn't installed, and got a couple error messages. It should be installed, probably by default. Ran sudo apt-get install wine-mono but that didn't help either.
avatar
adamhm: Wine tries to install Wine Mono automatically when creating or updating a prefix. It searches for the appropriate Mono installer for that version of Wine in a few locations and if it can't find it then it prompts to download & install it.

Download Wine Staging 2.15 with PlayOnLinux, then download https://dl.winehq.org/wine/wine-mono/4.7.1/wine-mono-4.7.1.msi and place it in ~/.cache/wine and then create a new prefix to install AWB into. Try running it with that and if it fails, then try installing .NET 3.5 via configuration --> install components --> dotnet35sp1 or so and try again.

If that still fails, you could also try using CrossOver, as that has its own install script for .NET 3.5 and it's a bit different to regular Wine/Wine Staging so might work better.

For WinXP in VirtualBox, you could try installing VirtualBox's guest additions ("Devices" --> "Insert Guest Additions CD Image..." then run the installer in the VM) if you haven't already.
Tried 2.15 earlier, so tried 2.15 staging now. Doesn't look like it went much better. Already had the file you linked to in the same saze, but overwrote it anyway. Think .NET actually worked (maybe it did yesterday too, actually), but MSXML3 runs into a vicious cycle. The .log file I attached a picture of runs absolutely mad, and grows by 3 MB a second. Even after I closed down the virtual desktop running the failing installer, POL and X-killed stuff, it was still growing rapidly. I saw something about a y/n question in there to overwrite something.

Have you got a trick for getting MSXML3 installed without PlayOnLinux running a logfile until it runs out of disk space?

I did manage to start AWB with Mono btw. But it doesn't work very well with Mono, and I got another stark warning, about it being experimental and unstable. It's briefly mentioned in their project page on Wikipedia as well.

Edit: Already installed the guest additions to VirtualBox VM btw, so the problem must have been something else. Would prefer to get AWB running in Linux, so the WinXP attempt via VM was just pure desperation. Surprised even that had problems though. Have never run into that issue before, not able to connect properly to the internet.

Edit: Holy crap, the .log file was even growing while sitting in the Trash can. WTF?
Edit2: Same issue as here, though I don't see a solution mentioned: https://www.playonlinux.com/en/app-523-POL_Install_msxml3.html
Post edited September 02, 2017 by Pangaea666
avatar
Pangaea666: Edit: Holy crap, the .log file was even growing while sitting in the Trash can. WTF?
Try Configure --> Wine --> kill processes
Or failing that, open the system monitor, find the wine/wineserver process & terminate it

I've not had these issues with msxml3 before, but it's something I've rarely needed & haven't had to install for a long time. It sounds like it might be better to use Wine directly along with Winetricks, or try with CrossOver.
All I can is that this is exactly why I reverted back to Windows in the past. Instead of just double-clicking on a .exe file, I spend fucking days upon days trying to get the thing to work -- and failing hard.

Now I'm trying with pure wine(hq). It claims mono isn't installed, but it sure is. By now just about every package under the sun called mono is installed, and yet the stupid tit claims it isn't installed.

Boundlessly frustrating. Could have solved a lot of issues already on the wIki if I didn't run Linux.

Oh, and CrossOver costs a mountain of money after the 14 days, so that's not an option. Would probably just run into 10,000 *other* problems anyway.
Post edited September 02, 2017 by Pangaea666
avatar
Pangaea666: Boundlessly frustrating. Could have solved a lot of issues already on the wIki if I didn't run Linux.
(bearing in mind that .NET is a Microsoft product, and like many of their products is intended to bind software & people to Windows like this...)

Try this command to create a new prefix using the system's version of Wine:

env WINEPREFIX=~/testprefix WINEDLLOVERRIDES=winemenubuilder.exe=d wineboot

Then check for Wine Mono by checking to see if the directory "~/testprefix/drive_c/windows/mono" exists - if it does, then Mono is installed into the prefix. Note that if Mono isn't installed and you try running the mono installer .msi manually it won't work, you need to do wineboot -u (if the library "mscoree" is disabled it will prevent Wine from installing Mono)

Next, try:

env WINEPREFIX=~/testprefix winetricks msxml3 dotnet35sp1

Then try running the software (remember to use "env WINEPREFIX=~/testprefix " first so it uses the newly created prefix)

avatar
Pangaea666: Oh, and CrossOver costs a mountain of money after the 14 days, so that's not an option. Would probably just run into 10,000 *other* problems anyway.
With the trial you can at least see if it works. In my experience it tends to be a lot easier to get things running in CrossOver as it's not the same as regular versions of Wine (it's somewhere between regular + staging, along with some other customisations) and they apply a bunch of tweaks of their own, plus AFAIK the install scripts for the stuff they officially support are much more regularly updated.

Edit: Just created a new prefix using PlayOnLinux and installed msxml3 without issue. Might be worth checking dependencies?
Post edited September 02, 2017 by adamhm
When Wine complains about a missing Mono installation, it is usually a version mismatch for me. This happens from time to time, when wine-mono gets an update and my wine-staging package doesn't recognize it. Waiting for the new Wine version or downgrading wine-mono usually solves the issue.
So, make sure your Wine and wine-mono versions are compatible.
As long as the appropriate Mono installer is present in a location where Wine can find it (e.g. ~/.cache/wine ) it should be fine. Can get the Mono installers from https://dl.winehq.org/wine/wine-mono/
avatar
adamhm: As long as the appropriate Mono installer is present in a location where Wine can find it (e.g. ~/.cache/wine ) it should be fine. Can get the Mono installers from https://dl.winehq.org/wine/wine-mono/
Thanks for the help. Hopefully I can get there in the end.

First stumble seems to be that the testprefix was created as 64-bit. How do I make it 32-bit? The installer said it wasn't compatible with 64-bit (think it was the .net 2.0 installer).

edit: .cache/wine has mono too btw: wine_gecko-2.47-x86.msi, wine_gecko-2.47-x86_64.msi, wine-mono-4.6.4.msi, wine-mono-4.7.1.msi

Mono was located in it btw, a mono-2.0 version. Got some message about mscoree as well, so quite possibly more is wrong. I'll just post the log, in case you guys can tell anything sensible from it.

pangaea@thunderstruck ~ $ env WINEPREFIX=~/testprefix WINEDLLOVERRIDES=winemenubuilder.exe=d wineboot
wine: created the configuration directory '/home/pangaea/testprefix'
err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
err:ole:get_local_server_stream Failed: 80004002
err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
err:ole:get_local_server_stream Failed: 80004002
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
fixme:dwmapi:DwmIsCompositionEnabled 0x6dbd1518
fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x69ebd3de, context 0x9c64e0, init_notify 0, handle 0x12ae1a0): stub
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x6a0cb608, context 0x938728, init_notify 0, handle 0x116e794): stub
wine: configuration in '/home/pangaea/testprefix' has been updated.
pangaea@thunderstruck ~ $ env WINEPREFIX=~/testprefix winetricks msxml3 dotnet35sp1
------------------------------------------------------
You are using a 64-bit WINEPREFIX. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Executing w_do_call msxml3
Executing load_msxml3
Using native override for following DLLs: msxml3
Executing winetricks_early_wine regedit C:\windows\Temp\_msxml3\override-dll.reg
Executing wine msiexec /i msxml3.msi
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
err:richedit:ReadStyleSheet skipping optional destination
err:richedit:ReadStyleSheet skipping optional destination
fixme:msi:event_spawn_wait_dialog doing nothing
Executing w_do_call dotnet35sp1
Executing load_dotnet35sp1
------------------------------------------------------
dotnet35sp1 does not yet fully work or install on wine. Caveat emptor.
------------------------------------------------------
Executing mkdir -p /home/pangaea/.cache/winetricks/dotnet35sp1
Downloading http://download.microsoft.com/download/2/0/e/20e90413-712f-438c-988e-fdaa79a8ac3d/dotnetfx35.exe to /home/pangaea/.cache/winetricks/dotnet35sp1
--2017-09-02 21:40:36-- http://download.microsoft.com/download/2/0/e/20e90413-712f-438c-988e-fdaa79a8ac3d/dotnetfx35.exe
Resolving download.microsoft.com (download.microsoft.com)... 104.123.113.245, 2a02:26f0:7b:290::e59, 2a02:26f0:7b:28f::e59
Connecting to download.microsoft.com (download.microsoft.com)|104.123.113.245|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 242743296 (231M) [application/octet-stream]
Saving to: ‘dotnetfx35.exe’

dotnetfx35.exe 100%[===================>] 231,50M 3,71MB/s in 62s

2017-09-02 21:41:39 (3,71 MB/s) - ‘dotnetfx35.exe’ saved [242743296/242743296]

Executing w_do_call remove_mono
Executing load_remove_mono
------------------------------------------------------
Mono does not appear to be installed.
------------------------------------------------------
Executing w_do_call dotnet35
Executing load_dotnet35
------------------------------------------------------
dotnet35 does not yet fully work or install on wine. Caveat emptor.
------------------------------------------------------
Executing w_do_call remove_mono
Executing load_remove_mono
------------------------------------------------------
Mono does not appear to be installed.
------------------------------------------------------
Executing w_do_call dotnet30sp1
Executing load_dotnet30sp1
Executing w_do_call remove_mono
Executing load_remove_mono
------------------------------------------------------
Mono does not appear to be installed.
------------------------------------------------------
Executing w_do_call dotnet30
Executing load_dotnet30
Executing w_do_call remove_mono
Executing load_remove_mono
------------------------------------------------------
Mono does not appear to be installed.
------------------------------------------------------
------------------------------------------------------
If install fails, set /proc/sys/kernel/yama/ptrace_scope to 0. See http://bugs.winehq.org/show_bug.cgi?id=30410
------------------------------------------------------
Executing w_do_call dotnet20
Executing load_dotnet20
Executing w_do_call remove_mono
Executing load_remove_mono
------------------------------------------------------
Mono does not appear to be installed.
------------------------------------------------------
Executing w_do_call fontfix
Executing load_fontfix
Setting Windows version to win2k
Executing winetricks_early_wine regedit C:\windows\Temp\_dotnet20\set-winver.reg
------------------------------------------------------
Working around wine bug 34803
------------------------------------------------------
Are you sure you want to delete the registry key 'HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework\v2.0.50727\SBSDisabled'? (Yes|No)y
reg: The system was unable to find the specified registry key or value
/usr/bin/winetricks: 1770: test: Illegal number: wine-2.0.2
------------------------------------------------------
Working around wine bug 30845 -- Using native fusion while installing...
------------------------------------------------------
Executing env WINEDLLOVERRIDES=mscoree,fusion=n wine dotnetfx.exe
fixme:advapi:DecryptFileA ("C:\\users\\pangaea\\Temp\\IXP000.TMP\\", 00000000): stub
err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
fixme:advapi:LsaOpenPolicy ((null),0x33f2bc,0x00000001,0x33f2b0) stub
fixme:advapi:LsaClose (0xcafe) stub
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
------------------------------------------------------
Note: command 'env WINEDLLOVERRIDES=mscoree,fusion=n wine dotnetfx.exe' returned status 26. Aborting.
------------------------------------------------------
pangaea@thunderstruck ~ $
Post edited September 02, 2017 by Pangaea666
avatar
Pangaea666: First stumble seems to be that the testprefix was created as 64-bit. How do I make it 32-bit? The installer said it wasn't compatible with 64-bit (think it was the .net 2.0 installer).
I forgot a bit, sorry... it should be:

avatar
adamhm: env WINEPREFIX=~/testprefix WINEARCH=win32 WINEDLLOVERRIDES=winemenubuilder.exe=d wineboot
to create the prefix.

avatar
Pangaea666: edit: .cache/wine has mono too btw: wine_gecko-2.47-x86.msi, wine_gecko-2.47-x86_64.msi, wine-mono-4.6.4.msi, wine-mono-4.7.1.msi

Mono was located in it btw, a mono-2.0 version. Got some message about mscoree as well, so quite possibly more is wrong. I'll just post the log, in case you guys can tell anything sensible from it.

<snip>
Well that's very different to what I got (and there's a *lot* less). It took a long time to run through all the installers, but seemed to finish installing ok (I downloaded AWB and that appears to start fine too but I haven't tested it beyond just starting it).

If you want to try to replicate my results, download and try this:

wine_test.tar.xz

It consists of two scripts that I made when I started learning to use Wine directly for my wrappers- one to download Wine & Winetricks and create a Wine prefix (Wine Mono and Wine Gecko will not be installed), the other to set the required environment variables and then run bash so you can use it more easily. Extract it somewhere, then open a terminal in the resulting directory. Run:

./prep-prefix.sh

then

./wineenv.sh

and then

./winetricks msxml3 dotnet35sp1

Then extract AWB into the directory and try to run AWB:

cd AutoWikiBrowser5900
wine AutoWikiBrowser.exe