Ubuntu 16.04 Scaling of TWS Interactive Brokers on Dell XPS 15

I am having problem scaling the TWS application on my Dell XPS 15 when the resolution is set to 1920×1080. In my understanding, the tws script that can be downloaded from IB’s website calls local installation of Java, followed by configuration listed below and finally calls the appropriate *.jar files. This is what the configuration file looks like:

-Dinstaller.uuid=0d970b11-a492-452d-a91c-705ce8acf550 -DvmOptionsPath=/home/user/Jts/tws.vmoptions -Dsun.awt.nopixfmt=true -Dsun.java2d.noddraw=true -Dswing.boldMetal=false -Dsun.locale.formatasdefault=true -Djnlp.twslaunch.jars=jts4launch-976.jar;total-2018.jar -Djnlp.twslaunch.start=twslaunch-976.jar -Djnlp.twslaunch.codebase=https://download2.interactivebrokers.com/installers/tws/latest 

I have tried setting these parameters as was suggested in other AskUbuntu/SO questions:

-Dsun.java2d.uiScale=10.0 -Dsun.java2d.dpiaware=false 

but without any success. Do you have any ideas what might improve the scaling?

Ubuntu 18.04 different scaling for bulit-in and external monitor

I have a 3840×2160 built-in monitor and one external monitor on the left side with 1280×1024 resolution. The built-in monitor is perfect for me with 200% scale. However, the external monitor has the same 200% scale which everything is magnified. Is there a way to have a different scale for these monitors? (100% for the external and 200% for the built-in one.)

Thanks

hiDPI scaling fix for DaVinci Resolve 16

I am running ubuntu derivative Pop!_OS 19.04 in Gnome

I built a .deb package for DaVinci Resolve 16 with MakeResolveDeb and it seems to work fine, but it does not scale properly.

Scaling looks similar to this

This is a known (unfixed) issue, as seen here

The solution runscaled doesn’t seem to work.

Is there a known way to solve the scaling issue for this specific application?

Disable CPU frequency scaling?

I need to run ATLAS on my ubuntu laptop, but the software won’t run unless you dissable CPU frequency scaling. I’ve tried the instructions from here http://math-atlas.sourceforge.net/atlas_install/node5.html but they aren’t working on my Toshiba laptop. With freq-scaling on the software becomes useless.

Can anyone help?

Scaling GUIs differently on same resolution, but different sized monitors

I have two 1080p monitors, one is 32″ and one is 22″ my problem is that windows (and other GUIs) on the 22″ are much smaller than on the 32″.
I have an AMD graphics card, that supports something something called virtual super resolution, that lets me basically turn my 1080p 32″ into a 1440p monitor (albeit with low quality). That makes it so that the windows scale properly from monitor to monitors, but in Ubuntu (18.04) I don’t have that option. So, does anybody know if it is possible to achieve something similar, and if so…. how?

Thanks in advance, Asher

Largest eigenvalue scaling in a certain Kac-Murdoch-Szegö matrix

I’m looking at $ N\times N$ matrices $ M_N$ with elements $ $ M_N=\left( \rho^{|i-j|} \right)_{i,j=1}^N,$ $ where $ \rho$ is a complex number of unit modulus. These matrices with $ \rho\in\mathbb R$ and $ |\rho|<1$ have been studied in detail before, with a nice exposition to be found here, which includes some more references.

In the cited article, there is an implicit form of the eigenvalues, given through $ $ \lambda_j = \frac{1-\rho^2}{1-2\rho\cos\theta_j+\rho^2}, $ $ where $ \theta_j$ are roots of the following function $ $ G(\theta) = \sin[(n+1)\theta]-2\rho\sin[n\theta]+\rho^2\sin[(n-1)\theta]. $ $ (Even though only real $ \rho$ were considered in the article, this works for complex $ \rho$ also.)

Intriguingly, if $ \rho=e^{i\phi}$ , the largest eigenvalue of $ M_N$ seems to be essentially independent of $ \phi$ (as long as $ \phi$ is sufficiently different from 0 (i.e., $ \mathcal O(1/N)$ ). Since the inverse of $ M_N$ is almost tridiagonal (see the article for its form), it can be efficiently diagonalized numerically. I’ve checked up to $ N=10^6$ and the largest eigenvalue (mostly real) seems to almost follow a power law (roughly $ N^{0.85}$ ), but not quite. In fact, it looks slightly curved, so perhaps it is approaching $ N$ .

Another important thing I’ve noticed is that the $ \theta$ corresponding to the largest eigenvalue is very close to $ \phi$ , and seems to approach $ \phi$ as $ N\to\infty$ . Indeed, it is the same scaling as the actual eigenvalue $ \lambda$ , which follows from the fact that $ \theta=\phi$ makes the denominator of the formula for $ \lambda$ vanish. Expanding $ \theta=\phi+\delta\phi$ it becomes clear that $ $ \ln\lambda\to -\ln(\theta-\phi) + \text{const.} $ $

So I’ve been trying for a long time to extract how $ \theta$ approaches $ \phi$ from $ G(\theta)$ , but failed. I’d appreciate any pointers to a solution.

Fractional scaling not working on 19.04

I recently upgraded to Ubuntu 19.04. I have 2 monitors, one with a resolution of 3840x2160 and another with a resolution of 2560x1440. I have enabled x11-randr-fractional-scaling using dconf.

The fractional percentages show in Settings, however when I try to set my 4k monitor to anything above 100%, it automatically goes to 200%. If I change the percentage on the 2560x1440 monitor, it will scale correctly, however it will also force the unmodified 4k monitor to scale to 200%.

How do I get the 4k monitor to scale to 1.25-1.5x and keep the second monitor the same scale?

Does AWS Fargate only scale through adding AWS auto scaling to it?

I’m planning on shifting from EC2 to Fargate because it said it automatically “removes the need to choose server types, decide when to scale your clusters, or optimize cluster packing”. I think I understand how a cluster scales through auto-scaling rules, but that isn’t exactly automatic. So am I missing something regarding how scaling in AWS Fargate works?

As far as I understand so far, I make a basic task. I assign the task some memory and CPU, and the only way it scales is through auto scaling which will basically recreate these tasks when the need arises (either through alarms or specific rules). TIA!