Tag Info

Hot answers tagged

33

You can download the driver for your video card for Ubuntu 64bit from here. Assuming that you are using Ubuntu 64bit now. If you installed Ubuntu 32 bit, there is 331 version of the same driver for Ubuntu 32bit. Save your driver somewhere where you can easily access it, like your user home directory or inside a newly created nvidia directory in your user ...


26

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


12

I too had this problem after upgrading to 14.04 The solution mentioned here worked wonders for me, https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1278012/comments/12 A workaround for ubuntu 14.04 with nvidia driver is to disable backing store in xorg: Make sure you have the "-bs" option in lightdm config file: cat ...


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

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


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

Here's what I do (via PPA): I add a xorg-edgers PPA first: sudo add-apt-repository -y ppa:xorg-edgers/ppa Then I either install from command line or from additional drivers section. First, update your package list: sudo apt-get update Additional drivers are now updated with newer packages. And alternatively, from terminal, install nvidia-331 (for ...


9

As you get the following error: Error: alternatives are not set up properly You may try to set the alternatives yourself. When I switch to Intel I see: update-alternatives: using /usr/lib/nvidia-331-prime/ld.so.conf to provide /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf (x86_64-linux-gnu_gl_conf) in manual mode update-alternatives: using ...


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

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 that look like ...


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


8

Ok, so after a lot of hair pulling and googling, I finally got my fingerprint sensor to work: EDIT (03/01/2015): Building the package from source (You might need to set up a build environment first): Script for auto build and install (written by me and shared from my Dropbox). cd to wherever you downloaded the script to and and run it with superuser: $ ...


8

I have ubuntu 13.04 64 bit and same problem: Nvidia GTX 750ti and no boot. I solve by following these steps: go on nvidea driver download I have get NVIDIA-Linux-x86_64-334.21.run put it in a folder you remember (your home) and make it executable (chmod u+x ./NVIDIA-Linux-x86_64-334.21.run) sudo apt-get purge nvidia* sudo apt-get purge ...


8

This is a bug (LP #1214508). You can switch using: sudo prime-select intel sudo prime-select nvidia Also, Bumblebee is still supported so you can install it if you prefer. You'll have to remove nvidia-prime then as you can't use both.


7

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


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


7

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


7

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


7

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

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

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


6

Just to sum up to the Brenden's answer, the real problem is with the libsdl1.2 package, as stated in this bug report. The solution is ready, but somehow isn't available on default Ubuntu package sources yet (at least not for me). So, a way to solve this is to import the developer PPA and install the patched package directly: sudo apt-add-repository ...


6

The root of the problem described above is probably a lightdm bug: https://bugs.launchpad.net/ubuntu/+source/unity-greeter/+bug/1292467. I had this problem on an Atom Mini-ITX motherboard with Intel NM10 graphics which includes an internal LVDS display port. The Boot with "video=LVDS-1:d" workaround solved it for me. Instructions for making the boot option ...


5

Lets focus on getting you connected, things will be easier then. Wireless The chipset of your laptop should be supported. Could you paste the output of lspci and iwconfig Wired Ethernet There should be a LAN port on your laptop, but it seems to have an additional cover. Have you had a look at the port between your VGA and DisplayPort. Can that be ...


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


4

To provide another answer, for completion's sake: You can (ab)use the -m option. From Python's manpage: -m module-name Searches sys.path for the named module and runs the correspond‐ ing .py file as a script. Which will give us: $ python2 -m numpy /sbin/python2: No module named numpy.__main__; 'numpy' is a package and cannot be ...


4

gscan2pdf obtainable free from the Ubuntu Software Centre or simple scan are often good starting points for using scanners under Ubuntu 'straight from the box' without the need to download additional drivers.


4

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



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