Skip to content

Instantly share code, notes, and snippets.

Avatar

Aaron Plattner aaronp24

View GitHub Profile
View gist:2d9edefc168adb02d25b81f62a5409b1
void NV_API_CALL os_get_screen_info(
NvU64 *pPhysicalAddress,
NvU16 *pFbWidth,
NvU16 *pFbHeight,
NvU16 *pFbDepth,
NvU16 *pFbPitch
)
{
const sc_softc_t *sc = sc_get_softc(0, SC_KERNEL_CONSOLE);
View WTF is going on.md

You might have just made github send out >19k notification emails.

:P Yep, he just gave write access to everybody. Whoops!

FWIW, I tweeted at Epic and GitHub, but no response yet. I'd like to know why this sort of thing happens.

Party time 😄

PARTY HARD

View gist:e382a9d67700b969ea41
Breakpoint 2, 0x00007fa9561dda70 in sbrk () from /usr/lib/libc.so.6
(gdb) bt
#0 0x00007fa9561dda70 in sbrk () from /usr/lib/libc.so.6
#1 0x00007fa956179dd9 in __default_morecore () from /usr/lib/libc.so.6
#2 0x00007fa956176088 in _int_malloc () from /usr/lib/libc.so.6
#3 0x00007fa95617781e in malloc () from /usr/lib/libc.so.6
#4 0x00007fa947cac069 in ?? () from /usr/lib/libGL.so.1
#5 0x00007fa94433e5a9 in ?? () from /usr/lib/libnvidia-glcore.so.352.11
#6 0x00007fa9445cc6e5 in ?? () from /usr/lib/libnvidia-glcore.so.352.11
#7 0x00007fa94469a176 in ?? () from /usr/lib/libnvidia-glcore.so.352.11
@aaronp24
aaronp24 / gist:6691146
Created Sep 24, 2013
xdpyinfo, depth 30
View gist:6691146
name of display: :0
version number: 11.0
vendor string: The X.Org Foundation
vendor release number: 11403000
X.Org version: 1.14.3
maximum request size: 16777212 bytes
motion buffer size: 256
bitmap unit, bit order, padding: 32, LSBFirst, 32
image byte order: LSBFirst
number of supported pixmap formats: 8
View fc-match -s Arial, bad version
helvR12-ISO8859-1.pcf.gz: "Helvetica" "Regular"
helvR12.pcf.gz: "Helvetica" "Regular"
n019003l.pfb: "Nimbus Sans L" "Regular"
DejaVuSans.ttf: "DejaVu Sans" "Book"
DejaVuSans-Bold.ttf: "DejaVu Sans" "Bold"
DejaVuSans-Oblique.ttf: "DejaVu Sans" "Oblique"
DejaVuSans-BoldOblique.ttf: "DejaVu Sans" "Bold Oblique"
GohaTibebZemen.otf: "Goha-Tibeb Zemen" "Regular"
DejaVuSansMono.ttf: "DejaVu Sans Mono" "Book"
DejaVuSerif.ttf: "DejaVu Serif" "Book"
View gist:5138981
Breakpoint 1, intel_output_backlight_set (output=0x838db0, level=100) at intel_display.c:167
167 struct intel_output *intel_output = output->driver_private;
(gdb) bt
#0 intel_output_backlight_set (output=0x838db0, level=100) at intel_display.c:167
#1 0x00007ffff1ce8e38 in intel_output_set_property (output=0x838db0, property=84, value=0x7fffffffe6a0) at intel_display.c:1254
#2 0x00000000004f929d in RRChangeOutputProperty ()
#3 0x00007ffff1ce8819 in intel_output_create_ranged_atom (output=0x838db0, atom=0x7ffff2052b0c <backlight_atom>, name=0x7ffff1e13922 "Backlight",
min=0, max=100, value=100, immutable=0) at intel_display.c:1120
#4 0x00007ffff1ce8d34 in intel_output_create_resources (output=0x838db0) at intel_display.c:1218
#5 0x00000000004b8af5 in xf86RandR12Init ()
@aaronp24
aaronp24 / gist:4551025
Last active Dec 11, 2015 — forked from mmalmeida/gist:4550629
Delete superfluous xorg.conf stuff, switch to using CustomEDID
View gist:4551025
Section "Monitor"
Identifier "Pioneer"
ModeLine "working" 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +HSync +Vsync
EndSection
Section "Device"
Identifier "nvidia"
Driver "nvidia"
Option "ModeDebug"
Option "ModeValidation" "NoEDIDModes,NoXServerModes,NoPredefinedModes,NoVESAModes,AllowNonEDIDModes"
You can’t perform that action at this time.