Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel 4.7.0 and nouveau driver breaks most consolefonts
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
pking
n00b
n00b


Joined: 11 Sep 2009
Posts: 61

PostPosted: Sat Jul 30, 2016 11:25 pm    Post subject: Kernel 4.7.0 and nouveau driver breaks most consolefonts Reply with quote

After upgrading to 4.7.0, I found that most console fonts did not display correctly -- I usually use sun12x22, for instance, and on the framebuffer this no longer displays the underscore for the cursor, and leaves dashed-line artifacts all over the screen. Similarly, larger sizes of terminus or termsyn were not drawn correctly. I finally found that ter-16n is acceptable, but I'd like to know what happened and how to get sun12x22 back again.

For what it's worth this is on a ThinkPad W510 with 1920x1200 native resolution. I haven't seen anyone else report this issue, so it may be something local to my hardware.

Any ideas? Thanks.
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2158
Location: Berlin, Germany

PostPosted: Sun Jul 31, 2016 7:25 am    Post subject: Reply with quote

You could bisect between kernel 4.6 and 4.7 to find the offending commit, if that commit is related to nouveau then report this at https://bugs.freedesktop.org/

Is only the internal (LVDS?) display affected, or also external monitors?
Back to top
View user's profile Send private message
irafiral
n00b
n00b


Joined: 31 Jan 2005
Posts: 29
Location: Germany

PostPosted: Sun Jul 31, 2016 1:27 pm    Post subject: Reply with quote

It is not something with your local hardware.
I use nouveau and font sun12x22 for console on a desktop with two different displays.
I have the described issue on both displays when booting with kernel 4.6.5, but I have it not when booting with kernel 4.6.4.
So I guess kernels >= 4.6.5 affected and something is wrong or new in nouveau kernel code.
Back to top
View user's profile Send private message
pking
n00b
n00b


Joined: 11 Sep 2009
Posts: 61

PostPosted: Sun Jul 31, 2016 2:00 pm    Post subject: Reply with quote

My experience is similar; kernel 4.6.4 and earlier were fine, I didn't run 4.6.5, and 4.7.0 shows the problem. Sounds like a bug getting introduced in 4.6.5 somewhere. I can't tell about external displays because I don't have one available to me right now; if anyone else is running nouveau, please try sun12x22 on an external display and see what it looks like. I am not competent to run down a bug/feature in the graphics module of nouveau, unfortunately. But I'm surprised the issue hasn't been noted more widely -- after all, nouveau is fairly common.

Drat.
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2158
Location: Berlin, Germany

PostPosted: Mon Aug 01, 2016 6:52 am    Post subject: Reply with quote

nouveau is common, but I guess that people using non-default consolefonts are no longer that common.

According to https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/log/drivers/gpu/drm/nouveau?h=linux-4.6.y there were nine nouveau patches between 4.6.4 and 4.6.5
So even if you don't want to git bisect, you could try to apply them in reverse to your kernel and see which one caused the problem. In particular, this one https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?h=linux-4.6.y&id=d91d25ce65ff5f6b98f07a8db89e7f83f4eb64cf looks like a candidate.

And again, reporting this upstream (if no report already exists) is important or else this problem won't get fixed.
Back to top
View user's profile Send private message
pvgoran
n00b
n00b


Joined: 12 Aug 2016
Posts: 2

PostPosted: Fri Aug 12, 2016 11:04 am    Post subject: Reply with quote

I also have this problem, with kernel 4.7.0-pf1 (from https://pf.natalenko.name/).

chithanh wrote:
And again, reporting this upstream (if no report already exists) is important or else this problem won't get fixed.

Do I have to use one of kernel's mailing lists to report this? (I'd rather not, because this means I have to subscribe which is a pain.)
If yes, which one? linux-kernel@vger.kernel.org?
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2158
Location: Berlin, Germany

PostPosted: Fri Aug 12, 2016 11:39 am    Post subject: Reply with quote

Report it to freedesktop bugzilla or the nouveau mailing list
https://nouveau.freedesktop.org/wiki/Bugs/
Back to top
View user's profile Send private message
irafiral
n00b
n00b


Joined: 31 Jan 2005
Posts: 29
Location: Germany

PostPosted: Sat Aug 20, 2016 6:20 pm    Post subject: Reply with quote

linux-4.7.2

[url]https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?id=6687b5661ac14fe2ed995e1cdb28529eb3617de8[/url]
Back to top
View user's profile Send private message
pvgoran
n00b
n00b


Joined: 12 Aug 2016
Posts: 2

PostPosted: Sun Aug 28, 2016 11:21 am    Post subject: Reply with quote

So they fixed it. Good news.
Back to top
View user's profile Send private message
as.gentoo
Guru
Guru


Joined: 07 Aug 2004
Posts: 319

PostPosted: Wed Nov 02, 2016 9:15 pm    Post subject: Reply with quote

On the first sight I seem to have the same problem although missing visibility of the unserscore '_' does not happen in the terminal (ALT+STRG+F1 to ALT-+STRG+F6).
Code:
$> echo "a b_c"
a_b_c
That is what it looks like here now.

Code:
$> eix nouveau | grep -E '^\*|Install'
* x11-drivers/xf86-video-nouveau
     Installierte Versionen: Version:   1.0.13
Now, this only happens with Konsole but not with LXTerminal. Among the differences is the font size. I tried to set the font DejaVu Sans Mono from size 14 to size 13 and that just did it.

… Just in case somebody else stumbles upon this.
Is that worth filing a bug?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum