Hi folks,
I have installed U-Mate on an eeeBox and it went smoothly. However I am also recycling a Phillips 4x3 style screen that the U-Mate/computer does not recognise and does not offer 1280x1024 dimensions required for this screen. I have been able to devise CLI commands using 'xrandr' to define a screen mode and I am quite happy with it.
To invoke it automatically, I have added the above lines to /usr/sbin/lightdm-session and now have the screen appearing after login. So far so good....
To tidy things up I would like the screen definition to "work" earlier in the boot up as the initial U-Mate screens are still distorted. I have read a lot of conflicting advice about this, and I would like to be pointed to some definitive advice as to how I can can embed the definition, as early (deeply?) as possible and, most importantly, in the most logical place. eg if I swap monitors, I don't have to undo it all, I can just select the new monitor.
Thank you for interest so far, any ideas/suggestions, Rob
Total monitor resets did not work. Manual adjustments only worked after applying new screen mode as I outlined above. Using the new screen mode and manual monitor settings gives a perfect screen, but only automatically after the login screen (using the above /usr/sbin/lightdm-session approach).
I want to be able to embed the definition as early as possible in the boot process. Oddly enough grey GRUB boot screens have always filled the screen, whereas the GUI green screens with UMate logos revert to 1024x768 and fills vertically, but leaves a huge black gap on the right hand side. (ie CPU delivers 1024 wide, but monitor scans 1280!)
Much of the www advice is outdated and does not apply to modern UMate setup, so I need help. The login/logout screens are ultimately not critical, but it is an intensely annoying start/end to a session!
Thanks for your interest Wolfman, you are great resource.
I have read the article and this is what I got from the 'lspci' command that the web page recommended.
That web page said Ubuntu already had the best drivers for Intel. So I think that part is OK?
I did the first major apt-get upgrade last night and rebooted this morning and my alterations to /usr/sbin/lightdm-session were overwritten confirming my fears that this was a bad place to add things into.
Other advice I have read refer to files or folders that do not exist on the U-Mate system, so I guess I am out on the fringes of the Ubuntu system and needs some pretty specific U-Mate advice.
Cheers, Rob
How did you create your bootable media?, DVD or USB and did you follow this advice? (It may be a faulty install causing the problem as I have an Intel GPU on my mini notebook and that runs fine!):
try taking a look at the update guide and the first 3 pics about using Welcome and possible fixes?, you could also try changing your software sources update location and try updating again?. it may be a case of missing dependencies?:
Sorry just on further reflection Wolfman, I am thinking maybe the real
cause is the Philips monitor not reporting successfully to the eeeBox.
The eeeBox has a DVI connector and I use the DVI->VGA connector that
comes with the eeeBox to feed VGA to the monitor. This maybe
non-standard? However I canāt recall having these problems running
XUbuntu on it previously. I am pretty sure I did not have this problem
with it. U-Mate just says the monitor is āUnknownā, and just presents
the default 1024x768 alternative as the highest res available. How can
I test what monitor definitions it does hold and how the Philips
compares against them. Or does it get all that from a dialogue directly
with the monitor? Once the new screen mode is in, it does appear in the
Control Center Displays Application as a valid choice. If I could add
that definition permanently to the default list in Displays, I would be
right?
the adapter may well be the cause of the problem but I cannot really say as I donāt use such things!.
If Xubuntu ran okay then I would first try updating as I said above first, if that doesnāt help, play around with the adapter and see if you can get a result that way?.
Have you run a live CD test to see if it happens when running in live mode?. Try it out and see what the res is and if it is higher, then I can only assume that something isnāt quite right with your system?.
if by initial U-Mate screen you ment āBoot Splashā (plymouth) , then you have to edit the bootloader config file.
Just do in terminal
sudo nano /etc/default/grub
And change line
GRUB_GFXPAYLOAD_LINUX={Your resolution}
if the line is commented out with ā#ā then remove the ā#ā sign
The thing is that everything before the login-manager is not handled by the X server.
For that part there is no dynamic way to change the settings at runtime.
And for after that i found a tool called āautorandrā wich detects monitors and diffirent configs can be activated for them.
see : https://github.com/wertarbyte/autorandr for more information
I have triple checked the cables are all firm etc and then discovered
the Philips has a DVI socket, so I can try DVI -> DVI if I can
source/borrow a cable (I am not buying another cable unless I am
guaranteed it works!). The eeeBox does not have a CD-ROM drive, just USB
ports, audio, RJ45 and built in wifi. However I do have the USB stick I
installed from, I can try that. Or maybe I could down load the latest
XUbuntu ISO and do a live one with it??
You can change the resolution in grub using the video= kernel command line parameter. Itās not massively well documented but something like this would do it:
Iāve not seen that debian link before. Itās got a great explanation on how to set up an xorg.conf; much clearer than the link I gave.
It could do with some updating though (last edited in 2012). No mention of KMS!
The modern way is not to set up an xorg.conf and it should be avoided whenever possible. People are seemingly incapable of writing them. Itās not an exaggeration to say that nearly every example on the internet has something wrong with it!
The request in the opening post was to setup the mode as early as possible. This can be done through KMS. As Iāve previously said in this thread there is not great documentation on it, but I believe the video line I gave is about right (not on a Linux machine to test at the mo sorry).
Good news and bad news. Good news: my main system has a DVI->DVI cable and swapping it over to the eeePC fixed it completely. The monitor stops complaining about not using its āidealā resolution of 1280x1024, and all screens from grub to login and logout are at the desired resolution 1280x1024, or at least fill the screen correctly. So that is a relief, however in the search for a DVI-DVI, I found I had 3 more VGA-VGA cables, and now a fourth one seeing I will have to replace it too, gggrrrrr. The bad news is I have been taking up your time excessively. Though I think without your comments I would not have got to the bottom of it as quickly as I did. I have tried some of the suggestions about changing Grub configuration files and had trouble finding the exact files (mentioned by veggrower) to change, and in researching editing Grub found a lot of material that was well over my head. So I think I will be leaving the current patch/kludge (in the lightdm files) as it is, and just ordering a DVI->DVI cable instead, and ripping the patch out when the cable arrives. I would have liked to have verified your advice veggrower as it looks tantalising ārightā, but I think it is a bit beyond my skill level, thank you for support. Thanks for your time too Wolfman.
Conclusion: Donāt trust simple DVI-VGA adapters, as I think it was the real villain in my setup. And now I get 7 possible screen settings in the menu, so it all seems good.