Over the past few years, I have tried and failed to figure out how to build the 
latest version of xserver-xorg-video-openchrome package.
Hence, you will have to compile the latest upstream code, and install it 
somewhere manually.

https://cgit.freedesktop.org/openchrome/xf86-video-openchrome/


If you don't have Git installed already, install it now.

$ sudo apt-get install git


Setup OpenChrome DDX build dependency.

$ sudo apt-get build-dep xserver-xorg-video-openchrome


You will clone the OpenChrome DDX repository first.

$ git clone git://anongit.freedesktop.org/openchrome/xf86-video-
openchrome


Move into the OpenChrome DDX directory.

$ cd xf86-video-openchrome


When compiling the code, you will like to work with 'main' branch rather than 
'master' branch.
'master' branch is already deprecated, and should not be used.
All the current development happens on 'main' branch.
Make sure to switch to 'main' branch before compiling the code.

$ git branch main origin/main
$ git checkout main


When working with the latest upstream code, and I recommend installing it to 
/opt/xorg.
Prepare the compilation script.

$ autoreconf -v --install
$ ./configure --prefix=/opt/xorg --enable-debug --enable-xv-debug 
--enable-viaregtool


You are free to remove ". . . --enable-debug --enable-xv-debug 
--enable-viaregtool" portion if you want to.
Obviously, '$' and '#' are not literally entered inside the terminal.
Compile the code.

$ make


Install the code.

$ sudo make install


Before you can use the latest code, you will also need to tell the X Server to 
search /opt/xorg when starting up the X Server.
Courtesy of Radeon developers (https://www.x.org/wiki/radeonBuildHowTo/), 
insert the following text into a xorg.conf file.

Section "Files"
    ModulePath "/opt/xorg/lib/xorg/modules,/usr/lib/xorg/modules"
EndSection


You will need to figure out where to insert the xorg.conf file, but at least 
for recent releases of Ubuntu, I usually put it into 
/usr/share/X11/xorg.conf.d/.
In order to create and / or edit xorg.conf, you will need root privilege.

$ sudo nano -w /usr/share/X11/xorg.conf.d/xorg.conf


Generally speaking, you do not really need to provide other manual options to 
the X Server for OpenChrome DDX to function properly.
This new installation method preserves the original OpenChrome DDX while 
allowing the user to bypass the older DDX.
If there is newer version of the code, you can pull it into your local 
repository.

$ git pull


Repeat the above procedure for generating the compilation script.
If you wanted to remove the code, you can simply get rid of /opt/xorg

$ sudo rm -R /opt/xorg


You can also remove the above 3 lines from your xorg.conf.
I hope this solves the issue.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1897992

Title:
  No VGA video signal after installing pkg and rebooting

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-openchrome/+bug/1897992/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to