00:31 karolherbst: uhhhh
00:31 karolherbst: imirkin: you will love this...
00:33 karolherbst: apparently some distribution like to launch steam by default on the discrete GPU
00:33 imirkin: sounds reasonable
00:33 karolherbst: well
00:33 karolherbst: it uses chromium
00:34 imirkin: i use chromium all the time
00:34 imirkin: works fine
00:34 karolherbst: yeah... difference is, the blacklisting is done in the application, not in the framework
00:34 karolherbst: so..
00:34 karolherbst: if you launch steam it does use multithreading
00:34 imirkin: i've disabled the blacklisting
00:34 imirkin: it doesn't multithread
00:34 karolherbst: it does
00:34 imirkin: mine doesn't
00:34 imirkin: dunno
00:34 karolherbst: yeah...
00:34 karolherbst: well, steam does
00:34 imirkin: maybe there are separate blacklists
00:35 karolherbst: yep
00:35 HdkR: Shouldn't you just need to disallow steamwebhelper rather than steam itself?
00:35 imirkin: HdkR: blacklist is in chrome
00:35 karolherbst: HdkR: they add this super awesome entry to the desktop file
00:35 imirkin: they just turn off GL for nouveau
00:35 imirkin: because sometimes, there are problems
00:35 HdkR: Oh jeez
00:35 imirkin: and the solution to that problem is to just kill the whole driver
00:35 imirkin: since it's not the official one
00:36 imirkin: rather than working with the driver developers like they would with any other driver
00:36 karolherbst: imirkin: in this case we would have to fix multithreading :p
00:36 imirkin: karolherbst: that's not why they killed nouveau
00:36 imirkin: and it definitely wasn't doing multi threaded GL at the time
00:36 imirkin: nor do i think it is today
00:36 karolherbst: yeah.. not sure
00:37 karolherbst: might just simply be steam doing stuff in multiple threads
00:37 HdkR: There is also an option in the steam settings to enable or disable GPU accelerated rendering. Is that enabled?
00:37 karolherbst: HdkR: yeah well.. because it used to use intel :D
00:37 imirkin: i've sorta resigned to nouveau not being useful to any actual users, so i don't have to care that much about it.
00:37 imirkin: as long as it works for me, i'm happy
00:38 HdkR: Also to note, steamwebhelper will run multiple processses so maybe that gets aroudn the threading bugs :P
00:38 karolherbst: well, it doesn't
00:38 airlied: yeah latest steam added the gnome desktop file tag to launch on non default gpu
00:38 karolherbst: guess why I am complaining
00:38 airlied: though thinking about it that's a horribe idea in a few places
00:38 airlied: like if you have 2 identical gpujs
00:38 karolherbst: airlied: yeah, I wasn't sure if it was rpmfusion or steam
00:39 airlied: it was steam
00:39 karolherbst: uhhh :/
00:39 karolherbst: yeah.. why let the user decide
00:39 karolherbst: or allow certain games to run on discrete
00:39 karolherbst: now
00:39 karolherbst: *no
00:39 karolherbst: the full steam client has to
00:39 airlied: user can decide by right clicking on steam and launch on other
00:40 airlied: I think that overrides thing
00:40 karolherbst: that option doesn't even exit
00:40 karolherbst: *exist
00:40 airlied: should under gnome-shel
00:40 karolherbst: oh sure
00:40 karolherbst: but I meant inside steam
00:40 karolherbst: also.. why would you want to run the steam client on the discrete GPU...
00:40 karolherbst: there is really no point in doing it
00:41 imirkin: nobody uses steam with nouveau, so it's really a moot issue
00:41 karolherbst: sure, their perf is terrible
00:41 karolherbst: but they should just fix the perf
00:41 airlied: imirkin: they do use it with intel and have nouveau loaded
00:41 karolherbst: imirkin: it's a laptop issue
00:41 airlied: and now they end up using it with nouveau
00:41 karolherbst: why power up the discrete GPU for no reason?
00:41 imirkin: airlied: they'd have nvidia blob
00:41 karolherbst: maybe I just run the steam client in the background to chat with people
00:42 karolherbst: why use the discrete gpu for that
00:42 karolherbst: that's just stupid
00:42 airlied: imirkin: why? I know a fair few people who just ignore the nvidia gpu in their laptops
00:42 karolherbst: also
00:42 karolherbst: stop talking about the driver :D
00:42 karolherbst: it's not about the driver :D
00:43 karolherbst: why do I want to waste 10W+ just for steam?
00:43 airlied: but yeah should ask stream to not set the bit in their desktop file and be smarter
00:43 airlied: stream
00:43 airlied: can't even type it
00:43 karolherbst: I don't mind if they use the discrete GPU for games
00:43 imirkin: airlied: those people don't run steam :)
00:43 karolherbst: imirkin: why not?
00:44 karolherbst: there are enough games running well enough on intel
00:44 HdkR: Ideally every game is smart enough to query the GPU list and select the GPU they want to run on :)
00:44 karolherbst: HdkR: yeah well.. they are not
00:44 karolherbst: I know a lot of games, none is doing it correctly
00:45 karolherbst: especially not on linux
00:45 imirkin: anyways, i think you realize that my comments are at least partly tongue-in-cheek, but they're also reflecting of the situation which i believe to be out there in practice
00:45 HdkR: second ideally would be steam launching a game with a selected GPU for the game. With Steam providing a UI to select that on a per game basis
00:45 karolherbst: imirkin: no :D
00:45 karolherbst: it isn't about the driver
00:45 karolherbst: how often do I have to emphasize this
00:45 karolherbst: they decided to waste power
00:45 karolherbst: that's it
00:45 airlied: but just fix multithreading already then their life will suck a little less :-P
00:45 karolherbst: airlied: I'd still complain about this stupid decision
00:45 HdkR: Yea, this isn't about the driver. I'd ideally only want to run the GUI on iGPU or whatever is powering the display
00:46 karolherbst: airlied: also.. already filing MRs :p
00:47 karolherbst: also.. my fans spin up if the discrete GPU is on
00:47 karolherbst: without that they would be silent
13:22 karolherbst: imirkin: https://bugzilla.redhat.com/show_bug.cgi?id=1956634#c24 :(
13:22 karolherbst: soo.. we also have this issue on gk104
19:00 imirkin: karolherbst: not surprising
19:00 imirkin: just easier to hit on certain boards i guess
19:00 imirkin: due to ... who knows what reason
19:04 karolherbst: yeah
20:39 pmoreau: If I have `set $c0 # l u32 $r1 $r4; (e $c0) bra 0x128`, the branch will only execute when `$r1 < $r4` or am I misreading how it’s supposed to work?
20:53 karolherbst: pmoreau: yeah.. should be correct
20:54 karolherbst: ehh wait
20:54 karolherbst: pmoreau: ehh.. what does set compare here actually?
20:55 karolherbst: pmoreau: I don't think it has a valid compare code
20:55 karolherbst: probably it is set to always true
20:57 karolherbst: that "l" means low
20:58 karolherbst: or something else
20:59 karolherbst: or is that some weird envydis stuff?
21:20 isapgswell: hi everyone
21:29 juri_: hello not-everyone.
21:33 isapgswell: juri_ :)
23:48 imirkin: pmoreau: i always get confused by this. i don't think that's quite right. $c has a bunch of flags, and set will set them variously. "e" might not be true if the set is "true".
23:51 imirkin: pmoreau: i'd recommend making a *super simple* shader which verifies this
23:51 imirkin: pmoreau: or read the hwtests, although they can be a bit difficult to understand
23:52 imirkin: there are good docs on how "bra" works, and the hwtest should explain which bits get set