Category Archives: Operating systems

Posts related to Windows, Android and Debian based Linux.

Audio staggering in Windows 10

Update:

There are now two better solutions:

1. Disable dynamic tick

  1. Open Command prompt (Admin) to bring up elevated command prompt.
  2. Type BCDEDIT /SET DISABLEDYNAMICTICK YES command and press Enter to fix the high DPC latency
  3. restart the computer

2. Install and use TCP optimizer:

  1. Download TCP optimizer
  2. Set settings to optimal
  3. restart the computer

If the above does not work, you can try the older solutions mentioned below.


Older solution (Jul 2017)

Before upgrading to Windows 10, check if there are drivers written for your hardware specifically for Windows 10. You should definitely check that drivers exists for your network card and your audio card.

One reason is that Windows 10 suffer from the same (and important) problem Windows 8 suffer: High DPC (deferred procedure call) latency. If the drivers do not work properly you may have high DPC latency, which may result to audio staggering, lag, clicks, drop outs even if your CPU does not reach 100%. This means that there is a high chance you won’t be able to playback movies flawlessly while using the network card! What a break dealer!!!

You can verify if your system suffers from high DPC latency by using LatencyMon. To learn what DPC latency is read this article.

If there is no Windows 10 driver for your network card, the easiest thing to do is not to upgrade to Windows 10 !!!

Now, what do we do if we have upgraded to Windows 10 and do suffer from undesired DPC latency? There are numerous solutions in the net. Most of which do not work.

Imho, you should complete the following steps by order referenced. If the problem is solved at any point, you don’t have to (and better not to) complete the rest of the steps.

Step 1: Update your system completely.

Step 2: If possible, remove 3rd party antivirus and firewall software.

Step 3: Remove any software you don’t need (you should do that anyway)

Step 4: Update all drivers to latest version.

At this point, if the problem persists then most probably one of your drivers is faulty or not completely compatible with Windows 10. There is also a slight chance that Windows 10 install an invalid version of the driver. You can find which process causes the problem by using LatencyMon but you can bet it is the network/wireless driver.

The only thing you can do is rollback to an older version of the driver or install another one of the same family. So there are two more steps to do:

Step 5: Verify that the driver installed is for the correct hardware model and not just for the correct hardware family. If your card is named 6200 then your driver should be for 6200. Anything else like 6201, 6205, 6300 is not acceptable.

Step 6: Find the proper driver for Windows 7 and install it

If the last step does not work, then you can try other drivers from the same family but you should be careful because this could lead to BSOD screens (so it is not recommended if you are a newbie).

Lastly, if the problem still persists after the last step then there are two more steps but they are both long shots and should definitely not apply them if your problem does not persist:

Step 7: Optimize BIOS:

Read this link.

Important settings to disable (and potentially help provided you do not need them enabled) are:

  • Virtualization
  • High precision timer

Step 8: Update the BIOS

Personally, I don’t think the last step helps. But many people claim it does, so you have nothing to lose.

At this point, if the problem persists you are unlucky. You may have to rollback to Windows 7 or install a version of Ubuntu. There are plenty that are fast and user friendly.

 

Advertisements

Windows 8/2012 dark configuration

Here is how you can configure Windows 8/2012 to use a dark task bar with white letters:

  1. Install uxstyle
  2. Download Windows 8.1 Update1 RTM Dark Aero archive (memext mirror link)
  3. Decompress to C:\Windows\Resources\Themes
  4. delete the archive
  5. Right click Desktop → Personalize
    1.  Select Aero Dark MK IV Theme
    2. Click Color
      1. Click “show color mixer”
      2. Configure color as desired
  6. Optionally install classicshell

 

Keep Total Commander in memory

Total Commander is without doubt my favorite and most used application in Windows.

With the following settings combination you can configure Total Commander so that it remains in memory at all times. When you close TC, it will remain on tray. If you launch it via any method (button, shortcut etc) it will be restored. By pinning it to the taskbar you can launch it with Windows key.

In order to exit TC you can:

  1. hold shift down and click on the X button
  2. right click on the tray icon and select close

To configure the settings below, do the following:

  1. go to menu bar → Configuration → Change settings file directly
  2. For each setting, search for it’s name. If it is found, update it’s value accordingly. Otherwise, add the setting.

For more settings, consult the official wincmd.ini settings page

Setting 1: Allow only one copy of TC (per user)

Menu: Configuration → Options → Operation

Setting:

Onlyonce=1

Setting 2: Move icon to system tray when minimized

Menu: Configuration → Options → Operation

Setting:

TrayIcon=1

Setting 3: Close to tray

Menu: Unknown (read more)

For both Alt+F4 and X button methods, setting:

MinimizeOnClose=3

 

 

Unable to use ctrl+shift+? shortcuts with keyboard layout switcher

You have a Linux distribution with Xorg and you have configured the keyboard layout switcher to use alt+shift to switch between languages. But once you do that, keyboard shortcuts that use alt+shift+<key> combinations cannot be used. The same could happen if you have selected ctrl+shift as a shortcut to change language which disables all ctrl+shift+<key> combinations.

Continue reading Unable to use ctrl+shift+? shortcuts with keyboard layout switcher

Clock messed up when dual booting

The problem:

  • Linux store the time on the hardware clock as UTC by default
  • Windows store the time on the hardware clock as the local time by default

Since both operating systems access the hardware clock you may encounter problems when you dual boot between them.

A comment for the geeks:

The advantage of having the hardware clock as UTC is that you don’t need to change the hardware clock when moving between timezones or when Daylight Savings Time (DST) begins or ends as UTC does not have DST or timezone offsets.

Changing Windows to use UTC

If you dual boot Windows and Linux/MAC and the clock is messed up after each boot, you should either :

  1. run regedit
  2. navigate to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation
  3. add key RealTimeIsUniversal as DWORD and set it’s value to 1.
  4. disable Windows time service:
sc config w32time start= disabled

You can download a REG script that performs the first 3 steps from here but you will have to perform the last step (disable the service) manually.

Changing Linux to use local time

Pre-Ubuntu 15.04 systems (e.g. Ubuntu 14.04 LTS):

  1. edit /etc/default/rcS
  2. add or change the following section
# Set UTC=yes if your hardware clock is set to UTC (GMT) UTC=no

Ubuntu 15.04 systems and above (e.g. Ubuntu 16.04 LTS):

  1. open a terminal and execute the following command
timedatectl set-local-rtc 1

References:

Mint 19 Setup Tutorial 🏅

Basic installation

1 – Preparation and installation

  1. Download rufus
  2. Download latest stable cinnamon version ISO
  3. Use Rufus to create a bootable USB
  4. Boot the system with the USB. You can try to press F10 while booting in order to activate the boot menu. If it does not work you will have to enter the BIOS (you should google for the keyboard shortcut according to the manufacturer).

⚠️ Warning ⚠️

If you have Windows already installed, Linux might not be able to detect the previous installation, You should make sure that Windows and Linux use the same mode (either BIOS or UEFI). See multiboot article for more. Always double check you are using the same mode when you multi-boot.

If windows are detected properly or you are not using Windows at all, you can install Mint and proceed to the next steps.

Continue reading Mint 19 Setup Tutorial 🏅