<alyssa>
Sachiel: i spent most of today trying to root this
<alyssa>
i can't tell if i'm incompetent or samsung goes out of their way to make this hard
<alyssa>
got lost somewhere around "ok now flash this random firmware with leaked software that only runs on Windows and oh btw it might brick your phone"
illwieckz has quit [Read error: No route to host]
<robclark>
alyssa: I guess some sort of selinux type thing going on.. you probably need the root hammer :-(
<alyssa>
oy.
<robclark>
alyssa: one thing I've done before is android chroot on android.. ie. slurp out the /vendor and /system from a device I don't have root on, and run it in chroot on device I do have root one with libwrapfake.so (that stubs out all the actual ioctls to real driver.. so complete userspace implementation of downstream driver uabi)
<alyssa>
heh, might be an option if I get desperate..
<imirkin>
robclark: you need at least some root to make a chroot though?
<alyssa>
^^
<imirkin>
oh, nevermind. misread.
<alyssa>
oh so did I
<imirkin>
alyssa: the idea is to take the driver from the device in question and run it on another friendlier device.
<alyssa>
yeah..
<robclark>
I've had to play all these games over the years, because -EONLYANDROIDBLOBDRIVERS
<imirkin>
libwrapfake.so is freedreno's answer to this, which enables running (some) software against the driver blob libGL without actually letting it talk to the kernel
<imirkin>
yeah, i was always afraid to brick things
<imirkin>
but if it's an android device, you should be able to do "adb root"?
<imirkin>
maybe that requires doing something to the device first, dunno
<robclark>
these days you need userdebug image to adb-root
<alyssa>
"adb root does not work on production devices"
<alyssa>
blah blah..
<imirkin>
the thing i always did was that + mount a linux partition over nfs, and then develop the driver on my desktop (which hosted the nfs)
<imirkin>
alyssa: ah ... on at least my android devices, you can enable it somewhere in settings
<imirkin>
iirc it wipes the device though
illwieckz has joined #dri-devel
<milek7>
usually you need to unlock something in settings, flash 'custom recovery' through that odin thing, and then use it to patch system with some sudo tool
<milek7>
but I didn't do it in a long time, maybe something changed
illwieckz has quit [Ping timeout: 480 seconds]
illwieckz has joined #dri-devel
<alyssa>
milek7: yeah, that
<alyssa>
I unlocked it (and that wipes the device, fine), but the patching and the flashing are a lot less obvious and a lot easier to go wrong
NixZiZ has joined #dri-devel
NixZiZ has quit [Remote host closed the connection]
<alyssa>
Flashing in particular seems really risky given the options of leaked apps and reverse-engineering
GloriousEggroll has quit [Quit: Death is life's way of telling you you've been fired.]
mripard has quit [Ping timeout: 480 seconds]
bbrezillon has quit [Ping timeout: 480 seconds]
luzipher_ has joined #dri-devel
luzipher__ has quit [Ping timeout: 480 seconds]
<alyssa>
robclark: good news... looks like LD_PRELOAD does /not/ need root on this version
mripard has joined #dri-devel
bbrezillon has joined #dri-devel
vivijim has quit [Remote host closed the connection]
mbrost has quit [Remote host closed the connection]
Lightkey has quit [Ping timeout: 480 seconds]
Lightkey has joined #dri-devel
boistordu_old has joined #dri-devel
boistordu has quit [Ping timeout: 480 seconds]
<alyssa>
update: it doesn't, I have ioctls
<alyssa>
just need to figure out binder..
elessar has joined #dri-devel
elessar has quit [Remote host closed the connection]
khfeng has joined #dri-devel
tlwoerner_ has quit []
tlwoerner has joined #dri-devel
pttournesol[m] has joined #dri-devel
pttournesol[m] has quit [Remote host closed the connection]
mbrost has joined #dri-devel
orbea1 has joined #dri-devel
orbea has quit [Ping timeout: 480 seconds]
mbrost has quit [Remote host closed the connection]
busker has joined #dri-devel
busker has quit [Remote host closed the connection]
orbea1 has quit []
orbea has joined #dri-devel
SergeyMalax-t has joined #dri-devel
SergeyMalax-t has quit [Remote host closed the connection]
luzipher__ has joined #dri-devel
Duke`` has joined #dri-devel
kav has joined #dri-devel
kav has quit [Remote host closed the connection]
luzipher_ has quit [Ping timeout: 480 seconds]
naveenk2 has joined #dri-devel
jewins has quit [Remote host closed the connection]
notgull has quit []
camus has joined #dri-devel
anholt has quit [Remote host closed the connection]
anholt has joined #dri-devel
aravind has joined #dri-devel
<Net147>
how would I register sn65dsi83 DSI-LVDS bridge with the DSI host in device tree when it is a child node of i2c host?
<Net147>
the bridge is both a dsi device and an i2c device
mattrope has quit [Remote host closed the connection]
itoral has joined #dri-devel
sdutt has quit [Remote host closed the connection]
pnowack has joined #dri-devel
camus has quit [Read error: Connection reset by peer]
camus has joined #dri-devel
pekkari has joined #dri-devel
Duke`` has quit [Read error: Network is unreachable]
luzipher_ has joined #dri-devel
luzipher__ has quit [Ping timeout: 480 seconds]
Juan has joined #dri-devel
Juan has quit [Remote host closed the connection]
<T_UNIX>
danvet: ist the memory provided by drm cleared upon client "connect" or on client "disconnect"?
andrey-konovalov has joined #dri-devel
andrey-konovalov has quit [Ping timeout: 480 seconds]
mlankhorst has joined #dri-devel
danvet has joined #dri-devel
rasterman has joined #dri-devel
<MrCooper>
T_UNIX: when the memory is allocated
bcarvalho has joined #dri-devel
RobertC has quit [Ping timeout: 480 seconds]
thellstrom has joined #dri-devel
alexsaezm has joined #dri-devel
alexsaezm has quit [autokilled: Suspected spammer. Mail support@oftc.net with questions (2021-06-18 07:57:36)]
pcercuei has joined #dri-devel
naveenk21 has joined #dri-devel
naveenk2 has quit [Ping timeout: 480 seconds]
<T_UNIX>
MrCooper: thanks :)
thellstrom has quit [Remote host closed the connection]
lynxeye has joined #dri-devel
pnowack has quit [Quit: pnowack]
ickle has quit [Quit: Off we go.]
ickle has joined #dri-devel
sh_zam has joined #dri-devel
Surkow|laptop has quit [Ping timeout: 480 seconds]
RobertC has joined #dri-devel
RobertChiras has joined #dri-devel
thellstrom has joined #dri-devel
Surkow|laptop has joined #dri-devel
RobertC has quit [Ping timeout: 480 seconds]
tzimmermann has joined #dri-devel
pnowack has joined #dri-devel
<kusma>
jekstrand: Yeah, sorry, I'm a bit bogged down due to General Computer Trouble(tm) right now, but I'll be back to review it later today, I hope.
camus1 has joined #dri-devel
camus has quit [Read error: Connection reset by peer]
<ccr>
at least it's not Major Computer Trouble?
andrey-konovalov has joined #dri-devel
LiveWire has joined #dri-devel
LiveWire has quit [Remote host closed the connection]
ecks has joined #dri-devel
ecks has quit [Remote host closed the connection]
tobiasvl has joined #dri-devel
tobiasvl has quit [Remote host closed the connection]
illwieckz has quit [Remote host closed the connection]
<kusma>
Not quite that bad, no.
illwieckz has joined #dri-devel
MickeyJ has joined #dri-devel
MickeyJ has quit [Remote host closed the connection]
<ccr>
{private, corporal, major, general} ..
naveenk21 has left #dri-devel [#dri-devel]
ryzerth[m|gr] has joined #dri-devel
ryzerth[m|gr] has quit [Remote host closed the connection]
YuGiOhJCJ has joined #dri-devel
tehpaper has joined #dri-devel
tehpaper has quit [Remote host closed the connection]
agx_ has quit [Ping timeout: 481 seconds]
aravind has quit [Remote host closed the connection]
Sumera has joined #dri-devel
aravind has joined #dri-devel
agx_ has joined #dri-devel
fryguy has joined #dri-devel
pq has joined #dri-devel
fryguy has quit [Remote host closed the connection]
raed has joined #dri-devel
raed has quit [Remote host closed the connection]
RobertChiras has quit [Ping timeout: 480 seconds]
aravind has quit [Ping timeout: 480 seconds]
itoral has quit [Remote host closed the connection]
robertfoss has quit [Quit: WeeChat 2.6]
<Sumera>
danvet: how is the shmem_obj->base.size decided? It seems to be twice the usual size for the virtual_hw case which is causing the error.
robertfoss has joined #dri-devel
<Sumera>
I tried setting it manually around danvet: how is the shmem_obj->base.size decided? It seems to be twice the usual size for the virtual_hw case which is causing the error.
<Sumera>
oops, pls pretend I didn't send that twice
<Sumera>
It stops showing the frame allocation error (even tho it later hits a pagefault and hangs), so maybe that is what is going wrong ;-;
aravind has joined #dri-devel
aravind has quit []
Mikaku18 has joined #dri-devel
Mikaku18 has quit [Remote host closed the connection]
Cyberpower678 has joined #dri-devel
Cyberpower678 has quit [Remote host closed the connection]
thellstrom has quit [Quit: thellstrom]
thellstrom has joined #dri-devel
RobertC has joined #dri-devel
boistordu_old has quit [Ping timeout: 480 seconds]
GreatGodvin has joined #dri-devel
GreatGodvin has quit [Quit: WeeChat 3.2]
GreatGodvin has joined #dri-devel
<Sumera>
exit
Sumera has quit [Quit: leaving]
alyssa has left #dri-devel [#dri-devel]
vivijim has joined #dri-devel
ebfe has joined #dri-devel
ebfe has quit [Remote host closed the connection]
GreatGodvin has quit [Quit: WeeChat 3.2]
GreatGodvin has joined #dri-devel
iive has joined #dri-devel
camus1 has quit []
RobertC has quit [Ping timeout: 480 seconds]
XORed has joined #dri-devel
boistordu_ex has joined #dri-devel
XORed has quit [Remote host closed the connection]
<danvet>
Sumera[m], userspace sets this
<danvet>
when it allocates the framebuffer
<danvet>
through dumb_create
<danvet>
2x would indicate the tests wants to pan the visible window of the framebuffer around most likely
<danvet>
not sure why that's tied to virtual or not
boistordu_ex has quit [Quit: Leaving]
boistordu_ex has joined #dri-devel
alyssa has joined #dri-devel
<alyssa>
jekstrand: Could we do without the fdotN_replicated ops?
sdutt has joined #dri-devel
<alyssa>
It seems they're only used by the intel vec4 backend
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
<alyssa>
Midgard's dot product also replicates, but when I tried it a ~year ago, shader-db results were lacklustre (which means actual perf improvement was neglible)
<alyssa>
I wonder if it's the same for intel? Could someone who cares about intel vec4 perf do a shader-db run with fdot_replicates = false?
<alyssa>
airlied: maybe ^
<alyssa>
Interestingly, a2xx has the following comment (and sets fdot_replicates = false) -- /* .fdot_replicates = true, it is replicated, but it makes things worse */
<JoshuaAshton>
Not sure if all the relevant people watch the wayland-protocols git (maybe they do) but figured I'd give a heads up anyway. Thanks! :D
pekkari has joined #dri-devel
lalbornoz_ has joined #dri-devel
lalbornoz_ has quit [Remote host closed the connection]
tzimmermann has quit [Quit: Leaving]
stux|RC has joined #dri-devel
stux|RC has quit [Remote host closed the connection]
<DrNick>
those wayland compositors seem broken
<JoshuaAshton>
?
pekkari has quit []
<DrNick>
I'm increasingly of the opinion that Wayland was a mistake
<DrNick>
at least with X11 there was a single implementation that applications could rely on, instead of a half-doze incompatible half-baked compositors
<Sachiel>
time to go back to directfb
<robclark>
DrNick: I'm sure there has never been an issue reported that only reproduces on certain x11 window mgrs :-P
icebreaker has joined #dri-devel
<DrNick>
30 years of inertia let you say those window managers were wrong and they should behave like the other window managers
icebreaker has quit [autokilled: Suspected spammer. Mail support@oftc.net with questions (2021-06-18 18:56:32)]
<zmike>
so you're saying that since it's only been about 10 years you're going to now wait another 20 years to come back and see how your comments have aged
<imirkin>
probably a lot more issues back when WM's were new and being active developped
<imirkin>
by now applications have adapted to all the weirdnesses of WM's
<imirkin>
like recently i was trying to do something to determine if a window was visible
<imirkin>
every WM does it differently
<imirkin>
some unmap windows
<imirkin>
some set a _NET_WM_STATE
<imirkin>
some set a _NET_STATE
<imirkin>
er
<imirkin>
WM_STATE
<imirkin>
some do some odd combination
<imirkin>
but once you handle it all, and no new weird WMs are being made, all is well
<Sachiel>
some do neither because they want you to think the window is still visible so they can do things like virtual desktop previews
<imirkin>
wayland is in a more expansionary state i suspect
<imirkin>
Sachiel: yeah, but in that case you really do want rendering to continue i guess
<DrNick>
what you want is visibility regions so you know which part of the scene you can avoid rendering
<Sachiel>
I see a lot of games now have an fps limit when they are not focused. Having something like that better supported rather than "sure... you are still visible, keep going" sounds like a good thing
<imirkin>
DrNick: yeah, and X has that. VisibilityNotification. but guess what, it doesn't get sent consistently :)
<DrNick>
and a rectangle size that your window is getting rendered at, so you can scale down
<DrNick>
VisibilityNotification doesn't do that
<imirkin>
anyways, i'm just pointing out at the unclean reality of X
<DrNick>
Win32 will give you actual rectangles
<imirkin>
but it's a known unclean reality
<alyssa>
I was trying to figure out how to raise windows on Linux
<alyssa>
Wayland has a bunch of DE-specific APIs that need special toolkits or whatever
<imirkin>
alyssa: i just hit alt+up ;)
<Sachiel>
feed them properly, keep them warm
<alyssa>
X has a standard but nobody implements it as stated
<alyssa>
:popcorn:
<imirkin>
also usually clicking on the window decoration will move the window to front
<imirkin>
although i use sloppy focus. if you don't, i guess the practical situation is slightly different.
<DrNick>
anyway, now we have the fun situation where some wayland compositors are actively breaking applications, and the proposed fix requires altering the applications rather than fixing the compositor
<DrNick>
instead of making the applications opt-in to the compositor's feature
<imirkin>
i think some of X's annoying "interfaces" were born out of remaining compatible with applications
<imirkin>
not saying that's necessarily bad
<imirkin>
but there are compromises to make
<DrNick>
2022 will be the year of Linux on the desktop
<imirkin>
let's hope not
<imirkin>
all attempts to make linux more desktop-friendly translate fairly directly into harder-to-use-for-imirkin
<vsyrjala>
proper x11 is easy. just do nothing until you get expose events
<emersion>
vsyrjala: and then it doesn't work when a x11 compositor is running
<emersion>
DrNick: wayland compositors are not actively breaking applications
<Sachiel>
don't use a compositor then. Things worked fine before, why change them now?
<vsyrjala>
also doesn't work for animations. but those are just a waste of resources :P
<imirkin>
emersion: it's just a happy coincidence :)
<bnieuwenhuizen>
I thought the trick to animations was to trigger expose events yourself?
<bnieuwenhuizen>
or maybe that was just glut?
jeremy31 has joined #dri-devel
jeremy31 has quit [autokilled: Suspected spammer. Mail support@oftc.net with questions (2021-06-18 19:14:16)]
Sumera has quit [Quit: leaving]
ngcortes has quit [Ping timeout: 480 seconds]
lynxeye has quit [Quit: Leaving.]
yk has quit [Remote host closed the connection]
TemporalShift has joined #dri-devel
TemporalShift has quit [autokilled: Suspected spammer. Mail support@oftc.net with questions (2021-06-18 19:35:47)]
bcarvalho_ has joined #dri-devel
bcarvalho has quit [Read error: Connection reset by peer]
francjp[m]1 has joined #dri-devel
francjp[m]1 has quit [Remote host closed the connection]
m42uko18 has joined #dri-devel
m42uko18 has quit [Remote host closed the connection]
VulNix has joined #dri-devel
VulNix has quit [Remote host closed the connection]
<DPA>
My window manager doesn't let the application know when a window is hidden / minimized. Because I always fullscreen one window, and hide all others (window switching by touch gestures), and then gimp ended up fighting my WM.
<DPA>
My WM: I minimize this window. Gimp, I hide all the other windows too!, WM: Oh no, my window's gone, let's show this other currently minimized gimp window. Gimp: Oh, let's show the other windows too! My WM: Oh, new window, let's show it and hide the other ones. Gimp: Oh, my window was minimized, let's minimize all of them! (repeat)
<imirkin>
hard to tell who won in that fight, but you definitely lost...
richvdh_ has joined #dri-devel
richvdh_ has quit [Remote host closed the connection]
pnowack has quit [Quit: pnowack]
<DPA>
I think in the end, everyone lost.
<alyssa>
DPA: Krita is the winner here, one-window layout.
<alyssa>
;)
<DPA>
But that won't fit on my phone screen!
<alyssa>
and GIMP will?
<DPA>
Yes, one window at a time. But if switching if just swiping from the screen side, that's very easy / fast to do,
<jekstrand>
GIMP has a 1-window layout
<jekstrand>
But that probably doesn't help
<tango_>
doesn't krita actually have a pretty decent tablet layout?
<tango_>
or is it still too large for phones
<DPA>
I must admit, I haven't used krita a lot. Seams to be a really nice application, though. I should play around with it a bit more.
macromorgan has quit [Quit: Leaving]
wking has joined #dri-devel
wking has quit [Remote host closed the connection]
<jekstrand>
cwabbott: Where is your NIR docs branch? It's easier if I can just pull the RST rather than copying+pasting from HTML.
vivijim has quit []
jernej_ has joined #dri-devel
jernej has quit [Read error: Connection reset by peer]
sarnex has quit [Quit: Quit]
yevaud5 has joined #dri-devel
yevaud5 has quit [Remote host closed the connection]
gouchi has quit [Remote host closed the connection]
ppascher has quit [Ping timeout: 480 seconds]
mai_gelato[m] has joined #dri-devel
mai_gelato[m] has quit [Remote host closed the connection]
ppascher has joined #dri-devel
krs25 has joined #dri-devel
bngle has joined #dri-devel
bngle has quit [Remote host closed the connection]
krs25 has quit [Remote host closed the connection]
frimodig17 has joined #dri-devel
frimodig17 has quit [autokilled: Suspected spammer. Mail support@oftc.net with questions (2021-06-18 21:51:17)]
mattst88 has quit [Ping timeout: 480 seconds]
sdutt has quit [Remote host closed the connection]
iive has quit []
Duke`` has quit [Read error: Connection reset by peer]
sdutt has joined #dri-devel
mbrost has quit [Remote host closed the connection]
danvet has quit [Ping timeout: 480 seconds]
andrey-konovalov has quit [Ping timeout: 480 seconds]
vroom has joined #dri-devel
vroom has quit [autokilled: Suspected spammer. Mail support@oftc.net with questions (2021-06-18 22:33:41)]
Batzy has joined #dri-devel
Batzy has quit [Remote host closed the connection]
rgallaispou has joined #dri-devel
rgallaispou has left #dri-devel [#dri-devel]
mattst88 has joined #dri-devel
minnow has joined #dri-devel
minnow has quit [Remote host closed the connection]
YuGiOhJCJ has joined #dri-devel
cheers8 has joined #dri-devel
cheers8 has quit [Remote host closed the connection]
tobiasjakobi has quit [Remote host closed the connection]
rolo[m] has joined #dri-devel
rolo[m] has quit [Remote host closed the connection]
YuGiOhJCJ has quit [Remote host closed the connection]