00:01mslusarz: 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:04mslusarz: 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:05luv: 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)
08:38Terkal: Hello all ! Hum does anyone can help me (5m) ?
08:39pmoreau: Terkal: Hi! What do you need help for?
08:42Terkal: 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:43Terkal: I'm using nouveau driver, but the HDMI output is not usable : when I connect a screen, nothing appears on it
08:44pmoreau: Could you please give a link to the output of `dmesg` as well as of `xrandr`?
08:45Terkal: With a screen connected ?
08:46pmoreau: Yes please
08:51Terkal: xrandr : https://pastebin.com/PnwLSx7r
08:52Terkal: How can I send you the dmseg ? seems to be full of useless data (useless when we're talking about nouveau driver)
08:54pmoreau: With pastebin as well, or any other paste website
08:56Terkal: I sen you a part : https://pastebin.com/rhY9DAj0
08:58pmoreau: I guess you have an Intel GPU in that laptop as well?
08:59pmoreau: What do you get if you run `xrandr --listproviders`?
08:59Terkal: 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:01pmoreau: So the HDMI output seems to be controlled by the Intel GPU
09:01pmoreau: Let me check what that output 0x43 is
09:06pmoreau: Doesn’t look like it is an HDMI output
09:07Terkal: HP Service said the html is used by nvidia or the intel following what kind of ressources programs are looking for
09:07Terkal: HDMI * x)
09:08Terkal: But, anyway, there is only one HDMI port which seems to be discovered by xrandr
09:08pmoreau: 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:09pmoreau: Have you tried running `xrandr --output HDMI1 --auto --right-of eDP1`?
09:10Terkal: Nope, but N nothing is happenning
09:11pmoreau: What does xrandr says now? Did the status of HDMI1 change?
09:15pmoreau: Let’s see if there are some more outputs on the NVIDIA card. Could you run `xrandr --setprovideroutputsource nouveau Intel`?
09:16pmoreau: And then paste the output of xrandr
09:16Terkal: Lol it loged out me after 3 seconds ^^
09:17Terkal: I typed you command, then I wrote 'xrandr', [enter] > logout
09:20pmoreau: Could you paste the output of /var/log/Xorg.0.log as well please?
09:21Terkal: 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:21pmoreau: That is weird
09:22Terkal: there is any xorg log there
09:23pmoreau: Try `find ~/ -name "Xorg.0.log"`. It could be it is stored in your home folder.
09:23Terkal: exactly :p
09:24Terkal: Wow, seems to be long, any way to troncate last log hour ?
09:25pmoreau: Maybe the last 600 lines are enough
09:27pmoreau: Which kernel version do you have?
09:29pmoreau: Try to grab 4.12 as soon as you can as it will give you hardware acceleration for your NVIDIA card.
09:30Terkal: But what's the link with the intel card ?
09:30pmoreau: And you will need a version of linux-firmware which is more recent than March 2017.
09:31Terkal: Hum i'm using openSuse tumbleweed
09:31pmoreau: 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:31Terkal: Ok ok right dude :) I'll check this out ASAP
09:33pmoreau: Xorg does report an HDMI output for the NVIDIA card
09:35Terkal: "[ 6.469] (II) modeset(0): Output eDP-1 has no monitor section
09:35Terkal: [ 6.652] (II) modeset(0): Output HDMI-1 has no monitor section"
09:35Terkal: Is xorg saying there is just no configuration part ?
09:35pmoreau: Which is made available by running `xrandr --setprovideroutputsource nouveau Intel`, but that logout is weird. I assume X gets restarted maybe.
09:36Terkal: Ho ! can we set this parameter by default ?
09:36pmoreau: Yes, but it should work without any configuration.
09:36Terkal: cause here when we type it,xorg restart and is not using this fix
09:36Terkal: oh :)
09:37pmoreau: I don’t know how to make it default. :-/
09:37Terkal: Ifit fal make it default is not the best idea :p
09:37Terkal: If it fails *
09:38pmoreau: 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:39Terkal: Yep I saw that and bookmarked it !
09:39Terkal: for now i'm using opensuse for developpement, gaming is on windows :)
09:41pmoreau: 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:43Terkal: 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:45RSpliet: well, it *is* sunday, so no guarantee that devs pop up today ;-)
09:46Terkal: eheh :p
10:42pmoreau: 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:42karolherbst: pmoreau: nice
10:45pmoreau: When do you need it to be functional? Was it for SHA17 in mid August?
10:49karolherbst: yeah, theoretically, but I doubt it will work out, doing something like that alone won't work
10:50pmoreau: Yeah :-/
10:50karolherbst: pmoreau: maybe it would be nice to have some form of CI on your scripts to build the live cd
10:50karolherbst: so that others could also try things out
10:53pmoreau: 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:54karolherbst: yeah, but also for (whitelisted) forks and branches or so
10:54karolherbst: so that I could just clone it and play a little around on a branch
10:55karolherbst: no idea how easy it is to build a liveCD on a different distribution
10:55pmoreau: I don't think the scripts use too many Arch-specific things, so might be fine.
14:16cur1ous: 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:27mwk: cur1ous: very much uphill.
14:28mwk: they kind-of, sort-of offer some help sometimes
14:28cur1ous: 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:28mwk: but mostly it's same old
14:29cur1ous: Is this true?
14:30karolherbst: there are some
14:31karolherbst: but usually they don't say anything
14:32cur1ous: What is stopping them from consulting higher ups about this issue? I doubt this would be an issue of intellectual property, right?
14:36karolherbst: 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:38cur1ous: What costs would be involved? And they would gain the support of thousands (at the least) of GNU/Linux and BSD desktop users.
14:38karolherbst: people going through that IP stuff, making releasable documentation etc...
14:39karolherbst: and afaik those desktop users are not really of any concern yet
14:39karolherbst: it's more like enterprise server farm computing stuff, which is the main business on Linux
14:41cur1ous: Fair point.
14:50cur1ous: anyone know why nouveau hasnt been ported to openbsd?
15:30luv: yup, especially nowadays when most gpus are bought by miners
15:30luv: proper linux support is something you definitely want
15:30luv: defo not a rational decision to turn your back on linux
15:31luv: well ... it's the only reason amd is out of stock
15:31karolherbst: yeah, desktop grade GPUs
15:31karolherbst: but there is more
15:32karolherbst: think about nvidias tesla GPUs
15:33karolherbst: luv: and no
15:34karolherbst: there are some models which are bought by miners
15:34karolherbst: but those usually have just the best perf/money ratiop
15:34karolherbst: if you really want to mine you do it based on ASICs anyway
18:21imirkin: karolherbst: sorry that precise stuff took me so long to look at
18:21imirkin: and thanks for tackling the issue!
18:25karolherbst: yeah, no worries.
18:25karolherbst: if you have a little spare time you could look at the pow lowering patches too
18:26karolherbst: I am slowly trying to get all my patches mainlined before starting new stuff
18:26imirkin: patchwork link
18:28karolherbst: imirkin: https://patchwork.freedesktop.org/series/26247/
18:56imirkin: dunno if i had given that comment before or not
18:56imirkin: but it definitely has to be done in ssa-land
18:56karolherbst: yeah I think something similiar
18:57imirkin: and probably also handle the case if the base is an immediate
18:57imirkin: since then you can save on the lg2 op