Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nivida Optimus problem with Steam won't use installed driver #1138

Closed
darkfena313 opened this issue Feb 1, 2013 · 23 comments
Closed

Nivida Optimus problem with Steam won't use installed driver #1138

darkfena313 opened this issue Feb 1, 2013 · 23 comments

Comments

@darkfena313
Copy link

For some reason or another Steam isn't using or detecting the newest Nvidia drivers. I did an update through the terminal and got this.
Loading new nvidia-experimental-310-310.14 DKMS files...
Building only for 3.2.0-36-generic-pae
Building for architecture i686
Building initial module for 3.2.0-36-generic-pae
Done.

nvidia_experimental_310:
Running module version sanity check.

  • Original module
    • No original module exists within this kernel
  • Installation
    • Installing to /lib/modules/3.2.0-36-generic-pae/updates/dkms/
      So I have the newest drives install but when i use bumblebee to start Steam it says that my drivers are out of date and No games play when I try to launch a game.
@johndrinkwater
Copy link
Contributor

Could it be your chipset only supports the 304.xx series of drivers and thats why its not working?
Please provide your system information.

@darkfena313
Copy link
Author

description: Computer
width: 32 bits
*-memory
description: System memory
physical id: 0
size: 3871MiB
*-cpu
product: Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz
vendor: Intel Corp.
physical id: 1
bus info: cpu@0
version: 6.10.7
serial: 0002-06A7-0000-0000-0000-0000
size: 2301MHz
capacity: 2301MHz
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 nx rdtscp x86-64 constant_tsc arch_perfmon pebs bts xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer xsave avx lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid cpufreq
configuration: id=0

      description: Host bridge
      product: 2nd Generation Core Processor Family DRAM Controller
      vendor: Intel Corporation
      physical id: 100
      bus info: pci@0000:00:00.0
      version: 09
      width: 32 bits
      clock: 33MHz
      configuration: driver=agpgart-intel
      resources: irq:0

    *-display
         description: VGA compatible controller
         product: 2nd Generation Core Processor Family Integrated Graphics Controller
         vendor: Intel Corporation
         physical id: 2
         bus info: pci@0000:00:02.0
         version: 09
         width: 64 bits
         clock: 33MHz
         capabilities: vga_controller bus_master cap_list rom
         configuration: driver=i915 latency=0
         resources: irq:42 memory:d1400000-d17fffff memory:c0000000-cfffffff ioport:3000(size=64)
    *-communication
         description: Communication controller
         product: 6 Series/C200 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: bus_master cap_list
         configuration: driver=mei latency=0
         resources: irq:43 memory:d1a04000-d1a0400f
    *-usb:0
         description: USB controller
         product: 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2
         vendor: Intel Corporation
         physical id: 1a
         bus info: pci@0000:00:1a.0
         version: 04
         width: 32 bits
         clock: 33MHz
         capabilities: ehci bus_master cap_list
         configuration: driver=ehci_hcd latency=0
         resources: irq:16 memory:d1a0a000-d1a0a3ff
    *-multimedia
         description: Audio device
         product: 6 Series/C200 Series Chipset Family High Definition Audio Controller
         vendor: Intel Corporation
         physical id: 1b
         bus info: pci@0000:00:1b.0
         version: 04
         width: 64 bits
         clock: 33MHz
         capabilities: bus_master cap_list
         configuration: driver=snd_hda_intel latency=0
         resources: irq:44 memory:d1a00000-d1a03fff
    *-pci:1
         description: PCI bridge
         product: 6 Series/C200 Series Chipset Family PCI Express Root Port 1
         vendor: Intel Corporation
         physical id: 1c
         bus info: pci@0000:00:1c.0
         version: b4
         width: 32 bits
         clock: 33MHz
         capabilities: pci normal_decode bus_master cap_list
         configuration: driver=pcieport
         resources: irq:17 memory:9fb00000-9fbfffff ioport:d1800000(size=1048576)
       *-network
            description: Ethernet interface
            product: NetLink BCM57785 Gigabit Ethernet PCIe
            vendor: Broadcom Corporation
            physical id: 0
            bus info: pci@0000:02:00.0
            logical name: eth0
            version: 10
            serial: b8:70:f4:90:92:08
            capacity: 1Gbit/s
            width: 64 bits
            clock: 33MHz
            capabilities: bus_master cap_list rom ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
            configuration: autonegotiation=on broadcast=yes driver=tg3 driverversion=3.121 firmware=sb latency=0 multicast=yes port=twisted pair
            resources: irq:16 memory:d1830000-d183ffff memory:d1840000-d184ffff memory:d1850000-d18507ff
       *-generic:0
            description: SD Host controller
            product: NetXtreme BCM57765 Memory Card Reader
            vendor: Broadcom Corporation
            physical id: 0.1
            bus info: pci@0000:02:00.1
            version: 10
            width: 64 bits
            clock: 33MHz
            capabilities: bus_master cap_list
            configuration: driver=sdhci-pci latency=0
            resources: irq:17 memory:d1800000-d180ffff
       *-generic:1 UNCLAIMED
            description: System peripheral
            product: Broadcom Corporation
            vendor: Broadcom Corporation
            physical id: 0.2
            bus info: pci@0000:02:00.2
            version: 10
            width: 64 bits
            clock: 33MHz
            capabilities: bus_master cap_list
            configuration: latency=0
            resources: memory:d1810000-d181ffff
       *-generic:2 UNCLAIMED
            description: System peripheral
            product: Broadcom Corporation
            vendor: Broadcom Corporation
            physical id: 0.3
            bus info: pci@0000:02:00.3
            version: 10
            width: 64 bits
            clock: 33MHz
            capabilities: bus_master cap_list
            configuration: latency=0
            resources: memory:d1820000-d182ffff
    *-pci:2
         description: PCI bridge
         product: 6 Series/C200 Series Chipset Family PCI Express Root Port 2
         vendor: Intel Corporation
         physical id: 1c.1
         bus info: pci@0000:00:1c.1
         version: b4
         width: 32 bits
         clock: 33MHz
         capabilities: pci normal_decode bus_master cap_list
         configuration: driver=pcieport
         resources: irq:16 memory:d1900000-d19fffff
       *-network
            description: Wireless interface
            product: AR9287 Wireless Network Adapter (PCI-Express)
            vendor: Atheros Communications Inc.
            physical id: 0
            bus info: pci@0000:03:00.0
            logical name: wlan0
            version: 01
            serial: c0:f8:da:84:14:2c
            width: 64 bits
            clock: 33MHz
            capabilities: bus_master cap_list ethernet physical wireless
            configuration: broadcast=yes driver=ath9k driverversion=3.2.0-36-generic-pae firmware=N/A ip=192.168.1.23 latency=0 multicast=yes wireless=IEEE 802.11bgn
            resources: irq:17 memory:d1900000-d190ffff
    *-usb:1
         description: USB controller
         product: 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1
         vendor: Intel Corporation
         physical id: 1d
         bus info: pci@0000:00:1d.0
         version: 04
         width: 32 bits
         clock: 33MHz
         capabilities: ehci bus_master cap_list
         configuration: driver=ehci_hcd latency=0
         resources: irq:23 memory:d1a09000-d1a093ff
    *-isa
         description: ISA bridge
         product: HM65 Express Chipset Family LPC Controller
         vendor: Intel Corporation
         physical id: 1f
         bus info: pci@0000:00:1f.0
         version: 04
         width: 32 bits
         clock: 33MHz
         capabilities: isa bus_master cap_list
         configuration: latency=0
    *-storage
         description: SATA controller
         product: 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller
         vendor: Intel Corporation
         physical id: 1f.2
         bus info: pci@0000:00:1f.2
         version: 04
         width: 32 bits
         clock: 66MHz
         capabilities: storage ahci_1.0 bus_master cap_list
         configuration: driver=ahci latency=0
         resources: irq:41 ioport:3098(size=8) ioport:30bc(size=4) ioport:3090(size=8) ioport:30b8(size=4) ioport:3060(size=32) memory:d1a08000-d1a087ff

@ghost ghost assigned davidw-valve Feb 1, 2013
@davidw-valve
Copy link
Contributor

Are you using primusrun to start Steam?

Can you run other 32-bit GL applications successfully using primusrun and have them utilize your Nvidia card? (Make sure that primusrun is configured to run 32-bit as well as 64-bit applications if you're on a 32 bit machine)

@darkfena313
Copy link
Author

With optirun i can run 3d games. I tried using primusrun before but for some reason it didn't work so I went back to optirun.

@davidw-valve
Copy link
Contributor

Can you run 32 bit 3D games with optirun? It's possible you have it set up to only run 64 bit games.

Ideal would be to get primusrun working as it's what we support and works best with Steam.

@darkfena313
Copy link
Author

I installed primusrun and tried to launch a game and got the following message in the terminal.
powerhouse@powerhouse-Aspire-5750G:~$ primusrun /home/powerhouse/HoN/hon.sh
warning: The VAD has been replaced by a hack pending a complete rewrite
K2 - Fatal Error: ARB_pixel_buffer_object not available.

@darkfena313
Copy link
Author

Hello can someone tell me what I should do?

@darkfena313
Copy link
Author

Help me please

@MrSchism
Copy link
Member

MrSchism commented Feb 5, 2013

@darkfena313, please wait for someone to be able to assist you. You'll find the Valve guys often don't work weekends and Monday can be a bit hectic. Give them time to get to you.

@davidw-valve
Copy link
Contributor

@darkfena313: Can you run any programs using primusrun? (for instance glxgears).

@darkfena313
Copy link
Author

powerhouse@powerhouse-Aspire-5750G:~$ primusrun glxgears
Segmentation fault (core dumped)
That didn't work

@darkfena313
Copy link
Author

hello?

@johndrinkwater
Copy link
Contributor

@darkfena313 its obvious primusrun is not working, you need to reinstall your drivers. Looking at your sys info, theres no nvidia chipset listed, are you sure your system is Optimus powered?

@darkfena313
Copy link
Author

Thanks for the response. Yes I'm sure. What would be the best way to uninstall all the drivers, basically starting from scratch and reinstalling the Nvidia drivers with primusrun?

@johndrinkwater
Copy link
Contributor

sudo apt-get purge primus && sudo apt-get install primus would remove & reinstall primus, would need to replay same step with whatever version of the nvidia driver you have.
Its really hard to help with such little information, would you put the output of lspci -v in a gist please.

@darkfena313
Copy link
Author

powerhouse@powerhouse-Aspire-5750G:~$ lspci -v
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
Subsystem: Acer Incorporated [ALI] Device 0504
Flags: bus master, fast devsel, latency 0
Capabilities:
Kernel driver in use: agpgart-intel

00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 00002000-00002fff
Memory behind bridge: d0000000-d10fffff
Prefetchable memory behind bridge: 00000000a0000000-00000000b1ffffff
Capabilities:
Kernel driver in use: pcieport
Kernel modules: shpchp

00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09) (prog-if 00 [VGA controller])
Subsystem: Acer Incorporated [ALI] Device 0504
Flags: bus master, fast devsel, latency 0, IRQ 42
Memory at d1400000 (64-bit, non-prefetchable) [size=4M]
Memory at c0000000 (64-bit, prefetchable) [size=256M]
I/O ports at 3000 [size=64]
Expansion ROM at [disabled]
Capabilities:
Kernel driver in use: i915
Kernel modules: i915

00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
Subsystem: Acer Incorporated [ALI] Device 0504
Flags: bus master, fast devsel, latency 0, IRQ 43
Memory at d1a04000 (64-bit, non-prefetchable) [size=16]
Capabilities:
Kernel driver in use: mei
Kernel modules: mei

00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 04) (prog-if 20 [EHCI])
Subsystem: Acer Incorporated [ALI] Device 0504
Flags: bus master, medium devsel, latency 0, IRQ 16
Memory at d1a0a000 (32-bit, non-prefetchable) [size=1K]
Capabilities:
Kernel driver in use: ehci_hcd

00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 04)
Subsystem: Acer Incorporated [ALI] Device 0504
Flags: bus master, fast devsel, latency 0, IRQ 44
Memory at d1a00000 (64-bit, non-prefetchable) [size=16K]
Capabilities:
Kernel driver in use: snd_hda_intel
Kernel modules: snd-hda-intel

00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b4) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
Memory behind bridge: 9fb00000-9fbfffff
Prefetchable memory behind bridge: 00000000d1800000-00000000d18fffff
Capabilities:
Kernel driver in use: pcieport
Kernel modules: shpchp

00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 (rev b4) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
Memory behind bridge: d1900000-d19fffff
Capabilities:
Kernel driver in use: pcieport
Kernel modules: shpchp

00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 04) (prog-if 20 [EHCI])
Subsystem: Acer Incorporated [ALI] Device 0504
Flags: bus master, medium devsel, latency 0, IRQ 23
Memory at d1a09000 (32-bit, non-prefetchable) [size=1K]
Capabilities:
Kernel driver in use: ehci_hcd

00:1f.0 ISA bridge: Intel Corporation HM65 Express Chipset Family LPC Controller (rev 04)
Subsystem: Acer Incorporated [ALI] Device 0504
Flags: bus master, medium devsel, latency 0
Capabilities:
Kernel modules: iTCO_wdt

00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller (rev 04) (prog-if 01 [AHCI 1.0])
Subsystem: Acer Incorporated [ALI] Device 0504
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 41
I/O ports at 3098 [size=8]
I/O ports at 30bc [size=4]
I/O ports at 3090 [size=8]
I/O ports at 30b8 [size=4]
I/O ports at 3060 [size=32]
Memory at d1a08000 (32-bit, non-prefetchable) [size=2K]
Capabilities:
Kernel driver in use: ahci

00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 04)
Subsystem: Acer Incorporated [ALI] Device 0504
Flags: medium devsel, IRQ 10
Memory at d1a06000 (64-bit, non-prefetchable) [size=256]
I/O ports at 3040 [size=32]
Kernel modules: i2c-i801

01:00.0 VGA compatible controller: NVIDIA Corporation GF119 [GeForce GT 520M](rev ff) (prog-if ff)
!!! Unknown header type 7f

02:00.0 Ethernet controller: Broadcom Corporation NetLink BCM57785 Gigabit Ethernet PCIe (rev 10)
Subsystem: Acer Incorporated [ALI] Device 0504
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at d1830000 (64-bit, prefetchable) [size=64K]
Memory at d1840000 (64-bit, prefetchable) [size=64K]
Expansion ROM at d1850000 [disabled] [size=2K]
Capabilities:
Kernel driver in use: tg3
Kernel modules: tg3

02:00.1 SD Host controller: Broadcom Corporation NetXtreme BCM57765 Memory Card Reader (rev 10) (prog-if 01)
Subsystem: Acer Incorporated [ALI] Device 0504
Flags: bus master, fast devsel, latency 0, IRQ 17
Memory at d1800000 (64-bit, prefetchable) [size=64K]
Capabilities:
Kernel driver in use: sdhci-pci
Kernel modules: sdhci-pci

02:00.2 System peripheral: Broadcom Corporation Device 16be (rev 10)
Subsystem: Acer Incorporated [ALI] Device 0504
Flags: bus master, fast devsel, latency 0, IRQ 7
Memory at d1810000 (64-bit, prefetchable) [size=64K]
Capabilities:

02:00.3 System peripheral: Broadcom Corporation Device 16bf (rev 10)
Subsystem: Acer Incorporated [ALI] Device 0504
Flags: bus master, fast devsel, latency 0, IRQ 7
Memory at d1820000 (64-bit, prefetchable) [size=64K]
Capabilities:

03:00.0 Network controller: Atheros Communications Inc. AR9287 Wireless Network Adapter (PCI-Express) (rev 01)
Subsystem: Foxconn International, Inc. Device e034
Flags: bus master, fast devsel, latency 0, IRQ 17
Memory at d1900000 (64-bit, non-prefetchable) [size=64K]
Capabilities:
Kernel driver in use: ath9k
Kernel modules: ath9k

@darkfena313
Copy link
Author

help me

@johndrinkwater
Copy link
Contributor

@darkfena313 I dont have this card, so i’m not too clear on the process. There’s another post here #1368 (comment) that might help, if not that askubuntu.com might be able to get you an answer.

@davidw-valve
Copy link
Contributor

@darkfena313: I suggest contacting the Bumblebee/primus developers for help getting primusrun set up on your machine.

@darkfena313
Copy link
Author

Thanks

@darkfena313
Copy link
Author

I uninstalled the nvidia drivers then installed them again with everything els. the result;
primusrun '/home/powerhouse/Steam/SteamApps/common/Serious Sam 3/Bin/Sam3'
/home/powerhouse/Steam/SteamApps/common/Serious Sam 3/Bin/Sam3: error while loading shared libraries: libsteam_api.so: cannot open shared object file: No such file or directory
optirun '/home/powerhouse/Steam/SteamApps/common/Serious Sam 3/Bin/Sam3'
/home/powerhouse/Steam/SteamApps/common/Serious Sam 3/Bin/Sam3: error while loading shared libraries: libsteam_api.so: cannot open shared object file: No such file or directory
optirun glxspheresPolygons in scene: 62464
Visual ID of window: 0x21
Context is Direct
OpenGL Renderer: GeForce GT 520M/PCIe/SSE2
118.270505 frames/sec - 115.028947 Mpixels/sec
124.491071 frames/sec - 121.079020 Mpixels/sec
127.866562 frames/sec - 124.361995 Mpixels/sec
125.229939 frames/sec - 121.797637 Mpixels/sec
126.321507 frames/sec - 122.859287 Mpixels/sec
124.300753 frames/sec - 120.893918 Mpixels/sec
129.663603 frames/sec - 126.109783 Mpixels/sec
126.219529 frames/sec - 122.760105 Mpixels/sec
primusrun glxspheres
Polygons in scene: 62464
Visual ID of window: 0xa0
Context is Indirect
OpenGL Renderer: GeForce GT 520M/PCIe/SSE2
primus: sorry, not implemented: glXUseXFont
Segmentation fault (core dumped)

@davidw-valve
Copy link
Contributor

If you can't run glxspheres with primusrun then there is something wrong with your primus installation. I suggest you work with the Primus developers to work out what the issue is with your system.

@gdrewb-valve
Copy link
Contributor

Closing old non-Valve issue (can still be found in search).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants