Closed Icenowy closed 8 years ago
I think:
[ 2151.760] (II) Section 0 - looking for /dev/fb0
[ 2151.762] (WW) Could not open drm: No such file or directory
is the issue.. if you are using whatever android does for udev, the fb's end up in a funny place (/dev/graphics/fbN iirc). If you don't need android running, you could probably build the kernel w/ devtmpfs and use that instead. Or otherwise see freedreno man page about xorg.conf entries:
Option "fb" "string"
Path to fbdev device file. Required to use fbdev/kgsl, unused for drm/msm.
so you'd probably want something like Option "fb" "/dev/graphics/fb0"
I can promise there's a fb at /dev/fb0... I'm using systemd
---- Rob Clark编写 ----
I think:
[ 2151.760] (II) Section 0 - looking for /dev/fb0
[ 2151.762] (WW) Could not open drm: No such file or directory
is the issue.. if you are using whatever android does for udev, the fb's end up in a funny place (/dev/graphics/fbN iirc). If you don't need android running, you could probably build the kernel w/ devtmpfs and use that instead. Or otherwise see freedreno man page about xorg.conf entries:
Option "fb" "string"
Path to fbdev device file. Required to use fbdev/kgsl, unused for drm/msm.
so you'd probably want something like Option "fb" "/dev/graphics/fb0"
Reply to this email directly or view it on GitHub: https://github.com/freedreno/xf86-video-freedreno/issues/1#issuecomment-175080112
Then perhaps a file permission issue? I know these days fedora runs xserver as non-privileged user. In the normal case something opens the drm device file and passes it to xserver process, but that mechanism won't know about the non-standard /dev/fb0 that is also needed. A bit brute force, but chmod 666 /dev/fb0
would do the trick..
I'm root.
---- Rob Clark编写 ----
Then perhaps a file permission issue? I know these days fedora runs xserver as non-privileged user. In the normal case something opens the drm device file and passes it to xserver process, but that mechanism won't know about the non-standard /dev/fb0 that is also needed. A bit brute force, but chmod 666 /dev/fb0
would do the trick..
Reply to this email directly or view it on GitHub: https://github.com/freedreno/xf86-video-freedreno/issues/1#issuecomment-175092575
if your starting X manually as root, then maybe strace it. From the error message it seems to somehow have trouble opening some device file. Maybe it was actually the drm device file it was having problems with?
I've said that I have no kgsl-drm.
---- Rob Clark编写 ----
if your starting X manually as root, then maybe strace it. From the error message it seems to somehow have trouble opening some device file. Maybe it was actually the drm device file it was having problems with?
Reply to this email directly or view it on GitHub: https://github.com/freedreno/xf86-video-freedreno/issues/1#issuecomment-175099125
In this situation, only msmfb is present.
Xorg.log: