Ubuntu18.04 LTS下NVIDIA显卡遇到的几个坑

没安装独立显卡驱动的时候频繁死机,解决方法如下: 先禁用nouveau: 打开/etc/modprobe.d/blacklist.conf在最后加上 blacklist nouveau,然后执行sudo update-initramfs 重启 然后使用PPA安装驱动:

sudo add-apt-repository ppa:graphics-drivers/ppa

sudo apt-get update 用ubuntu-drivers device找到合适的驱动版本,用命令`sudo apt-get install`安装 重启后用`sudo nvidia-smi`查看是否安装成功

进行显卡切换,使用NVIDIA X Server Settings中的PRIME Profiles切换Intel显卡时发现重启后无法打开x server切换回来,发现只能用命令

~$ prime-select intel
~$ prime-select nvidia 进行切换
点我阅读更多...

Think Different

Here’s to the crazy ones.

The misfits.

The rebels.

The troublemakers.

The round pegs in the square holes.

The ones who see things differently.

They’re not fond of rules

And they have no respect for the status quo.

You can praise them, quote them, disagree with them disbelieve them, glorify or vilify them.

About the only thing that you can’t do is ignore them.

Because they change things.

They invent.

They imagine.

They heal.

They explore.

They create.

They inspire.

They push the human race forward.

Maybe they have to be crazy.

How else can you stare at an empty canvas and see a work of art?

Or sit in silence and hear a song that’s never been written?

Or gaze at a red planet and see a laboratory on wheels?

We make tools for these kinds of people.

While some may see them as the crazy ones, we see genius.

Because the people who are crazy enough to think that they can change the world, are the ones who do.

向那些疯狂的家伙们致敬,

他们特立独行,

他们桀骜不驯,

他们惹是生非,

他们格格不入,

他们用与众不同的眼光看待事物,

他们不喜欢墨守成规,

他们也不愿安于现状。

你可以赞美他们,引用他们,反对他们,

质疑他们,颂扬或是诋毁他们,

但唯独不能漠视他们。

因为他们改变了事物。

他们发明,他们想象,他们治愈,

他们探索,他们创造,他们启迪,

他们推动人类向前发展。

也许,他们必需要疯狂。

你能盯着白纸,就看到美妙的画作么?

你能静静坐着,就听见美妙的歌曲么?

你能凝视火星,就想到神奇的太空轮么?

我们为这些家伙制造良机。

或许他们是别人眼里的疯子,

但他们却是我们眼中的天才。

因为只有那些疯狂到以为自己能够改变世界的人,

才能真正地改变世界。

点我阅读更多...

Windows 10的Ubuntu子系统运行图形化程序的简单方法

想在Ubuntu上用opencv和摄像头做个小东西,但没图形化界面肯定是非常不便的,见到很多用ssh的方法登陆图形化界面,感觉不太好用,于是就用Xming实现了图形化应用程序的运行。各个应用程序用单独的窗口

##步骤 下载安装Xming(下载地址),一路点击下一步,安装完成后点击Xlaunch.

在“Select display settings”选项可以按照喜好选择,我用的是“Multiple windows” 完成后,回到Linux子系统,要启动图形化窗口的应用程序(如Firefox)输入命令: DISPLAY=:0 firefox 即可

点我阅读更多...