LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   What is the currently accepted means of getting Nvidia to work on Ubuntu 15.04? (https://www.linuxquestions.org/questions/linux-software-2/what-is-the-currently-accepted-means-of-getting-nvidia-to-work-on-ubuntu-15-04-a-4175544000/)

Feynman 05-29-2015 09:27 PM

What is the currently accepted means of getting Nvidia to work on Ubuntu 15.04?
 
I've seen and followed at least 8 guides to getting Nvidia's proprietary drivers working with Ubuntu.

Here are a list of answers and guides that I have tried (about twice each) that do not work.
  • http://askubuntu.com/questions/47292...setup-in-14-04 That fixed the GLX error, but I'm clearly watching movies on my CPU. The CPU monitor goes through the roof and the video takes a while to skip around. Also, "glxspheres not found" is what I get when I try the "glxspheres" command. So I guess it "fixes the error" in the sense that it disables the graphics card and leaves a bunch of software that appear to "cancel each other out" on your system.
  • https://help.ubuntu.com/community/Bi...erHowto/Nvidia This leads to the screen randomly freezing. Oddly enough, I appear to never "loose control" of the keyboard and mouse. It's just that the screen randomly decides to stop updating. Upon switching the screen off and on, I've found that my futile efforts to move the mouse and type on the keyboard did do something, it was just that the screen stopped updating.
  • http://askubuntu.com/questions/45122...-nvidia-driver I tried installing the packages from apt-get, but it just repeatedly tells me to configure xorg. No matter how many times I run nvidia-xconfig and/or reboot, this problem persists.
  • http://www.binarytides.com/install-n...-ubuntu-14-04/ Be warned abou the xorg-edgers ppa. It has proved to have the same effect as the "add restricted drivers" approach on the official guide in that it just leads to the screen randomly not updating. However it leaves your system a mess when you try to get rid of the drivers it installs. A lot of stuff gets upgraded when adding the xorg-edgers repository and it becomes a nightmare to bring your system back.
  • http://askubuntu.com/questions/48141...nstead-nouveau As nearest I can tell the blacklist step does exactly nothing, other than create a new text file in an obscure directory so you can check it off your list of things to try.
  • http://askubuntu.com/questions/14920...all-nvidia-run I've tried the "use the run file from nvidia's official website" several times over the course of a year now. As of 6 months ago, it used to produce that annoying screen freezing problem. As of today, it just gives me the old "GLX not found" error.
  • http://ubuntuforums.org/showthread.php?t=1741783 Installing mesa packages does not get rid of the "GLX not found" even though the packages does contain the phrase "GLX".
  • Install dkms. I can't find the askubuntu answer that involved apt-get install dkms, but that does not produce any noticeable effect either.

So after compiling this series of dead ends, I was hoping someone might be able to either tell me of a new means of getting my graphics card to work, or confirm that there is no known solution to this problem.

Obviously, I would be thrilled if someone knows of a "tried and true" way to do it. I am admittedly frustrated by all of these lengthy proposed fixes that never solve the problem. Then having to try to "undo" each failed installation before trying the next approach.

I am currently typing this question on an ASUS laptop that, according to the sticker under my left wrist, says it contains a "Nvidia Geforce GTX 960M" graphics card.

Another possibility is that I actually had installed the graphics cards at some point, and I misdiagnosed slow rendering for an insufficient graphics card (I sometimes render 3D volumetric data with mayavi) for ill configured graphics drivers. Though I doubt that since I have always confirmed my suspicions when I found the CPU work monitor skyrocketed as I attempted to rotate the 3D image. Also, my nvidia settings manager has never actually confirmed a working graphics card--often complaining about an ill-configured xorg settings ("We're sorry, the graphics card you are trying to reach is not available, please run nvidia-xconfig and try again") or failing to exist entirely (then I install it, and it resumes complaining about incorrect xorg settings).

ondoho 05-30-2015 07:36 AM

i think it's a little unfair to say that something "does not work" if it actually does not work on your system.

i'm a little unsure as to what the problem actually is?
i hope you understand that i did not click all those links, i'm counting on you to provide a more comprehensive description of the problem, with command line output and such.

fwiw, i would start by identifying the card and which driver it is currently running on with sth like
Code:

lspci -k | grep -iA10 vga
and work my way from there.

also, hopefully you managed to keep track of all the changes you made and unmade... looks a liitle messy to me now.

i never had to run nvidia-xconfig or even configure Xorg. biggest problem is usually the switch from nouveau to nvidia, some blacklisting might have to be added and/or removed.

Feynman 05-30-2015 08:12 AM

Sorry for the initial irritability. From my end, I just find get an endless list of dead but unsolved threads after trying to solve this problem myself for about a year now (on two different computers), but I guess some of those solutions may have worked for various hardware. I just wish there was a comprehensive guide on Ubuntu's website rather than a seemingly infinite number of potential solutions on different forums. </end rant>

Anyway, this is the output from lspci -k | grep -iA10 vga

aeftimia@HAL:~$ lspci -k | grep -iA10 vga
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
Subsystem: ASUSTeK Computer Inc. Device 185d
00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
Subsystem: Intel Corporation Device 2010
Kernel driver in use: snd_hda_intel
00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 05)
Subsystem: ASUSTeK Computer Inc. Device 185d
Kernel driver in use: xhci_hcd
00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
Subsystem: ASUSTeK Computer Inc. Device 185d
Kernel driver in use: mei_me

ondoho 05-30-2015 01:07 PM

like i said, i'm still not sure what the actual problem is?

according to the output you posted, you do not have an nvidia card/chip in your laptop, but an "Intel Corporation 4th Gen Core Processor Integrated Graphics Controller" instead. which should be good enough with the i915 (iirc) module. but, no kernel driver is in use for that card. probably a result of your attempts at installing an nvidia driver for an intel card.

maybe the sticker is just wrong?

if you don't know, please post the complete "sudo lspci" output, or, even better, "sudo lshw".
plus exact make and model of your laptop.

Feynman 05-30-2015 01:52 PM

1 Attachment(s)
"maybe the sticker is just wrong?"

...well if that would explain a lot. And my frustration would be appropriately redirected to ASUS for false advertising--especially considering the time I've spent troubleshooting a nonexistent gpu.

lspci:

Code:

00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller (rev 06)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 05)
00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d5)
00:1c.1 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #2 (rev d5)
00:1c.2 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #3 (rev d5)
00:1c.3 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #4 (rev d5)
00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation HM86 Express LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 05)
00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 05)
01:00.0 3D controller: NVIDIA Corporation Device 139b (rev a2)
04:00.0 Network controller: Intel Corporation Wireless 7260 (rev bb)
05:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. Device 5287 (rev 01)
05:00.1 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 12)

lshw:

Code:

hal
    description: Computer
    width: 64 bits
    capabilities: smbios-2.7 vsyscall32
  *-core
      description: Motherboard
      physical id: 0
    *-memory
          description: System memory
          physical id: 0
          size: 15GiB
    *-cpu
          product: Intel(R) Core(TM) i7-4720HQ CPU @ 2.60GHz
          vendor: Intel Corp.
          physical id: 1
          bus info: cpu@0
          size: 2600MHz
          capacity: 3600MHz
          width: 64 bits
          capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp x86-64 constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt cpufreq
    *-pci
          description: Host bridge
          product: Xeon E3-1200 v3/4th Gen Core Processor DRAM Controller
          vendor: Intel Corporation
          physical id: 100
          bus info: pci@0000:00:00.0
          version: 06
          width: 32 bits
          clock: 33MHz
        *-pci:0
            description: PCI bridge
            product: Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller
            vendor: Intel Corporation
            physical id: 1
            bus info: pci@0000:00:01.0
            version: 06
            width: 32 bits
            clock: 33MHz
            capabilities: pci pm msi pciexpress normal_decode bus_master cap_list
            configuration: driver=pcieport
            resources: irq:26 ioport:e000(size=4096) memory:f6000000-f70fffff ioport:e0000000(size=301989888)
          *-display UNCLAIMED
                description: 3D controller
                product: NVIDIA Corporation
                vendor: NVIDIA Corporation
                physical id: 0
                bus info: pci@0000:01:00.0
                version: a2
                width: 64 bits
                clock: 33MHz
                capabilities: pm msi pciexpress bus_master cap_list
                configuration: latency=0
                resources: memory:f6000000-f6ffffff memory:e0000000-efffffff memory:f0000000-f1ffffff ioport:e000(size=128) memory:f7000000-f707ffff
        *-display UNCLAIMED
            description: VGA compatible controller
            product: 4th Gen Core Processor Integrated Graphics Controller
            vendor: Intel Corporation
            physical id: 2
            bus info: pci@0000:00:02.0
            version: 06
            width: 64 bits
            clock: 33MHz
            capabilities: msi pm vga_controller bus_master cap_list
            configuration: latency=0
            resources: memory:f7400000-f77fffff memory:d0000000-dfffffff ioport:f000(size=64)
        *-multimedia:0
            description: Audio device
            product: Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller
            vendor: Intel Corporation
            physical id: 3
            bus info: pci@0000:00:03.0
            version: 06
            width: 64 bits
            clock: 33MHz
            capabilities: pm msi pciexpress bus_master cap_list
            configuration: driver=snd_hda_intel latency=0
            resources: irq:16 memory:f7a14000-f7a17fff
        *-usb:0
            description: USB controller
            product: 8 Series/C220 Series Chipset Family USB xHCI
            vendor: Intel Corporation
            physical id: 14
            bus info: pci@0000:00:14.0
            version: 05
            width: 64 bits
            clock: 33MHz
            capabilities: pm msi xhci bus_master cap_list
            configuration: driver=xhci_hcd latency=0
            resources: irq:31 memory:f7a00000-f7a0ffff
          *-usbhost:0
                product: xHCI Host Controller
                vendor: Linux 3.19.0-18-generic xhci-hcd
                physical id: 0
                bus info: usb@2
                logical name: usb2
                version: 3.19
                capabilities: usb-3.00
                configuration: driver=hub slots=4 speed=5000Mbit/s
          *-usbhost:1
                product: xHCI Host Controller
                vendor: Linux 3.19.0-18-generic xhci-hcd
                physical id: 1
                bus info: usb@1
                logical name: usb1
                version: 3.19
                capabilities: usb-2.00
                configuration: driver=hub slots=14 speed=480Mbit/s
              *-usb:0
                  description: Bluetooth wireless interface
                  vendor: Intel Corp.
                  physical id: 5
                  bus info: usb@1:5
                  version: 0.01
                  capabilities: bluetooth usb-2.00
                  configuration: driver=btusb maxpower=100mA speed=12Mbit/s
              *-usb:1
                  description: Video
                  product: USB2.0 UVC HD Webcam
                  vendor: Azurewave
                  physical id: 7
                  bus info: usb@1:7
                  version: 8.14
                  serial: NULL
                  capabilities: usb-2.00
                  configuration: driver=uvcvideo maxpower=500mA speed=480Mbit/s
        *-communication
            description: Communication controller
            product: 8 Series/C220 Series Chipset Family MEI Controller #1
            vendor: Intel Corporation
            physical id: 16
            bus info: pci@0000:00:16.0
            version: 04
            width: 64 bits
            clock: 33MHz
            capabilities: pm msi bus_master cap_list
            configuration: driver=mei_me latency=0
            resources: irq:35 memory:f7a1e000-f7a1e00f
        *-usb:1
            description: USB controller
            product: 8 Series/C220 Series Chipset Family USB EHCI #2
            vendor: Intel Corporation
            physical id: 1a
            bus info: pci@0000:00:1a.0
            version: 05
            width: 32 bits
            clock: 33MHz
            capabilities: pm debug ehci bus_master cap_list
            configuration: driver=ehci-pci latency=0
            resources: irq:16 memory:f7a1c000-f7a1c3ff
          *-usbhost
                product: EHCI Host Controller
                vendor: Linux 3.19.0-18-generic ehci_hcd
                physical id: 1
                bus info: usb@3
                logical name: usb3
                version: 3.19
                capabilities: usb-2.00
                configuration: driver=hub slots=2 speed=480Mbit/s
              *-usb
                  description: USB hub
                  vendor: Intel Corp.
                  physical id: 1
                  bus info: usb@3:1
                  version: 0.05
                  capabilities: usb-2.00
                  configuration: driver=hub slots=6 speed=480Mbit/s
        *-multimedia:1
            description: Audio device
            product: 8 Series/C220 Series Chipset High Definition Audio Controller
            vendor: Intel Corporation
            physical id: 1b
            bus info: pci@0000:00:1b.0
            version: 05
            width: 64 bits
            clock: 33MHz
            capabilities: pm msi pciexpress bus_master cap_list
            configuration: driver=snd_hda_intel latency=0
            resources: irq:37 memory:f7a10000-f7a13fff
        *-pci:1
            description: PCI bridge
            product: 8 Series/C220 Series Chipset Family PCI Express Root Port #1
            vendor: Intel Corporation
            physical id: 1c
            bus info: pci@0000:00:1c.0
            version: d5
            width: 32 bits
            clock: 33MHz
            capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
            configuration: driver=pcieport
            resources: irq:27
        *-pci:2
            description: PCI bridge
            product: 8 Series/C220 Series Chipset Family PCI Express Root Port #2
            vendor: Intel Corporation
            physical id: 1c.1
            bus info: pci@0000:00:1c.1
            version: d5
            width: 32 bits
            clock: 33MHz
            capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
            configuration: driver=pcieport
            resources: irq:28 ioport:2000(size=4096) memory:cfe00000-cfffffff ioport:f2000000(size=2097152)
        *-pci:3
            description: PCI bridge
            product: 8 Series/C220 Series Chipset Family PCI Express Root Port #3
            vendor: Intel Corporation
            physical id: 1c.2
            bus info: pci@0000:00:1c.2
            version: d5
            width: 32 bits
            clock: 33MHz
            capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
            configuration: driver=pcieport
            resources: irq:29 memory:f7900000-f79fffff
          *-network
                description: Wireless interface
                product: Wireless 7260
                vendor: Intel Corporation
                physical id: 0
                bus info: pci@0000:04:00.0
                logical name: wlan0
                version: bb
                serial: 48:51:b7:6b:80:cd
                width: 64 bits
                clock: 33MHz
                capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
                configuration: broadcast=yes driver=iwlwifi driverversion=3.19.0-18-generic firmware=25.17.12.0 ip=192.168.1.31 latency=0 link=yes multicast=yes wireless=IEEE 802.11abgn
                resources: irq:36 memory:f7900000-f7901fff
        *-pci:4
            description: PCI bridge
            product: 8 Series/C220 Series Chipset Family PCI Express Root Port #4
            vendor: Intel Corporation
            physical id: 1c.3
            bus info: pci@0000:00:1c.3
            version: d5
            width: 32 bits
            clock: 33MHz
            capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
            configuration: driver=pcieport
            resources: irq:30 ioport:d000(size=4096) memory:f7800000-f78fffff
          *-generic
                description: Unassigned class
                product: Realtek Semiconductor Co., Ltd.
                vendor: Realtek Semiconductor Co., Ltd.
                physical id: 0
                bus info: pci@0000:05:00.0
                version: 01
                width: 32 bits
                clock: 33MHz
                capabilities: pm msi pciexpress msix vpd bus_master cap_list rom
                configuration: driver=rtsx_pci latency=0
                resources: irq:32 memory:f7815000-f7815fff memory:f7800000-f780ffff
          *-network
                description: Ethernet interface
                product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
                vendor: Realtek Semiconductor Co., Ltd.
                physical id: 0.1
                bus info: pci@0000:05:00.1
                logical name: eth0
                version: 12
                serial: 08:62:66:b3:6e:ac
                size: 10Mbit/s
                capacity: 1Gbit/s
                width: 64 bits
                clock: 33MHz
                capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
                configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl8411-2_0.0.1 07/08/13 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
                resources: irq:34 ioport:d000(size=256) memory:f7814000-f7814fff memory:f7810000-f7813fff
        *-usb:2
            description: USB controller
            product: 8 Series/C220 Series Chipset Family USB EHCI #1
            vendor: Intel Corporation
            physical id: 1d
            bus info: pci@0000:00:1d.0
            version: 05
            width: 32 bits
            clock: 33MHz
            capabilities: pm debug ehci bus_master cap_list
            configuration: driver=ehci-pci latency=0
            resources: irq:23 memory:f7a1b000-f7a1b3ff
          *-usbhost
                product: EHCI Host Controller
                vendor: Linux 3.19.0-18-generic ehci_hcd
                physical id: 1
                bus info: usb@4
                logical name: usb4
                version: 3.19
                capabilities: usb-2.00
                configuration: driver=hub slots=2 speed=480Mbit/s
              *-usb
                  description: USB hub
                  vendor: Intel Corp.
                  physical id: 1
                  bus info: usb@4:1
                  version: 0.05
                  capabilities: usb-2.00
                  configuration: driver=hub slots=8 speed=480Mbit/s
        *-isa
            description: ISA bridge
            product: HM86 Express LPC Controller
            vendor: Intel Corporation
            physical id: 1f
            bus info: pci@0000:00:1f.0
            version: 05
            width: 32 bits
            clock: 33MHz
            capabilities: isa bus_master cap_list
            configuration: driver=lpc_ich latency=0
            resources: irq:0
        *-storage
            description: SATA controller
            product: 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode]
            vendor: Intel Corporation
            physical id: 1f.2
            bus info: pci@0000:00:1f.2
            version: 05
            width: 32 bits
            clock: 66MHz
            capabilities: storage msi pm ahci_1.0 bus_master cap_list
            configuration: driver=ahci latency=0
            resources: irq:33 ioport:f0b0(size=8) ioport:f0a0(size=4) ioport:f090(size=8) ioport:f080(size=4) ioport:f060(size=32) memory:f7a1a000-f7a1a7ff
        *-serial UNCLAIMED
            description: SMBus
            product: 8 Series/C220 Series Chipset Family SMBus Controller
            vendor: Intel Corporation
            physical id: 1f.3
            bus info: pci@0000:00:1f.3
            version: 05
            width: 64 bits
            clock: 33MHz
            configuration: latency=0
            resources: memory:f7a19000-f7a190ff ioport:f040(size=32)
    *-scsi:0
          physical id: 2
          logical name: scsi2
          capabilities: emulated
        *-cdrom
            description: DVD-RAM writer
            product: DVDRAM GUC0N
            vendor: HL-DT-ST
            physical id: 0.0.0
            bus info: scsi@2:0.0.0
            logical name: /dev/cdrom
            logical name: /dev/cdrw
            logical name: /dev/dvd
            logical name: /dev/dvdrw
            logical name: /dev/sr0
            version: AS01
            capabilities: removable audio cd-r cd-rw dvd dvd-r dvd-ram
            configuration: ansiversion=5 status=nodisc
    *-scsi:1
          physical id: 3
          logical name: scsi4
          capabilities: emulated
        *-disk
            description: ATA Disk
            product: HGST HTS721010A9
            physical id: 0.0.0
            bus info: scsi@4:0.0.0
            logical name: /dev/sda
            version: A3J0
            serial: JR10006P1L5DGF
            size: 931GiB (1TB)
            capabilities: gpt-1.00 partitioned partitioned:gpt
            configuration: ansiversion=5 guid=707a7451-4ab1-4d8a-9d81-62a59bd55cd0 logicalsectorsize=512 sectorsize=4096
          *-volume:0 UNCLAIMED
                description: Windows FAT volume
                vendor: mkfs.fat
                physical id: 1
                bus info: scsi@4:0.0.0,1
                version: FAT32
                serial: 04f8-4c23
                size: 510MiB
                capacity: 511MiB
                capabilities: boot fat initialized
                configuration: FATs=2 filesystem=fat name=EFI System Partition
          *-volume:1
                description: EXT4 volume
                vendor: Linux
                physical id: 2
                bus info: scsi@4:0.0.0,2
                logical name: /dev/sda2
                logical name: /
                version: 1.0
                serial: f73a8b66-87cd-4051-8df9-13971926b936
                size: 915GiB
                capabilities: journaled extended_attributes large_files huge_files dir_nlink recover extents ext4 ext2 initialized
                configuration: created=2015-05-06 20:22:39 filesystem=ext4 lastmountpoint=/ modified=2015-05-30 14:39:54 mount.fstype=ext4 mount.options=rw,relatime,errors=remount-ro,data=ordered mounted=2015-05-30 14:39:54 state=mounted
          *-volume:2
                description: Linux swap volume
                vendor: Linux
                physical id: 3
                bus info: scsi@4:0.0.0,3
                logical name: /dev/sda3
                version: 1
                serial: 49d3cb51-3c84-48f2-9095-05542fa1f998
                size: 15GiB
                capacity: 15GiB
                capabilities: nofs swap initialized
                configuration: filesystem=swap pagesize=4095

I also attached a picture of the stickers currently under my left wrist.

ondoho 05-30-2015 02:17 PM

Quote:

Originally Posted by Feynman (Post 5369899)
Code:

00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
(...)
01:00.0 3D controller: NVIDIA Corporation Device 139b (rev a2)


there is something weird here i don't understand.
you probably have some sort of hybrid graphics setup there...
please post output of
Code:

lspci -k | grep -iA10 nvidia
but you can already be pretty sure that "hybrid graphics" is the keyword you want to be searching.

Feynman 05-30-2015 03:47 PM

I've never even heard of a "hybrid" setup. I'm looking that up now.

lspci -k | grep -iA10 nvidia

Code:

01:00.0 3D controller: NVIDIA Corporation Device 139b (rev a2)
        Subsystem: ASUSTeK Computer Inc. Device 185d
04:00.0 Network controller: Intel Corporation Wireless 7260 (rev bb)
        Subsystem: Intel Corporation Dual Band Wireless-N 7260
        Kernel driver in use: iwlwifi
05:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. Device 5287 (rev 01)
        Subsystem: ASUSTeK Computer Inc. Device 202f
        Kernel driver in use: rtsx_pci
05:00.1 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 12)
        Subsystem: ASUSTeK Computer Inc. Device 200f
        Kernel driver in use: r8169


ondoho 06-08-2015 09:51 AM

ok, your last output proved that there is currently no driver assigned to that nvidia thing there (whatever it is - it doesn't even say graphics controller, only 3d controller).

meanwhile, some reading for you:
https://wiki.archlinux.org/index.php/Hybrid_graphics

how are things getting along?

Feynman 06-09-2015 11:37 AM

I looked into hybrid graphics and came across a few of the many tutorials I had already tried. In particular, I recall finding a thread that said to install from the automated "additional drivers" gui so I get Nvidia Prime. So I tried it. I got a subset of the same problems I always get:
"GLX not found" upon opening parole
nonfunctional nvidia settings.

So I uninstalled it, and haven't touched anything since.

I checked out the link you gave in your last post and it looks like the same stuff I've seen before. Should I file a bug report for my laptop? Assuming these articles only fail to work for me, this looks like some kind of incompatibility with ASUS. This is the second ASUS laptop for which I've been utterly unable to get my graphics card(s) working. If nothing else, it might be worth warning future linux users of the dangers of ASUS laptops.

Habitual 06-09-2015 01:59 PM

Quote:

Originally Posted by Feynman (Post 5369773)
I just wish there was a comprehensive guide on Ubuntu's website rather than a seemingly infinite number of potential solutions on different forums. </end rant>

Anyway, this is the output from lspci -k | grep -iA10 vga

aeftimia@HAL:~$ lspci -k | grep -iA10 vga
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)

Install / Upgrade NVIDIA Driver in Ubuntu:
and I found that using https://www.google.com/#q=Install+/+...5.04&tbs=qdr:y

Show us the output of
Code:

sudo dpkg -l  nvidia* | grep ii
Thank you.

Feynman 06-10-2015 12:17 AM

@Habitual just tried your solution. Got the usual error.

Code:

aeftimia@HAL:~$ parole
Xlib:  extension "GLX" missing on display ":0.0".
libEGL warning: DRI2: failed to authenticate

(parole:1844): GLib-CRITICAL **: g_strsplit: assertion 'string != NULL' failed

(parole:1844): Clutter-CRITICAL **: Unable to initialize Clutter: The OpenGL version could not be determined
Segmentation fault (core dumped)


Also,
Code:

aeftimia@HAL:~$ sudo dpkg -l  nvidia* | grep ii
ii  nvidia-340                    340.76-0ubuntu2                amd64        NVIDIA binary driver - version 340.76
ii  nvidia-opencl-icd-340        340.76-0ubuntu2                amd64        NVIDIA OpenCL ICD
ii  nvidia-prime                  0.8.1                          amd64        Tools to enable NVIDIA's Prime
ii  nvidia-settings              352.09-0ubuntu0~xedgers15.04.1 amd64        Tool for configuring the NVIDIA graphics driver

Now I'm going to uninstall that Nvidia driver I just installed so I can open parole again.

descendant_command 06-10-2015 02:03 AM

Yes you have a "hybrid graphics" intel/nvidia setup, and also with a very new nvidia chip (hence the code number rather than a proper description).
On Debian, the bumblebee project provides packages to support that (as nvidia seems less than interested in properly supporting it's linux using customers) - on ubuntu, no clue sorry.
A newer kernel/xorg stack will probably support your chip better, but you'll still need bumblebee or equivalent to handle the "dynamic switching".
Probably better avoided if you are buying new hardware...

ondoho 06-13-2015 03:45 AM

Quote:

Originally Posted by Feynman (Post 5374948)
Code:

nvidia-340

on my system, nvidia-340xx is the legacy branch, which basically means "older devices".
i find that weird if compared to the last post (very new nvidia).

while i don't have a solution, i would recommend doing it manually and not trusting those gui tools.

Feynman 06-13-2015 08:43 AM

The gui tool listed 346, 349, and 352. I had already tried installing plenty of stuff from that gui tool as well as manually from command line as well as manually from Nvidia's website, so I just tried following Habitual's advice to the letter just in case there was something special about 340.

ondoho 06-15-2015 09:41 AM

find out which driver is the right one for your device, e.g. from here:
https://wiki.archlinux.org/index.php/NVIDIA#Installing (2. Determine the necessary driver version for your card)
then re-install.


All times are GMT -5. The time now is 10:53 PM.