{"action":"created","issue":{"url":"https://api.github.com/repos/FreeBSDDesktop/freebsd-base-graphics/issues/6","repository_url":"https://api.github.com/repos/FreeBSDDesktop/freebsd-base-graphics","labels_url":"https://api.github.com/repos/FreeBSDDesktop/freebsd-base-graphics/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/FreeBSDDesktop/freebsd-base-graphics/issues/6/comments","events_url":"https://api.github.com/repos/FreeBSDDesktop/freebsd-base-graphics/issues/6/events","html_url":"https://github.com/FreeBSDDesktop/freebsd-base-graphics/issues/6","id":156850306,"number":6,"title":"Screen corruption on Atom","user":{"login":"mattmacy","id":14172449,"avatar_url":"https://avatars.githubusercontent.com/u/14172449?v=3","gravatar_id":"","url":"https://api.github.com/users/mattmacy","html_url":"https://github.com/mattmacy","followers_url":"https://api.github.com/users/mattmacy/followers","following_url":"https://api.github.com/users/mattmacy/following{/other_user}","gists_url":"https://api.github.com/users/mattmacy/gists{/gist_id}","starred_url":"https://api.github.com/users/mattmacy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattmacy/subscriptions","organizations_url":"https://api.github.com/users/mattmacy/orgs","repos_url":"https://api.github.com/users/mattmacy/repos","events_url":"https://api.github.com/users/mattmacy/events{/privacy}","received_events_url":"https://api.github.com/users/mattmacy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/FreeBSDDesktop/freebsd-base-graphics/labels/bug","name":"bug","color":"ee0701"}],"state":"open","locked":false,"assignee":{"login":"mattmacy","id":14172449,"avatar_url":"https://avatars.githubusercontent.com/u/14172449?v=3","gravatar_id":"","url":"https://api.github.com/users/mattmacy","html_url":"https://github.com/mattmacy","followers_url":"https://api.github.com/users/mattmacy/followers","following_url":"https://api.github.com/users/mattmacy/following{/other_user}","gists_url":"https://api.github.com/users/mattmacy/gists{/gist_id}","starred_url":"https://api.github.com/users/mattmacy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattmacy/subscriptions","organizations_url":"https://api.github.com/users/mattmacy/orgs","repos_url":"https://api.github.com/users/mattmacy/repos","events_url":"https://api.github.com/users/mattmacy/events{/privacy}","received_events_url":"https://api.github.com/users/mattmacy/received_events","type":"User","site_admin":false},"milestone":null,"comments":27,"created_at":"2016-05-25T21:05:38Z","updated_at":"2016-06-21T18:01:02Z","closed_at":null,"body":"It's a dmesg after kldloading the latest. \r\n\r\n[drm] Initialized drm 1.1.0 20060810 \r\nbus_register unimplemented!!! \r\n[drm:drm_pci_init] \r\n[drm:0xffffffff82dc525as] *ERROR* FreeBSD needs DRIVER_MODESET \r\n\r\nSystem doesn't hang now, but it's still scfb which runs video. \r\n\r\n\r\n```\r\nint drm_pci_init(struct drm_driver *driver, struct pci_driver *pdriver)\r\n{\r\n\tstruct pci_dev *pdev = NULL;\r\n\tconst struct pci_device_id *pid;\r\n\tint i;\r\n\r\n\tDRM_DEBUG(\"\\n\");\r\n\r\n\t/* FreeBSD specific hackery */\r\n\tpdriver->busname = \"vgapci\";\r\n\tpdriver->bsdclass = &drm_devclass;\r\n\tpdriver->name = \"drmn\";\r\n\r\n\tif (driver->driver_features & DRIVER_MODESET)\r\n\t\treturn pci_register_driver(pdriver);\r\n\r\n\tDRM_ERROR(\"FreeBSD needs DRIVER_MODESET\");\r\n\treturn (-ENOTSUP);\r\n\r\n#ifdef __linux__\t\r\n\t/* If not using KMS, fall back to stealth mode manual scanning. */\r\n\tINIT_LIST_HEAD(&driver->legacy_dev_list);\r\n\tfor (i = 0; pdriver->id_table[i].vendor != 0; i++) {\r\n\t\tpid = &pdriver->id_table[i];\r\n\r\n\t\t/* Loop around setting up a DRM device for each PCI device\r\n\t\t * matching our ID and device class.  If we had the internal\r\n\t\t * function that pci_get_subsys and pci_get_class used, we'd\r\n\t\t * be able to just pass pid in instead of doing a two-stage\r\n\t\t * thing.\r\n\t\t */\r\n\t\tpdev = NULL;\r\n\t\twhile ((pdev =\r\n\t\t\tpci_get_subsys(pid->vendor, pid->device, pid->subvendor,\r\n\t\t\t\t       pid->subdevice, pdev)) != NULL) {\r\n\t\t\tif ((pdev->class & pid->class_mask) != pid->class)\r\n\t\t\t\tcontinue;\r\n\r\n\t\t\t/* stealth mode requires a manual probe */\r\n\t\t\tpci_dev_get(pdev);\r\n\t\t\tdrm_get_pci_dev(pdev, pid, driver);\r\n\t\t}\r\n\t}\r\n\treturn 0;\r\n#endif\r\n\r\n```\r\n\r\nThe DRIVER_MODESET flag is getting cleared. It's unclear why this is happening or how it's tied to its inability to find a PCH.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/FreeBSDDesktop/freebsd-base-graphics/issues/comments/227521516","html_url":"https://github.com/FreeBSDDesktop/freebsd-base-graphics/issues/6#issuecomment-227521516","issue_url":"https://api.github.com/repos/FreeBSDDesktop/freebsd-base-graphics/issues/6","id":227521516,"user":{"login":"mattmacy","id":14172449,"avatar_url":"https://avatars.githubusercontent.com/u/14172449?v=3","gravatar_id":"","url":"https://api.github.com/users/mattmacy","html_url":"https://github.com/mattmacy","followers_url":"https://api.github.com/users/mattmacy/followers","following_url":"https://api.github.com/users/mattmacy/following{/other_user}","gists_url":"https://api.github.com/users/mattmacy/gists{/gist_id}","starred_url":"https://api.github.com/users/mattmacy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattmacy/subscriptions","organizations_url":"https://api.github.com/users/mattmacy/orgs","repos_url":"https://api.github.com/users/mattmacy/repos","events_url":"https://api.github.com/users/mattmacy/events{/privacy}","received_events_url":"https://api.github.com/users/mattmacy/received_events","type":"User","site_admin":false},"created_at":"2016-06-21T18:01:02Z","updated_at":"2016-06-21T18:01:02Z","body":"Try now. Pass --disable-gpu to chrome and whatever the equivalent is on FF."}}
{"actor":{"display_login":"mattmacy"}}