一体机分辨率不正常
Tofloor
poster avatar
增遇青水
deepin
2016-04-08 22:16
Author
本帖最后由 lostotitan 于 2016-4-11 21:37 编辑

如题,翻出家里一台老的一体机,CPU 奔腾 E5200 ,主板未知,显卡是G43/G45显示芯片,4G内存,运行XP,XP下分辨率为1920*1200,一切正常。装上Deepin 15,进入之后发现屏幕分割成3块,deepinOS下只有一个分辨率1680*1050,没有其他分辨率选项。打开驱动管理器,发现已经是使用内核开源驱动。使用xrandr命令总是无法创建新分辨率,从网上下载驱动源码又总是无法完成make步骤,求大神指导该如何调正分辨率。
administrator@administrator-pc:~$ dmesg |grep -i intel
[    0.000000] Reserving Intel graphics stolen memory at 0xce000000-0xcfffffff
[    0.080000] smpboot: CPU0: Intel Pentium(R) Dual-Core  CPU      E5200  @ 2.50GHz (fam: 06, model: 17, stepping: 06)
[    0.080000] Performance Events: PEBS fmt0+, 4-deep LBR, Core2 events, Intel PMU driver.
[    0.765637] intel_idle: does not run on family 6 model 23
[    0.766279] agpgart-intel 0000:00:00.0: Intel G45/G43 Chipset
[    0.766297] agpgart-intel 0000:00:00.0: detected gtt size: 2097152K total, 262144K mappable
[    0.766781] agpgart-intel 0000:00:00.0: detected 32768K stolen memory
[    0.766911] agpgart-intel 0000:00:00.0: AGP aperture is 256M @ 0xd0000000
[    1.170848] fbcon: inteldrmfb (fb0) is primary device
[    1.486443] usb 6-1: Product: Microsoft 5-Button Mouse with IntelliEye(TM)
[    1.508266] input: Microsoft Microsoft 5-Button Mouse with IntelliEye(TM) as /devices/pci0000:00/0000:00:1d.0/usb6/6-1/6-1:1.0/0003:045E:0039.0001/input/input5
[    1.508507] hid-generic 0003:045E:0039.0001: input,hidraw0: USB HID v1.10 Mouse [Microsoft Microsoft 5-Button Mouse with IntelliEye(TM)] on usb-0000:00:1d.0-1/input0
[    1.720810] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
[    8.695837] Intel(R) Wireless WiFi driver for Linux
[    8.695841] Copyright(c) 2003- 2015 Intel Corporation
[    8.774815] input: HDA Intel Rear Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input12
[    8.774888] input: HDA Intel Front Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input13
[    8.774958] input: HDA Intel Line as /devices/pci0000:00/0000:00:1b.0/sound/card0/input14
[    8.775029] input: HDA Intel Line Out as /devices/pci0000:00/0000:00:1b.0/sound/card0/input15
[    8.775101] input: HDA Intel Front Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input16
[    9.015963] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.11
[    9.443261] iwlwifi 0000:01:00.0: Detected Intel(R) WiFi Link 5100 AGN, REV=0x54
[   11.613756] snd_hda_intel 0000:00:1b.0: control 2:0:0CM Playback Volume:0 is already present
本想截个图出来,没想到截图只识别了正常显示区域,非正常显示区域无法显示出来,我现在的显示状态是右边多一块,下边多一块,屏幕分成3个区域了。。。


Reply Favorite View the author
All Replies
avatar
增遇青水
deepin
2016-04-08 22:17
#1
前两天用升级命令将系统升级到15.1.1,问题如故,其他使用一切正常,只是这分辨率实在太难受。
Reply View the author
avatar
临之
deepin
2016-04-08 22:24
#2
参考:http://blog.csdn.net/smilematch/article/details/50482530
Reply View the author
avatar
增遇青水
deepin
2016-04-08 22:26
#3
https://bbs.deepin.org/post/38679
参考:http://blog.csdn.net/smilematch/article/details/50482530

试过了,无法完成addmode那一步,
Reply View the author
avatar
临之
deepin
2016-04-08 22:45
#4
https://bbs.deepin.org/post/38679
试过了,无法完成addmode那一步,

有报错信息吗?贴一下哈
Reply View the author
avatar
nbxwj
deepin
2016-04-08 23:17
#5
以下是我在虚拟机中的修改方法,不知适不适用实体机

1./etc/default/grub
修改GRUB_CMDLINE_LINUX_DEFAULT="quiet splash“此句为
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=hyperv_fb:1600x900"。其中1600×900为你的显示合适的分辨率。
2.sudo update-grub
3.重启
Reply View the author
avatar
呆了个呆
deepin
2016-04-09 02:38
#6
  1. #!/usr/bin/env bash


  2. xrandr --newmode "1600x900" 92.50  1600 1680 1840 2080  900 903 908 928 -hsync +vsync
  3. xrandr --addmode eDP1 "1600x900" && xrandr --output eDP1 --mode "1600x900"
Copy the Code

这是我自己的开机启动脚本,参考吧
Reply View the author
avatar
cxbii
deepin
2016-04-11 19:47
#7
这个是驱动的问题,尝试安装闭源显卡驱动
https://wiki.deepin.org/index.php?title=显卡
Reply View the author
avatar
增遇青水
deepin
2016-04-12 04:56
#8
https://bbs.deepin.org/post/38679
以下是我在虚拟机中的修改方法,不知适不适用实体机

1./etc/default/grub

刚刚试验完,没有效果
Reply View the author
avatar
增遇青水
deepin
2016-04-12 05:04
#9
https://bbs.deepin.org/post/38679
这是我自己的开机启动脚本,参考吧

administrator@administrator-pc:~$ cvt -r 1920 1200
# 1920x1200 59.95 Hz (CVT 2.30MA-R) hsync: 74.04 kHz; pclk: 154.00 MHz
Modeline "1920x1200R"  154.00  1920 1968 2000 2080  1200 1203 1209 1235 +hsync -vsync

administrator@administrator-pc:~$ xrandr --newmode "1920x1200R"  154.00  1920 1968 2000 2080  1200 1203 1209 1235 +hsync -vsync

administrator@administrator-pc:~$ xrandr --addmode LVDS1 "1920x1200R"
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  140 (RANDR)
  Minor opcode of failed request:  18 (RRAddOutputMode)
  Serial number of failed request:  32
  Current serial number in output stream:  33
Reply View the author
avatar
增遇青水
deepin
2016-04-12 05:17
#10
https://bbs.deepin.org/post/38679
有报错信息吗?贴一下哈

administrator@administrator-pc:~$ cvt -r 1920 1200
# 1920x1200 59.95 Hz (CVT 2.30MA-R) hsync: 74.04 kHz; pclk: 154.00 MHz
Modeline "1920x1200R"  154.00  1920 1968 2000 2080  1200 1203 1209 1235 +hsync -vsync

administrator@administrator-pc:~$ xrandr --newmode "1920x1200R"  154.00  1920 1968 2000 2080  1200 1203 1209 1235 +hsync -vsync

administrator@administrator-pc:~$ xrandr --addmode LVDS1 "1920x1200R"
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  140 (RANDR)
  Minor opcode of failed request:  18 (RRAddOutputMode)
  Serial number of failed request:  32
  Current serial number in output stream:  33
Reply View the author
avatar
增遇青水
deepin
2016-04-12 05:18
#11
https://bbs.deepin.org/post/38679
这个是驱动的问题,尝试安装闭源显卡驱动
https://wiki.deepin.org/index.php?title=显卡 ...

没办法安装,ubuntu的驱动装不上,INTEL 给的官方驱动也装不了
Reply View the author
avatar
增遇青水
deepin
2016-04-12 05:26
#12
https://bbs.deepin.org/post/38679
这个是驱动的问题,尝试安装闭源显卡驱动
https://wiki.deepin.org/index.php?title=显卡 ...

administrator@administrator-pc:~$ sudo apt-get update && sudo apt-get install build-essential
[sudo] administrator 的密码:
命中:1 http://packages.deepin.com/deepin unstable InRelease
正在读取软件包列表... 完成   
正在读取软件包列表... 完成
正在分析软件包的依赖关系树      
正在读取状态信息... 完成      
build-essential is already the newest version (12.2).
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
administrator@administrator-pc:~$ cd /home/administrator/下载/intel_gm965_xorg_240_linux/xf86-video-intel-2.4.0
administrator@administrator-pc:~/下载/intel_gm965_xorg_240_linux/xf86-vi
deo-intel-2.4.0$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 1572864
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for bash... /bin/bash
checking if libtool sucks... yup, it does
checking if dolt supports this host... yes, replacing libtool
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether gcc and cc understand -c and -o together... yes
checking for intel-gen4asm... no
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for mprotect... yes
Package xorg-server was not found in the pkg-config search path.
Perhaps you should add the directory containing `xorg-server.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xorg-server' found
checking if XINERAMA is defined... no
Package xorg-server was not found in the pkg-config search path.
Perhaps you should add the directory containing `xorg-server.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xorg-server' found
checking if RANDR is defined... no
Package xorg-server was not found in the pkg-config search path.
Perhaps you should add the directory containing `xorg-server.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xorg-server' found
checking if RENDER is defined... no
Package xorg-server was not found in the pkg-config search path.
Perhaps you should add the directory containing `xorg-server.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xorg-server' found
checking if XF86DRI is defined... no
Package xorg-server was not found in the pkg-config search path.
Perhaps you should add the directory containing `xorg-server.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xorg-server' found
checking if DPMSExtension is defined... no
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for XORG... configure: error: Package requirements (xorg-server xproto fontsproto ) were not met:

No package 'xorg-server' found
No package 'xproto' found
No package 'fontsproto' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables XORG_CFLAGS
and XORG_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
Reply View the author
avatar
cxbii
deepin
2016-04-12 17:11
#13
https://bbs.deepin.org/post/38679
administrator@administrator-pc:~$ sudo apt-get update && sudo apt-get install build-essential
[sud ...

你这是没安装成功?
Reply View the author
avatar
增遇青水
deepin
2016-04-12 17:27
#14
https://bbs.deepin.org/post/38679
你这是没安装成功?


./configure 报错啊,然后下面make 也跟着报错啊
checking for XORG... configure: error: Package requirements (xorg-server xproto fontsproto ) were not met:

No package 'xorg-server' found
No package 'xproto' found
No package 'fontsproto' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables XORG_CFLAGS
and XORG_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

Reply View the author
avatar
增遇青水
deepin
2016-04-12 17:35
#15
应该是驱动的问题,windows系统都能够给出足够多的分辨率,并且自动调节到1920*1200,但是安装linux系统就都会出现这种状况,昨天试装了凤凰0S,同样出现了这样
的分屏情况,希望能够尽快解决驱动问题啊
Reply View the author
avatar
cxbii
deepin
2016-04-12 17:43
#16
https://bbs.deepin.org/post/38679
应该是驱动的问题,windows系统都能够给出足够多的分辨率,并且自动调节到1920*1200,但是安装linux系统就 ...

这个估计很难修,而且目前我们也不开发驱动。

鉴于你这个硬件已经很老了,上游应该是不会继续开发的了
Reply View the author
avatar
增遇青水
deepin
2016-04-12 18:06
#17
https://bbs.deepin.org/post/38679
这个估计很难修,而且目前我们也不开发驱动。

鉴于你这个硬件已经很老了,上游应该是不会继续开发的了 ...

网上看又INTEL专门发布的驱动,可是怎么都装不上,pkg.deb,源码都没办法安装上,这个能解决吗?
Reply View the author
avatar
cxbii
deepin
2016-04-12 18:22
#18
https://bbs.deepin.org/post/38679
网上看又INTEL专门发布的驱动,可是怎么都装不上,pkg.deb,源码都没办法安装上,这个能解决吗? ...

I卡驱动是跟随Linux内核更新的,它的官方驱动就是开源的。

我们的内核已经比较新了。
老硬件就有老硬件的归宿,没有厂商会持续维护的
Reply View the author
avatar
临之
deepin
2016-04-12 18:32
#19
https://bbs.deepin.org/post/38679
administrator@administrator-pc:~$ cvt -r 1920 1200
# 1920x1200 59.95 Hz (CVT 2.30MA-R) hsync: 74.0 ...

尝试下:xrandr --output LVDS1 --scale 1.5x1.5

参考:https://bbs.archlinux.org/viewtopic.php?id=114933
Reply View the author