Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Feb 2018 00:33:26 +0100 (CET)
From:      =?ISO-8859-1?Q?Trond_Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no>
To:        FreeBSD stable <freebsd-stable@freebsd.org>
Subject:   Re: Locale problem updating 10.3 to 11.1
Message-ID:  <alpine.BSF.2.21.1802190032250.24158@mail.fig.ol.no>
In-Reply-To: <20180218230251.GA60727@klump.hjerdalen.lokalnett>
References:  <20180218230251.GA60727@klump.hjerdalen.lokalnett>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 19 Feb 2018 00:02+0100, Eivind Nicolay Evensen wrote:

> Hello.
> 
> After upgrading from 10.3 to 11.1 by building source (as of r329364),
> I experienced some problems that seems to be related to locale.
> 
> Using
> > echo $LANG -- $LC_CTYPE
> no_NO.ISO8859-1 -- no_NO.ISO8859-1

That's nb_NO.ISO8859-1.
nb for norsk bokmål.

> ls emitted question mark for Norwegian characters (æøå), the menu
> and title fonts in fvwm2 displayed unknown to me symbols except for
> certain capital letters and yet other programs like the worker filemanager
> truncated filenames at the first Norwegian letter.
> 
> I had to revert to 10.3 because of this but if anybody has some clues
> what may be the reason for this, I'd appreciate it.

-- 
Trond.
From owner-freebsd-stable@freebsd.org  Mon Feb 19 05:14:25 2018
Return-Path: <owner-freebsd-stable@freebsd.org>
Delivered-To: freebsd-stable@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id 93D3BF026C1
 for <freebsd-stable@mailman.ysv.freebsd.org>;
 Mon, 19 Feb 2018 05:14:25 +0000 (UTC)
 (envelope-from kob6558@gmail.com)
Received: from mail-ua0-x231.google.com (mail-ua0-x231.google.com
 [IPv6:2607:f8b0:400c:c08::231])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 2A189808B6
 for <freebsd-stable@freebsd.org>; Mon, 19 Feb 2018 05:14:25 +0000 (UTC)
 (envelope-from kob6558@gmail.com)
Received: by mail-ua0-x231.google.com with SMTP id m43so5429374uah.1
 for <freebsd-stable@freebsd.org>; Sun, 18 Feb 2018 21:14:25 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:sender:in-reply-to:references:from:date:message-id
 :subject:to:cc;
 bh=PlG51fqfn0ZAgB7gXNXSJAvU9jNJzkEHKamB9y0OhBA=;
 b=uaOIZlaCp1cDlYo+eRbwzXAPA6Vy8MozaN1xL5duaosqqWq6hssuYj8NxcEKBnHNWd
 sBanSOvhqib3al0OXhx2/gj6uXhsHbSga0RshhmwlT/hb6+gGwtQ6VvDfgKkHs5d+fP5
 pwVM1UkHw79qLcgvDOa8ZgQ3QoZeeQHq98M8g6OsU3xmjJQvcYmU/0zb6Aen3UeUMFES
 7HryCBPla6zrk0q/G2ba7P7qZI/hJGdmdyvhLPkB++5WVFbaIcx3nc0pZHl+MG8gUzP6
 DqoJUtxYpN3bKfc7we7qAGZbendaz0h5TEgmxGZsrFMocc6w6ILh3waxd3nrp45qjuU5
 R3UA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:sender:in-reply-to:references:from
 :date:message-id:subject:to:cc;
 bh=PlG51fqfn0ZAgB7gXNXSJAvU9jNJzkEHKamB9y0OhBA=;
 b=TRRUVdMM/PSJJIMgCa1T8WWtlc/RbIDDfX6YZECpS05dzZyy7R6FU5wx2/2uvJA8yb
 jfzzW3tRKN5Gtc5YxNzTivevBXdk+qDgvKhWqHtfuiLYs23drqlYX3IGs7ReXc2/Zczt
 g7/pGJNYm4l/Gt2fZChOLxGPdZwYryD7Hhcc44d56TrPTSOB5q9SkEUClqiUSfteuAy9
 StBcWMxDrMksd8Bw1iaTNKbVoK4CyolFI6GdXT7kRHefv4Re5TU2crELMj53DmykrM3r
 uU/+YbuXV/SQ00U0aO4COJXBSmMFL/B2NjrPKz2EHQ8mKSKKLVjl7bszPvgBFiuAJrb2
 r/TQ==
X-Gm-Message-State: APf1xPDMmXbSa5s384G9czkLO5kt0A09TWWdUqu3Vr5J24AVQKVM38Hy
 5vavzqTjiMb9hI+iXSczHxc1GPhyukXOK5AB82MLIT04
X-Google-Smtp-Source: AH8x224jbSHPJvye9HGfhXU/vV/nHkMds8dld9RhfpsdrA9nw7z1SDPN0EkAi25C8z6SimnmQQmC5jFyPd4jFRjhMWs=
X-Received: by 10.176.23.74 with SMTP id k10mr6458641uaf.161.1519017264526;
 Sun, 18 Feb 2018 21:14:24 -0800 (PST)
MIME-Version: 1.0
Sender: kob6558@gmail.com
Received: by 10.103.39.199 with HTTP; Sun, 18 Feb 2018 21:14:24 -0800 (PST)
In-Reply-To: <dec1bd59-0d23-ac51-eda3-02a45a17b602@selasky.org>
References: <3ad595ce-e15b-d475-e057-4dde88e2630c@selasky.org>
 <CAN6yY1uVm-5Z7BvY=Qa62v3Y7kihrqse5BcgVXF2QnHO3erRvg@mail.gmail.com>
 <dec1bd59-0d23-ac51-eda3-02a45a17b602@selasky.org>
From: Kevin Oberman <rkoberman@gmail.com>
Date: Sun, 18 Feb 2018 21:14:24 -0800
X-Google-Sender-Auth: w1etPx91k2DiMEClGriu_ZIev4c
Message-ID: <CAN6yY1tJUWSqxhjJv3SuBktXmTjCSsmqapf1PpnXfvG3UTM+rg@mail.gmail.com>
Subject: Re: [CFT] [X11] graphics/drm-next-kmod now builds,
 loads and works on FreeBSD-11-stable
To: Hans Petter Selasky <hps@selasky.org>
Cc: FreeBSD Stable <freebsd-stable@freebsd.org>
Content-Type: text/plain; charset="UTF-8"
X-Content-Filtered-By: Mailman/MimeDel 2.1.25
X-BeenThere: freebsd-stable@freebsd.org
X-Mailman-Version: 2.1.25
Precedence: list
List-Id: Production branch of FreeBSD source code <freebsd-stable.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-stable>, 
 <mailto:freebsd-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-stable/>;
List-Post: <mailto:freebsd-stable@freebsd.org>
List-Help: <mailto:freebsd-stable-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-stable>,
 <mailto:freebsd-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 19 Feb 2018 05:14:25 -0000

On Sun, Feb 18, 2018 at 2:36 PM, Hans Petter Selasky <hps@selasky.org>
wrote:

> On 02/18/18 23:27, Kevin Oberman wrote:
>
>> On Sun, Feb 18, 2018 at 12:35 PM, Hans Petter Selasky <hps@selasky.org>
>> wrote:
>>
>> Hi FreeBSD desktop users!
>>>
>>> During the past week and over the weekend all parts needed for building,
>>> loading and using graphics/drm-next-kmod on FreeBSD-11-stable have been
>>> completed!
>>>
>>> A big thanks to all the people contributing to graphics support under
>>> FreeBSD in both kernel and user-space! You'll find their names in the
>>> commit logs including myself :-)
>>>
>>> Links:
>>> https://www.freshports.org/graphics/drm-next-kmod
>>> https://svnweb.freebsd.org/changeset/base/329527
>>>
>>> Issues are reported here:
>>> https://github.com/FreeBSDDesktop/kms-drm/issues
>>>
>>> --HPS
>>>
>>>
> Hi Kevin,
>
>
>> Wow! That is awesome. Thanks to all of the contributors.
>>
>
> Thank you!
>
>
>> Any instructions? Am I right that the mod setting driver should generally
>> be used. None of the links above really covers implementation.
>>
>
> I believe the package when you install it will give you some instructions
> in the pkg-message.
>
> Basically:
>
> portsnap fetch update
>
> Make sure your kernel sources in /usr/src .
> cd /usr/src
> make buildkernel -jX
> make installkernel -jX
>
> cd /usr/ports/graphics/drm-next-kmod
> make all install clean
>
> Edit /etc/rc.conf and add for example:
>
> kld_list="i915kms"
>
> Then reboot and twin your thumbs.
>
> If it fails goto single user mode.
>
> mount -a
>
> Edit /etc/rc.conf and remove the kld_list=...
> Save and type exit.
>
> Before starting X.org you should have the correct xf86-video-xxx drivers
> installed, because then 2D and 3D acceleration will activate.
>
> A quick tip for tear-free video with intel drivers:
>
> cat /usr/local/etc/X11/xorg.conf.d/20-intel.conf
> Section "Device"
>    Identifier  "Device0"
>    Driver "intel"
>    Option "AccelMethod" "sna"
>    Option "TearFree" "true"
> EndSection
>
> --HPS
>

Thanks, Hans! I should have looked at the message file. It explained most
of it, though I especially appreciate the tearfree config as I am using
Intel graphics.

This is also the first I have seen of modular config files. Guess I have
some man page reading to do.
--
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkoberman@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.21.1802190032250.24158>