I have Lubuntu 14.04 installed on my desktop pc. The desktop pc has a SiS 651 graphics chipset.
As apparently commonly occurs with SiS graphics users, the resolution needed to be fixed by configuring Xorg to read in the sis drivers instead of the modesetting.
I did this with the following steps:
- Create the xorg.conf file in /etc/X11/ with:
sudo service lightdm stop
sudo Xorg -configure
sudo mv xorg.conf.new /etc/X11/xorg.conf
- Edit the xorg.conf file, replacing (in the
Section "Device"section)
Driver "modesetting"
with
Driver "sis"
and adding (in the Section "Monitor" section)
HorizSync 28.0 - 83.0
VertRefresh 56.0 - 75.0
and adding (in the Section "Screen" section, in the last SubSection "Display" subsection)
Modes "1360x768"
So far, so good. The resolution is now fixed and I can use 1360x768 resolution (the computer is capable of even more, but my television isn't). At this point the splash screen was still displaying correctly.
Next I want to get Lubuntu to read in the sisfb framebuffer driver, so that I can enable 2D acceleration and fully use the chipset's frame buffer capabilities.
I achieved that in a process covered by this question. But I shall summarise here:
I added the line
sisfbto the end of/etc/modulesI edited the
/etc/modprobe.d/blacklist-framebuffer.confand/etc/modprobe.d/fbdev-blacklist.conffiles, commenting out theblacklist sisfblines by adding#at the beginning of the line. I also blacklisted vesafb by deleting#at the beginning of theblacklist vesafblines.I disabled the
vesafbframebuffer in grub2 by editing/etc/default/gruband uncommenting the line:
GRUB_TERMINAL_OUTPUT=console
by deleting the # at the beginning of the line. Then I executed the command:
sudo update-grub
and rebooted. (When vesafb loads, it prevents sisfb from loading. By disabling vesafb, sisfb can load and take the framebuffer memory)
At this point,
/etc/X11/xorg.confrenamed itself/etc/X11/xorg.conf.11282015, and the splash screen became corrupted: instead of the splash screen I saw lots of coloured vertical stripes, as if the computer had crashed. After a few seconds, the splash screen went away and the greeter came on fine, albeit at a low resolution. But according to the logs,sisfbhas loaded.I renamed
/etc/X11/xorg.conf.11282015back to/etc/X11/xorg.confand rebooted. So now, my resolution is back to 1360x768, andsisfbhas loaded (framebuffer memory is allocated and 2D acceleration is enabled according to logs), but I have a corrupted splash screen.
I can live with the corrupted splash screen, but other users may think that the computer has crashed when all they have to do is wait a few seconds. And ideally I would like a working splash screen, but without reverting to losing the sisfb driver.
Any ideas on how to restore the splash screen without losing the sisfb driver?
EDIT: Here are a couple of things I have tried
- I added the line
GRUB_GFXPAYLOAD_LINUX=textto/etc/default/gruband didsudo update-grub, hoping I would get a text splash instead. Still got a corrupted splash screen, before getting to the greeter displayed as normal. (So I have removed it) - I added the line
GRUB_PRELOAD_MODULES="sis sisfb"to/etc/default/gruband didsudo update-grub. This resulted in a corrupted grub menu as well as a corrupted splash screen. Fortunately I only had to wait for the menu to select the default, then wait for the splash screen, then wait for the greeter. (So I removed it) - I pressed "c" at the grub menu to enter console mode. I then entered the command
insmod video_all(as described in mniess' answer here). I got the errorerror: file '/grub/i386-pc/video_all.mod' not found.UPDATE: I have discovered that the correct command isinsmod all_videonotinsmod video_all.videoinfothen produces a long list of available resolutions that disappear off the top and right of the screen. This doesn't help me because I have already triedGFX_PAYLOAD_LINUX=800x600without success, and I can at least see that 800x600 is available. - I have tried adding the line
GRUB_VIDEO_BACKEND=sisto/etc/default/gruband didsudo update-grub. I got aPress any key...message after the grub menu. On pressing a key I got the corrupted splash screen, then the normal greeter. I tried again withGRUB_VIDEO_BACKEND=sisfbinstead and got the same result.