Category Archives: Lanedo Planet

NVIDIA: Failed to load the NVIDIA kernel module

I just upgraded my desktop PC from Fedora 19 to Fedora 20 using fedup; and once it rebooted I ended up (again!) with the nvidia driver breaking badly.

In my case /var/log/Xorg.0.log just said:

[ 56.343] (EE) NVIDIA: Failed to load the NVIDIA kernel module. Please check your
[ 56.343] (EE) NVIDIA: system's kernel log for additional error messages.
[ 56.343] (EE) No devices detected.
[ 56.343] (EE) Fatal server error:
[ 56.343] (EE) no screens found(EE)

And fixed it just requesting an explicit rebuild of the akmod modules:

$ sudo /usr/sbin/akmods --force

Let this be a reminder to the future me for whenever I upgrade to F21 :)

P.S.: yeah, I do need the nvidia driver as nouveau doesn’t seem to control the fan in graphics card… so nvidia is the only way to get a quiet hardware :/

GUADEC-ES, 2013-10-18, Madrid

Banner GUADEC-ES 2013

Este fin de semana celebramos en Madrid la décima edición de GUADEC-ES, la version hispana de la conferencia europea para desarrolladores y usuarios de GNOME.

Si quieres asistir, sólo tienes que registrarte y pasarte el Viernes 18, Sábado 19 y Domingo 20 de Octubre por las estupendas instalaciones de MediaLab-Prado.

El Viernes a las 19:30 participaré en una mesa redonda junto a Juan José Marín y Florian Müllner, y el Sábado a las 18:15 daré una charla sobre D-Bus. Aparte de eso, si quieres saber más sobre ModemManager o Tracker, no dudes en buscarme y hablamos :)

¡Alli nos vemos!

Mobile Radio Monitor

mrm-launcher

The Mobile Radio Monitor is a new (GPLv3+ licensed) application I wrote this summer, which lets you grab signal and power information from QMI-powered modems, and displays it in time-based graphs. I really wanted to use some of the shiny new things available in GTK+ 3.9.x, so this application seemed a good excuse to play around with the GtkStack, GtkListBox, templates and such.

Internally, this application does not talk to ModemManager at all. The other thing that I wanted to try out with this application was the use of the ‘qmi-proxy‘ approach in libqmi, which lets you share a QMI port between different processes, and therefore this UI application can run alongside ModemManager without much collision between the two.

Launching

The Mobile Radio Application installs a desktop file, so it can be launched directly from the desktop shell. It needs to run as root, so “pkexec” takes care of requesting user authentication to gain privileges through polkit. The other option, of course is to just launch it from the command line using “sudo” or the like.

BTW, yes, the icon is the same one from gnome-system-monitor with just different colors. Quick and dirty hack, but looks good to me. Thanks to jimmac, who I think draw the icon originally ;)

Device list

When the application starts you’ll be greeted with the QMI device list detected by the application. Unusable modems will be shown as deactivated items (e.g. when modem requires a SIM but there is no SIM inserted), and for the usable ones you’ll be able to insert the PIN if required.

mrm-device-list

Signal information

Once a device has been selected, the application will switch to the Signal information tab, where you can see graphs for things like RSSI, Ec/Io, S/N, RSRP and RSRQ

mrm-signal-tab

Not every technology exposes all the previous values, though. GSM will only show RSSI, while UMTS/HSPA will show RSSI and Ec/Io. In addition to the graphs, the current instant value of each signal property is also given in the legend box.

Hiding/showing graphs based on the current used access technology was an idea, but I left it out because you can actually switch the preferred technology using e.g. qmicli’s --nas-set-system-selection-preference, and therefore you would be able to see graphs with both access technologies.

Power information

In addition to signal information, the application also exposes receiver and transmitter power values in the Power information tab.

mrm-power-tab

Thanks to being able to have ModemManager running at the same time, you can actually get the modem connected and see how both the RX and TX power values go up and down.

Want to try it?

You can grab the sources from the following gitorious.org repo:
https://gitorious.org/aleksander/mobile-radio-monitor.

As said previously, it uses unstable GTK+ plus unstable libqmi, so you’ll need these sorted out before trying to compile the project. I have tried it myself both in a Fedora 19 setup (under jhbuild to get latest GTK+ and self-compiled libqmi from git master) and in a Fedora 20 (just grab these packages).

As always, comments and patches welcome :)

Follow

Get every new post delivered to your Inbox.

Join 36 other followers