No VGA video signal after installing pkg and rebooting

Bug #1897992 reported by Tomas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xserver-xorg-video-openchrome (Ubuntu)
Fix Committed
Undecided
Brace Computer Laboratory

Bug Description

MOBO: Asus p5v-vm ultra
Have a VIA P4M890 onboard gfx card . First after installing lubuntu 18 i could login but couldn't change 640x480 resolution. So i installed this package. After rebooting and seeing the lubuntu loading screen i loose video signal and the screen is black, green light blinking, as if the pc isn't sending any signal.

Revision history for this message
Tomas (ethan1987) wrote :

UPDATE:
Could login into Recovery mode and created etc/X11/xorg.conf with contents:....

Section "Device"
        Identifier "Configured Video Device"
        Driver "vesa"
EndSection

...As indicated in https://help.ubuntu.com/community/OpenChrome
Now lubuntu runs with 1024x768 resolution

Revision history for this message
Tomas (ethan1987) wrote :

Obviously that should be temporarily solution, because my intention is to use the openchrome driver, not generic vesa

Revision history for this message
Bartosz Kosiorek (gang65) wrote :

Please attach /var/log/Xorg.0.log after you X.org with Openchrome. It will be very useful.

Please try to contact with Kevin Brace directly: <email address hidden>
He is the maintainer of Openchrome driver.

Changed in xserver-xorg-video-openchrome (Ubuntu):
status: New → Incomplete
Revision history for this message
Bartosz Kosiorek (gang65) wrote :

More information about OpenChrome driver is available at:
https://github.com/freedesktop/openchrome-xf86-video-openchrome

Revision history for this message
Tomas (ethan1987) wrote :

here's the file requested, also sending it via mail to Kevin
i attached .old file because after triggering the error i relogged using vesa...

Revision history for this message
Brace Computer Laboratory (bracecomputerlab) wrote :

I took a look at the Xorg.0.log.old you attached.
It appears that the host (your computer) is not seeing the monitor via I2C bus, and that's why it is not able to configure the monitor.
It could be a hardware issue (monitor / cable / mainboard VGA connector).
Before recommending installing the current development tip (OpenChrome DDX Version 0.6.315), your may want to figure out which one of them might be at fault.
If you have another computer that has a VGA output, test the monitor and cable with that one to see if the hardware is working correctly.

Changed in xserver-xorg-video-openchrome (Ubuntu):
assignee: nobody → Brace Computer Laboratory (bracecomputerlab)
Revision history for this message
Tomas (ethan1987) wrote :

Hi,
As far as i understand the monitor, board vga connector and cables work perfectly because i use them with no problems at all botting windows 10 and also lubuntu using vesa driver...
Also the monitor (and it's integrated cable) were brought from another computer where they worked ok...
i don't understand what I2C bus is and how to test it, i googled a bit but the matter appears to surpass my knowledge
Thx

Revision history for this message
Brace Computer Laboratory (bracecomputerlab) wrote :

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.

Revision history for this message
Tomas (ethan1987) wrote :

Ok it's working. Thank you Kevin.

Revision history for this message
Brace Computer Laboratory (bracecomputerlab) wrote :

How did you manage to fix the issue?
Did you install the latest development tip or did you manage to get the older version (Version 0.6.0) working?

Revision history for this message
Tomas (ethan1987) wrote :

I did everything you told me on your last instructions including
$ git branch main origin/main
$ git checkout main

Revision history for this message
Tomas (ethan1987) wrote :

Also checked Xorg.0.log to find that openchrome module was loaded
I don't have that pc at hand right now so i can't check for the version number

Revision history for this message
Tomas (ethan1987) wrote :

Also many more resolutions options showed than before

Revision history for this message
Tomas (ethan1987) wrote :

(sory for the many posts, i'm realizing things as times goes by)
Now that i think of it i don't know what i did when

$ git branch main origin/main

it didn't returned errors so i don't know if i copied or renamed a branch

git branch (-m | -M) [<oldbranch>] <newbranch>
is supposed to rename for example....

was i supposed to choose one of the options between origin/main ? idk
or was it a path?

Revision history for this message
Brace Computer Laboratory (bracecomputerlab) wrote :

Try this,

$ git branch -v

Revision history for this message
Brace Computer Laboratory (bracecomputerlab) wrote :

You can also post a new Xorg.0.log to see which version is running.

Revision history for this message
Tomas (ethan1987) wrote :

I don't have that pc at hand right now so i can't check for the version

Changed in xserver-xorg-video-openchrome (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Bartosz Kosiorek (gang65) wrote :

Please attach your Xorg.0.log file after successfully running Openchrome driver.

Changed in xserver-xorg-video-openchrome (Ubuntu):
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.