tmacy
2017-08-23 02:13 deepin
man xrandr 中有说明
--setprovideroutputsource provider source
Set source as the source of display output images for provider. This is only possible if source
and provider have the Source Output and Sink Output capabilities, respectively. If source is 0x0,
then provider is disconnected from its current output source.
至于为啥,我也不是很清楚:
另外:
xrandr --listproviders
Providers: number : 1
Provider 0: id: 0x46 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 3 outputs: 4 associated providers: 0 name:modesetting
可以看provider有哪些。
如果要加入开机启动,建议写个desktop文件到$HOME/.config/autostart中,可以在启动器中选个应用,右键添加开机启动,当成一个示例参考一下。
--setprovideroutputsource provider source
Set source as the source of display output images for provider. This is only possible if source
and provider have the Source Output and Sink Output capabilities, respectively. If source is 0x0,
then provider is disconnected from its current output source.
至于为啥,我也不是很清楚:
另外:
xrandr --listproviders
Providers: number : 1
Provider 0: id: 0x46 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 3 outputs: 4 associated providers: 0 name:modesetting
可以看provider有哪些。
如果要加入开机启动,建议写个desktop文件到$HOME/.config/autostart中,可以在启动器中选个应用,右键添加开机启动,当成一个示例参考一下。
Reply Like 0 View the author
笔记本:HP 银河战队 i7/8G/GTX 960M
装Deepin 感觉不错,但有一个问题,外接显示器无法显示,各种找资料,解决时间3天。
1、驱动阶段
刚开始怀疑是驱动问题,包括装Bumblebee、装开源驱动、装闭源驱动,等等,都无法解决(很多驱动按百度的步骤来,装了不管用),当然也和个人水平有关,估计部分驱动是没装对的。
2、配置文件阶段
很多教程,把显示配置指向xorg.conf 设置,但是参照配置后,不是无效就是导致系统黑屏,无奈放弃。
3、Ubuntu阶段
装起Ubuntu,发现系统直接可以外屏输出。学着复制xorg.conf、继续装闭源驱动等等,但最终仍解决不了。
4、xrandr阶段
无意中,xrandr,发现在Ubuntu中,显示的是 edp-1 hdmi-1 hdmi-1-2 三个输出,在Deepin中,只有edp-1 hdmi-1,感觉应该是驱动问题,又折腾了好久,最后在某篇教程中提到 xrandr --setprovideroutputsource modesetting NVIDIA-0
加以改变,在系统默认驱动的情况下,直接调用
xrandr --setprovideroutputsource nouveau modesetting
解决了3天的问题。。。。。
现在我还比较纳闷的是,为什么是xrandr --setprovideroutputsource nouveau modesetting 而不是xrandr --setprovideroutputsource modesetting nouveau
另外,各位高手指点下,如何设置到开机配置上,不用每次都手动切换。