Troubles while installing any Linux OS on Asus TUF FX504

250

Solution 1

The issue is related to acpi and video drivers. You can workaround it by adding acpi_osi=Linux and nouveou.modeset=0 kernel parameters in the grub entry during installation and initial starts.

I followed this guide for drivers setup in Ubuntu 18.04. I recommend to use nvidia-drivers-4.18 instead of 4.15 version in step 6 as I experimented freezes during next boots. After switching to 4.18 everything works fine.

Just in case... I did the installation using acpi=off before finding that guide.

Solution 2

I had the same problem when I tried to install ubuntu in that model. First of all the boot usb I was using had problems, try to use a new usb to create the boot device. Next, the screen is frozen because of missing drivers of the video card. You can change the system to use the integrated Intel video card or install the drivers to use the Nvidia Card. You can use the next post to install the nvidia drivers and solve the problem.

How to install the NVIDIA drivers on Ubuntu 18.04 Bionic Beaver Linux

Share:
250

Related videos on Youtube

Admin
Author by

Admin

Updated on September 18, 2022

Comments

  • Admin
    Admin over 1 year

    This is the code I have:

    from signalr_aio import Connection
    
    if __name__ == "__main__":
        # Create connection
        # Users can optionally pass a session object to the client, e.g a cfscrape session to bypass cloudflare.
    
        connection = Connection('https://beta.bittrex.com/signalr', session=None)
        hub = connection.register_hub('c2')
    
        hub.server.invoke('GetAuthContext', API_KEY)               #Invoke 0 Creates the challenge that needs to be signed by the create_signature coroutine
        signature = await create_signature(API_SECRET, challenge)  #Creates the signature that needs to authenticated in the Authenticate query
        hub.server.invoke('Authenticate', API_KEY, signature)      #Invoke 1 authenticates user to account level information
    
        connection.start()
    

    What I have to do is verify my identity by getting a string-type challenge by the GetAuthContext call, then create a string-type signature using that challenge, and then pass that signature to the Authenticatecall. The problem I'm having is that that I need to enter the return value of the GetAuthContext into the challenge parameter of the create_signature coroutine. I'm guessing from the comment next to the below example that every invoke method gets marked as I([index of method]), so I would have to do signature = await create_signature(API_SECRET, 'I(0)')

    async def on_debug(**msg):
        # In case of `queryExchangeState` or `GetAuthContext`
        if 'R' in msg and type(msg['R']) is not bool:
             # For the simplicity of the example I(1) corresponds to `Authenticate` and I(0) to `GetAuthContext`
             # Check the main body for more info.
             if msg['I'] == str(2):
                decoded_msg = await process_message(msg['R'])
                print(decoded_msg)
            elif msg['I'] == str(3):
                signature = await create_signature(API_SECRET, msg['R'])
                hub.server.invoke('Authenticate', API_KEY, signature)
    

    Later this example gets assigned to connection.received ( connection.received += on_debug ) so I'm guessing that after connection.start() I have to put connection.recieved() to call the on_debug coroutine which will verify me, but for now I just want to understand how to reference the .invoke() methods to use within a function or coroutine.

    • Admin
      Admin about 6 years
      Also, does anyone know how the response is structured from the .invoke() calls? The on_debug makes me think it's a dictionary and I'm sure it would help me understand this module a lot more if I knew how it was structured