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