[SOLVED] mageia-prime and fonts change

[SOLVED] mageia-prime and fonts change

Postby adhefe » Mar 19th, '19, 03:02

Hi,

I'm using mageia-prime at mageia 7 beta2. Depending on the choice of integrated GPU or dedicated GPU, icons and windows fonts change a lot.

I've seen posts where people talk about how nvidia read EDID and make adjustments to fonts correspondingly and how to avoid it but coudn't solve the problem
here yet.
This seems interesting since it would keep fonts configuration no matter if the user is using intel (saving energy) or nvidia (performance).

Does anybody have a working solution in mageia?

Thanks
Last edited by adhefe on Mar 20th, '19, 16:14, edited 1 time in total.
adhefe
 
Posts: 64
Joined: Mar 11th, '19, 02:08

Re: mageia-prime and fonts change

Postby doktor5000 » Mar 19th, '19, 09:08

From what I remember, the drivers calculate DPI differently depending what you have configured for your monitor. You should be able to change that on the fly with xrandr:

Code: Select all
xrandr --dpi 96

or
Code: Select all
xrandr --dpi 120


depending on what driver you're using. Although from what I remember this will only affect applications started afterwards, applications that are already running will not be affected.

For a change for both drivers, have a look at https://github.com/ghibo/mageia-prime#troubleshooting
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 14684
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: mageia-prime and fonts change

Postby adhefe » Mar 19th, '19, 18:35

Thanks, doktor5000,

I would like to have this at boot.

Mageia prime created a xorg.conf file. I've tried, and it apparently worked, uncommenting some lines at section "Screen" in /etc/X11/xorg.conf,

Option "UseEDID" "off"
Option "UseEdidDpi" "false"
Option "DPI" "96 x 96"

As I said, it apparently worked, but in fact I don't know if this is the best solution. For example, I left unchanged the following lines at the same xorg.conf section:

#Option "DisplayDevice" "None"
#Option "IgnoreDisplayDevices" "CRT"
#Option "TripleBuffer" "true"

I would be thankful if somebody can tell me if this is good or bad or if there is another alternative for getting it working at boot.
adhefe
 
Posts: 64
Joined: Mar 11th, '19, 02:08

Re: mageia-prime and fonts change

Postby adhefe » Mar 19th, '19, 18:38

Yes,

https://github.com/ghibo/mageia-prime#troubleshooting

has the suggested solution although with somewhat different lines ...
adhefe
 
Posts: 64
Joined: Mar 11th, '19, 02:08

Re: mageia-prime and fonts change

Postby doktor5000 » Mar 20th, '19, 08:35

adhefe wrote:although with somewhat different lines ...


Those are the lines that you uncommented, minus Option "UseEDID" "off" so what do you mean by somewhat different?

Please also mark this as [SOLVED] by editing the subject of the first post, thanks in advance.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 14684
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: [SOLVED] mageia-prime and fonts change

Postby adhefe » Mar 20th, '19, 16:16

... minus Option "UseEDID" "off" ...

That's it. Since I have a rather limited understanding of X, i couldn't know if the instruction above is essential or not ...
adhefe
 
Posts: 64
Joined: Mar 11th, '19, 02:08

Re: [SOLVED] mageia-prime and fonts change

Postby doktor5000 » Mar 22nd, '19, 15:13

Well, EDID is still useful so the system knows more details about the dimensions of the display you're using. You just disabled recognition of DPI data from EDID data.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 14684
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Video

Who is online

Users browsing this forum: No registered users and 0 guests

cron