Tag Info

Hot answers tagged

33

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 ...


17

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 ...


14

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 $ ...


13

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 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 /etc/Wireless/RT2870STA/ sudo modprobe ...


13

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 ...


13

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: ...


11

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

You need to install wireless driver. Insert your Ubuntu installation disk or a flash drive and copy these files from the installation disk to your Home directory: pool/main/d/dkms/dkms_XXXXX.deb pool/restricted/b/bcmwl/bcmwl-kernel-source_XXXXX.deb Then run the following in terminal: sudo dpkg -i *.deb In Ubuntu 14.04.2 the driver will not build If ...


9

It should work with Ubuntu without additional setup. But kernel driver for this adapter may work unstable. I suggest to install a better driver from source. sudo apt-get install git git clone https://github.com/lwfinger/rtlwifi_new.git cd rtlwifi_new make sudo make install This answer is applicable to hardware version 3.0 of this adapter with a Realtek ...


9

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 ...


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

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 ...


9

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


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

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

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 ...


6

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 ...


6

There's an application called cheese which can do this. IIRC it's installed by default. If not, you can install it manually using the software center or by typing sudo apt-get install cheese into a terminal window.


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

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

You need to disable the power management and possibly the 802.11n extension. These changes worked for me. For the power management create a file in sudo gedit /etc/pm/power.d/wireless with the following content #!/bin/sh /sbin/iwconfig wlan0 power off and make it executable: sudo chmod +x /etc/pm/power.d/wireless To disable the 11n extension, try ...


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

I felt the need to make another answer because of differing conditions, which appeared in chat. This is a known bug. Status: In Progress (since 1/03/2014) Importance: Medium Bug info up-to-date as of 12/10/2014. The workaround offered in Post 38 of said bug report works. An easier-to-understand version: Run lsusb and get the Wacom device code. (In this ...


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: ...


5

For me, booting Ubuntu in UEFI mode with the Nvidia drivers loaded, also always resulted in the well-known black screen when X was started. That was until yesterday! After running into some very promising info in another thread about installing Windows 7 in UEFI mode on a Mac. Folks over there struggled with Windows 7's required int 10h legacy support and ...


5

The easiest way to keep your video drivers updates is the xorg.edgers PPA. These include Mesa, nVidia and Bumblebee. However, as the xorg.edgers group ask not to give installation instructions directly without linking to their page, this is the best I can do for now... If you don't know what a PPA is or need some guidance about rolling forward and ...


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

It's better to start where others stopped with sony-laptop Linux kernel module. Check if it's loaded lsmod | grep sony If not, load it sudo modprobe sony-laptop Check if there any corresponding entry/function for USB charging (usb_charge attribute got from source): tree /sys/devices/platform/sony-laptop/ As I check the driver source, here are the ...



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