Tag Info

Hot answers tagged

32

Steam ships with it's own gcc libraries, which are outdated and do not work on distributions with newer libraries. For further information, check out: https://wiki.archlinux.org/index.php/steam#Steam_runtime_issues To solve your problem on Ubuntu 14.04, close Steam and run: rm ...


13

How to know if a python module is installed or not in the system: You can do a very easy test in terminal, $ python -c "import math" $ echo $? 0 # math module exists in system $ python -c "import numpy" Traceback (most recent call last): File "<string>", line 1, in <module> ImportError: No module named numpy $ ...


12

It seems to work for me in Ubuntu 14.04 with 2 flash keys & android phone as storage and usb network adapter & webcam as other type. (I couldn't test placing a usb hub) Check USB port (which is a parent device for the plugged device) $ udevadm info --name=/dev/sdc --attribute-walk looking at parent device ...


10

In case we do not want to unwantedly import a module in question (which would happen in a try statement) we can make use of sys.modules to test modules that are installed and were imported before. In the python shell issue: >>> import sys Then test for installed modules: >>> 'numpy' in sys.modules True >>> 'scipy' in ...


10

That software checks /etc/lsb-release and that is a text file we can edit ourself so it might be fairly easy to circumvent. Make a backup first though if you do not know what this means. From a command line: sudo cp /etc/lsb-release /etc/lsb-release.backup And then edit the file ... sudo gedit /etc/lsb-release And change the lines as below: ...


9

The reason of the poor performance The problem will be this: GLX Renderer: Gallium 0.4 on AMD KABINI GLX Version: 3.0 Mesa 10.1.3 Unfortunately the KABINI APUs still have quite poor open source driver support, so I suggest installing the proprietry fglrxdriver, which yields better 3D support. Gallium is the open source radeon driver, if this was not ...


9

After 1st boot failure and switching to console (Ctrl+Alt+F1 or any to F6). Build driver modules for the current kernel (which just installed) sudo sh ./<DRIVER>.run -K Reboot: sudo reboot No need to reboot multiple times and switch adapters. Reference: Ubuntu Wiki: Nvidia Manual - Kernel and Mesa Updates To be complete, For driver release ...


8

I suggest you get a temporary internet connection, ethernet, tethered or whatever is available. Then do: sudo apt-get install linux-headers-generic build-essential git sudo apt-get install git git clone https://github.com/porjo/mt7601.git cd mt7601/src make sudo make install sudo mkdir -p /etc/Wireless/RT2870STA/ sudo cp RT2870STA.dat ...


8

On some computers the new versions that are installed with the intel-linux-graphics-installer have those exact same issues, I had it happen with two netbooks so it dosn't seem to be a conflict between nouveau/intel but a problem with the newer graphics installed from Intel. First you need to remove the source that Intel installed automatically when you ran ...


8

I think I found the fix. Source: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1314367/comments/22 so far so good. I'll update this if it starts flickering again. For those that are wondering, you need to install compizconfig-settings-manager first from terminal. sudo apt-get install compizconfig-settings-manager Open it and go to workarounds and ...


8

Another way is the pkgutil module. Works with both Python 2 & 3: python -c 'import pkgutil; print(1 if pkgutil.find_loader("module") else 0)' You need to replace module with the name of your module, example: $ python -c 'import pkgutil; print(1 if pkgutil.find_loader("math") else 0)' 1


8

Nvidia 343.22 added support for GeForce GTX 970 and GTX 980. It's not available in the official repositories. This repository is meant to be used only for testing, not on daily basis, please make sure to read the following link to understand the risk. https://launchpad.net/~xorg-edgers/+archive/ubuntu/ppa and follow the instruction on the above link as ...


7

The microcode data file for Linux contains the latest microcode definitions for all Intel processors. Intel releases microcode updates to correct processor behavior as documented in the respective processor specification updates. While the regular approach to getting this microcode update is via a BIOS upgrade, Intel realizes that this is an ...


7

Holy crap, I finally got it to work. Okay, so here's what I did. From the last line of lspci it was clear that I needed the RTS5227 driver. However, I really couldn't find this anywhere online. Instead, I took the RTS5229 driver from the Realtek website and did the following. I uploaded these files to use as the RTS5227 driver for anyone else in need. ...


6

I installed a Lenovo Z50-70 laptop two days ago with an Intel HD 4400 integrated and with this Nvidia Geforce 840M GPU. I installed an Ubuntu 14.04 trusty thar on it (from an usb stick with UEFI boot). The system worked with the intel vga by default, yes, a current nouveau driver can't recognise the Geforce 840M. The easiest sollution to work with it: In ...


6

This is a new feature from 15.04 in ubuntu-driver-common. Ubuntu will now automatically try to find hardware and their additional drivers and packages to have a better more stable (hopefully) system with less user hassle. For example in 14.10 nvidia optimus GPU drivers had to be installed from a separate PPA but in 15.04 the system knows that they are there ...


6

What is going on? Most of your problems can be summed up with one statement: AMD's closed source driver is awful. And the open source one isn't very much better. It's probably better than the Nvidia open driver but it still has plenty of flaws and spotty hardware support. Often finding an acceptable outcome means manually balancing driver and kernel ...


5

I know the OP originally asked for a solution after starting Python, but outside of python I use pip. On ubuntu: sudo apt-get install python-pip, if it's not already installed. Then to see what third party modules are available, just run: pip freeze Or even pip list And both will show you all modules installed and their versions. If the module you're ...


5

You could put the code inside try, except block. $ python3 -c "\ try: import cow print('\nModule is installed') except ImportError: print('\nThere is no such module installed')" There is no such module installed $ python3 -c "\ try: import regex print('\nModule is installed') except ImportError: print('\nThere is no such ...


5

I had the same problem as you and, I found out the only way to fix this problem was to install the third-party driver and then config blacklist option. Then you can remove the third-party driver and install the official driver from Nvidia. I recommend the beta since it has better support, but if you want you can use, the 343 instead of 346 beta. Both worked ...


5

Uninstall the NVIDIA proprietary graphics driver. Find the file you used to install the NVIDIA graphics driver from the NVIDIA website. It's in whatever folder you downloaded it to (your Downloads folder, for example). It should be named something like NVIDIA-Linux-x86_64-340.58.run. If so, the command to uninstall it is: sudo ...


5

Here is how you install it in about five minutes. Krato: "Hey, friend, can I borrow your ethernet connection for just a few minutes? I brought along six of your favorite beverage." Friend: "Sure, Krato, glad to help you! Let me put a couple of those beverages on ice." You then open a terminal and do: sudo apt-get install linux-headers-generic ...


5

The recipe to build a custom module might need to be split in thee sections. Setup once $ cd ~ $ apt-get source linux-source-3.13.0 I am too lazy to copy the mvsas specific driver source files, just copy them all to your current working directory. $ cd linux-3.13.0 $ make oldconfig $ make prepare $ make scripts This will prepare some files necessary ...


5

You simply need to open the setting menu for ubuntu, Click "Software & Updates". Select the far right tab "Additional Drivers" and wait a few seconds for Ubuntu to build a list of drivers you can use. It should looks something like this: Note: you may see different drivers than me. Make sure to pick the one that has the message (proprietary, ...


5

Here I got my USB3 ports stopped working after a while: only a restart fixes the problem. After some research, I've found that a lot of USB3 ports presents a power management problem In a lot of different hardwares and OSs. You can find people reporting this kind of problem on Windows, Linux, etc. So, I've disabled USB power management, and now everything ...


5

According lsusb I have the same device: Bus 002 Device 018: ID 148f:7601 Ralink Technology, Corp. The CD contains the following file: DPO_MT7601U_LinuxSTA_3.0.0.4_20130913.tar.bz2 Can be downloaded from official website, too: http://www.mediatek.com/en/downloads/mt7610u-usb/ Extract the file, enter the directory, which contains the Makefile, and run: ...


4

To find the model of your wireless card: lspci -nn | grep 0280 The pipe symbol | is on the right side of my keyboard on the same key with backslash. We added -nn because we want numerical details, particularly the pci.id, that may help diagnose a problem. 0280 is the class used by lspci for wireless devices: for example: 03:00.0 Network controller ...


4

Try this, as mentioned in this question:sudo ln -s /usr/lib/fglrx/bin/aticonfig /usr/bin/aticonfig sudo ln -s /usr/lib/fglrx/etc/ati/ /etc/atiYou may just miss these symbolic links.


4

I had EXACTLY the same problem with NVIDIA drivers. Your problem probably is related to these bugs (they all have the same symptoms): https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-319/+bug/1220426 https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1310762 http://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1314871 Unfortunately it is ...


4

You need to compile some kernel drivers: First $ sudo apt-get install build-essential module-assistant $ sudo m-a prepare Second, as mentioned in the error, reinstall the kernel module. sudo /etc/init.d/vboxdrv setup This should solve your problem. Sometime only second step can solve your problem (so try it first). Source: ...



Only top voted, non community-wiki answers of a minimum length are eligible