Skip to content

Instantly share code, notes, and snippets.

@shivanshu-semwal
Created February 10, 2021 07:50
Show Gist options
  • Save shivanshu-semwal/f728571d1d7e6cc19ffa2a21c51413ae to your computer and use it in GitHub Desktop.
Save shivanshu-semwal/f728571d1d7e6cc19ffa2a21c51413ae to your computer and use it in GitHub Desktop.
[46] INFO: # Daemon pre-start hook
[46] INFO: Removing /etc/X11/xorg.conf.d/10-optimus-manager.conf (if present)
[47] INFO: Copying /etc/optimus-manager/optimus-manager.conf to /var/lib/optimus-manager/tmp/config_copy.conf
[51] INFO: Startup mode is: intel
[51] INFO: Writing state {'type': 'pending_pre_xorg_start', 'requested_mode': 'intel', 'current_mode': None}
[51] INFO: Daemon pre-start hook completed successfully.
[51] INFO: Calling Xorg pre-start hook.
[6] INFO: # Commands daemon
[7] INFO: Opening UNIX socket
[7] INFO: Awaiting commands
[291072] INFO: Received command : {"type": "switch", "args": {"mode": "nvidia"}}
[291072] INFO: Writing requested GPU mode nvidia
[291078] INFO: Writing state {'type': 'pending_pre_xorg_start', 'requested_mode': 'nvidia', 'current_mode': 'intel'}
[12] INFO: # Xorg pre-start hook
[12] INFO: Previous state was: {'type': 'pending_pre_xorg_start', 'requested_mode': 'nvidia', 'current_mode': 'intel'}
[12] INFO: Requested mode is: nvidia
[12] INFO: Checking for GDM display servers
[365] INFO: Available modules: ['nouveau', 'nvidia', 'nvidia_drm', 'nvidia_modeset', 'nvidia_uvm']
[365] INFO: Unloading modules ['nouveau'] (if loaded)
[427] INFO: Loading module nvidia
[725] INFO: Loading module nvidia_drm
[2908] INFO: Loaded extra Intel Xorg options (0 lines)
[2908] INFO: Loaded extra Intel Xorg options (0 lines)
[2909] INFO: Writing to /etc/X11/xorg.conf.d/10-optimus-manager.conf
[2909] INFO: Writing state {'type': 'pending_post_xorg_start', 'switch_id': '20210210T115627', 'requested_mode': 'nvidia'}
[2909] INFO: Xorg pre-start hook completed successfully.
[6] INFO: # Xorg post-start hook
[6] INFO: Running xrandr commands
[478] INFO: Running /etc/optimus-manager/xsetup-nvidia.sh
[499] INFO: Writing state {'type': 'done', 'switch_id': '20210210T115627', 'current_mode': 'nvidia'}
[500] INFO: Xorg post-start hook completed successfully.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment