# LimeSdrMini2.0 removing DC-Spike

**URL:** <https://discourse.myriadrf.org/t/limesdrmini2-0-removing-dc-spike/7881>\
**Category:** LimeSDR\
**Created:** [9 March 2023 12:37 UTC](https://discourse.myriadrf.org/t/limesdrmini2-0-removing-dc-spike/7881 "2023-03-09T12:37:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Crania](https://avatars.discourse-cdn.com/v4/letter/c/96bed5/32.png) [@Crania](https://discourse.myriadrf.org/u/Crania)\
**Post date:** [9 March 2023 12:37 UTC](https://discourse.myriadrf.org/t/limesdrmini2-0-removing-dc-spike/7881/1 "2023-03-09T12:37:57Z")

</div>

Hello,  
I have a big DC-Spike on my new LimeSdrMini2.0.  
Therefore im trying to remove them with procedure decribed on Chapter 10.  
[https://wiki.myriadrf.org/Getting\_Started\_with\_LimeSDR-USB\_and\_LimeSuiteGUI](https://wiki.myriadrf.org/Getting_Started_with_LimeSDR-USB_and_LimeSuiteGUI)  
But all what i doing there, nothing change(greater or smaller) the DC-Spike.  
Has anybody an idea…

---

<div class="post-metadata">

**Author:** ![ricardas](https://yyz2.discourse-cdn.com/flex034/user_avatar/discourse.myriadrf.org/ricardas/32/86_2.png) [@ricardas](https://discourse.myriadrf.org/u/ricardas)\
**Post date:** [9 March 2023 21:44 UTC](https://discourse.myriadrf.org/t/limesdrmini2-0-removing-dc-spike/7881/2 "2023-03-09T21:44:59Z")

</div>

Seems to be error in GUI, the Enable DC offset checkbox was not working, fixed it [38efe960](https://github.com/myriadrf/LimeSuite/commit/38efe9602a7945717a371a1bb9e19d075284f445)

There is another “Enable DC offset” checkbox that is working in Calibrations panel.

---

<div class="post-metadata">

**Author:** ![Crania](https://avatars.discourse-cdn.com/v4/letter/c/96bed5/32.png) [@Crania](https://discourse.myriadrf.org/u/Crania)\
**Post date:** [13 March 2023 08:38 UTC](https://discourse.myriadrf.org/t/limesdrmini2-0-removing-dc-spike/7881/3 "2023-03-13T08:38:52Z")

</div>

Hello ricardas,

I’m implemented the bugfix in my system.  
The checkboxes “EnableDcOffset” on register “Calibrations” and “RFE” and also the  
TextBoxes “OffsetI” and “OffsetQ” are working now.  
They are also sending offset values to LimeSdrMini:  
0…63 for positive offsets and  
64 … 127 for negative offsets.  
This seems to be ok.

But there are still more problems with LimeSuiteGUI:  
a) The functionality manual-DC Offset don’t work.  
b) There are many CRITICAL and WARNINGS Messages on startup and runtime:  
(LimeSuiteGUI:2653): Gtk-CRITICAL \*\*: 21:57:36.762: gtk\_box\_gadget\_distribute: assertion ‘size \>= 0’ failed in GtkNotebook  
(LimeSuiteGUI:2653): Gtk-CRITICAL \*\*: 21:57:36.762: gtk\_box\_gadget\_distribute: assertion ‘size \>= 0’ failed in GtkNotebook  
(LimeSuiteGUI:2653): Gtk-WARNING \*\*: 21:57:36.766: gtk\_widget\_size\_allocate(): attempt to allocate widget with width 11 and height -1  
(LimeSuiteGUI:2653): Gtk-WARNING \*\*: 21:57:36.766: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node border, owner GtkFrame)  
(LimeSuiteGUI:2653): Gtk-CRITICAL \*\*: 21:57:36.766: gtk\_widget\_get\_preferred\_width\_for\_height: assertion ‘height \>= 0’ failed  
(LimeSuiteGUI:2653): Gtk-WARNING \*\*: 21:57:36.766: gtk\_widget\_size\_allocate(): attempt to allocate widget with width 0 and height -1  
and many more…  
c) After some seconds(randomly between 3 and 10) Module FFT-Viewer craches and the Ubuntu Desktop  
is unusable(all black). Then I have to Reboot or Logout/Login.  
d) With all these restrictions, LimeSuiteGUI is not useful.

---

<div class="post-metadata">

**Author:** ![Crania](https://avatars.discourse-cdn.com/v4/letter/c/96bed5/32.png) [@Crania](https://discourse.myriadrf.org/u/Crania)\
**Post date:** [3 April 2023 15:27 UTC](https://discourse.myriadrf.org/t/limesdrmini2-0-removing-dc-spike/7881/4 "2023-04-03T15:27:15Z")

</div>

Hello Ricardas,

in the meantime I’ve make some further tests.  
One of it, I increase the number of CPUs for the VM from 4 to 8.  
This bring me to a stable LimeSuiteGUI app.  
It seems, that GnuRadio and LimeSuite in a VM needs more power.

Karlheinz

---

<div class="post-metadata">

**Author:** ![andrewback](https://avatars.discourse-cdn.com/v4/letter/a/22d042/32.png) [@andrewback](https://discourse.myriadrf.org/u/andrewback)\
**Post date:** [5 April 2023 11:36 UTC](https://discourse.myriadrf.org/t/limesdrmini2-0-removing-dc-spike/7881/5 "2023-04-05T11:36:16Z")

</div>

> [@Crania](#):
>
> It seems, that GnuRadio and LimeSuite in a VM needs more power.

Running SDR applications in a VM is generally a bad idea.
