00:01 mslusarz: luv: if you want to figure out size of the structs used for ioctls you might want to take a look at --mmt-ioctl-call-fuzzer & --mmt-ioctl-create-fuzzer options of mmt
00:04 mslusarz: and if you want to match what userspace does with what the kernel does you can use mmt's sync mode (example is in envytools/demmt/scripts/mmiotrace/mmt-app-demmt-mmiotrace.sh)
00:05 luv: thanks ... i will have to get mmt and demmt working for (now it's failing with ERROR: nvrm_mmap: couldn't find object/space offset: 0x000000016a6d7000 .... i will have a look tomorrow)
00:06 luv: s/for/first/
08:38 Terkal: Hello all ! Hum does anyone can help me (5m) ?
08:39 pmoreau: Terkal: Hi! What do you need help for?
08:42 Terkal: I'm using a brand new OpenSUSE tumbleweed on this (HP laptop) [http://store.hp.com/FranceStore/Merch/Product.aspx?id=1AM98EA&opt=ABF&sel=NTB&jumpid=reg_r1002_frfr_b-002_title_r0001]
08:43 Terkal: I'm using nouveau driver, but the HDMI output is not usable : when I connect a screen, nothing appears on it
08:44 pmoreau: Could you please give a link to the output of `dmesg` as well as of `xrandr`?
08:45 Terkal: With a screen connected ?
08:46 pmoreau: Yes please
08:51 Terkal: xrandr : https://pastebin.com/PnwLSx7r
08:52 Terkal: How can I send you the dmseg ? seems to be full of useless data (useless when we're talking about nouveau driver)
08:54 pmoreau: With pastebin as well, or any other paste website
08:56 Terkal: I sen you a part : https://pastebin.com/rhY9DAj0
08:58 pmoreau: I guess you have an Intel GPU in that laptop as well?
08:59 pmoreau: What do you get if you run `xrandr --listproviders`?
08:59 Terkal: Intel GPU and Nvidia 1050 ti (http://store.hp.com/FranceStore/Merch/Product.aspx?id=1AM98EA&opt=ABF&sel=NTB&jumpid=reg_r1002_frfr_b-002_title_r0001)
09:00 Terkal: https://pastebin.com/zanDvGAz
09:01 pmoreau: So the HDMI output seems to be controlled by the Intel GPU
09:01 pmoreau: Let me check what that output 0x43 is
09:06 pmoreau: Doesn’t look like it is an HDMI output
09:07 Terkal: HP Service said the html is used by nvidia or the intel following what kind of ressources programs are looking for
09:07 Terkal: HDMI * x)
09:08 Terkal: But, anyway, there is only one HDMI port which seems to be discovered by xrandr
09:08 pmoreau: In this case it seems to be the Intel card controlling it, as if it was Nouveau, it would be called HDMI-1 rather than HDMI1.
09:09 pmoreau: Have you tried running `xrandr --output HDMI1 --auto --right-of eDP1`?
09:10 Terkal: Nope, but N nothing is happenning
09:11 pmoreau: What does xrandr says now? Did the status of HDMI1 change?
09:13 Terkal: Nope
09:15 pmoreau: Let’s see if there are some more outputs on the NVIDIA card. Could you run `xrandr --setprovideroutputsource nouveau Intel`?
09:16 pmoreau: And then paste the output of xrandr
09:16 Terkal: Lol it loged out me after 3 seconds ^^
09:17 pmoreau: oO
09:17 Terkal: I typed you command, then I wrote 'xrandr', [enter] > logout
09:17 Terkal: https://pastebin.com/Nib0i0jK
09:18 Terkal: https://pastebin.com/dAZZqBuA
09:20 pmoreau: Could you paste the output of /var/log/Xorg.0.log as well please?
09:21 Terkal: Meeen ! Got a good news, when i type again "xrandr --setprovideroutputsource nouveau Intel" the gnome control center let me configure the second screen ! but it's login me out of my session when I"m press 'apply'
09:21 pmoreau: That is weird
09:22 Terkal: there is any xorg log there
09:22 pmoreau: Ah
09:23 pmoreau: Try `find ~/ -name "Xorg.0.log"`. It could be it is stored in your home folder.
09:23 Terkal: exactly :p
09:24 Terkal: Wow, seems to be long, any way to troncate last log hour ?
09:25 pmoreau: Maybe the last 600 lines are enough
09:25 Terkal: https://pastebin.com/T4NC4icg
09:26 pmoreau: thanks
09:27 pmoreau: Which kernel version do you have?
09:28 Terkal: 4.11.8-2-default
09:29 pmoreau: Try to grab 4.12 as soon as you can as it will give you hardware acceleration for your NVIDIA card.
09:30 Terkal: But what's the link with the intel card ?
09:30 pmoreau: And you will need a version of linux-firmware which is more recent than March 2017.
09:31 Terkal: Hum i'm using openSuse tumbleweed
09:31 pmoreau: None, I just saw in the Xorg logs: " 6.857] (EE) NOUVEAU(G0): Error creating GPU channel: -19" and "[ 6.857] (EE) NOUVEAU(G0): Error initialising acceleration. Falling back to NoAccel"
09:31 Terkal: Ok ok right dude :) I'll check this out ASAP
09:33 pmoreau: Xorg does report an HDMI output for the NVIDIA card
09:35 Terkal: "[ 6.469] (II) modeset(0): Output eDP-1 has no monitor section
09:35 Terkal: [ 6.652] (II) modeset(0): Output HDMI-1 has no monitor section"
09:35 Terkal: Is xorg saying there is just no configuration part ?
09:35 pmoreau: Which is made available by running `xrandr --setprovideroutputsource nouveau Intel`, but that logout is weird. I assume X gets restarted maybe.
09:36 Terkal: Ho ! can we set this parameter by default ?
09:36 pmoreau: Yes, but it should work without any configuration.
09:36 Terkal: cause here when we type it,xorg restart and is not using this fix
09:36 Terkal: oh :)
09:37 pmoreau: I don’t know how to make it default. :-/
09:37 Terkal: Ifit fal make it default is not the best idea :p
09:37 Terkal: If it fails *
09:38 pmoreau: By the way, this page can be useful to you: https://nouveau.freedesktop.org/wiki/Optimus/ If you want to run stuff on the NVIDIA GPU (though it will be very slow with Nouveau).
09:39 Terkal: Yep I saw that and bookmarked it !
09:39 Terkal: for now i'm using opensuse for developpement, gaming is on windows :)
09:40 pmoreau: :-D
09:41 pmoreau: If you come back in ~4-5 hours, there should another dev who is more experienced with all that X stuff. He might have an idea why you get logged out.
09:43 Terkal: TY dude :) ! We found a first cmd that let gnome discover the second screen, we just have to found why i'm logout after setting up the screen. TY
09:45 RSpliet: well, it *is* sunday, so no guarantee that devs pop up today ;-)
09:46 Terkal: eheh :p
10:42 pmoreau: karolherbst: Doing a bit of fixing for the ISO, to hopefully get it to build again. I’ll try to add bumblebee and DRI3 once it builds again.
10:42 karolherbst: pmoreau: nice
10:45 pmoreau: When do you need it to be functional? Was it for SHA17 in mid August?
10:49 karolherbst: yeah, theoretically, but I doubt it will work out, doing something like that alone won't work
10:50 pmoreau: Yeah :-/
10:50 karolherbst: pmoreau: maybe it would be nice to have some form of CI on your scripts to build the live cd
10:50 karolherbst: so that others could also try things out
10:53 pmoreau: I am not sure I understand what you mean: have a CI server build the live CD rather than my server? So that whenever a new commit is pushed a corresponding live CD is made, something like that?
10:54 karolherbst: yeah, but also for (whitelisted) forks and branches or so
10:54 karolherbst: so that I could just clone it and play a little around on a branch
10:55 karolherbst: no idea how easy it is to build a liveCD on a different distribution
10:55 pmoreau: I don't think the scripts use too many Arch-specific things, so might be fine.
14:16 cur1ous: What's the status of Nvidia and GNU/Linux? Are they working together? Or is it still an uphill battle for GNU/Linux? If this question would be better served for another channel, please direct me to said channel. Thank you!
14:27 mwk: cur1ous: very much uphill.
14:28 mwk: they kind-of, sort-of offer some help sometimes
14:28 cur1ous: I've been to this channel before and it has come to my attention that there are some employees inside nvidia who frequent here.
14:28 mwk: but mostly it's same old
14:29 cur1ous: Is this true?
14:30 karolherbst: there are some
14:31 karolherbst: but usually they don't say anything
14:32 cur1ous: What is stopping them from consulting higher ups about this issue? I doubt this would be an issue of intellectual property, right?
14:36 karolherbst: well, try to assess this from the position of such a higher up, why would they want to help to begin with (especially, because it costs money to do so)?
14:38 cur1ous: What costs would be involved? And they would gain the support of thousands (at the least) of GNU/Linux and BSD desktop users.
14:38 karolherbst: people going through that IP stuff, making releasable documentation etc...
14:39 karolherbst: and afaik those desktop users are not really of any concern yet
14:39 karolherbst: it's more like enterprise server farm computing stuff, which is the main business on Linux
14:41 cur1ous: Fair point.
14:50 cur1ous: anyone know why nouveau hasnt been ported to openbsd?
15:30 luv: yup, especially nowadays when most gpus are bought by miners
15:30 luv: proper linux support is something you definitely want
15:30 karolherbst: "most"
15:30 luv: defo not a rational decision to turn your back on linux
15:31 karolherbst: irrelevant
15:31 luv: well ... it's the only reason amd is out of stock
15:31 karolherbst: yeah, desktop grade GPUs
15:31 karolherbst: but there is more
15:32 karolherbst: think about nvidias tesla GPUs
15:33 karolherbst: luv: and no
15:34 karolherbst: there are some models which are bought by miners
15:34 karolherbst: but those usually have just the best perf/money ratiop
15:34 karolherbst: if you really want to mine you do it based on ASICs anyway
18:21 imirkin: karolherbst: sorry that precise stuff took me so long to look at
18:21 imirkin: and thanks for tackling the issue!
18:25 karolherbst: yeah, no worries.
18:25 karolherbst: if you have a little spare time you could look at the pow lowering patches too
18:26 karolherbst: I am slowly trying to get all my patches mainlined before starting new stuff
18:26 imirkin: patchwork link
18:28 karolherbst: imirkin: https://patchwork.freedesktop.org/series/26247/
18:28 imirkin: thanks
18:39 imirkin: replied.
18:42 karolherbst: thanks
18:56 imirkin: dunno if i had given that comment before or not
18:56 imirkin: but it definitely has to be done in ssa-land
18:56 karolherbst: yeah I think something similiar
18:57 imirkin: and probably also handle the case if the base is an immediate
18:57 imirkin: since then you can save on the lg2 op
19:02 karolherbst: yeah