X11 drivers - Odroid-C2

This is for ARMv8 based devices

Re: X11 drivers - Odroid-C2

Postby WarheadsSE » Sun Aug 07, 2016 2:31 pm

Check the permissions on /dev/dri/card0
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: X11 drivers - Odroid-C2

Postby Calinou » Tue Aug 09, 2016 12:17 pm

I just acquired an ODROID C2, installed the "xf86-video-odroid-c2" driver but startx/startxfce4 tells me no screens are found. I've also tried the "odroid-c2-libgl-fb" driver, with the exact same issue.

My user is part of the "video" group as advised, and I've checked the permissions on /dev/dri/card0 (user root, group video, both read/write, seems fine to me).
Calinou
 
Posts: 2
Joined: Sat Aug 06, 2016 11:14 pm

Re: X11 drivers - Odroid-C2

Postby jowemi » Tue Aug 09, 2016 3:26 pm

Same issue with "No screens found" using the xf86-video-odroid-c2 driver. Using xf86-video-fbturbo-git driver on the other hand starts DWM for me fine. However, like some reported earlier, many aspects of the screen are black, i.e., background, mouse, menu bar etc..

Setting
$this->bbcode_second_pass_code('', 'setenv m_bpp "24"')
in /boot/boot.ini seems to fix the blackness.
jowemi
 
Posts: 3
Joined: Mon Aug 08, 2016 3:57 pm

Re: X11 drivers - Odroid-C2

Postby Calinou » Tue Aug 09, 2016 4:10 pm

I've got Xfce working by using LightDM (I wasn't using any display manager, prior to that), but I don't have 3D acceleration.

Launching glxgears causes this to appear in the terminal:

$this->bbcode_second_pass_code('', 'libGL error: unable to load driver: mali_drm_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: mali_drm')
Calinou
 
Posts: 2
Joined: Sat Aug 06, 2016 11:14 pm

Re: X11 drivers - Odroid-C2

Postby AMList » Mon Sep 12, 2016 6:29 pm

So, did someone get the working x11 driver?
AMList
 
Posts: 1
Joined: Mon Sep 12, 2016 6:24 pm

Re: X11 drivers - Odroid-C2

Postby respire » Mon Sep 26, 2016 12:13 pm

The advice given by @jowemi to set `setenv m_bpp "24"` in the boot.ini solves the blackness issue for me also.

I have ` xf86-video-fbdev` and `xf86-video-vesa` installed. Can someone report any benefit of using `xf86-video-odroid-c2` or `xf86-video-fbturbo-git`?
respire
 
Posts: 4
Joined: Mon Sep 26, 2016 12:03 pm

Re: X11 drivers - Odroid-C2

Postby WarheadsSE » Mon Sep 26, 2016 1:58 pm

I would remove -vesa, and use either -fbdev, -fbturbo, or -odroid-c2
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: X11 drivers - Odroid-C2

Postby respire » Tue Sep 27, 2016 8:57 am

$this->bbcode_second_pass_quote('', 'I') would remove -vesa, and use either -fbdev, -fbturbo, or -odroid-c2


Thanks for the recommendation. If I install several drivers, how can I select which one should be in use?
respire
 
Posts: 4
Joined: Mon Sep 26, 2016 12:03 pm

Re: X11 drivers - Odroid-C2

Postby wdirksen » Tue Dec 20, 2016 3:09 am

Using xf86-video-odroid-c2 driver does not give OpenGL ES 2.0 video acceleration in any package I have tried in Arch ARM aarch64 system. The mali fb driver does not render video well either. Is there something I'm missing here. Thanks
wdirksen
 
Posts: 11
Joined: Thu Dec 15, 2016 3:19 am

Re: X11 drivers - Odroid-C2

Postby archarmfan777 » Mon Feb 27, 2017 2:10 am

pacman -S xf86-video-fbturbo-odroid-c2-git
systemctl start gdm

Worked like a charm for me to get the desktop, BUT as you said the rendering/decoding for video (i.e. youtube, mpv) is much slower than the behaviour as experienced within Android OS. Tried the other non framebuffer drivers, but I got no gdm desktop with those.

I installed the x11 driver along with the above, then installed xterm in order to get a terminal within gnome at least because the default terminal app doesn't display.

I also recommend installing pamac-gui, pacaur and yaourt. within the pamac gui you can set the preferences to search the AUR first. It is worth it because there are many packages there you won't find within the default arch repos.
archarmfan777
 
Posts: 3
Joined: Thu Feb 23, 2017 3:01 am

Previous

Return to ARMv8 Devices

Who is online

Users browsing this forum: No registered users and 7 guests