Linux: Black screen on startup

Discussion in 'Support!' started by darkjaguar91, November 30, 2013.

  1. darkjaguar91

    darkjaguar91 New Member

    Messages:
    11
    Likes Received:
    1
    So, i fixed the libudev issue.

    But in doing to primusrun does not work on steam anymore. I have tried everything i could remember i did previously.

    A good thing is, running without primus or optirun (on intel card) on steam works, and the fix.php fixes the missing mouse cursor.
  2. SXX

    SXX Post Master General

    Messages:
    6,896
    Likes Received:
    1,812
    Javascript fix should work fine as well, it's just need to be properly installed.

    Or you can just paste javascript fix code on first line of /media/ui/alpha/start/start.js
  3. darkjaguar91

    darkjaguar91 New Member

    Messages:
    11
    Likes Received:
    1
    HI SXX,

    Finally have everything working. These are the steps I have done on a clean install of OpenSuSe 13.1 to get PA working with primusrun.

    Install bumblebee and NVIDIA drivers. I used the overman79:laptop repo. A tutorial can be found here: http://forums.opensuse.org/english/...8-setup-bumblebee-primus-opensuse-12-3-a.html

    Then edit your bumblebee.conf and xorg.conf.nvidia:

    /etc/bumblebee/bumblebee.conf
    Change the line: Driver=
    To: Driver=nvidia

    /etc/bumblebee/xorg.conf.nvidia
    Make it look like this (changing the BUSID line to the correct PCI slot for your nvidia card)
    Code:
    Section "ServerLayout"
        Identifier  "Layout0"
        Option      "AutoAddDevices" "true"
        Option      "AutoAddGPU" "false"
    EndSection
    
    Section "Device"
        Identifier  "DiscreteNvidia"
        Driver      "nvidia"
        VendorName  "NVIDIA Corporation"
    
    #  If the X server does not automatically detect your VGA device,
    #  you can manually set it here.
    #  To get the BusID prop, run `lspci | egrep 'VGA|3D'` and input the data
    #  as you see in the commented example.
    #  This Setting may be needed in some platforms with more than one
    #  nvidia card, which may confuse the proprietary driver (e.g.,
    #  trying to take ownership of the wrong device). Also needed on Ubuntu 13.04.
        BusID "PCI:01:00:0"
    
    #  Setting ProbeAllGpus to false prevents the new proprietary driver
    #  instance spawned to try to control the integrated graphics card,
    #  which is already being managed outside bumblebee.
    #  This option doesn't hurt and it is required on platforms running
    #  more than one nvidia graphics card with the proprietary driver.
    #  (E.g. Macbook Pro pre-2010 with nVidia 9400M + 9600M GT).
    #  If this option is not set, the new Xorg may blacken the screen and
    #  render it unusable (unless you have some way to run killall Xorg).
        Option "ProbeAllGpus" "false"
    
        Option "NoLogo" "false"
        Option "UseEDID" "true"
        Option "UseDisplayDevice" "none"
        Option "ConnectedMonitor" "DFP"
    EndSection
    Install steam and install Planetary Annihilation.

    OpenSuse has an issue and steam has to be run without the steam runtime
    Code:
    STEAM_RUNTIME=0 steam
    If steam does not run without the steam runtime. Use YAST software center to install the 32-bit versions of libusb and try again.

    create a sym link to the libudev 64-bit library
    Code:
    su -c 'ln -s /usr/lib64/libudev.so.1 /home/username/.steam/steam/SteamApps/common/Planetary\ Annihilation/hosts/libudev.so.0'
    Add primusrun to the steam launch options
    Code:
    primusrun %command%
    If there is a mouse issue use the fix at: https://forums.uberent.com/threads/...tu-12-04-13-04-13-10.53019/page-2#post-814965
    SXX likes this.

Share This Page