{"action":"created","issue":{"url":"https://api.github.com/repos/project-trident/trident-core/issues/28","repository_url":"https://api.github.com/repos/project-trident/trident-core","labels_url":"https://api.github.com/repos/project-trident/trident-core/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/project-trident/trident-core/issues/28/comments","events_url":"https://api.github.com/repos/project-trident/trident-core/issues/28/events","html_url":"https://github.com/project-trident/trident-core/issues/28","id":368345674,"node_id":"MDU6SXNzdWUzNjgzNDU2NzQ=","number":28,"title":"RC1 generates broken xorg.conf in Intel and nVidia dual device laptop. ","user":{"login":"jgroenveld","id":37846076,"node_id":"MDQ6VXNlcjM3ODQ2MDc2","avatar_url":"https://avatars0.githubusercontent.com/u/37846076?v=4","gravatar_id":"","url":"https://api.github.com/users/jgroenveld","html_url":"https://github.com/jgroenveld","followers_url":"https://api.github.com/users/jgroenveld/followers","following_url":"https://api.github.com/users/jgroenveld/following{/other_user}","gists_url":"https://api.github.com/users/jgroenveld/gists{/gist_id}","starred_url":"https://api.github.com/users/jgroenveld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgroenveld/subscriptions","organizations_url":"https://api.github.com/users/jgroenveld/orgs","repos_url":"https://api.github.com/users/jgroenveld/repos","events_url":"https://api.github.com/users/jgroenveld/events{/privacy}","received_events_url":"https://api.github.com/users/jgroenveld/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-09T18:46:26Z","updated_at":"2018-10-10T11:37:24Z","closed_at":null,"author_association":"NONE","body":"```\r\nRC1's generate-xorg-conf.sh generates broken xorg.conf for all the right reasons.\r\nThe Intel should be Card0 in my case.\r\nSection \"Device\"\r\n  Identifier      \"Card0\"\r\n  Driver          \"modesetting\"\r\n  BusID           \"0:2:0\"\r\n  Option   \"AccelMethod\"   \"none\"\r\nEndSection\r\n\r\n\r\nThe work-around is to modify xorg.conf in /etc/X11 and enable to the exist test\r\nin /usr/local/etc/init.d/trident_init\r\n<       #if [ ! -e \"${xorg_conf}\" ] ; then\r\n---\r\n>       if [ ! -e \"${xorg_conf}\" ] ; then\r\n44c44\r\n<       #fi\r\n---\r\n>       fi\r\n\r\n\r\ntrident_init then loads the correct i915kms kernel module.\r\n\r\nJohn\r\ngroenveld@acm.org\r\n\r\nroot@w650rc:~ # pciconf -lv |grep -A3 vga\r\nvgapci1@pci0:0:2:0:     class=0x030000 card=0x65081558 chip=0x191b8086 rev=0x06 hdr=0x00\r\n    vendor     = 'Intel Corporation'\r\n    device     = 'HD Graphics 530'\r\n    class      = display\r\n--\r\nvgapci0@pci0:1:0:0:     class=0x030200 card=0x65071558 chip=0x139a10de rev=0xa2 hdr=0x00\r\n    vendor     = 'NVIDIA Corporation'\r\n    device     = 'GM107M [GeForce GTX 950M]'\r\n    class      = display\r\n\r\nroot@w650rc:~ # about\r\n\r\n===================\r\nGeneral information\r\n===================\r\n\r\nboot environment now (N) … 12.0-CURRENT-up-20181009_123053 NR 2018-10-09\r\n       after restart (R) … 12.0-CURRENT-up-20181009_123053 NR 2018-10-09\r\nboot loader …………………………………… BSD\r\n            type ……………………… EFI\r\nCPU ………………………………………………………… Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz\r\n    number of cores ……………… 8\r\nhost ……………………………………………………… w650rc\r\nmemory ………………………………………………… 16384 MB available, 15303 MB free\r\nOS git branch ……………………………………………………………………………………… Mon\r\nOS git revision ………………………………………………………………………………… Mon\r\nOS kernel build time ………………………………………………………… Oct root@poseidon:/usr/obj/usr/src_tmp/amd64.amd64/sys/GENERIC 8 16:37:41 UTC 2018\r\nOS kernel identity …………………………………………… (uname -i) GENERIC\r\nOS platform (architecture) ……………………… (uname -m) amd64\r\nOS release level ………………………………………………… (uname -r) 12.0-CURRENT\r\nOS version and patch level …… (freebsd-version) 12.0-CURRENT\r\nTrueOS package set ………………… \r\nTrueOS version …………………………… \r\nuptime ………………………………………………… 22 mins\r\nuser  …………………………………………………… root\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/project-trident/trident-core/issues/comments/428539033","html_url":"https://github.com/project-trident/trident-core/issues/28#issuecomment-428539033","issue_url":"https://api.github.com/repos/project-trident/trident-core/issues/28","id":428539033,"node_id":"MDEyOklzc3VlQ29tbWVudDQyODUzOTAzMw==","user":{"login":"beanpole135","id":4172864,"node_id":"MDQ6VXNlcjQxNzI4NjQ=","avatar_url":"https://avatars1.githubusercontent.com/u/4172864?v=4","gravatar_id":"","url":"https://api.github.com/users/beanpole135","html_url":"https://github.com/beanpole135","followers_url":"https://api.github.com/users/beanpole135/followers","following_url":"https://api.github.com/users/beanpole135/following{/other_user}","gists_url":"https://api.github.com/users/beanpole135/gists{/gist_id}","starred_url":"https://api.github.com/users/beanpole135/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beanpole135/subscriptions","organizations_url":"https://api.github.com/users/beanpole135/orgs","repos_url":"https://api.github.com/users/beanpole135/repos","events_url":"https://api.github.com/users/beanpole135/events{/privacy}","received_events_url":"https://api.github.com/users/beanpole135/received_events","type":"User","site_admin":false},"created_at":"2018-10-10T11:37:24Z","updated_at":"2018-10-10T11:37:24Z","author_association":"MEMBER","body":"So does your working config only have one device section in it? (the one for the Intel card - corresponding to vgapci1 instead of the vgapci0/nvidia GPU).\r\nIf that is the case, we might need to make the multi-card logic a bit smarter and have it *choose* one of the available cards instead of just making entries for all of them (Intel for the case of Nvidia Optimus systems (intel+nvidia)).\r\n\r\nJust to check thouch, could you take the auto-generated config (with 2 device entries) and change the \"Screen\" section right above that to use \"Card1\" instead of \"Card0\"? Does that make it properly use the intel GPU instead?"}}
{"actor":{"display_login":"beanpole135"}}