New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image Request | Native PC x86_64: eg Intel NUC or Gigabyte Brix #1007

Closed
xanview opened this Issue Jun 11, 2017 · 31 comments

Comments

5 participants
@ghost

ghost commented Jun 11, 2017

Download Image + Info:

- #1007 (comment)


First of all thank you for making DietPi, it is fantastic and makes life much easier dealing with single board computers. So much so, I'm wondering if I can use it with x86 barebones like https://www.gigabyte.com/Mini-PcBarebone Brix?

I especially like the ability to just flash an image onto a disk and have it auto resize the partition and set everything else up automatically on first login.

@Fourdee

This comment has been minimized.

Show comment
Hide comment
@Fourdee

Fourdee Jun 12, 2017

Owner

@xanview

Love those mini PC's, had a Acer Revo years back, would love to get my hands on these new beasts :)

We'd had a few requests for a general native PC install, i'll take a look and see what we can do. The main issue will be the initial install/image procedure, i'll need to investigate best/simple method to achieve this.

Just bear in mind:

  • we won't be able to support GPU features like we do for RPi/Odroid. As the devices will vary. Although, for GPU it will be a simple case of copying a xserver.conf for the required GPU (X -configure?). Kodi should then run fine on most hardware.
  • Soundcard support will be limited to the default device on system. Should be find on most boards, but unknown results at this time.
  • In terms of server usage, should be perfect.
Owner

Fourdee commented Jun 12, 2017

@xanview

Love those mini PC's, had a Acer Revo years back, would love to get my hands on these new beasts :)

We'd had a few requests for a general native PC install, i'll take a look and see what we can do. The main issue will be the initial install/image procedure, i'll need to investigate best/simple method to achieve this.

Just bear in mind:

  • we won't be able to support GPU features like we do for RPi/Odroid. As the devices will vary. Although, for GPU it will be a simple case of copying a xserver.conf for the required GPU (X -configure?). Kodi should then run fine on most hardware.
  • Soundcard support will be limited to the default device on system. Should be find on most boards, but unknown results at this time.
  • In terms of server usage, should be perfect.

@Fourdee Fourdee changed the title from DietPi on Intel NUC or Gigabyte Brix? to Image Request | Native PC x86_64: eg Intel NUC or Gigabyte Brix Jun 12, 2017

@Fourdee Fourdee self-assigned this Jun 12, 2017

@Fourdee Fourdee added this to the v153 milestone Jun 23, 2017

Fourdee added a commit that referenced this issue Jul 1, 2017

v153
+ DietPi-software | BitTorrent (ALL): Write cache memory size is now set
to 1/10th of total RAM. Previously 1/8th. This is to prevent excess RAM
usage in multiple software combo installations. This applies to new
installations only:
http://dietpi.com/phpbb/viewtopic.php?f=11&t=2021#p7677
DietPi-Software | NTPD check improvements: Added options to retry NTPD
update, or, override NTPD, when NTPD fails to update.

+ Native PC:
#1007
@Fourdee

This comment has been minimized.

Show comment
Hide comment
@Fourdee

Fourdee Jul 1, 2017

Owner

Image available under BETA status:

- http://dietpi.com/downloads/images/DietPi_NativePC-x86_64-(Stretch).7z


Notes:

  • x86_64 (64bit CPU required)
  • Simply DD/write image to USB or Sata drive. Select as boot device in BIOS.
  • EXT4 /boot partition. Debian 9 installer would not allow for FAT 👎
  • MBR non-UEFI
  • User: Sensor modules with sensors-detect: https://superuser.com/a/25199

ToDo:

  • 🈯️ v153: intel/amd-microcode and amd GPU firmware apt-get install firmware-linux-nonfree -y
  • 🈯️ v153: DietPi-Config > Display options: add support for Nvidia drivers?
  • DietPi-Config > Display options: add support for Radeon/AMD drivers?
  • DietPi-Config > Display options: add support for Intel drivers?
  • 🈯️ v154: DietPi-Config > Add support for soundcard detection
Owner

Fourdee commented Jul 1, 2017

Image available under BETA status:

- http://dietpi.com/downloads/images/DietPi_NativePC-x86_64-(Stretch).7z


Notes:

  • x86_64 (64bit CPU required)
  • Simply DD/write image to USB or Sata drive. Select as boot device in BIOS.
  • EXT4 /boot partition. Debian 9 installer would not allow for FAT 👎
  • MBR non-UEFI
  • User: Sensor modules with sensors-detect: https://superuser.com/a/25199

ToDo:

  • 🈯️ v153: intel/amd-microcode and amd GPU firmware apt-get install firmware-linux-nonfree -y
  • 🈯️ v153: DietPi-Config > Display options: add support for Nvidia drivers?
  • DietPi-Config > Display options: add support for Radeon/AMD drivers?
  • DietPi-Config > Display options: add support for Intel drivers?
  • 🈯️ v154: DietPi-Config > Add support for soundcard detection
@Fourdee

This comment has been minimized.

Show comment
Hide comment
@Fourdee

Fourdee Jul 2, 2017

Owner

My Tests (v153):

  • AMD FX 6200
  • Nvidia 1050 Ti

DietPi-Software installs:

  • 🈯️ LXDE
  • 🈯️ Chromium OpenGL

Other:

  • 🈯️ DietPi-Config | Nvidia driver install
  • 🈯️ DietPi-Drive_Manager: basic mount/unmount tests
  • 🈴 Sound: default device index 3. May need to implement auto detect sound card feature.
root@DietPi:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Notes:

  • 🈴 Lightdm installed by default with LXDE (even with -no-install-recommends, renders dietpi-autostart useless.
    Lets disable it by defaultsystemctl disable lightdm, and add option to dietpi-autostart for lightdm.
    🈴
root@DietPi:~# systemctl enable lightdm
Synchronizing state of lightdm.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable lightdm
The unit files have no installation config (WantedBy, RequiredBy, Also, Alias
settings in the [Install] section, and DefaultInstance for template units).
This means they are not meant to be enabled using systemctl.
Possible reasons for having this kind of units are:
1) A unit may be statically enabled by being symlinked from another unit's
   .wants/ or .requires/ directory.
2) A unit's purpose may be to act as a helper for some other unit which has
   a requirement dependency on it.
3) A unit may be started when needed via activation (socket, path, timer,
   D-Bus, udev, scripted systemctl call, ...).
4) In case of template units, the unit is meant to be enabled with some
   instance name specified.

🈯️ v153: Lets avoid the service and give DietPi control, launching /usr/sbin/lightdm if selected in DietPi-Autostart.

Owner

Fourdee commented Jul 2, 2017

My Tests (v153):

  • AMD FX 6200
  • Nvidia 1050 Ti

DietPi-Software installs:

  • 🈯️ LXDE
  • 🈯️ Chromium OpenGL

Other:

  • 🈯️ DietPi-Config | Nvidia driver install
  • 🈯️ DietPi-Drive_Manager: basic mount/unmount tests
  • 🈴 Sound: default device index 3. May need to implement auto detect sound card feature.
root@DietPi:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Notes:

  • 🈴 Lightdm installed by default with LXDE (even with -no-install-recommends, renders dietpi-autostart useless.
    Lets disable it by defaultsystemctl disable lightdm, and add option to dietpi-autostart for lightdm.
    🈴
root@DietPi:~# systemctl enable lightdm
Synchronizing state of lightdm.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable lightdm
The unit files have no installation config (WantedBy, RequiredBy, Also, Alias
settings in the [Install] section, and DefaultInstance for template units).
This means they are not meant to be enabled using systemctl.
Possible reasons for having this kind of units are:
1) A unit may be statically enabled by being symlinked from another unit's
   .wants/ or .requires/ directory.
2) A unit's purpose may be to act as a helper for some other unit which has
   a requirement dependency on it.
3) A unit may be started when needed via activation (socket, path, timer,
   D-Bus, udev, scripted systemctl call, ...).
4) In case of template units, the unit is meant to be enabled with some
   instance name specified.

🈯️ v153: Lets avoid the service and give DietPi control, launching /usr/sbin/lightdm if selected in DietPi-Autostart.

Fourdee added a commit that referenced this issue Jul 2, 2017

v153
+ DietPi-Autostart | Added option for LightDM desktop boot (requires
lightdm package to be installed).

+ DietPi-Software | Nvidia GPU driver: Now available for installation
(Native PC image only). Can also be configured in DietPi-Config:
#1007 (comment)

+ DietPi-Software | Stretch, OpenSSH Server: Resolved an issue where
uninstalling openSSH server would fail due to apt package changes with
openssh-blacklist*.

Fourdee added a commit that referenced this issue Jul 2, 2017

v153
+ Avoid using LightDM service to launch it. Give control to DietPi login
script to exec binary. Simple...:
#1007 (comment)
@Invictaz

This comment has been minimized.

Show comment
Hide comment
@Invictaz

Invictaz Jul 4, 2017

@Fourdee Thanks for all the hard work. Will there be a 32 bit distribution so I can run it on an older netbook? And an option to install to harddrive. Otherwise it only runs from USB. I might be able to close the partitions from USB to harddrive but unsure if that will work.

Invictaz commented Jul 4, 2017

@Fourdee Thanks for all the hard work. Will there be a 32 bit distribution so I can run it on an older netbook? And an option to install to harddrive. Otherwise it only runs from USB. I might be able to close the partitions from USB to harddrive but unsure if that will work.

@Fourdee

This comment has been minimized.

Show comment
Hide comment
@Fourdee

Fourdee Jul 4, 2017

Owner

@Invictaz

Will there be a 32 bit distribution so I can run it on an older netbook?

Possibly we might do that in the future. However, with help from our users, test this image first, iron out the bugs then i'll look into it.

Owner

Fourdee commented Jul 4, 2017

@Invictaz

Will there be a 32 bit distribution so I can run it on an older netbook?

Possibly we might do that in the future. However, with help from our users, test this image first, iron out the bugs then i'll look into it.

@Fourdee

This comment has been minimized.

Show comment
Hide comment
@Fourdee

Fourdee Jul 4, 2017

Owner

@Invictaz

And an option to install to harddrive. Otherwise it only runs from USB. I might be able to close the partitions from USB to harddrive but unsure if that will work.

You can write the image directly to a Harddrive, with a USB > Sata converter.

Owner

Fourdee commented Jul 4, 2017

@Invictaz

And an option to install to harddrive. Otherwise it only runs from USB. I might be able to close the partitions from USB to harddrive but unsure if that will work.

You can write the image directly to a Harddrive, with a USB > Sata converter.

@Fourdee

This comment has been minimized.

Show comment
Hide comment
@Fourdee

Fourdee Jul 5, 2017

Owner

Completed.

Owner

Fourdee commented Jul 5, 2017

Completed.

@Fourdee Fourdee closed this Jul 5, 2017

@Fourdee

This comment has been minimized.

Show comment
Hide comment
@Fourdee

Fourdee Jul 5, 2017

Owner

Reopened for testing.

Owner

Fourdee commented Jul 5, 2017

Reopened for testing.

@Fourdee Fourdee reopened this Jul 5, 2017

@Fourdee Fourdee removed this from the v153 milestone Jul 5, 2017

@Invictaz

This comment has been minimized.

Show comment
Hide comment
@Invictaz

Invictaz Jul 5, 2017

@Fourdee but then I have to open a sealed laptop, take out the drive and then write the image to that drive... Bit weird.

Invictaz commented Jul 5, 2017

@Fourdee but then I have to open a sealed laptop, take out the drive and then write the image to that drive... Bit weird.

@Fourdee Fourdee referenced this issue Jul 5, 2017

Merged

v153 #1055

Fourdee added a commit that referenced this issue Jul 5, 2017

v153
**v153**
(05/07/17)

---

**New Image:**
DietPi for Native PC (x86_64) is now available. This is currently under BETA status, please see the following ticket for updated information: #1007

---

**Changes / Improvements / Optimizations:**

General | NTPD updates: Increased verbosity of completion/errors: #1035

General | GnuPG: Now installed by default on all DietPi systems. Required for OpenPGP key management, data signing etc: #1032 (comment)

General | DietPi RPi Kernel: Updated to 4.9.35. Includes support for new dual mode outputs on Allo Piano DAC +. Also includes patch for DSD pop during start of playback : #1052

DietPi-Autostart | Added option for LightDM desktop boot (requires lightdm package to be installed).

DietPi-JustBoom | Added ability to configure Dual output modes on Allo Piano DAC + : #1052 (comment)

DietPi-Software | You can now uninstall software, if free space is below the 500MB threshold. Software installations are still prevented: #1037

DietPi-Services | You can now check status of all DietPi controlled services with "dietpi-services status". Many thanks to @joaofl for adding this feature!: #1025

DietPi-Software | Stretch: Updated additional software (eg: Plex/Mosquitto etc) repos to use stretch repos, where available.

DietPi-Software | NZBget: Added optimizations to reduce load on CPU, and, write cache specific to total RAM: #1040

DietPi-software | BitTorrent (ALL): Write cache memory size is now set to 1/10th of total RAM. Previously 1/8th. This is to prevent excess RAM usage in multiple software combo installations. This applies to new installations only: http://dietpi.com/phpbb/viewtopic.php?f=11&t=2021#p7677

DietPi-Software | NTPD check improvements: Added options to retry NTPD update, or, override NTPD, when NTPD fails to update.

DietPi-Software | Nvidia GPU driver: Now available for installation (Native PC image only). Can also be configured in DietPi-Config: #1007 (comment)

---

**Bug fixes:**

DietPi-Autostart | Lower frame buffer for AmiBerry SDL2 now set correctly (480p).

DietPi-Autostart | Custom: Converted to SystemD service. This resolves issues with previously auto login system we used on headless devices: #1024

DietPi-Config | Changing NTPD modes, will no longer flood the over current screen with print: #1035

DietPi-Config | OPi Zero (H2+): Resolved an issue where setting 3.5mm output would not unmute lineout. Many thanks to @kurtjcu! #1026

DietPi-Software | Resolved an issue where Mono libary would fail to install on ARMv6. This effected Emby, Sonarr, Radarr, Jackett. Many thanks to Larmo for reporting this: #1023

DietPi-Software | AmiBerry: No longer installs Mono libs.

DietPi-Software | Emby: Now installs required Mono libs.

DietPi-Software | Stretch, Fail2Ban: Installation now functional. Many thanks to @noplanman for the fix: #475 (comment)

DietPi-Software | Stretch, OpenSSH Server: Resolved an issue where uninstalling openSSH server would fail due to apt package changes with openssh-blacklist*.

General | tmpfs /tmp: is now disabled for all devices with <= 512MB of RAM. This is to prevent out of space errors during mono based sofware installs (and possibly others): #1027

General | SystemD daily apt processing: Is now disabled by default, as this would interfere with apt/dpkg locks. DietPi-Software updates apt, as needed during software installs: #1032 (comment)

General | Resolved an issue where USB-DAC setting could lose the alsa HW:x,x device after reboot, in cases where USB kernel init takes longer than when our boot service is launched: #1051
@Fourdee

This comment has been minimized.

Show comment
Hide comment
@Fourdee

Fourdee Jul 5, 2017

Owner

@Invictaz

but then I have to open a sealed laptop, take out the drive and then write the image to that drive... Bit weird.

Yep, not ideal, but we lack the code currently in DietPi for a USB/ISO installer. Depending on how popular the image is, we may look at creating a easy to use USB/ISO installer for Native PC image.

Owner

Fourdee commented Jul 5, 2017

@Invictaz

but then I have to open a sealed laptop, take out the drive and then write the image to that drive... Bit weird.

Yep, not ideal, but we lack the code currently in DietPi for a USB/ISO installer. Depending on how popular the image is, we may look at creating a easy to use USB/ISO installer for Native PC image.

@Invictaz

This comment has been minimized.

Show comment
Hide comment
@Invictaz

Invictaz Jul 5, 2017

I will see if I can test it from a USB stick.

Invictaz commented Jul 5, 2017

I will see if I can test it from a USB stick.

@Invictaz

This comment has been minimized.

Show comment
Hide comment
@Invictaz

Invictaz Jul 7, 2017

@Fourdee

I commenced testing on an i7 2670qm laptop.

Has a lot of failed and other errors but seems to work fine. How to send you the bootup log?
Also it's downloading a lot of amd64 stuff when I have an Intel processor... bit weird

The rest is quite fine. How to increase the font size? The resolution back to 720p is a bit weird...

Wifi works. Sound needs to be tested and Bluetooth. Also on the first bootup there were some CPU governor problems but now it's on performance.

ACPI is still a failure and NTPD is slow. Saw also some SSH errors.

Everything's fresh out of the box so only console.

For now I plan to run without desktop.

Fn + F2 brightness control is working.
Keyboard works
Nvidia drivers are now being installed.

I might turn this thing into a Steam Machine. Will do a feature request later.

For now testing goes on. Will report later if any casualties appear

Cheers

Invictaz commented Jul 7, 2017

@Fourdee

I commenced testing on an i7 2670qm laptop.

Has a lot of failed and other errors but seems to work fine. How to send you the bootup log?
Also it's downloading a lot of amd64 stuff when I have an Intel processor... bit weird

The rest is quite fine. How to increase the font size? The resolution back to 720p is a bit weird...

Wifi works. Sound needs to be tested and Bluetooth. Also on the first bootup there were some CPU governor problems but now it's on performance.

ACPI is still a failure and NTPD is slow. Saw also some SSH errors.

Everything's fresh out of the box so only console.

For now I plan to run without desktop.

Fn + F2 brightness control is working.
Keyboard works
Nvidia drivers are now being installed.

I might turn this thing into a Steam Machine. Will do a feature request later.

For now testing goes on. Will report later if any casualties appear

Cheers

@Invictaz

This comment has been minimized.

Show comment
Hide comment
@Invictaz

Invictaz Jul 7, 2017

Oh before I forget the images by Splashtop for ASUS are much and much faster. Only 7 seconds to a minimized desktop. Dietpi takes about 35 only to boot to console (on Pi Zero double that time)

Invictaz commented Jul 7, 2017

Oh before I forget the images by Splashtop for ASUS are much and much faster. Only 7 seconds to a minimized desktop. Dietpi takes about 35 only to boot to console (on Pi Zero double that time)

@Invictaz

This comment has been minimized.

Show comment
Hide comment
@Invictaz

Invictaz Jul 7, 2017

Filed the first bug report

20170707_232638

Also GPU problems in Chrome after installing the Nvidia driver 379.55

14994638302411381476843

Plus after reboot to Chromium the wifi isn't connecting. I have no serial connection to restart it.

Invictaz commented Jul 7, 2017

Filed the first bug report

20170707_232638

Also GPU problems in Chrome after installing the Nvidia driver 379.55

14994638302411381476843

Plus after reboot to Chromium the wifi isn't connecting. I have no serial connection to restart it.

@Invictaz

This comment has been minimized.

Show comment
Hide comment
@Invictaz

Invictaz Jul 7, 2017

Sound works although not detected in dietpi-config
After uninstalling Nvidia drivers I tested the HDMI out, didn't work. Maybe later reinstalling them and retesting.

Tested NZBGet: works fine

Filed another bug report. Hopefully you can work some bugs out.

For now it's quite okay 👍

Invictaz commented Jul 7, 2017

Sound works although not detected in dietpi-config
After uninstalling Nvidia drivers I tested the HDMI out, didn't work. Maybe later reinstalling them and retesting.

Tested NZBGet: works fine

Filed another bug report. Hopefully you can work some bugs out.

For now it's quite okay 👍

@Fourdee

This comment has been minimized.

Show comment
Hide comment
@Fourdee

Fourdee Jul 8, 2017

Owner

@Invictaz

Thanks for report 👍

Which GPU model are you running?

Owner

Fourdee commented Jul 8, 2017

@Invictaz

Thanks for report 👍

Which GPU model are you running?

@Invictaz

This comment has been minimized.

Show comment
Hide comment
@Invictaz

Invictaz Jul 8, 2017

@Fourdee

Internal: Intel HD3000
Dedicated: Nvidia GT555M

Invictaz commented Jul 8, 2017

@Fourdee

Internal: Intel HD3000
Dedicated: Nvidia GT555M

@Fourdee

This comment has been minimized.

Show comment
Hide comment
@Fourdee

Fourdee Jul 12, 2017

Owner

@Invictaz

In your BIOS, is there an option to disable the onboard intel HD GPU, and force Nvidia? Might be worth a shot.

Owner

Fourdee commented Jul 12, 2017

@Invictaz

In your BIOS, is there an option to disable the onboard intel HD GPU, and force Nvidia? Might be worth a shot.

@Invictaz

This comment has been minimized.

Show comment
Hide comment
@Invictaz

Invictaz Jul 13, 2017

@Fourdee No. BIOS is locked on laptops with Optimus dual gpu solution.

Flashing an unlocked bios isn't really an option for me right now.
There are some mods but I won't go into it
https://www.bios-mods.com/forum/Thread-ThinkPad-T410-T510-Intel-IGP-Optimus-Unlock-Request

From what I know the Intel HD3000 is always used, it offloads tasks to the dedicated Nvidia GPU which renders it and drops the result to the framebuffer of the Intel.

image

Invictaz commented Jul 13, 2017

@Fourdee No. BIOS is locked on laptops with Optimus dual gpu solution.

Flashing an unlocked bios isn't really an option for me right now.
There are some mods but I won't go into it
https://www.bios-mods.com/forum/Thread-ThinkPad-T410-T510-Intel-IGP-Optimus-Unlock-Request

From what I know the Intel HD3000 is always used, it offloads tasks to the dedicated Nvidia GPU which renders it and drops the result to the framebuffer of the Intel.

image

@Fourdee

This comment has been minimized.

Show comment
Hide comment
@Fourdee

Fourdee Jul 15, 2017

Owner

@Invictaz

We'll need to do some research: https://wiki.debian.org/NvidiaGraphicsDrivers#Configuration

Mention of BumbleBee project for Nvidia Optimus: https://wiki.debian.org/Bumblebee

Owner

Fourdee commented Jul 15, 2017

@Invictaz

We'll need to do some research: https://wiki.debian.org/NvidiaGraphicsDrivers#Configuration

Mention of BumbleBee project for Nvidia Optimus: https://wiki.debian.org/Bumblebee

@Invictaz

This comment has been minimized.

Show comment
Hide comment
@Invictaz

Invictaz Jul 16, 2017

Yes I saw Bumblebee this week. Might test it later.

Also there is the option (somewhere in Linux) to disable the dedicated graphics and run only on Intel HD graphics. This saves energy which is one of the Key aspects of DietPi. So might need to be included.

Invictaz commented Jul 16, 2017

Yes I saw Bumblebee this week. Might test it later.

Also there is the option (somewhere in Linux) to disable the dedicated graphics and run only on Intel HD graphics. This saves energy which is one of the Key aspects of DietPi. So might need to be included.

@Invictaz

This comment has been minimized.

Show comment
Hide comment
@Invictaz

Invictaz commented Jul 16, 2017

@Fourdee Bumblebee is last updated in 2013. We might use the proprietary Nvidia Driver from non-free plus the newest Xorg 1.19.2, that is used in DietPi v154

It needs nvidia_drm.modeset to have PRIME synchronization to remove the tearing

http://www.phoronix.com/scan.php?page=news_item&px=Xorg-PRIME-Sync-Double-Buffer
https://devtalk.nvidia.com/default/topic/957814/prime-and-prime-synchronization/?offset=169
https://askubuntu.com/questions/900286/with-nvidia-optimus-xorg-1-19-3-kernel-4-10-0-15-and-still-having-screentear
https://www.gamingonlinux.com/articles/how-to-an-update-on-fixing-screen-tearing-on-linux-with-an-nvidia-gpu.8892/page=3

We might also have the 32bit driver needed if Steam is coming in Dietpi v154 or v155

https://solus-project.com/forums/viewtopic.php?t=2029

@Fourdee

This comment has been minimized.

Show comment
Hide comment
@Fourdee

Fourdee Jul 17, 2017

Owner

Issues with NV audio, manual unmute may be required in alsamixer:
image

Owner

Fourdee commented Jul 17, 2017

Issues with NV audio, manual unmute may be required in alsamixer:
image

@sal666

This comment has been minimized.

Show comment
Hide comment
@sal666

sal666 Jul 26, 2017

As for how to write the image to the HD, can I suggest Clonezilla?
You don't need to open your laptop/PC, you just boot out of a USB/CD and flash the image.
Here you can find instructions to make a bootable USB flash drive.
Basically it all boils down to:

  1. Unzip Clonezilla to the USB flash drive.
  2. Copy the DietPi image to the USB flash drive.
  3. Tweak two text files (one for UEFI boot, one for BIOS boot).
  4. Only for BIOS boots, run a script already in the flash drive so syslinux is installed.

I have some experience with that. Drop me a line if I can be of any help.

sal666 commented Jul 26, 2017

As for how to write the image to the HD, can I suggest Clonezilla?
You don't need to open your laptop/PC, you just boot out of a USB/CD and flash the image.
Here you can find instructions to make a bootable USB flash drive.
Basically it all boils down to:

  1. Unzip Clonezilla to the USB flash drive.
  2. Copy the DietPi image to the USB flash drive.
  3. Tweak two text files (one for UEFI boot, one for BIOS boot).
  4. Only for BIOS boots, run a script already in the flash drive so syslinux is installed.

I have some experience with that. Drop me a line if I can be of any help.

@belabelabela

This comment has been minimized.

Show comment
Hide comment
@belabelabela

belabelabela Aug 9, 2017

@sal666
I have tried to tweak the two text files as you mentioned in step 3. It seems I am not experienced enough, because it did not work for me. :(

Could you describe the necessary steps (3-4) in detail?

Thanks

belabelabela commented Aug 9, 2017

@sal666
I have tried to tweak the two text files as you mentioned in step 3. It seems I am not experienced enough, because it did not work for me. :(

Could you describe the necessary steps (3-4) in detail?

Thanks

@Fourdee

This comment has been minimized.

Show comment
Hide comment
@Fourdee

Fourdee Aug 10, 2017

Owner

Intel GPU driver install (tested with HD520, should work for all):

NB:

  • No Xserver must be running (eg: exit desktop and return to terminal)
G_AGI xserver-xorg-video-intel libgl1-mesa-dri
Xorg -configure
mv $HOME/xorg.conf.new /etc/X11/xorg.conf
reboot
Owner

Fourdee commented Aug 10, 2017

Intel GPU driver install (tested with HD520, should work for all):

NB:

  • No Xserver must be running (eg: exit desktop and return to terminal)
G_AGI xserver-xorg-video-intel libgl1-mesa-dri
Xorg -configure
mv $HOME/xorg.conf.new /etc/X11/xorg.conf
reboot
@Invictaz

This comment has been minimized.

Show comment
Hide comment
@Invictaz

Invictaz Aug 10, 2017

Thanks! It is either NVIDIA or Intel in Optimus situation. Best advice is if you have such a dual GPU setup run everything on the NVIDIA while this copies everything into the Intel framebuffer (which is connected to LVDS display).

If you have only an Intel card (or don't care about the additional performance of the NVIDIA) do as @Fourdee suggested.

Invictaz commented Aug 10, 2017

Thanks! It is either NVIDIA or Intel in Optimus situation. Best advice is if you have such a dual GPU setup run everything on the NVIDIA while this copies everything into the Intel framebuffer (which is connected to LVDS display).

If you have only an Intel card (or don't care about the additional performance of the NVIDIA) do as @Fourdee suggested.

@sal666

This comment has been minimized.

Show comment
Hide comment
@sal666

sal666 Sep 8, 2017

@belabelabela

For step 3, refer to GRUB documentation:
-GRUB
-tips about theming
-more about theming

Step 4 is explained here (step #5)

I've prepared a quick demo. Do the following:

  1. Install Clonezilla live to your USB flash drive (full instructions here):
    • download alternative stable version from here.
    • extract it to your pendrive.
  2. Make your pendrive bootable (step #5).
  3. Unzip this file to your pendrive: DietPi-Clonezilla.zip.
  4. Edit grub.cfg, isolinux.cfg and syslinux.cfg and replace 'sda' with the name of your target hard disk.
  5. Copy Clonezilla's image files to <your_pendrive>/home/partimag/DietPi/
  6. Boot from your pendrive.
  7. You should see this boot screen:
    boot-screenshot
  8. WARNING: Choosing "Install DietPi" will restore DietPi to your first hard disk (sda or whatever your chose at step 4).

sal666 commented Sep 8, 2017

@belabelabela

For step 3, refer to GRUB documentation:
-GRUB
-tips about theming
-more about theming

Step 4 is explained here (step #5)

I've prepared a quick demo. Do the following:

  1. Install Clonezilla live to your USB flash drive (full instructions here):
    • download alternative stable version from here.
    • extract it to your pendrive.
  2. Make your pendrive bootable (step #5).
  3. Unzip this file to your pendrive: DietPi-Clonezilla.zip.
  4. Edit grub.cfg, isolinux.cfg and syslinux.cfg and replace 'sda' with the name of your target hard disk.
  5. Copy Clonezilla's image files to <your_pendrive>/home/partimag/DietPi/
  6. Boot from your pendrive.
  7. You should see this boot screen:
    boot-screenshot
  8. WARNING: Choosing "Install DietPi" will restore DietPi to your first hard disk (sda or whatever your chose at step 4).
@Fourdee

This comment has been minimized.

Show comment
Hide comment
@Fourdee

Fourdee Sep 9, 2017

Owner

@sal666

This is awesome, great work and thanks for sharing 👍

Owner

Fourdee commented Sep 9, 2017

@sal666

This is awesome, great work and thanks for sharing 👍

@belabelabela

This comment has been minimized.

Show comment
Hide comment
@belabelabela

belabelabela Sep 10, 2017

@sal666

Thanks a lot, I will give it a try!

belabelabela commented Sep 10, 2017

@sal666

Thanks a lot, I will give it a try!

@Fourdee

This comment has been minimized.

Show comment
Hide comment
@Fourdee

Fourdee Jan 6, 2018

Owner

Marking as closed. Image is now available for MBR and EFI.

Owner

Fourdee commented Jan 6, 2018

Marking as closed. Image is now available for MBR and EFI.

@Fourdee Fourdee closed this Jan 6, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment