Xfce ubuntu beaglebone black sgx module xrandr

I followed the instructions here
and I have successfully booted into my freshly installed system. I also installed xfce which I successfully can start the DE by issuing startx. One thing though.
When I enter xrandr from within xfce I get the following

xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1280 x 1024, current 1280 x 1024, maximum 1280 x 1024
default connected 1280x1024+0+0 0mm x 0mm
   1280x1024      0.00*` `

Accordingly there is no HDMI-0 output, so I can not issue
xrandr --output HDMI-0 --mode 1024x768 --rate 60

Is it something wrong with my configuration?

Furthermore, do I need to run the sgx_build_modules.sh script?

@umbaman thanks for the report, just confirmed, that xrandr no longers shows “HDMI-0”…

ubuntu@arm:~$ xrandr -q
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1280 x 1024, current 1280 x 1024, maximum 1280 x 1024
default connected 1280x1024+0+0 0mm x 0mm
   1280x1024      0.00* 
ubuntu@arm:~$ xrandr --listmonitors
xrandr: Failed to get size of gamma for output default
Monitors: 1
 0: +default 1280/339x1024/271+0+0  default
ubuntu@arm:~$ xrandr --listproviders
Providers: number : 0

Regards,

@RobertCNelson Thanks for the reply.
Could you please elaborate on the process of building and incuding sgx modules.
I can see the sgx_build_modules.sh script. I guess it needs to be run
Running only the create package isn’t enough, because the corresponding modules are not installed on the target machine.
So is there a step I am missing?
Kind Regards

@umbaman, first you need to be aware, that we only have “sgx” working with the bone kernels, in “FBDEV” mode, aka no mouse cursor/xorg/etc… It’s been forward ported since the 3.8.x days, so there will be bugs…

There’s two scripts in the repo

sgx_build_modules.sh and sgx_create_package.sh

They are really the same script, “sgx_create_package.sh” assumes you’ve installed the sgx modules from the apt repo for your kernel. Where as the “sgx_build_modules.sh” builds both the modules and the create package install script.

Regards,

1 Like