russdirks
Posts: 5
Joined: Mon Jun 10, 2019 1:55 am

Enhanced graphics for Raspbian Lite

Mon Jun 10, 2019 2:06 am

I've been comparing the Raspbian Lite distro with the Ubuntu 18.04 distro for the RPi 3 B+, and have decided to go with Raspbian Lite ... except there is one thing I like about the Ubuntu distro, and that is it has sharper graphics and nicer colors. I'm talking CLI here of course. When I boot the Ubuntu distro, part way through, I can see it switch to the higher res graphics, but I can't see anything on the screen that would give me a hint as to what specific program or package is responsible.

So my question is, does anyone know how the Ubuntu distro is getting those nice graphics, and would I be able to install something on Raspbian to get something similar?

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 22697
Joined: Sat Jul 30, 2011 7:41 pm

Re: Enhanced graphics for Raspbian Lite

Mon Jun 10, 2019 6:34 am

By default raspbian should boot to the best resolution the monitor supports, so not sure why Ubuntu would look better.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
"My grief counseller just died, luckily, he was so good, I didn't care."

User avatar
Gavinmc42
Posts: 3151
Joined: Wed Aug 28, 2013 3:31 am

Re: Enhanced graphics for Raspbian Lite

Mon Jun 10, 2019 7:51 am

It is probably the X11 Desktop Design that makes it look better.
You can start with Raspbian Lite and install a X11 Desktop.

Many choices of X11 Desktops based on different Windowing managers.
A search will find how too and some images.
viewtopic.php?f=66&t=133691&hilit=X11+desktop+lite

Nice graphics is a personal opinion too.
Find a Linux Desktop you like the look of and see if you can get it installed on a Pi.
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

User avatar
scruss
Posts: 2257
Joined: Sat Jun 09, 2012 12:25 pm
Location: Toronto, ON
Contact: Website

Re: Enhanced graphics for Raspbian Lite

Mon Jun 10, 2019 8:09 am

Ubuntu also (used to?) use the infinality font tweak package that could get fonts looking better than Mac OS: lots of subpixel rendering and correcting for LCD pixel colours. It may be standard everywhere now.
‘Remember the Golden Rule of Selling: “Do not resort to violence.”’ — McGlashan.

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 22697
Joined: Sat Jul 30, 2011 7:41 pm

Re: Enhanced graphics for Raspbian Lite

Mon Jun 10, 2019 8:33 am

scruss wrote:
Mon Jun 10, 2019 8:09 am
Ubuntu also (used to?) use the infinality font tweak package that could get fonts looking better than Mac OS: lots of subpixel rendering and correcting for LCD pixel colours. It may be standard everywhere now.
Very CPU intensive though. I'll check with Simon to see how we deal wtih this stuff.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
"My grief counseller just died, luckily, he was so good, I didn't care."

russdirks
Posts: 5
Joined: Mon Jun 10, 2019 1:55 am

Re: Enhanced graphics for Raspbian Lite

Mon Jun 10, 2019 3:43 pm

Gavinmc42 wrote:
Mon Jun 10, 2019 7:51 am
It is probably the X11 Desktop Design that makes it look better.
You can start with Raspbian Lite and install a X11 Desktop.

Many choices of X11 Desktops based on different Windowing managers.
A search will find how too and some images.
viewtopic.php?f=66&t=133691&hilit=X11+desktop+lite

Nice graphics is a personal opinion too.
Find a Linux Desktop you like the look of and see if you can get it installed on a Pi.
The Ubuntu 18.04 distro I was talking about was the Server edition, so I guess there wouldn't be any window manager packages running.

My plan is to use this as a server, so I won't be installing a GUI.

russdirks
Posts: 5
Joined: Mon Jun 10, 2019 1:55 am

Re: Enhanced graphics for Raspbian Lite

Mon Jun 10, 2019 4:44 pm

Here's some pictures. I especially like the Blue (34) and Light Blue (94) on Ubuntu Server.

Raspian Lite:
RLite.jpg
RLite.jpg (66.03 KiB) Viewed 387 times

Ubuntu 18.04 Server:
UbuntuServer.jpg
UbuntuServer.jpg (54.63 KiB) Viewed 387 times

russdirks
Posts: 5
Joined: Mon Jun 10, 2019 1:55 am

Re: Enhanced graphics for Raspbian Lite

Mon Jun 10, 2019 4:48 pm

jamesh wrote:
Mon Jun 10, 2019 6:34 am
By default raspbian should boot to the best resolution the monitor supports, so not sure why Ubuntu would look better.
My guess is that what I'm seeing is not so much a resolution issue, but rather some kind of graphic rendering feature of the CLI

User avatar
Gavinmc42
Posts: 3151
Joined: Wed Aug 28, 2013 3:31 am

Re: Enhanced graphics for Raspbian Lite

Mon Jun 10, 2019 11:48 pm

Ok, headless mode not X11, never noticed that before.
The default font can be changed?
That Ubuntu font still looks like pixels so different rendering would not make any difference.
It is also a san serif font, which will look different than the Raspbian font.

Does anyone know how to change the default font?
Or link it?
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

Andyroo
Posts: 3306
Joined: Sat Jun 16, 2018 12:49 am
Location: Lincs U.K.

Re: Enhanced graphics for Raspbian Lite

Tue Jun 11, 2019 12:12 am

Third screen of

Code: Select all

sudo dpkg-reconfigure console-setup
Let’s you select from some fonts but no idea where these come from :roll:
Need Pi spray - these things are breeding in my house...

User avatar
Imperf3kt
Posts: 2393
Joined: Tue Jun 20, 2017 12:16 am
Location: Australia

Re: Enhanced graphics for Raspbian Lite

Tue Jun 11, 2019 2:06 am

Looks like Droid Sans Mono font
https://en.wikipedia.org/wiki/Droid_fonts


I would have expected it to be Ubuntu font
https://en.wikipedia.org/wiki/Ubuntu_(typeface)
Google is ubiquitous - Try it today, it's free!
https://opensource.com/life/16/10/how-ask-technical-questions

russdirks
Posts: 5
Joined: Mon Jun 10, 2019 1:55 am

Re: Enhanced graphics for Raspbian Lite

Tue Jun 11, 2019 2:22 am

@Andyroo: Cool! Works like a charm. At least for the font. There's still a tiny difference in how those two blues are rendered.

Just in case anyone is wondering, the default font in Raspian Lite was "VGA". I ended up going with "Goha" to get something similar to the second screenshot above.

Return to “Raspbian”