{"action":"created","issue":{"url":"https://api.github.com/repos/greenisland/greenisland/issues/217","repository_url":"https://api.github.com/repos/greenisland/greenisland","labels_url":"https://api.github.com/repos/greenisland/greenisland/issues/217/labels{/name}","comments_url":"https://api.github.com/repos/greenisland/greenisland/issues/217/comments","events_url":"https://api.github.com/repos/greenisland/greenisland/issues/217/events","html_url":"https://github.com/greenisland/greenisland/issues/217","id":167909156,"number":217,"title":"Could not find DRM device!","user":{"login":"dvc94ch","id":741807,"avatar_url":"https://avatars.githubusercontent.com/u/741807?v=3","gravatar_id":"","url":"https://api.github.com/users/dvc94ch","html_url":"https://github.com/dvc94ch","followers_url":"https://api.github.com/users/dvc94ch/followers","following_url":"https://api.github.com/users/dvc94ch/following{/other_user}","gists_url":"https://api.github.com/users/dvc94ch/gists{/gist_id}","starred_url":"https://api.github.com/users/dvc94ch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dvc94ch/subscriptions","organizations_url":"https://api.github.com/users/dvc94ch/orgs","repos_url":"https://api.github.com/users/dvc94ch/repos","events_url":"https://api.github.com/users/dvc94ch/events{/privacy}","received_events_url":"https://api.github.com/users/dvc94ch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"plfiorini","id":843710,"avatar_url":"https://avatars.githubusercontent.com/u/843710?v=3","gravatar_id":"","url":"https://api.github.com/users/plfiorini","html_url":"https://github.com/plfiorini","followers_url":"https://api.github.com/users/plfiorini/followers","following_url":"https://api.github.com/users/plfiorini/following{/other_user}","gists_url":"https://api.github.com/users/plfiorini/gists{/gist_id}","starred_url":"https://api.github.com/users/plfiorini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plfiorini/subscriptions","organizations_url":"https://api.github.com/users/plfiorini/orgs","repos_url":"https://api.github.com/users/plfiorini/repos","events_url":"https://api.github.com/users/plfiorini/events{/privacy}","received_events_url":"https://api.github.com/users/plfiorini/received_events","type":"User","site_admin":false},"assignees":[{"login":"plfiorini","id":843710,"avatar_url":"https://avatars.githubusercontent.com/u/843710?v=3","gravatar_id":"","url":"https://api.github.com/users/plfiorini","html_url":"https://github.com/plfiorini","followers_url":"https://api.github.com/users/plfiorini/followers","following_url":"https://api.github.com/users/plfiorini/following{/other_user}","gists_url":"https://api.github.com/users/plfiorini/gists{/gist_id}","starred_url":"https://api.github.com/users/plfiorini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plfiorini/subscriptions","organizations_url":"https://api.github.com/users/plfiorini/orgs","repos_url":"https://api.github.com/users/plfiorini/repos","events_url":"https://api.github.com/users/plfiorini/events{/privacy}","received_events_url":"https://api.github.com/users/plfiorini/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-07-27T17:21:52Z","updated_at":"2016-07-28T08:19:50Z","closed_at":null,"body":"I'm testing the experimental PR from here https://github.com/sddm/sddm/pull/616. I'm running into an issue where greenisland doesn't correctly detect a drm device. I ran some basic commands and pasted the outputs below.\r\n\r\n```sh\r\nroot@builder /# cat /var/log/sddm.log\r\n[18:51:57.253] (II) DAEMON: Initializing...\r\n[18:51:57.264] (II) DAEMON: Starting...\r\n[18:51:57.265] (II) DAEMON: Adding new display on vt 7 ...\r\n[18:51:57.267] (II) DAEMON: Compositor starting...\r\n[18:51:57.267] (II) DAEMON: Running: sddm-wayland-compositor -platform greenisland\r\n[18:51:57.268] (EE) DAEMON: Failed to start compositor process.\r\n```\r\n```sh\r\nroot@builder /# QT_PLUGIN_PATH=/gnu/store/97c366bna69r9p7fcc0x3pbp7p7wh5sk-greenisland-0.8.90/lib64/plugins sddm-wayland-compositor -platform greenisland\r\nQML debugging is enabled. Only use this in a safe environment.\r\ngreenisland.qpa.deviceintegration: EGL device integration plugin lookup paths: /gnu/store/97c366bna69r9p7fcc0x3pbp7p7wh5sk-greenisland-0.8.90/lib64/plugins /gnu/store/y98rxvc0bga3s0c8jfsv2ya4a09jfzq6-qt56-5.6.1-1/plugins /gnu/store/w69wanqqkarjmvp4wsnhvimdbd19dl1q-sddm-9ee48dd/bin\r\ngreenisland.qpa.deviceintegration: Preferred EGL device integration based on the hardware configuration: \"kms\"\r\ngreenisland.qpa.deviceintegration: Using \"kms\" EGL device integration\r\ngreenisland.qpa.kms: Loading configuration from \"/root/.config/greenisland/platform.json\"\r\ngreenisland.qpa.kms: Could not open configuration file \"/root/.config/greenisland/platform.json\" for reading\r\ngreenisland.qpa.kms: Found the following video devices:\r\nCould not find DRM device!\r\nAborted\r\n```\r\n```sh\r\nroot@builder /# udevadm info /sys/class/drm/card0\r\nP: /devices/pci0000:00/0000:00:02.0/virtio0/drm/card0\r\nN: dri/card0\r\nE: DEVNAME=/dev/dri/card0\r\nE: DEVPATH=/devices/pci0000:00/0000:00:02.0/virtio0/drm/card0\r\nE: DEVTYPE=drm_minor\r\nE: ID_PATH=pci-0000:00:02.0\r\nE: ID_PATH_TAG=pci-0000_00_02_0\r\nE: MAJOR=226\r\nE: MINOR=0\r\nE: SUBSYSTEM=drm\r\nE: USEC_INITIALIZED=5489503\r\n```\r\n```sh\r\nroot@builder /# lspci -s 00:02.0 -vvv\r\n00:02.0 VGA compatible controller: Red Hat, Inc Virtio GPU (rev 01) (prog-if 00 [VGA controller])\r\n\tSubsystem: Red Hat, Inc Device 1100\r\n\tControl: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+\r\n\tStatus: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-\r\n\tLatency: 0\r\n\tInterrupt: pin A routed to IRQ 10\r\n\tRegion 0: Memory at fd800000 (32-bit, prefetchable) [size=8M]\r\n\tRegion 2: Memory at fe000000 (64-bit, prefetchable) [size=8M]\r\n\tRegion 4: Memory at febd0000 (32-bit, non-prefetchable) [size=4K]\r\n\tExpansion ROM at 000c0000 [disabled] [size=128K]\r\n\tCapabilities: [98] MSI-X: Enable+ Count=3 Masked-\r\n\t\tVector table: BAR=4 offset=00000000\r\n\t\tPBA: BAR=4 offset=00000800\r\n\tCapabilities: [84] Vendor Specific Information: VirtIO: <unknown>\r\n\t\tBAR=0 offset=00000000 size=00000000\r\n\tCapabilities: [70] Vendor Specific Information: VirtIO: Notify\r\n\t\tBAR=2 offset=00400000 size=00400000 multiplier=00001000\r\n\tCapabilities: [60] Vendor Specific Information: VirtIO: DeviceCfg\r\n\t\tBAR=2 offset=003ff000 size=00001000\r\n\tCapabilities: [50] Vendor Specific Information: VirtIO: ISR\r\n\t\tBAR=2 offset=003fe000 size=00001000\r\n\tCapabilities: [40] Vendor Specific Information: VirtIO: CommonCfg\r\n\t\tBAR=2 offset=003fd000 size=00001000\r\n\tKernel driver in use: virtio-pci\r\nlspci: Unable to load libkmod resources: error -12\r\n```\r\n```sh\r\n434   fstat(4, {st_mode=S_IFREG|0444, st_size=49, ...}) = 0\r\n434   mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fdf35e26000\r\n434   read(4, \"# see udev.conf(5) for details\\n\\n\"..., 4096) = 49\r\n434   read(4, \"\", 4096)                 = 0\r\n434   close(4)                          = 0\r\n434   munmap(0x7fdf35e26000, 4096)      = 0\r\n434   stat(\"/sys/subsystem\", 0x7ffdb1a68bf0) = -1 ENOENT (No such file or directory)\r\n434   stat(\"/sys/bus\", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0\r\n434   open(\"/sys/bus\", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4\r\n434   fstat(4, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0\r\n434   getdents(4, /* 34 entries */, 32768) = 944\r\n434   getdents(4, /* 0 entries */, 32768) = 0\r\n434   close(4)                          = 0\r\n434   stat(\"/sys/class\", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0\r\n434   open(\"/sys/class\", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4\r\n434   fstat(4, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0\r\n434   getdents(4, /* 63 entries */, 32768) = 1864\r\n434   stat(\"/sys/class/drm\", {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0\r\n434   open(\"/sys/class/drm\", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 5\r\n434   fstat(5, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0\r\n434   getdents(5, /* 8 entries */, 32768) = 240\r\n434   readlink(\"/sys/class/drm/card0-Virtual-1\", \"../../devices/pci0000:00/0000:00\"..., 1024) = 71\r\n434   stat(\"/sys/devices/pci0000:00/0000:00:02.0/virtio0/drm/card0/card0-Virtual-1/uevent\", {st_mode=S_IFREG|0644, st_size=4096, ...}) = 0\r\n434   readlink(\"/sys/class/drm/card0\", \"../../devices/pci0000:00/0000:00\"..., 1024) = 55\r\n434   stat(\"/sys/devices/pci0000:00/0000:00:02.0/virtio0/drm/card0/uevent\", {st_mode=S_IFREG|0644, st_size=4096, ...}) = 0\r\n434   getdents(5, /* 0 entries */, 32768) = 0\r\n434   close(5)                          = 0\r\n434   getdents(4, /* 0 entries */, 32768) = 0\r\n434   close(4)                          = 0\r\n434   readlink(\"/sys/devices/pci0000:00/0000:00:02.0/virtio0/drm/card0\", 0x7ffdb1a67fc0, 1024) = -1 EINVAL (Invalid argument)\r\n434   stat(\"/sys/devices/pci0000:00/0000:00:02.0/virtio0/drm/card0/uevent\", {st_mode=S_IFREG|0644, st_size=4096, ...}) = 0\r\n434   open(\"/sys/devices/pci0000:00/0000:00:02.0/virtio0/drm/card0/uevent\", O_RDONLY|O_CLOEXEC) = 4\r\n434   fstat(4, {st_mode=S_IFREG|0644, st_size=4096, ...}) = 0\r\n434   mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fdf35e26000\r\n434   read(4, \"MAJOR=226\\nMINOR=0\\nDEVNAME=dri/ca\"..., 4096) = 54\r\n434   read(4, \"\", 4096)                 = 0\r\n434   close(4)                          = 0\r\n434   munmap(0x7fdf35e26000, 4096)      = 0\r\n434   readlink(\"/sys/devices/pci0000:00/0000:00:02.0/virtio0/drm/card0/subsystem\", \"../../../../../../class/drm\", 1024) = 27\r\n434   open(\"/run/udev/data/c226:0\", O_RDONLY|O_CLOEXEC) = 4\r\n434   fstat(4, {st_mode=S_IFREG|0644, st_size=68, ...}) = 0\r\n434   mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fdf35e26000\r\n434   read(4, \"I:5489503\\nE:ID_PATH=pci-0000:00:\"..., 4096) = 68\r\n434   read(4, \"\", 4096)                 = 0\r\n434   close(4)                          = 0\r\n434   munmap(0x7fdf35e26000, 4096)      = 0\r\n434   readlink(\"/sys/devices/pci0000:00/0000:00:02.0/virtio0/drm/card0/card0-Virtual-1\", 0x7ffdb1a67fc0, 1024) = -1 EINVAL (Invalid argument)\r\n434   stat(\"/sys/devices/pci0000:00/0000:00:02.0/virtio0/drm/card0/card0-Virtual-1/uevent\", {st_mode=S_IFREG|0644, st_size=4096, ...}) = 0\r\n434   open(\"/sys/devices/pci0000:00/0000:00:02.0/virtio0/drm/card0/card0-Virtual-1/uevent\", O_RDONLY|O_CLOEXEC) = 4\r\n434   fstat(4, {st_mode=S_IFREG|0644, st_size=4096, ...}) = 0\r\n434   mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fdf35e26000\r\n434   read(4, \"\", 4096)                 = 0\r\n434   close(4)                          = 0\r\n434   munmap(0x7fdf35e26000, 4096)      = 0\r\n434   readlink(\"/sys/devices/pci0000:00/0000:00:02.0/virtio0/drm/card0/card0-Virtual-1/subsystem\", \"../../../../../../../class/drm\", 1024) = 30\r\n434   open(\"/run/udev/data/+drm:card0-Virtual-1\", O_RDONLY|O_CLOEXEC) = 4\r\n434   fstat(4, {st_mode=S_IFREG|0644, st_size=68, ...}) = 0\r\n434   mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fdf35e26000\r\n434   read(4, \"I:5491180\\nE:ID_PATH=pci-0000:00:\"..., 4096) = 68\r\n434   read(4, \"\", 4096)                 = 0\r\n434   close(4)                          = 0\r\n434   munmap(0x7fdf35e26000, 4096)      = 0\r\n434   write(2, \"greenisland.qpa.kms: Found the f\"..., 56) = 56\r\n434   write(2, \"Could not find DRM device!\\n\", 27) = 27\r\n434   rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0\r\n434   tgkill(434, 434, SIGABRT)         = 0\r\n434   --- SIGABRT {si_signo=SIGABRT, si_code=SI_TKILL, si_pid=434, si_uid=0} ---\r\n434   +++ killed by SIGABRT +++\r\n```\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/36402521-could-not-find-drm-device?utm_campaign=plugin&utm_content=tracker%2F96007&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F96007&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/greenisland/greenisland/issues/comments/235830432","html_url":"https://github.com/greenisland/greenisland/issues/217#issuecomment-235830432","issue_url":"https://api.github.com/repos/greenisland/greenisland/issues/217","id":235830432,"user":{"login":"plfiorini","id":843710,"avatar_url":"https://avatars.githubusercontent.com/u/843710?v=3","gravatar_id":"","url":"https://api.github.com/users/plfiorini","html_url":"https://github.com/plfiorini","followers_url":"https://api.github.com/users/plfiorini/followers","following_url":"https://api.github.com/users/plfiorini/following{/other_user}","gists_url":"https://api.github.com/users/plfiorini/gists{/gist_id}","starred_url":"https://api.github.com/users/plfiorini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plfiorini/subscriptions","organizations_url":"https://api.github.com/users/plfiorini/orgs","repos_url":"https://api.github.com/users/plfiorini/repos","events_url":"https://api.github.com/users/plfiorini/events{/privacy}","received_events_url":"https://api.github.com/users/plfiorini/received_events","type":"User","site_admin":false},"created_at":"2016-07-28T08:19:50Z","updated_at":"2016-07-28T08:19:50Z","body":"Logging in as normal user should also work.\r\n\r\nIn both cases your distro need to be properly configured to use the logind pam module.\r\nAll distros should have it."}}
{"actor":{"display_login":"plfiorini"}}