Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: AMD Radeon HD 8730M driver for Ubuntu 14.04

  1. #11
    Join Date
    Apr 2014
    Beans
    7

    Re: AMD Radeon HD 8730M driver for Ubuntu 14.04

    Yeah its a bit confusing since Im new to this, but I'll give a look and try it when i get it.

    Seems like I'll have some questions but we'll see. I'll post here results when done.

    Thanks alot for fast replays and your time! Cheers!

  2. #12
    Join Date
    Jul 2008
    Location
    The Left Coast of the USA
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: AMD Radeon HD 8730M driver for Ubuntu 14.04

    Sorry this has been such a pain, but the manufacturers have not made this a priority for Linux, so we are left with some frustrating results.
    Please read The Forum Rules and The Forum Posting Guidelines

    A thing discovered and kept to oneself must be discovered time and again by others. A thing discovered and shared with others need be discovered only the once.
    This universe is crazy. I'm going back to my own.

  3. #13
    Join Date
    Apr 2014
    Beans
    7

    Re: AMD Radeon HD 8730M driver for Ubuntu 14.04

    True. Its kinda annoying sometimes but it is what it is. I hope they will change mind and do something for Linux users.

    Anyway I took a try at
    HTML Code:
    https://help.ubuntu.com/community/HybridGraphics#Enabling_vga_switcheroo
    So I started at section "Enabling vga_switcheroo":
    Code:
    :~$ grep -i switcheroo 
    /boot/config-*/boot/config-3.11.0-19-generic:CONFIG_VGA_SWITCHEROO=y
    /boot/config-3.13.0-27-generic:CONFIG_VGA_SWITCHEROO=y
    /boot/config-3.13.0-29-generic:CONFIG_VGA_SWITCHEROO=y
    /boot/config-3.13.0-30-generic:CONFIG_VGA_SWITCHEROO=y
    Code:
    :~$ sudo ls -l /sys/kernel/debug/vgaswitcheroo/switch
    -rw-r--r-- 1 dule root 0 Jul 15 15:17 /sys/kernel/debug/vgaswitcheroo/switch
    Now at "Using vga_switcheroo" section I didnt know what to do. I dont understand whats those echo commands for, anyway i tried all of them with root account in terminal and nothing happend. But this last "cat" command gave some output:
    Code:
    :~$ sudo cat /sys/kernel/debug/vgaswitcheroo/switch
    [sudo] password for dule:
    0:IGD:+:Pwr:0000:00:02.0
    1:DIS: :DynOff:0000:01:00.0
    :~$
    So how I understood it says my Integrated graphic card is on and Im using it right now.

    After that I replaced all killall -u "$USER" with gnome-session-save --logout in Roberto Martinez Switching script, saved it on desktop with name "switch_between_cards.sh" and made it executable.

    Now on https://help.ubuntu.com/community/Hy...vga_switcheroo site it says i need to add some line in this file
    /etc/init.d/rc.local but on http://asusm51ta-with-linux.blogspot.com/ site I need to add it in this file: /etc/rc.local
    In first file (/etc/init.d/rc/local) I dont have exit 0. It looks like this:
    Code:
    #! /bin/sh
    ### BEGIN INIT INFO
    # Provides:          rc.local
    # Required-Start:    $all
    # Required-Stop:
    # Default-Start:     2 3 4 5
    # Default-Stop:
    # Short-Description: Run /etc/rc.local if it exist
    ### END INIT INFO
    
    
    
    
    PATH=/sbin:/usr/sbin:/bin:/usr/bin
    
    
    . /lib/init/vars.sh
    . /lib/lsb/init-functions
    
    
    do_start() {
        if [ -x /etc/rc.local ]; then
                [ "$VERBOSE" != no ] && log_begin_msg "Running local boot scripts (/etc/rc.local)"
            /etc/rc.local
            ES=$?
            [ "$VERBOSE" != no ] && log_end_msg $ES
            return $ES
        fi
    }
    
    
    case "$1" in
        start)
        do_start
            ;;
        restart|reload|force-reload)
            echo "Error: argument '$1' not supported" >&2
            exit 3
            ;;
        stop)
            ;;
        *)
            echo "Usage: $0 start|stop" >&2
            exit 3
            ;;
    esac

    In second file (/etc/rc.local) i have echo 0, I added 2 lines before exit 0 and it looks like this:
    Code:
    #!/bin/sh -e#
    # rc.local
    #
    # This script is executed at the end of each multiuser runlevel.
    # Make sure that the script will "exit 0" on success or any other
    # value on error.
    #
    # In order to enable or disable this script just change the execution
    # bits.
    #
    # By default this script does nothing.
    chown "dule" /sys/kernel/debug/vgaswitcheroo/switch # change "username" with your user name
    echo OFF > /sys/kernel/debug/vgaswitcheroo/switch
    exit 0
    When i run script this window appears:
    Screenshot from 2014-07-15 16:11:58.jpg

    But when I click on switch to Integrated (or Discrete) that window dissapears and nothing happens. I think something is wrong with chown line in step before. Seems like I dont have root access for switcheroo or something (Im just guessing im noob).

    How I saw some screenshots on that other site and in script window next to listed graphic cards it have (*)/( ) and Power On/Off which indicates if graphic is working or not (I think thats it) but I dont have it.

    So do I need maybe to write only chown dule /sys/kernel/debug/vgaswitcheroo/switch line in /etc/init.d/rc/local and add next line exit 0 just before esac line? Or something else is needed?

Page 2 of 2 FirstFirst 12

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •