お知らせ

  • 利用規約を守って投稿してください。また、よくある質問および投稿の手引きも参照してください。
  • メッセージの投稿にはアカウントが必要です。未登録の方は、ユーザ登録ページからアカウントを作成することができます。

#1 2016-05-02 15:47:59

Rasum
メンバ
登録日: 2008-12-07

画面解像度追加について(ubuntu 16.04LTS)

ubuntu 12.04LTSとubuntu 16.04LTSとを同じPCの別パーティションに入れたところ、
画面解像度が、12.04では1360x768にできますが、16.04ではできません。
16.04で1280x1040ができたのですが、ディスプレイがこの縦横比に対応しておらず横長表示となってしまいます。
16.04で1360x768表示する方法をお教え頂けませんでしょうか。
PCの設定は下記状況です。

(ハードウエア)
VGA compatible controller: NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2)
ディスプレイ:Sony KDL-S23A10(VGA入力できる液晶テレビです)

(1) ubuntu 12.04 での状況
$ dpkg -l | egrep "nvidia"
rc  nvidia-173  173.14.39-0ubuntu0.0.1  NVIDIA binary Xorg driver, kernel module and VDPAU library
ii  nvidia-304  304.131-0ubuntu0.12.04.1  NVIDIA binary Xorg driver, kernel module and VDPAU library
ii  nvidia-common  1:0.2.44.2  Find obsolete NVIDIA drivers
ii  nvidia-settings  331.20-0ubuntu0.0.1  Tool for configuring the NVIDIA graphics driver
rc  nvidia-settings-304  304.88-0ubuntu0.0.3  Tool for configuring the NVIDIA graphics driver

$ dpkg -l | egrep "nouveau"
ii  libdrm-nouveau1a  2.4.52-1~precise2  Userspace interface to nouveau-specific kernel DRM services -- runtime
ii  xserver-xorg-video-nouveau  1:0.0.16+git20111201+b5534a1-1build3  X.Org X server -- Nouveau display driver

$ dpkg -l | egrep "vesa"
ii  xserver-xorg-video-vesa  1:2.3.0-7build2  X.Org X server -- VESA display driver

$ nvidia-settings
"X Server Display Configuration"に CRT-0 1360x768 が表示される。

$ xrandr
Screen 0: minimum 8 x 8, current 1360 x 768, maximum 4096 x 4096
VGA-0 connected 1360x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
  1024x768  60.0 +
  1360x768  60.0*  59.8
  1280x768  59.9
  800x600  72.2  60.3  56.2
  680x384  119.9  119.6
  640x480  59.9
  512x384  120.0
  400x300  144.4  120.6  112.7
  320x240  120.1

$ cat /etc/X11/xorg.conf
Section "ServerLayout"
(省略)
EndSection

Section "Files"
EndSection

Section "InputDevice"
(省略)
EndSection

Section "InputDevice"
(省略)
EndSection

Section "Monitor"
  Identifier  "Monitor0"
  VendorName  "Unknown"
  ModelName  "Unknown"
  HorizSync  28.0 - 53.0
  VertRefresh  43.0 - 72.0
  ModeLine "1280x768_60.00"  79.50  1280 1344 1472 1664  768 771 781 798 -hsync +vsync
  ModeLine "1360x768_60.00"  84.75  1360 1432 1568 1776  768 771 781 798 -hsync +vsync
  Option  "DPMS"
EndSection

Section "Device"
  Identifier  "Device0"
  Driver  "nvidia"
  VendorName  "NVIDIA Corporation"
EndSection

Section "Screen"
  Identifier  "Screen0"
  Device  "Device0"
  Monitor  "Monitor0"
  DefaultDepth  24
  SubSection  "Display"
    Depth  24
    Modes  "1360x768_60.00" "1280x768_60.00" "1024x768" "1280x600" "1024x600" "800x600" "768x576" "640x480"
  EndSubSection
EndSection


ubuntu 12.04 システム設定→ディスプレイ
  Display: 不明
  選択可能な解像度
    1360x768
    1280x768
    1024x768
     800x600


(2) ubuntu 12.04の上記xorg.confを流用したubuntu 16.04 の状況
$ dpkg -l | egrep "nvidia"
ii  bumblebee-nvidia  3.2.1-10  amd64  NVIDIA Optimus support using the proprietary NVIDIA driver
ii  nvidia-304  304.131-0ubuntu3  amd64  NVIDIA legacy binary driver - version 304.131
ii  nvidia-current  304.131-0ubuntu3  amd64  Transitional package for nvidia-current
ii  nvidia-opencl-icd-304  304.131-0ubuntu3  amd64  NVIDIA OpenCL ICD
ii  nvidia-settings  361.42-0ubuntu1  amd64  Tool for configuring the NVIDIA graphics driver

$ dpkg -l | egrep "nouveau"
ii  libdrm-nouveau2:amd64  2.4.67-1  amd64  Userspace interface to nouveau-specific kernel DRM services -- runtime
ii  libdrm-nouveau2:i386  2.4.67-1  i386  Userspace interface to nouveau-specific kernel DRM services -- runtime
ii  xserver-xorg-video-nouveau  1:1.0.12-1build2  amd64  X.Org X server -- Nouveau display driver

$ dpkg -l | egrep "vesa"
ii  xserver-xorg-video-vesa  1:2.3.4-1build2  amd64  X.Org X server -- VESA display driver

$ nvidia-settings
"X Server Display Configuration"が表示されません。
"Application Profiles"と"nvidia-settings Configuration"が表示されます。

$ xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 320 x 400, current 1024 x 768, maximum 1024 x 768
default connected primary 1024x768+0+0 0mm x 0mm
  1024x768  61.00*
  800x600  73.00
  640x480  60.00
  640x400  0.00
  320x400  0.00


ubuntu 16.04 システム設定→ディスプレイ
  Display: Built-in Display
  選択可能な解像度
    1024x768
    800x600


(3) xorg.confを修正して1280x1024が利用できたubuntu 16.04 の状況
$ cat /etc/X11/xorg.conf
Section "ServerLayout"
(省略)
EndSection

Section "Files"
EndSection

Section "InputDevice"
(省略)
EndSection

Section "InputDevice"
(省略)
EndSection

Section "Monitor"
  Identifier  "Monitor0"
  VendorName  "Unknown"
  ModelName  "Unknown"
  HorizSync  28.0 - 53.0
  VertRefresh  43.0 - 72.0
  ModeLine "1280x768_60.00"  79.50  1280 1344 1472 1664  768 771 781 798 -hsync +vsync
  ModeLine "1360x768_60.00"  84.75  1360 1432 1568 1776  768 771 781 798 -hsync +vsync
  Option  "DPMS"
EndSection

Section "Device"
  Identifier  "Device0"
  Driver  "nvidia"
  VendorName  "NVIDIA Corporation"
EndSection

Section "Screen"
  Identifier  "Screen0"
  Device  "Device0"
  Monitor  "Monitor0"
  DefaultDepth  24
  SubSection  "Display"
    Depth  24
  EndSubSection
EndSection


$ xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 320 x 400, current 1280 x 1024, maximum 1280 x 1024
default connected primary 1280x1024+0+0 0mm x 0mm
  1280x1024  0.00*
  1024x768  61.00
  800x600  73.00
  640x480  60.00
  640x400  0.00
  320x400  0.00


ubuntu 16.04 システム設定→ディスプレイ
  Display: Built-in Display
  選択可能な解像度
   1280x1040
    1024x768
     800x600


(4) 16.04にてxorg.confを削除して、xrandrで1360x768を追加しようとした操作
# rm /etc/X11/xorg.conf
# reboot

$ cvt 1360 768
# 1360x768 59.80 Hz (CVT) hsync: 47.72 kHz; pclk: 84.75 MHz
Modeline "1360x768_60.00"   84.75  1360 1432 1568 1776  768 771 781 798 -hsync +vsync

$ xrandr --newmode "1360x768_60.00"   84.75  1360 1432 1568 1776  768 771 781 798 -hsync +vsync
xrandr: Failed to get size of gamma for output default

$ xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 320 x 400, current 1280 x 1024, maximum 1280 x 1024
default connected primary 1280x1024+0+0 0mm x 0mm
   1280x1024      0.00*
   1024x768      61.00 
   800x600       73.00 
   640x480       60.00 
   640x400        0.00 
   320x400        0.00 
  1360x768_60.00 (0x28c) 84.750MHz -HSync +VSync
      h: width  1360 start 1432 end 1568 total 1776 skew    0 clock  47.72KHz
      v: height  768 start  771 end  781 total  798    clock  59.80Hz

$ xrandr --addmode default 1360x768_60.00
xrandr: Failed to get size of gamma for output default

$ xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 320 x 400, current 1280 x 1024, maximum 1280 x 1024
default connected primary 1280x1024+0+0 0mm x 0mm
   1280x1024      0.00*
   1024x768      61.00
   800x600       73.00
   640x480       60.00
   640x400        0.00
   320x400        0.00
   1360x768_60.00  59.80

ubuntu 16.04 システム設定→ディスプレイ
  Display: Built-in Display
  選択可能な解像度
    1360x768
    1024x768
     800x600

  1360x768を選択し「適用」ボタンをクリックすると、「設定の適用に失敗しました: %s タイムアウトしました」とダイアログが出て解像度を変更できません。
  続いて、「選択したディスプレイの設定を適用できませんでした required virtual size does not fit available size: requested=(1360, 768), minimum=(640, 480), maximum=(1024, 768)」とダイアログが出ます。
以上
2016年5月2日

オフライン

 

#2 2016-05-20 13:41:20

565-13
拒否
登録日: 2015-12-28

Re: 画面解像度追加について(ubuntu 16.04LTS)

※規約違反により追放されたユーザの投稿は、ログインユーザにのみ表示されます。

オフライン

 

#3 2016-05-20 14:00:33

565-13
拒否
登録日: 2015-12-28

Re: 画面解像度追加について(ubuntu 16.04LTS)

※規約違反により追放されたユーザの投稿は、ログインユーザにのみ表示されます。

オフライン

 

#4 2016-08-07 09:04:23

Rasum
メンバ
登録日: 2008-12-07

Re: 画面解像度追加について(ubuntu 16.04LTS)

565-13様、ありがとうございます。
助言頂いて、とりあえずUbuntu14.04をインストールし 1360x768 の解像度で利用していました。
この度、Ubuntu16.04にアップグレードしましたら難なく 1360x768 の解像度が利用できています。
2016年8月7日

オフライン

 

Board footer

Powered by FluxBB