Skip to content

Instantly share code, notes, and snippets.

View oscarcp's full-sized avatar
🛠️
Building

Oscar Carballal oscarcp

🛠️
Building
View GitHub Profile
@oscarcp
oscarcp / gist:12561fbc81346473b1ba3f029e57e5ce
Created March 20, 2020 00:43
Prroton Dump Doom Eternal
======================
Proton: 1583767778 proton-5.0-4
SteamGameId: 782330
Command: ['/home/oscarcp/.local/share/Steam/steamapps/common/DOOMEternal/idTechLauncher.exe']
Options: {'forcelgadd'}
======================
ERROR: ld.so: object '/home/oscarcp/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/oscarcp/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/oscarcp/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/oscarcp/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
======================
Proton: 1583767778 proton-5.0-4
SteamGameId: 782330
Command: ['/home/oscarcp/.local/share/Steam/steamapps/common/DOOMEternal/idTechLauncher.exe']
Options: {'forcelgadd'}
======================
ERROR: ld.so: object '/home/oscarcp/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/oscarcp/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/oscarcp/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/oscarcp/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
# Maintainer: Laurent Carlier <lordheavym@gmail.com>
pkgname=vulkan-headers
_pkgname=Vulkan-Headers
pkgver=1.2.135
pkgrel=1
epoch=1
pkgdesc="Vulkan header files"
arch=(any)
url="https://www.khronos.org/vulkan/"
@oscarcp
oscarcp / gist:9b54ea7f6bd4eb4144bd4e5e980f2c4c
Created March 20, 2020 01:50
vulkan-icd-loader 1.2.135
# Maintainer: Laurent Carlier <lordheavym@gmail.com>
pkgname=vulkan-icd-loader
pkgver=1.2.135
pkgrel=1
arch=(x86_64)
pkgdesc="Vulkan Installable Client Driver (ICD) Loader"
url="https://www.khronos.org/vulkan/"
license=('custom')
makedepends=(cmake python-lxml libx11 libxrandr wayland vulkan-headers git)
@oscarcp
oscarcp / gist:c1eea3b242d26938394d29acfc28b31d
Created March 20, 2020 01:49
Doom Eternal log stema non-beta
======================
Proton: 1583767778 proton-5.0-4
SteamGameId: 782330
Command: ['/home/oscarcp/.local/share/Steam/steamapps/common/DOOMEternal/idTechLauncher.exe']
Options: {'forcelgadd'}
======================
ERROR: ld.so: object '/home/oscarcp/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/oscarcp/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/oscarcp/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/oscarcp/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
###############################################
# Steam Beta run from gnome launcher
# nvidia 440.64
# vulkan-headers / vulkan-icd-loader 1.2.135
###############################################
======================
Proton: 1583767778 proton-5.0-4
SteamGameId: 782330
Command: ['/home/oscarcp/.local/share/Steam/steamapps/common/DOOMEternal/idTechLauncher.exe']
Options: {'forcelgadd'}
Computer Information:
Manufacturer: Unknown
Model: Unknown
Form Factor: Desktop
No Touch Input Detected
Processor Information:
CPU Vendor: GenuineIntel
CPU Brand: Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz
CPU Family: 0x6
@oscarcp
oscarcp / ordered_dict.py
Created November 9, 2017 12:57
Extended Dictionary class for searching keys
class ExtendedOrderedDict(OrderedDict):
"""Extended version of the OrderedDict with more methods.
This class adds the 'next_key' and 'first_key' to easily traverse through
an ordered dictionary. It's meant to be inherited by any OrderedDict
structure.
"""
def get_next_key(self, key):
key_list = list(self.keys())
@oscarcp
oscarcp / spaces.py
Last active December 17, 2015 02:58
The new edit_roles function. All is expalined in the code doc.
def edit_roles(request, space_url):
"""
The edit_role function works to provide a way for space administrators to
modify the users roles inside a space, at the space level.
It basically works as an AJAX communication where the frontend sends to key
values: userid and perm, containing the user ID and the permission code,
which later we compare with the permissions dictionary. If the user has the
permission we go to the next one and so on.
@oscarcp
oscarcp / permissions.py
Created August 30, 2012 09:49
e-cidadania: Nice way of checking permissions across a model in django
# -*- coding: utf-8 -*-
#
# Copyright (c) 2010-2012 Cidadania S. Coop. Galega
#
# This file is part of e-cidadania.
#
# e-cidadania is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.