AnsweredAssumed Answered

Configuring a second graphics card with XWindows

Question asked by Michael Stevens on May 30, 2017
Latest reply on Jan 31, 2018 by Wiktor S. Ovalle Correa

I have the basic frame buffer working on fb0 and fb2.  If I do not launch XWindows, I can read and write to the framebuffers just find.

 

X is looking for a second card, but there is not one.

root@cgtimx6:/dev/dri# ls
card0

 

I have my fbs correctly configured. So what do I need to do in order to get the vivante /glxs to load two.  I can move between screens (fb0 and fb2) successfully, but I can not get both up. 

 

My displays are LVDS (800x480).  What do I need to configure to get it to add displays?  They are configured as separate.

 

echo 1>/sys/class/graphics/fb2/blank
cat /dev/fb0 >/tmp/a
cat /tmp/a >/dev/fb2

Will successfully copy the image from one screen to the other if X is not running.  So the hardware is configured correctly.

 

The X log shows

[3276244.299] (II) AIGLX: Screen 0 is not DRI2 capable
[3276244.299] (EE) AIGLX: reverting to software rendering
[3276244.696] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[3276244.697] (II) AIGLX: Loaded and initialized swrast
[3276244.697] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[3276244.697] (II) VIVANTE(0): Setting screen physical size to 211 x 127

 

I have attached my full conf and log files.  

Do I need to configure a sub device? 

Original Attachment has been moved to: Xorg.0.log.zip

Original Attachment has been moved to: xorg.conf.zip

Outcomes